首页 文章

在Matlab中替换函数'transformPointsForward'

提问于
浏览
1

我在Matlab中遇到了一些问题 . 我正在努力尝试使用这个参考:http://www.mathworks.com/help/vision/gs/object-detection-and-tracking.html但是在最后一个Matlab版本中有's no function named like ' 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 回答

  • 4

    transformPointsFoward仅从2013a开始提供 . 如果您使用的是旧版本,则需要查看tformfwd,也可以从图像处理工具箱中查看 .

相关问题