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

matlab help required for image

Asked by Lalit Patil on 12 Oct 2012

https://lh6.googleusercontent.com/-FP5MYt1At-o/UHfdUB2CO3I/AAAAAAAAAJ4/fqAYIXBqGa8/s512/Image1.jpg

In this image there is a laser strip. I want to detect it sharply like a single line drawn. So, please give me a code.

2 Comments

José-Luis on 12 Oct 2012

This forum is not intended for other people to do your work. It is intended to help you understand Matlab, and help you with Matlab problems. What have you done so far?

Lalit Patil on 12 Oct 2012

I am relly sorry for this kind of language... Actually i have to develope a 3D and I have written a matlab code but it detects all the values of maximum pixel intensity and plots it.. so there is a spreading using scatter3 command... So, i just want to know is it possible to get sharp strip and which method can be applied, like fft or LMS etc.or any logic.?

Lalit Patil

1 Answer

Answer by Image Analyst on 12 Oct 2012
Accepted answer

Convert to grayscale, threshold, call bwmorph() to skeletonize.

1 Comment

Lalit Patil on 12 Oct 2012

Thank you very very much sir... I get it solved....

Image Analyst

Contact us