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.
image2
댓글 수: 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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!