4.5

4.5 | 2 ratings Rate this file 119 downloads (last 30 days) File Size: 12.07 KB File ID: #11037

Lab color scale

by Steve Eddins

 

09 May 2006 (Updated 10 May 2006)

Code covered by BSD License  

Create color scale that prints well on grayscale printers

Download Now | Watch this File

File Information
Description

The function color_scale creates a color scale, or colormap, that is approximately uniform perceptually on both a color display and on a grayscale printer. The color scale is computed using the L*a*b* color space. It follows a uniform ramp along the L* direction, and it follows a semicircular path in the a*-b* plane.

The function color_scale_tool launches a GUI that allows you to experiment easily with different input parameters for color_scale.

For more information about these functions, see my image processing blog posting, http://blogs.mathworks.com/steve/?p=57

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.2 (R2006a)
Zip File Content  
Other Files color_scale.m,
color_scale_tool.fig,
color_scale_tool.m,
helpicon.mat
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
08 Feb 2007 hassan quzmar  
04 Jul 2007 michal sh  
25 Jun 2008 Alexandre Tumlinson

Take a look at 'colorGray' which has similar functionality but with "rainbow" like color spectrum.

Please login to add a comment or rating.
Updates
10 May 2006

Added pointer to blog posting for more information.

Tag Activity for this File
Tag Applied By Date/Time
color Steve Eddins 22 Oct 2008 08:24:59
color scale colormap lab grayscale Steve Eddins 22 Oct 2008 08:24:59
color scale colormap lab grayscale Eddy 02 May 2009 20:07:53
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com