Hi people,

I have a problem, I need to filter an image getting just one component of
the pixel (RGB).
Supose I have a BufferedImage, I could do boolean operation in all the data,
like below:

BufferedImage bi;
int k, i;
.
.
.
for (i=0;i<=bi.getWidth();i++)
for (k=0;k<=bi.getHeight();k++)
bi.setRGB(i,k,bi.getRGB(i,k)&0x00ff0000);
/*getting just the red component, for example*/

Is there a way to do this dynamically, this is, each frame doing this
process automatically?

Anyone have another ideia?

Thanks, Joseph.


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to