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.

 Accepted Answer

David Young
David Young on 13 Oct 2011

0 votes

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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!