MATLAB Answers

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

4 views (last 30 days)
Dongyu Liang
Dongyu Liang on 19 Feb 2021
Answered: yanqi liu on 20 Feb 2021
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?

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!