How do i change my image

11 views (last 30 days)
Fish Out Of Water :D
Fish Out Of Water :D on 13 Oct 2011
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
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!