Hello;
It looks like there might be a bug in the imresize function. I have reduced it to a repeatable case:
Z=ones(91,53);
W=imresize(Z,80/91);
error: X and Y size must match Z dimensions
error: called from:
error: /usr/share/octave/3.2.4/m/general/interp2.m at line 326, column 2
error: /usr/share/octave/packages/3.2/image-1.0.12/imremap.m at line 106, column 8
error: /usr/share/octave/packages/3.2/image-1.0.12/imremap.m at line 83, column 8
error: /usr/share/octave/packages/3.2/image-1.0.12/imresize.m at line 101, column 7
octave>
W=imresize(Z,80/91);
error: X and Y size must match Z dimensions
error: called from:
error: /usr/share/octave/3.2.4/m/general/interp2.m at line 326, column 2
error: /usr/share/octave/packages/3.2/image-1.0.12/imremap.m at line 106, column 8
error: /usr/share/octave/packages/3.2/image-1.0.12/imremap.m at line 83, column 8
error: /usr/share/octave/packages/3.2/image-1.0.12/imresize.m at line 101, column 7
octave>
If Z is square in the first two dimensions, it works fine.
Has anyone else seen this?
Regards,
Jeff Cunningham
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
