If you are wanting to map every pixel then you have to do this pixel by
pixel... There is no other option.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Oct 17, 2011 at 9:16 AM, jake4714 <[email protected]> wrote:

> 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

-- 
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