how to convert a 3d image to 2d image ?

2 次查看(过去 30 天)
I got this error
Attempted to access bwZ(3,2812); index out of bounds because size(bwZ)=[632,937,3].
this because bwZ is a 3d image does anyone know how to convert a 3d image to 2d image ?

回答(1 个)

Image Analyst
Image Analyst 2013-4-5
编辑:Image Analyst 2013-4-5
I don't think your question is the one that should be asked. If your color image has 632 rows, and 937 columns, and three color channels (R, G, and B) or volumetric layers, then the real question that should be asked is "what were you thinking when you try to access the 2812th column in the 3rd row? And with no color channel specified."

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by