File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Displaying a colour scale Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Displaying a colour scale" Watch "Displaying a colour scale" New topic

Displaying a colour scale

amarnath srinivasan

Joined: Mar 28, 2005
Posts: 2
Hi I have an intensity matrix and would like to display it as a image. To start with i thoght I will use the following matrix to try displaying all colour in a self generated color scale. The displayed image has only four colors(blue, green, magenta and orange). Can somebody tell me why?

Also please let me know if there are predefined color mappings in java.

amarnath srinivasan
I agree. Here's the link:
subject: Displaying a colour scale
It's not a secret anymore!