extracting subvolume in different shapes

Hello all. As we know, by using 'subvolume' function we can extract volume data in cuboid form which is controlled by the limits . I want to ask that, IS there any process with we can extract subvolumes with 'subvolumes' function in different shapes such as - cylinder,sphere,conical etc. ? Thank you :)

 採用された回答

Image Analyst
Image Analyst 2015 年 11 月 3 日

0 投票

Well yes and no. As you probably know, an image must be rectangular. However you can mask the volume by some oddball shape so that everything else is zero, and then you can extract the bounding box. So it will be rectangular but the shape will be surrounded/filled with zeros from the shape out to the boundaries of the image.

6 件のコメント

yogesh jain
yogesh jain 2015 年 11 月 3 日
thank you for your consideration sir but could you please describe in some easier and descriptive way ?
Image Analyst
Image Analyst 2015 年 11 月 4 日
The image must have flat sides, like a box. It can't have round sides, like an apple or a cylinder. Though you can have an apple in a box where the apple has some gray levels and the "air" between the apple and the box sides has gray level of zero. Does that analogy work for you???
yogesh jain
yogesh jain 2015 年 11 月 5 日
Yes sir, thanks a lot for explanation . Now I want to share my task with you which is - I am having a filled sphere and a cylinder , I insert the cylinder into the sphere so cylinder will surely acquire some volume of sphere and they will be having some common volume . how to show or extract that part ??
Image Analyst
Image Analyst 2015 年 11 月 5 日
If you can segment them separately, you can just and the segmented images
binaryIntersections = binarySphere & binaryCylinder;
yogesh jain
yogesh jain 2015 年 11 月 6 日
Sorry but couldn't get the concept ...
Image Analyst
Image Analyst 2015 年 11 月 6 日
Them you should get some background in the logical operations such as AND and OR. Try this link: https://www.google.com/?gws_rd=ssl#q=logical+and+matlab

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by