私はMatlabにいくつか問題があります。 私は働いており、この参考文献を使用しようとしています: http://www.mathworks.com/help/vision/gs/object-detection-and-tracking.html しかし、最後のMatlabバージョンでは、 "transformPointsForward"のような名前の関数はありません。 何を置き換えることができますか? ブロック、それが使用する場所:
boxPolygon = [1, 1;... % top-left
size(boxImage, 2), 1;... % top-right
size(boxImage, 2), size(boxImage, 1);... % bottom-right
1, size(boxImage, 1);... % bottom-left
1, 1]; % top-left again to close the polygon
newBoxPolygon = transformPointsForward(tform, boxPolygon.Location);
figure; imshow(sceneImage);
どうもありがとう!
回答:
回答№1は4transformPointsFoward
2013a以降のみご利用いただけます。古いバージョンを使用している場合は、 tformfwd
イメージ処理ツールボックスからも取得できます。