3d plot of an image
显示 更早的评论
size(I)
ans =
287 499 3
Please let me know how can I get 3D plot of the image I?
5 个评论
Walter Roberson
2012-10-1
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)
2012-10-2
Image Analyst
2012-10-2
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)
2012-10-3
Image Analyst
2012-10-3
I'm not sure what you're after. Like I said the FFT is used to visualize spatial frequency distribution.
回答(1 个)
Image Analyst
2012-10-1
1 个投票
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?
类别
在 帮助中心 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!