RGB image from three single-band images
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Luis_Montesinos
Posted On:   Friday, August 2, 2002 07:45 AM

I need to conform a RGB image from three single-band images through JAI. It means that the three single-band images are contained in a RenderedOp each one, what looks like: FileSeekableStream streamR = new FileSeekableStream(fileR); FileSeekableStream streamG = new FileSeekableStream(fileG); FileSeekableStream streamB = new FileSeekableStream(fileB); RenderedOp streamR = JAI.create("stream",streamR); RenderedOp streamG = JAI.create("stream",streamG); RenderedOp streamB = JAI.create("stream",streamB); Now, I want to merge these three single-band images into one RGB image. Is it possible using JAI or the standard JDK libraries? Thank you    More>>

I need to conform a RGB image from three single-band images through JAI. It means that the three single-band images are contained in a RenderedOp each one, what looks like:



FileSeekableStream streamR = new FileSeekableStream(fileR);


FileSeekableStream streamG = new FileSeekableStream(fileG);


FileSeekableStream streamB = new FileSeekableStream(fileB);



RenderedOp streamR = JAI.create("stream",streamR);


RenderedOp streamG = JAI.create("stream",streamG);


RenderedOp streamB = JAI.create("stream",streamB);

Now, I want to merge these three single-band images into one RGB image. Is it possible using JAI or the standard JDK libraries? Thank you

   <<Less
About | Sitemap | Contact