3d plot of an image
Show older comments
size(I)
ans =
287 499 3
Please let me know how can I get 3D plot of the image I?
5 Comments
Walter Roberson
on 1 Oct 2012
You currently have three obvious dimensions, but also one dimension more because each element in the array has a value. How do you want to project your 4 dimensions of information into a 3 dimension plot ?
Mahua Nandy(Pal)
on 2 Oct 2012
Image Analyst
on 2 Oct 2012
Your MRI image has only 3 slices? Well there's not much point in the 3D frequency then. What kind of frequency information could you have along the 3 slice axis? Not much. Just take one of the 2D slices and take the 2D FFT and look at that.
Mahua Nandy(Pal)
on 3 Oct 2012
Image Analyst
on 3 Oct 2012
I'm not sure what you're after. Like I said the FFT is used to visualize spatial frequency distribution.
Answers (1)
Image Analyst
on 1 Oct 2012
1 vote
This is probably a color image rather than a monochrome volumetric image. So what does a 3D image of this look like to you? Do you want to take each color channel and plot it in 2.5D as a surface rendering - a perspective image using surf()? Do you want to compute a luminance image and then render that with surf() and apply coloring to the surface that matches the original color? Why do you want a "3D" rendering anyway? What good does it do you?
Categories
Find more on Neuroimaging 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!