3D segmentation using treshold method

10 ビュー (過去 30 日間)
Gabriel Reynes
Gabriel Reynes 2016 年 2 月 8 日
回答済み: Image Analyst 2016 年 2 月 8 日
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!

採用された回答

Image Analyst
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 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by