Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.659.612 Times

MKPJ - perceptually improved Jet colormap 1.0

  Date Added: July 11, 2013  |  Visits: 184

MKPJ - perceptually improved Jet colormap

Report Broken Link
Printer Friendly Version

Product Homepage
Download (18 downloads)

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. "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). The default Matlab Jet is no exception.% Please see examples in my previous FEX submission "Perceptually improved% colormaps".% This submission is intended to share the results of my work to create a% more perceptually balanced, Jet colormap. Please see output arguments section% for more details.% A full series of posts on improved colormaps will appear on my blog at% arguments: (input)% scheme - can be one of the following strings:% 'JetI'% The new, more perceptually balanced, Jet color map.% This explanation should be read in conjunction with the submitted figure% "JET_idea_after_scaling_final_L_plt.png"% The idea to improve the default jet came to me after seeing the human% wavelenght discrimination curve from Gregory (1964) in the paper by% Welland et al. (2006).% The top display in the figure is the standard Matlab Jet. Below it,% second display, is the Luminance versus wavelenght profile. This is% essentially the same as plot you would find in the left plot of% figure 3 in Rogowitz and Kalvin (2001). In the third display I reproduced% Gregory's curve. It's considering these two together that brought the% Eureka moment (though it took me a few experiments and some calculations% to line them up properly). The idea was: "can I use this curve to% dynamically stretch the rainbow where transitions are too sharp% (basically around the cyan and yellow), compared to everywhere else?".% The answer is yes, it can be done. In practice this amounted to calculate% the "inverted" function in the fourth display. Assuming a distance of 1% between each of the 256 samples on the x axis in the original Jet colormap,% the function was used to resample it at non-integer distances (up% to 1.5 where the yellow is, unmodified at 1 where the cyan is, less% than 1 everywhere else) resulting in a greater number of samples in% the yellow area in the display compared to all the blue areas, with% the total number of samples staying at 256. The next step was to force% all these new samples back to a distance of 1, achieving a% continuously dynamic stretch. The resulting colormap is shown in% the fifth display and accompanied by its Luminance versus wavelenght% in the last display. This profile is noticeably more perceptually% balnced with gentler transitions and a compressive character.% To me this is a very good result, even though it's not perfect.% In an ideal world I would have paired one of the several human wavelenght% discrimination curves found in Wyszecki and Stiles (2000)% with in conjunction with the corresponding spectrum color functions% (many are referenced in the FEX submission "Spectral and XYZ Color% Functions"), but the problem I had was to identify a matching pair;% a problem that in the end proved insurmountable.%% 'J'% This is the original default Jet which I clipped to lign up with Gregory's curve.%% 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 - the output colormap i%%% Example: compare cape topography using the improved Jet vs. default Jet(clipped)% % load cape;% % imagesc(X); colormap(mkpj(128,'JetI')); colorbar;% % figure;% % imagesc(X); colormap(mkpj(128,'J')); colorbar; See also: JET, HSV, GRAY, HOT, COOL, BONE, COPPER, PINK, FLAG, PRISM, COLORMAP, RGBPLOT

Requirements: No special requirements
Platforms: Matlab
Keyword: Areas Distance Distances Greater Noninteger Number Original Resulting Samples Unmodified
Users rating: 0/10

License: Shareware Size: 2.78 MB
More Reviews or Write Review

Games  -  Mind Fighter 1.1
Mind Fighter is a logic game in C/C where you have to keep your balls greater in number than you opponent. If you make a colony of your balls, you will end up with nice statistics.
10 KB  
MP3 Tools  -  Easy MP3 Cutter 3.0
Have you been recording your college lectures all day long and would like to have history apart from sociology, but do not know how? Or do you have one of those long and weighty live recordings of your favorite band's show, and you want to email...
2.37 MB  
Business  -  Barres I.2.1
Simply launch the application, type in the desired barcode number, and resulting bar code graphic (a resolution-independent PICT file) is automatically copied to you clipboard file, to be pasted or imported into your favorite page-layout,...
466 KB  
Business  -  Pawn Shop Pawn Broker Software 1.30
The EzePawn Series is comprised of a base system and key functional areas that offer a wide number of different Loan and Interest types. EzePawn Series is a comprehensive yet user friendly pawn shop computer program available in both single user...
5 KB  
Database Tools  -  DbSimple 1.0
DbSimple is an abstraction package to access several types of SQL databases.Features of DbSimple:- Drivers to access MySQL, PostgreSQL and InterBase or FireBird- Can execute SQL query templates supporting conditional blocks- Caching of query...
20.48 KB  
Entertainment  -  f64
A simple depth of field calculator. Select format, focal length, aperture setting and focus distance, and f64 will calculate the resulting depth-of-field. Requirements: Windows Phone 8.1, Windows Phone 8, Windows Phone 7.5
1024 KB  
Health & Fitness  -  The Running Depot
The Running Depot Calculator is a running calculator. You can calculator your pace by entering in your running time in hr:min:sec and your distance entered as a number. For example if you ran 3.5 miles you would enter "3.5". You can calculate your...
1024 KB  
Libraries  -  Text::WagnerFischer 0.04
Text::WagnerFischer is an implementation of the Wagner-Fischer edit distance. SYNOPSIS use Text::WagnerFischer qw(distance); print distance("foo","four");# prints "2" print distance([0,1,2],"foo","four");# prints "3" my...
4.1 KB  
Development Tools  -  Evolve top and bottom envelopes for time signals i.e 1.0
Function call: env_secant(x_data, y_data, view, side)Calculates an envelope of data over .Method used: 'secant-method'env_secant() observates the max. slope of every about points from last junction point, and joints them to the resulting...
10 KB  
Development Tools  -  Convert Arabic to Roman 1.0
S = ARABIC2ROMAN( N ) produces the Roman numeral, S, for a given Arabic numeral, N. N is a scalar number. S returns a string.Limitation: Does not handle Arabic values greater than 3999
10 KB  
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB