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

Reply via email to