Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

masking of region of interest outputted by snake's algorithm

1 visualización (últimos 30 días)
anshumala rakesh
anshumala rakesh el 27 de Abr. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
i have an ultrasound image as my input and i have applied snake's algorithm to that image and as my output i am getting an ultrasound image with a contour for my region of interest( although computed manually).But i want a binary image as my output with background as black and region of interest as white(not just contour). i shall be grateful to any help or suggestions.thankyou
  4 comentarios
Siyu Guo
Siyu Guo el 28 de Abr. de 2018
If your algorithm can guarantee the result be the closed contour of a region, you can initialized a logical matrix B = false(size(img,1), size(img,2)), set the snake contour pixels in B, and then call bwfill function to fill the region.
Siyu Guo
Siyu Guo el 28 de Abr. de 2018
And if the snake contour data is provided as vectors of polygon vertices, I think you can use "fill" function to draw the region.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by