This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying a colour scale  RSS feed

 
amarnath srinivasan
Greenhorn
Posts: 2
  • 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.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!