Suggestions in border detection

3 visualizaciones (últimos 30 días)
Ariwan Abdollah
Ariwan Abdollah el 25 de Nov. de 2020
Respondida: Ariwan Abdollah el 9 de En. de 2021
Dear reader,
For my research I am creating an image (cross section of an artery). In that image some 'regions' can clearly be seen. I would like to write some code that can (semi) automatically create regions out of the image. Maybe my explanation is not so clear, so I included a visual representation of what I'd like. My question is, can anyone help with finding a strategy how to device this. I've tried some tricks but up until now these are not satisfactory.
The result I have up until now:
What I would like to have:
So it needs to be 'cleaned' up and the missing connections need to be connected once more (as shown in red). I am not really worried about the lines in the center, but if they are also effected by the code that's fine. I have found a function that draws brezier curves (https://nl.mathworks.com/matlabcentral/fileexchange/33828-generalised-bezier-curve-matlab-code), so the red parts could be manually added if that helps.
Thank you in advance
  3 comentarios
KALYAN ACHARJYA
KALYAN ACHARJYA el 25 de Nov. de 2020
Can you attach the original image also?
Ariwan Abdollah
Ariwan Abdollah el 25 de Nov. de 2020
Editada: Ariwan Abdollah el 25 de Nov. de 2020
@mathieu NOE Thank you for the suggestion. I have looked into it. This method seems to show horizontal and vertical lines, if I understand correctly. However, this is not exactly what I think I need, as the lines need to be 'extrapolated' to close the figure. Then what is inside the shape needs to
@Kalyan Acharjya, Yes ofcourse. I included the .fig and the .png

Iniciar sesión para comentar.

Respuesta aceptada

Ariwan Abdollah
Ariwan Abdollah el 9 de En. de 2021

Más respuestas (1)

Manas Meena
Manas Meena el 4 de En. de 2021
The following link addresses a similar question of sectioning out arteries. You can refer to the code from this solution.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by