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 ??
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개)

카테고리

질문:

2015년 11월 3일

댓글:

2015년 11월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by