voc-dpm
voc-dpm copied to clipboard
Undefined function 'resize' for input arguments of type 'double'.
I encountered the error .Can you please help me out .The line was in "Error in featpyramid (line 30) scaled = resize(im, 1/sc^(i-1)); "
Encountered the same problem as well.
Replace it with imresize(). Hope it will help
i rewrote the code now im getting the same errors except now its features giving the error Undefined function 'features' for input arguments of type 'double'.
Error in featpyramid (line 49) pyra.feat{i+extra_interval} = features(scaled, sbin/2);
Error in imgdetect (line 13) pyra = featpyramid(im, model);
Error in process (line 21) [ds, bs] = imgdetect(im, model, thresh); before it was Undefined function 'resize' for input arguments of type 'double'.
Error in featpyramid (line 42) scaled = resize(im, 1/sc^(i-1));
Error in imgdetect (line 13) pyra = featpyramid(im, model);
Error in process (line 21) [ds, bs] = imgdetect(im, model, thresh); im using R2018b
I encountered the error .Can you please help me out .The line was in "Error in featpyramid (line 30) scaled = resize(im, 1/sc^(i-1));
Replace it with imresize(). Hope it will help
After replace it, a new same error in featrues function.... How to do it? help me, thank you
i rewrote the code now im getting the same errors except now its features giving the error Undefined function 'features' for input arguments of type 'double'.
Error in featpyramid (line 49) pyra.feat{i+extra_interval} = features(scaled, sbin/2);
Error in imgdetect (line 13) pyra = featpyramid(im, model);
Error in process (line 21) [ds, bs] = imgdetect(im, model, thresh); before it was Undefined function 'resize' for input arguments of type 'double'.
Error in featpyramid (line 42) scaled = resize(im, 1/sc^(i-1));
Error in imgdetect (line 13) pyra = featpyramid(im, model);
Error in process (line 21) [ds, bs] = imgdetect(im, model, thresh); im using R2018b
Do you solve your problems? I encountered the same error, can you give me some advice? Thank you very much