Chan Vese Segmentation mask is not working Properly

4 次查看(过去 30 天)
I cropped my DICOM image so the active contour be faster and segment between the black area and soft tissue.
Instead, I got a contour that overlaps the edge of the image and goes beyond this. How can this happen? See attached image.
Let me know if you need the m files.

采纳的回答

Anton Semechko
Anton Semechko 2018-6-26
Your image appears to be "padded" on the top and bottom with gray values. The transition between the black background (containing the region of interest; ROI) and these gray regions, has large gradient that will attract the contour during segmentation; because evolution of the contour is guided by the strength of the image intensity gradient. My suggestions to you, (1) remove the padding, (2) initialize contour close to the ROI you want to segment.
  28 个评论
Stelios Fanourakis
Stelios Fanourakis 2018-8-31
Hi Anton.
Thanks for your valuable help so far. What I have not understand yet is how to get what I need. FastFCMeans algorithm indeed segmented the gray soft tissue from the background. What I want now is to get the black area above the soft tissue. Only this region above the tissue. I need to somehow segment it and measure its length, pixel area size, dimensions. Do I have to implement a snake contour like chan vese. How else can I obtain the values of this area? (pixel size, pixels in number, dimensions, length from top of the image to the beginning of the tissue).
Stelios Fanourakis
Stelios Fanourakis 2018-8-31
编辑:Stelios Fanourakis 2018-8-31
Moreover, if you notice the soft tissue at the last pic available (untitled.png) you'll notice some black gaps between the soft tissue especially at the lower left side of the image. I need some kind of interpolation method to fill those gaps so the contour will not get messed. So the soft tissue will be a unit of seamless gray or white matter with no black gaps.
I attach an image to see the results so far. See that the contour gets troubled to the points where the soft tissue is not seamless and black gaps occur. Any idea of how to fix it?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 DICOM Format 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by