mrgb2gray

Function to convert an RGB image to a grayscale image.

3.1K Downloads

Updated 28 Sep 2006

View License

Function to convert an RGB image to a grayscale image. Default behaviour is the same as MATLAB's (IP toolbox) RGB2GRAY, but MRGB2GRAY also has several other convertion schemes.

Cite As

Kristian Sveen (2023). mrgb2gray (https://www.mathworks.com/matlabcentral/fileexchange/5855-mrgb2gray), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Bipolar Colormap

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Bug fix: Changed occurence of 'min' to 'mean'.