connecting image extreme (end) boundries
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Iram Shahzadi
el 27 de Mayo de 2020
Comentada: Iram Shahzadi
el 27 de Mayo de 2020
Hi, I have edge detected image. I want to connect all the pixels at extreme edges and fill the region inside, so that i have a binary mask of this image without any gaps. I used imdilate but this introduce thickness in boundries that i do not want in image. Can anyone please guide how I can do it. thanks
0 comentarios
Respuesta aceptada
Image Analyst
el 27 de Mayo de 2020
Try
mask = bwconvhull(mask, 'union');
or else try imclose() followed by imfill(), or try activecontour() (demo attached).
Más respuestas (0)
Ver también
Categorías
Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!