Search for line passing through a point in edge image
Mostrar comentarios más antiguos
Hi all
I have an color image and I converted it to gray image then I do edge detection using 'canny'. The edge image contains horizontal, vertical and inclined lines. For specific pixel (xp,yp) in the edge image, I want to search for a vertical line that pass through this point.
Can anyone help me to find to a method to search or detect a vertical line passing in this point. Your help is highly appreciated.
I started with:
I=imread('image.jpg');
G=rgb2gray(I);
B=edge(G,'canny');
3 comentarios
Image Analyst
el 4 de Mzo. de 2013
Where did you post your image? http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers Post both your original image and the Canny edge image. Tell us the pixel (xp,yp) you're looking at, or let us know if you want to do that for every pixel in the image.
Mary
el 5 de Mzo. de 2013
Jan
el 5 de Mzo. de 2013
@Mary: Image Analyst had posted a link to the page, where you can upload images. Then post the link inside < and > or even better in << and >>. Please explain any details of "I cuoldn't" to allow us to suggest an improvement.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Object Analysis en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!