Hi Daniel,
   The destination image should remain the same size as the source.  The
RescaleOp is just a radiometric operator and will only change the intensity
of the pixel.  The ConvolveOp is a spatial operator that will change the
intensity of a pixel given the values of the neighboring pixels and a
kernel.  If you want to transform the image, you may want to use
AffineTransformOp.

jeannette

> Date: Sat, 29 Jan 2000 13:02:45 -0800
> From: Daniel Jurado <[EMAIL PROTECTED]>
> Subject: [JAVA2D] Pyramids for Mosaic Image Composing
> To: [EMAIL PROTECTED]
>
> Hi all...
>
> I'm currently working in the implementation of Gaussian Pyramid in order to
develop
> a panoramic image construction algorithm by means of Java 2D classes, in short
a combination of
> ConvolveOp and RescaleOp but i'm finding some troubles in this matter as long
> as the image I obtain after the operation has the same size when it's supposed
> to have the half size in pixels than the original one. This is the code I made
for this
> process:
>
> for (i=-2;i<=2;i++)
>       {
>        biop[contador] = new RescaleOp(2.0f, (float)i, null);
>       }
>
>      biop[4].filter(bi,bimg2);
>
>      Kernel kernel = new Kernel(3,3,multiplosAd);
>      ConvolveOp cop = new ConvolveOp(kernel,ConvolveOp.EDGE_NO_OP,null);
>
>      cop.filter(bimg2[6],bimg);
>
>
> I would like to know if anyone know this method or is used to work with these
classes and can help me.
>
> Thanks in advance,
>
> Daniel
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

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

Reply via email to