How do i change my image

From 3D(JPEG) to 2D
Do i change it to grayscale? how do i do so .
??? Error using ==> iptcheckinput Function IMHIST expected its first input, I or X, to be two-dimensional.

 采纳的回答

David Young
David Young 2011-10-13

0 个投票

Have a look at rgb2gray. Alternatively, consider applying imhist to the separate colour planes.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by