measuring the distance and location of an object in the image ( height, width microcontroller)

1 view (last 30 days)
My objective is to measure height, width microcontroller the length of the pins

Answers (1)

Image Analyst
Image Analyst on 28 Dec 2013
The big black square is not too hard to find. See my Image Segmentation Tutorial http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862. For the legs, you are going to need a lot higher resolution. Why do you want to measure them? Is there a possibility that one of them may be missing? If so, how will it look different than if it is there?
See my spatial calibration demo, attached.
  2 Comments
mag
mag on 28 Dec 2013
first of all think u I need to measure them and to get their position for my soldering robotmachine
Image Analyst
Image Analyst on 28 Dec 2013
I don't understand the English of that statement/question/whatever. Yes you need to find the position - you already told us that in your original statement (actually an implied question I guess). And I gave you a link to a tutorial that will help you.

Sign in to comment.

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!