1
votes

I have some problem in Matlab. I'm working and try to use this ref: http://www.mathworks.com/help/vision/gs/object-detection-and-tracking.html But in the last Matlab version there's no function named like 'transformPointsForward'. What can I replace it? Block, where it uses:

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);

Many thanks!

1
transformPointsFoward was added in 2013a, to the best of my knowledge. Do you have the image processing toolbox? That is required to use the function. - jam
Oops! Sorry. I have Matlab 2012b. - Anatoly

1 Answers

4
votes

transformPointsFoward is only available from 2013a onwards. If you're using an older version, you will want to look at tformfwd instead, also from the Image Processing toolbox.