Is edge method in activecontour function working for 3D image?

3 次查看(过去 30 天)
Hi,
I am following one tutorial Segment Lungs from 3-D Chest Scanto get 3D structure based on scanned images. Instead of getting details inside the object, I only want it stops at the boundary and everything inside is solid. So I try to use “edge” method after using bwconvhull() for activecontour(). However, the images that work fine with “Chan-Vese” method are now not working with “edge”.
Here is the error message,
“Iterations terminated prematurely because no part of the contour lies within the image domain. If the range of pixel values in the input image is small (such as 0-1), consider increasing the range by multiplying the input image with a scale factor. Also, consider specifying a different initial contour position in MASK.”
I have seen this procedure working with 2D images,
So, is “edge” method working for 3D?
Thanks!

采纳的回答

yanqi liu
yanqi liu 2021-2-20
sir, i think may be use active code
《Snakes, Shapes, and Gradient Vector Flow》

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by