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.
Direct link to this comment:
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?
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.?
Direct link to this answer:
Convert to grayscale, threshold, call bwmorph() to skeletonize.
Thank you very very much sir... I get it solved....
Log In to answer or comment on this question.
Play games and win prizes!
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries