Borrar filtros
Borrar filtros

How can exactly detect the edge line of the image?

2 visualizaciones (últimos 30 días)
jasmine htwe
jasmine htwe el 28 de Feb. de 2018
Respondida: Image Analyst el 2 de Mzo. de 2018
To extract ROI exactly, I need to detect the edge line of image. Firstly, I used sobel edge detection, but this cannot detect exactly the edge line. So, I used the thresholding for my images. Although this can detect most images, there are some remaining images cannot correctly detect the line. I also use morphological (dilate,erode,etc). But still there is disconnected edge lines. So, please could you help me some suggestions or codes for my problem? I want to get the edge line (e.g 3.bmp).

Respuestas (1)

Image Analyst
Image Analyst el 2 de Mzo. de 2018
I don't think you need edge detection. Why not just invert the images and use bwboundaries(), or scan column by column using find() to find top and bottom edges as a function of column number?

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by