F
fireman
Hi, I am new to java and hope you guys can help me.
I have two images. One is just oridinary color images. Another one is
a gray scale "mask" image with limited pixels values. Some pixels in
the mask images have value 6, some pxies have 7, some have 8, some
have 9. All other pixels have value 0. I would like to composte the
two images in the following way:
For the region in the mask image represented by pixels value 6,
overly semi-transparent (alphe=0.5) red on the original image. For
region with mask value 7, overly semi-transparent green. For value 8,
semi blue. Fior value 9, semi yellow.
How can I do it? If you guys could write some code, that would be
great.
Thank you very much.
Fireman
I have two images. One is just oridinary color images. Another one is
a gray scale "mask" image with limited pixels values. Some pixels in
the mask images have value 6, some pxies have 7, some have 8, some
have 9. All other pixels have value 0. I would like to composte the
two images in the following way:
For the region in the mask image represented by pixels value 6,
overly semi-transparent (alphe=0.5) red on the original image. For
region with mask value 7, overly semi-transparent green. For value 8,
semi blue. Fior value 9, semi yellow.
How can I do it? If you guys could write some code, that would be
great.
Thank you very much.
Fireman