Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

using a chain code why does g = bound2im(b, M,N) always cause an undefined method or function

Asked by Kbhatti86 on 29 Mar 2013

using a chain code to get a scaled sequence of a image, but i seem to have an error always on the function bound2im saying ??? Undefined function or method 'bound2im' for input arguments of type 'double'. why is it saying this i am using MATLAB 7.11.0 r2010b please help

0 Comments

Kbhatti86

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson on 29 Mar 2013

http://www.mathworks.com/matlabcentral/fileexchange/37473-a-tiny-project-codes

Functions boundaries, invmoments, bound2im are used from DIPUM Toolbox, which is available to the purchasers of 'Digital Image Processing Using Matlab' by Rafael C. Gonzalez, Richard E. Woods & Steven L. Eddins. Thanks to them. They will also need some nested functions which are all included in DIPUM toolbox & in the book. 

4 Comments

Walter Roberson on 1 Apr 2013

That toolbox is the only one that I found that appears to have a function with that name. I do not know what the function is intended to do. You could consider finding a different implementation of whichever routine you found to extract chain codes.

For example, is the following of any value to you? http://www.mathworks.com/matlabcentral/fileexchange/29518-freeman-chain-code

Kbhatti86 on 2 Apr 2013

i am trying to implement an scanned image of a human hand which is processed i now need to find the area around the trace and i was going to use a freeman chain code to find this and find the c.diff for it. and i seem to having to errors with using the codes from the book discussed due to it not being toolbox available for standard matlab

Walter Roberson on 2 Apr 2013

Why not use the contribution #29518 to create the chain code?

Walter Roberson

Contact us