Code covered by the BSD License  

Highlights from
mrgb2gray

4.66667

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

mrgb2gray

by

 

10 Sep 2004 (Updated )

Function to convert an RGB image to a grayscale image.

| Watch this File

File Information
Description

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.

Acknowledgements

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 :-)

Updates
24 Aug 2006

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

Contact us