3D segmentation using treshold method
조회 수: 10 (최근 30일)
이전 댓글 표시
I am triying to make a 3D segmentation using a treshold method. Given a 3D image I, in particulare slice of the image I(:,:,i) I performed a treshold segmentation and using region props I selected a specific ROI. What is the best way to propagate this roi to the other slices?
My idea was: given a slice I(:,:,i+/-1) I do the same treshold segemntation and for all ROIs I need to find if some pixels coincide with the ROI of the previous slice. Is there any simple way to do that?
Thanks is advance!
댓글 수: 0
채택된 답변
Image Analyst
2016년 2월 8일
Just get the threshold from that particular slice, or however you do it. Then just create a binary 3D volumetric logical image by thresholding your entire image (the badly-named I):
binaryImage = I > threshold;
To find out if some pixels coincide for two slices, you can AND the slices
inBothSlices = I(:,:,slice1Index) & I(:,:,slice2Index);
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!