mrgb2gray

Function to convert an RGB image to a grayscale image.

You are now following this Submission

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://nl.mathworks.com/matlabcentral/fileexchange/5855-mrgb2gray), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Bipolar Colormap

Categories

Find more on Modify Image Colors in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

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