Products & Services Solutions Academia Support User Community Company

Learn more about Image Processing Toolbox   

isrgb - True for RGB image

Syntax

flag = isrgb(A)

Description

flag = isrgb(A) returns 1 if A is an RGB truecolor image and 0 otherwise.

isrgb uses these criteria to determine whether A is an RGB image:

Class Support

A can be of class logical, uint8, uint16, or double.

See Also

isbw, isgray, isind

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS