为什么每当我尝试detectSURFFeatures(img)
在 matlab 中使用二进制图像时都会给我正确的点,但每当我使用detectMSERFeatures(img)
相同的二进制图像 时
都会给我错误而不是指向一些有效区域?
错误:
Error using detectMSERFeatures
Expected input number 1, I, to be one of these types:
uint8, int16, uint16, single, double
Instead its type was logical.
Error in detectMSERFeatures>parseInputs (line 75)
validateattributes(I,{'uint8', 'int16', 'uint16', ...
Error in detectMSERFeatures (line 64)
[Iu8, params] = parseInputs(I,varargin{:});