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

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

How to get distance between 2 pixels in IMSHOW

Asked by Miguelcm90 on 2 Aug 2013

Hi all,

I am developing one code to get a picture, convert it to BW because I need to measure the distance between the edges of a sample that to what I have to make pictures. i have used canny filter to obtain edges, and I have the picture here if you have a look.

Then , what I would like to do is, something to measure in the picture window, this distance. I have tried with h = imdistline but I have to zoom in a lot to get preccision.

I have tried also to load impixelregion but I don't know how I can load a measure tool inside this window. That would be great to measure in this window by handling. Where I can find out about this?

Thanks a lot.

This is the picture.

http://img842.imageshack.us/img842/4342/pd0o.png

0 Comments

Miguelcm90

Products

No products are associated with this question.

0 Answers

Contact us