Hello,

I am looking for the most efficient way to do the following:

Take an input image in bitmap form, inputIMG. Map each pixel from the
input image, inputIMG(x,y), to a new value using a lookup table,
lookupTable, which is basically an 256x3 element array.

If the input pixel is valued at RGB [192,123,154] the output pixel
value would be the value at lookupTable(192,123,154).

I can easily code this going through the input bitmap pixel by pixel,
but I was wondering if there was a more efficient way to do it?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to