mrgb2gray
Version 1.0.0.0 (2.2 KB) by
Kristian Sveen
Function to convert an RGB image to a grayscale image.
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 (2026). mrgb2gray (https://uk.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 LinuxCategories
- MATLAB > Graphics > Images > Modify Image Colors >
Find more on Modify Image Colors in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Bipolar Colormap
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Bug fix: Changed occurence of 'min' to 'mean'. |
