View License

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

» Watch video

Highlights from

4.7 | 3 ratings Rate this file 7 Downloads (last 30 days) File Size: 2.2 KB File ID: #5855 Version: 1.0




10 Sep 2004 (Updated )

Function to convert an RGB image to a grayscale image.

| Watch this File

File Information

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.


This file inspired Bipolar Colormap.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
24 Sep 2006 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.

11 Jul 2006 Jean-Christophe Cazenave

20 Mar 2006 Susanne Hansen

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

24 Aug 2006

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

Contact us