This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying a colour scale

amarnath srinivasan
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic