I want to remove the extra boundaries from liver in CT images after the initial segmentation. how to do this?
1 次查看(过去 30 天)
显示 更早的评论
Hello everyone. I want to remove the extra boundaries from the liver in CT abdominal images dataset. I segmented the liver from CT image but the boundaries of the liver also miss classified during my deep learning training. I want to remove it. and also may be another organ which miss classified. In the the following two images red line is the correct liver and around the liver having a boundaries which were miss classified and wrongly segmented. In green line the other organs also wrongly segmented. If anyone know this how to remove or refer any post processing method so please help.
![](/matlabcentral/answers/uploaded_files/85074/1111.png)
image2
![](/matlabcentral/answers/uploaded_files/85075/1222.png)
4 个评论
Image Analyst
2022-4-16
@ashutosh singh, like I told @Manjunath R V, I don't have it. You'll have to write it yourself after finding a paper in the link I gave above that shows you how to do it.
采纳的回答
Image Analyst
2017-8-9
Turn the red and green coordinates into a mask, then mask them out. Full demo attached. Basically
% Make mask from red outline:
mask = poly2mask(redX, redY, rows, columns);
% Enlarge mask
mask = imdilate(mask, true(41)); % 41 is the size - enlarge or reduce to make the mask the size you want.
% Mask the image
grayImage(mask) = 0; % Zero out inside the mask.
2 个评论
Image Analyst
2017-8-9
Of course. You can create the mask in anyway you want, for example by thresholding.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!