Is it possible to extract features from a specific regions without cropping the image volume?

1 view (last 30 days)
Hi everyone,
I have 3d image volume and a 3D label volume witha size (384,384,160). Which is very time consuming to extract 139 features. Some of the features are 3D features means it is extracted to be extracted regarding x, y, and z directions.
I am trying to speed up the feature extraction procedure by limiting the area to a window around the object. I do not want to crop the image, because I want to maintain the coordinates for the further processes. DO you have any suggestion?
Your expert opinion is really appreciated
Thanks

Answers (1)

Image Analyst
Image Analyst on 7 Apr 2019
Just make a 3D volumetric mask image that is true in the region you want, and false outside that, and then pass it to regionprops3().

Community Treasure Hunt

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

Start Hunting!