voc-dpm icon indicating copy to clipboard operation
voc-dpm copied to clipboard

Undefined function 'resize' for input arguments of type 'double'.

Open Shreyank21 opened this issue 7 years ago • 5 comments

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

Shreyank21 avatar Apr 11 '17 10:04 Shreyank21

Encountered the same problem as well.

phsamuel avatar May 29 '17 05:05 phsamuel

Replace it with imresize(). Hope it will help

Chenyang-ZHU avatar Apr 10 '18 03:04 Chenyang-ZHU

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

pablovisual avatar Jul 09 '19 20:07 pablovisual

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

XinrunChao avatar Jun 10 '20 03:06 XinrunChao

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

XinrunChao avatar Jun 10 '20 03:06 XinrunChao