Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Excel Add-in for DB2 1.7
wolfSSL 4.0.0
EntityDAC Express 2.2
SecureBridge 9.1
C# HTML to PDF 2019.6.5
PHP Ecommerce Script 3.6
Devart SSIS Data Flow Components 1.11
dbForge Data Compare for PostgreSQL 3.2.15
OrgChart JS 4.9.7
iScripts CyberMatch 1.3.3
AnyGantt JS Gantt Charts 8.7.0
Database Workbench Pro 5.6.8
SentiMask SDK Trial 2.0.193121
dbForge Studio for SQL Server 5.8
ODBC Driver for ASE 2.1.2
Top Code
iScripts CyberMatch 1.3
SecureBridge 8.0
dbForge Data Compare for PostgreSQL 2.0
Database Workbench Pro 5.6.8
dbForge Studio for SQL Server 5.5
PHP Ecommerce Script 1.0.4
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
Excel Add-in for DB2 1.1
PHP Review Script 1.0
EntityDAC Express 2.2
ICPennyBid Penny Auction Script 4.0
Azizi search engine script PHP 4.1.10
Extreme Injector 3.7
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Perceptually improved colormaps 1.0
File ID: 86543






Perceptually improved colormaps 1.0
Download Perceptually improved colormaps 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 1024.0 KB
Downloads: 2
Submit Rating:
Perceptually improved colormaps 1.0 Description
Description: PMKMP Returns perceptually balanced colormaps with rainbow-like colors
PMKMP(N,SCHEME) returns an Nx3 colormap.
usage: map=pmkmp(n,scheme);

JUSTIFICATION: rainbow, or spectrum color schemes are considered a poor choice for scientific data display by many in the scientific community (see for example reference 1 and 2) in that they introduce artifacts that mislead the viewer. "The rainbow color map appears as if itd-deOaos separated into bands of almost constant hue, with sharp transitions between hues. Viewers perceive these sharp transitions as sharp transitions in the data, even when this is not the casein how regularly spaced (interval) data are displayed (quoted from reference 1). This submission is intended to share the results of my work to create more perceptually balanced, rainbow-like color maps. Please see output arguments section for descriptions.

arguments: (input)
scheme - can be one of the following strings:
'IsoL' Lab-based isoluminant rainbow with constant luminance L*=60
For interval data displayed with external lighting

'CubicL' Lab-based rainbow scheme with cubic-law luminance (default)
For interval data displayed without external lighting

'Edge' Diverging Black-blue-cyan-white-yellow-red-black scheme
For ratio data (ordered, constant scale, natural zero)

n - scalar specifying number of points in the colorbar. Maximum n=256
If n is not specified, the size of the colormap is determined by the
current figure. If no figure exists, MATLAB creates one.

arguments: (output)
map - colormap of the chosen scheme
- IsoL is based on work in paper 2 in the reference section. In both this paper and in several others this is indicated as the best for displaying interval data with external lighting. This is so as to allow the lighting to provide the shading to highlight the details of interest. If lighting is combined with a colormap that has its own luminance function associated - even as simple as a linear increase this will confuse the viewer. The only difference from the paper is that I changed the value of constant luminance to L*=60 to make it brighter that the authors' example.

- CubicL too is based on some of the ideas in paper 2 in the reference section but rather than using a linearly increasing L* function such as the one used by those authors, I am using a compressive or cubic law function for the increase in L*. L* ranges between 31 and 90 in the violet to yellowish portion of the colormap, then decreases to about 80 to get to the red (please refer to figure L_a_b_PlotsCubicL.png). The choice to start at 31 was a matter of taste. I like having violet instead of black at the cold end of the colormap. The latter choice was so as to have red and not white at the warm end of the colorbar, which is also a matter of personal taste. As a result, there is an inversion in the L* trend, but I believe because it is a smooth one that this is an acceptable compromise and the resulting colormap is much of an improvement over the standard rainbow or spectrum schemes, which typically have at least 3 sharp L* inversions. Please run CompareLabPlotsUsingColorspace.m or see figures: L_plot_for_CubicL_colormap.png, L_plot_for_jet_colormap.png, and L_plot_for_spectrum_colormap.png for a demonstration

- Edge is based on the Goethe Edge Colors described in the book in reference 3. In practice the colormap resembles a cold color map attached to a warm color map. But the science behind it is rigorous and the experimental work is based on is very intriguing to me: an alternative to the Newtonian spectrum. This is not perceptually balanced in a strict sense but because it does not have green it is perceptually improved in a harmonious sense (refer to paper reference 10 for a review of the concept of harmony in color visualization).

Example: 128-color rainbow with cubic-law luminance (default)
% load mandrill;
% imagesc(X);
% colormap(pmkmp(128));
% colorbar;
See files examples.m, examples1.m, and example2.m and associated figures for more examples
See files MakeLabPlotUsingColorspace.m and CompareLabPlotsUsingColorspace.m for some demonstrations

See also: JET, HSV, GRAY, HOT, COOL, BONE, COPPER, PINK, FLAG, PRISM,
COLORMAP, RGBPLOT


Extensive reference list and list of other FEX submissions of interest included in the help

License: Shareware

Related: taste, black, matter, Start, decreases, Refer, plotscubiclpng, White, Smooth, acceptable, compromise, resulting

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 1024.0 KB

Downloads: 2



More Similar Code

function map=mkpj(n,scheme)
% MKPJ Returns a perceptually improved Jet colormap
% MKPJ (N,SCHEME) returns an Nx3 colormap.
% usage: map=mkpj(n,scheme);
%
% JUSTIFICATION: rainbow, or spectrum color schemes are considered a poor
% choice for scientific data display by many in the scientific community
% (see for example reference 1 and 3) in that they introduce artifacts
% that mislead the viewer....



Vim Color Improved is a syntax highlighting plugin that allows you to include code from local or reomte files in your WordPress posts.

It uses the same tag and parameter parsing as the popular CodeViewer 1.4, and should be compatible...



MasterPages: Improved Version is a web based tutorial which deals with MasterPages demo Page Templating controls. The author describes the Master page which offers solution for utilizing this template in various process. The author tells about the...



Improved Gray Scale (IGS) codes are used for the elimination of false contouring in images, and image compression. This Python program generates the IGS codes for a set of input gray level values.



I have start my menu from d-deDUFlickr like horizontal menud-deDt and I improved it because it has a bug in the css. You cand-deOaot add more menu items on a line.This horizontal menu that I want to show is used also by many well know websites as...



Improved version of Wigner6j by Amita B Deb. This version returns zero if the triangle inequalities are not satisfied. Also, some undesired output is suppressed.



In this submission, the hole filling algorithm is improved. Further, the outputs are now in the YUV format.



Replaces poissrnd.

Improved speed when argument consists of many, wide ranging values.



The choice of colormaps for data visualization can affect the information accessible to color-blind users. For example large patches of cyan in an image with a bitonal cyan-magenta colormap (Matlab's "cool") might become invisible to...



Improved algorithms for finding the roots (direct method for first order quadratic, cubic and Quartic) are used for low order equations.
Fadeev algorithm for finding the characteristic polynomial is implemented to ensure high accuracy.

User Review for Perceptually improved colormaps
- required fields
     

Please enter text on the image