문제

I have the following line of code:

x=ginput(1);
y=ginput(1);
limits = [x(1) x(2) abs(x(1)-y(1)) abs(x(2)-y(2))]
boxPoints = detectSURFFeatures(boxImage, 'MetricThreshold',100,'ROI',limits);

And this gives the following error:

Error using detectSURFFeatures>parseInputs (line 100)
Argument 'ROI' did not match any valid parameter of the parser.

I'm on matlab R2013a

According to http://www.mathworks.com/help/vision/ref/detectsurffeatures.html#namevaluepairarguments

This should be totally valid as far as I can tell. Any idea what's going on here?

도움이 되었습니까?

해결책

This is apparently a new feature in R2014a. Who knew.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top