Code covered by the BSD License  

Highlights from
Colorize Signed Image

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.92 KB File ID: #37828
image thumbnail

Colorize Signed Image

by Andrew Fitzgibbon

 

15 Aug 2012

Make an RGB image of a matrix of signed data.

| Watch this File

File Information
Description

Make an RGB image of a signed matrix, with positive values in red, negative values in blue, and zero values in white or black. An all-gray option is also present.

The image values are scaled to 0..255, and the same scaling factor is applied to both positive and negative values so their magnitudes can be compared.

An optional gamma-correction factor can be applied to the image, useful to
accentuate small values.

In comparison to POLARMAP, this function actually returns a new 8-bpp RGB image with the transformed values. The advantage is that you can save the image to a PNG for use in documents, the disadvantage is that COLORBAR does not do anything.

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File  
Everyone's Tags
colormap, graphics, image processing, signed data, visualization
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us