File Exchange

image thumbnail

mrgb2gray

version 1.0 (2.2 KB) by

Function to convert an RGB image to a grayscale image.

4.66667
3 Ratings

2 Downloads

Updated

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.

Comments and Ratings (3)

Pedro Castro

I think there's a bug with your program. The 'mean' and 'min' methods return the same values , which might be happening because you're using the 'min' function in the 'mean' method.

Jean-Christophe Cazenave

Susanne Hansen

Super program.
Just what i have been looking for :-)

Updates

A minor cleanup of the code - no functionality added or changed.

MATLAB Release
MATLAB 6.5 (R13)
Acknowledgements

Inspired: Bipolar Colormap

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video