Displaying a buffered image with a predifined colormap

From: Isaac Gerg (isaacgerg_at_psu.edu)
Date: 07/12/04


Date: Mon, 12 Jul 2004 10:11:26 -0400

Hello all,
    I have a matrix (normalized [0,1]) that I would like to display as an
image (similar to matlabs imagesc( )). I am able to load it into a buffered
image and display it but it only displays in grayscale. I would like to
provide a colormap to it so that it mimics matlabs 'jet' colormap. Any
ideas on how to do this? Are there any 'cookbook' type resources for java
imaging out there?

Isaac



Relevant Pages