Examples of removeSources()


Examples of java.awt.image.renderable.ParameterBlock.removeSources()

/* 2734 */           ((CollectionImage)priorSource).removeSink(this);
/*      */         }
/*      */       }
/*      */     }
/*      */
/* 2739 */     pb.removeSources();
/*      */
/* 2741 */     int size = sourceList.size();
/* 2742 */     for (int i = 0; i < size; i++) {
/* 2743 */       Object src = sourceList.get(i);
/* 2744 */       pb.addSource(src);
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeSources()

/*      */
/*      */   public void removeSources()
/*      */   {
/* 1087 */     ParameterBlock pb = (ParameterBlock)this.nodeSupport.getParameterBlock().clone();
/*      */
/* 1089 */     pb.removeSources();
/* 1090 */     this.nodeSupport.setParameterBlock(pb);
/*      */   }
/*      */
/*      */   public byte getByteParameter(int index)
/*      */   {
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeSources()

/*      */     }
/* 1198 */     else if (propName.equals("parameterblock"))
/*      */     {
/* 1200 */       ParameterBlock newPB = (ParameterBlock)newValue;
/* 1201 */       Vector newSrcs = newPB.getSources();
/* 1202 */       newPB.removeSources();
/*      */
/* 1204 */       JAIRMIUtil.checkServerParameters(newPB, nodes);
/*      */
/* 1206 */       Vector replacedSources = JAIRMIUtil.replaceIdWithSources(newSrcs, nodes, op.getOperationName(), op.getRenderingHints());
/*      */
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeSources()

    pb.addSource(piA);
    pb.add(DFTDescriptor.SCALING_UNITARY);
    pb.add(DFTDescriptor.REAL_TO_COMPLEX);
    piA = (PlanarImage) JAI.create("dft", pb);
    // complex conjugate of image A
    pb.removeSources();
    pb.addSource(piA);
    piA = (PlanarImage) JAI.create("conjugate", pb);
    // fourier transform image B
    pb.removeSources();
    pb.addSource(piB);
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeSources()

    // complex conjugate of image A
    pb.removeSources();
    pb.addSource(piA);
    piA = (PlanarImage) JAI.create("conjugate", pb);
    // fourier transform image B
    pb.removeSources();
    pb.addSource(piB);
    piB = (PlanarImage) JAI.create("dft", pb);
    // correlation
    pb.removeSources();
    pb.removeParameters();
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeSources()

    // fourier transform image B
    pb.removeSources();
    pb.addSource(piB);
    piB = (PlanarImage) JAI.create("dft", pb);
    // correlation
    pb.removeSources();
    pb.removeParameters();
    pb.addSource(piA);
    pb.addSource(piB);
    PlanarImage corr = (PlanarImage) JAI.create("multiplycomplex", pb);
    // inverse fourier transform
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeSources()

    pb.removeParameters();
    pb.addSource(piA);
    pb.addSource(piB);
    PlanarImage corr = (PlanarImage) JAI.create("multiplycomplex", pb);
    // inverse fourier transform
    pb.removeSources();
    pb.removeParameters();
    pb.addSource(corr);
    pb.add(DFTDescriptor.SCALING_UNITARY);
    pb.add(DFTDescriptor.COMPLEX_TO_REAL);
    corr = (PlanarImage) JAI.create("idft", pb);
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeSources()

    pb.addSource(corr);
    pb.add(DFTDescriptor.SCALING_UNITARY);
    pb.add(DFTDescriptor.COMPLEX_TO_REAL);
    corr = (PlanarImage) JAI.create("idft", pb);
    // rearrange wrapped around image
    pb.removeSources();
    pb.removeParameters();
    pb.addSource(corr);
    pb.add(corr.getWidth() / 2);
    pb.add(corr.getHeight() / 2);
    corr = (PlanarImage) JAI.create("periodicshift", pb);
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeSources()

    pb.add(corr.getWidth() / 2);
    pb.add(corr.getHeight() / 2);
    corr = (PlanarImage) JAI.create("periodicshift", pb);
    // crop interrogation area in case of zero padding
    if (w < corr.getWidth() || h < corr.getHeight()) {
      pb.removeSources();
      pb.removeParameters();
      pb.addSource(corr);
      pb.add((float) -(corr.getWidth() - w) / 2);
      pb.add((float) -(corr.getHeight() - h) / 2);
      pb.add(null);
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeSources()

      pb.addSource(corr);
      pb.add((float) -(corr.getWidth() - w) / 2);
      pb.add((float) -(corr.getHeight() - h) / 2);
      pb.add(null);
      corr = (PlanarImage) JAI.create("translate", pb);
      pb.removeSources();
      pb.removeParameters();
      pb.addSource(corr);
      pb.add(0f);
      pb.add(0f);
      pb.add((float) w);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.