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

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

Serving Software Downloads in 956 Categories, Downloaded 50.476.241 Times

MKPJ - perceptually improved Jet colormap 1.0

  Date Added: July 11, 2013  |  Visits: 297

MKPJ - perceptually improved Jet colormap

Report Broken Link
Printer Friendly Version


Product Homepage
Download (48 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% http://mycarta.wordpress.com/%%% 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
MKPJ - PERCEPTUALLY IMPROVED JET COLORMAP RELATED
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  
Development Tools  -  Minimum Distance loop between 'n' number of points 1.0
Function to find the minimum distance loop from given set of points.This function uses the distance formula to genrate a minimum distance loop.function mindist = minimumdistance(X,Y,x,y)X = X coordinate vectorY = Y coordinate vector(x,y) point...
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  
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  -  Information loss of the Mahalanobis distance in high dimensions: Matlab implementation 1.0
The Mahalanobis distance between a pattern measurement vector of dimensionality D and the center of the class it belongs to is distributed as a chi^2 with D degrees of freedom, when an infinite training set is used. However, the distribution of...
10 KB  
Modules  -  Vendor Locator Displayed by Distance 1.0
These modifications allow you to create and maintain a list of vendors in the admin section and present them to your customer. Vendors are presented to the customer by distance (in miles) using a latitude & longitude algorithm based upon the...
 
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  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
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  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
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