Suggestion of how to deal with artefacts
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello
Please, see attached image. At the top boundary area, there is an artefact that prohibits the active contour to take a rectangular shape. One method I can think of is to crop the image lower so not to have the artifact. But, later I will have to deal with it since the pixels rows deleted will later be added in my calculations.
I would also like to ask whether there is a way for a line-edge segmentation method. Active contours like the one I use, starts from a circle shape and it expands. What about having a method for the segmentation to start as a line and segments the edges, like the bottom red line where I want.
Looking to your proposals.
0 comentarios
Respuestas (1)
Image Analyst
el 22 de En. de 2019
I'm assuming the artifacts are the bright regions surrounded by the red line at the top, and the huge white surround is actually NOT part of your image, correct?
Not sure what you're doing with the active contour, but you could find the bright blobs at the top and then just replace them with zero or the mean of the image or something
grayImage(brightBlobMask) = mean(grayImage(~brightBlobMask));
Then try your active contour.
4 comentarios
Image Analyst
el 28 de En. de 2019
You can't pass in : (colon) for the connectivity (second argumente to bwlabel()).
It has to be either 4 or 8 or you can leave it out (like I did).
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!