Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

IndexColorModel - find mapping of color pixel  RSS feed

Alice Corman
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, I hope this is in the correct area.

I'm trying to interpret a post I found googling (last response).

I've worked through most of it. In summary I've passed an image through ColorQuantizer and ErrorDiffusion and now have a 'palette color image'. The part I'm stuck on is this step:

"Determine to what value in the palette color image a zero-valued pixel in the warped image was mapped.".

I'm not sure how to go about this. Sorry if this seems obvious, but I'm struggling with it (and lack of sleep). Can anyone give me a few hints?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!