我在Matlab中遇到了一些问题。 我正在努力尝试使用这个参考:http://www.mathworks.com/help/vision/gs/object-detection-and-tracking.html 但是在最后一个Matlab版本中没有名为'transformPointsForward'的函数。 我可以替换它吗? 块,它在哪里使用:在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);
非常感谢!
transformPointsFoward在2013a加入,据我所知。你有[图像处理工具箱](http://www.mathworks.co.uk/products/image/)吗?这是使用该功能所必需的。 – jam 2013-04-08 07:02:26
糟糕!抱歉。我有Matlab 2012b。 – 2013-04-08 07:14:48