3D segmentation using treshold method
7 views (last 30 days)
Show older comments
Gabriel Reynes
on 8 Feb 2016
Answered: Image Analyst
on 8 Feb 2016
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 Comments
Accepted Answer
Image Analyst
on 8 Feb 2016
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 Comments
More Answers (0)
See Also
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!