How to Check if an Image Is RGB in MATLAB

You can view four different image types in the MATLAB Image Processing Toolbox: binary images, indexed images, grayscale images and truecolor images. Truecolor images are also known as RGB images, because each pixel in the image contains a combination of red, green and blue color properties. While viewing an image in the MATLAB Image Processing Toolbox, you can tell if the image is an RBG image by viewing the image's details.

Instructions

    • 1

      Open the MATLAB Image Processing Toolbox window to view the image.

    • 2

      Locate the box that contains the image's pixel width and height at the bottom of the Image processing Toolbox window.

    • 3

      Check if "RGB" is listed to the left of the image's pixel width and height. If it is, the image is an RBG image. If it isn't, the image is a different type of image.

Related Searches:

References

Comments

Related Ads

Featured