Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Processing the image

3 Ansichten (letzte 30 Tage)
Tricky
Tricky am 23 Mai 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi..
The image of illumination with the holes is to be processed so that the outcome image contains only the holes. I worked out like this
img=imread('L2S2T1.jpg');
gryscl=rgb2gray(img);
BW2=im2bw(gryscl,0.2);
figure(3),imshow(BW2);
The output image got was not the desired one as
How to process the image to have only the holes in it without the lines (i.e., horizontal and vertical lines)

Antworten (1)

Image Analyst
Image Analyst am 23 Mai 2012
I see you're still on this image again. "Again" because I'm pretty sure that Tricky, Jim, and Vivek are all the same person due to the style of asking questions. And Jim asked about this very same image in http://www.mathworks.com/matlabcentral/answers/36056-how-to-crop-the-image You could have asked there and I could have given more suggestions if you couldn't figure out how to finish the code I gave you in that thread (via taking vertical and horizontal profiles).
Try it this way next:
But I'm not giving you code on those because there is demo code already there in those links, plus you don't seem to want to work with my code anyway.

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by