Tabnine Logo
AddDescriptor
Code IndexAdd Tabnine to your IDE (free)

How to use
AddDescriptor
in
javax.media.jai.operator

Best Java code snippets using javax.media.jai.operator.AddDescriptor (Showing top 6 results out of 315)

origin: org.geotools/gt-coverage

/**
 * Takes two rendered or renderable source images, and adds every pair of pixels, one from
 * each source image of the corresponding position and band. See JAI {@link AddDescriptor}
 * for details.
 *
 * @param renderedImage
 *            the {@link RenderedImage} to be added to this {@link ImageWorker}.
 * @return this {@link ImageWorker}.
 *
 * @see AddDescriptor
 */
public final ImageWorker addImage(final RenderedImage renderedImage) {
  image = AddDescriptor.create(image, renderedImage, getRenderingHints());
  invalidateStatistics();
  return this;
}
origin: org.geotools/gt2-coverage

/**
 * Takes two rendered or renderable source images, and adds every pair of pixels, one from
 * each source image of the corresponding position and band. See JAI {@link AddDescriptor}
 * for details.
 *
 * @param renderedImage
 *            the {@link RenderedImage} to be added to this {@link ImageWorker}.
 * @return this {@link ImageWorker}.
 *
 * @see AddDescriptor
 */
public final ImageWorker addImage(final RenderedImage renderedImage) {
  image = AddDescriptor.create(image, renderedImage, getRenderingHints());
  invalidateStatistics();
  return this;
}
origin: org.geotools/gt-coverage

image = AddDescriptor.create(image, mask, getRenderingHints());
tileCacheEnabled(true);
invalidateStatistics();
image = AddDescriptor.create(mask, image, getRenderingHints());
tileCacheEnabled(true);
invalidateStatistics();
origin: org.geotools/gt2-coverage

image = AddDescriptor.create(image, mask, getRenderingHints());
tileCacheEnabled(true);
invalidateStatistics();
image = AddDescriptor.create(mask, image, getRenderingHints());
tileCacheEnabled(true);
invalidateStatistics();
origin: senbox-org/s2tbx

      AddDescriptor.create(levelMasterImageEq, H1w, null).getAsBufferedImage(),
      wid, null).getAsBufferedImage();
  BufferedImage crit2 = ImageOperations.doubleConvolve(Hinvert, wi);
WeakReference<RenderedImage> vload = new WeakReference(ImagePyramidCache.readImage("v"));
WeakReference<RenderedImage> P2 = new WeakReference(MultiplyDescriptor.create(vload.get(), Iyload.get(), null));
WeakReference<RenderedImage> It = new WeakReference(AddDescriptor.create(AddDescriptor.create(I0I1.get(), P1.get(), null), P2.get(), null));
origin: bcdev/beam

private void setTargetBandImages(Product product, List<RenderedImage> bandImages,
                 List<RenderedImage> variableCountImageList) {
  for (int i = 0; i < variables.length; i++) {
    Variable outputVariable = variables[i];
    product.getBand(outputVariable.getName()).setSourceImage(bandImages.get(i));
    final String countBandName = getCountBandName(outputVariable);
    product.getBand(countBandName).setSourceImage(variableCountImageList.get(i));
  }
  if (conditions != null) {
    for (Condition condition : conditions) {
      if (condition.isOutput()) {
        // The sum of all conditions of all sources is created.
        // 1.0 indicates condition is true and 0.0 indicates false.
        final RenderedImage sumImage = createConditionSumImage(condition);
        final RenderedImage reformattedImage = FormatDescriptor.create(sumImage, DataBuffer.TYPE_INT, null);
        RenderedImage condImage = reformattedImage;
        if (isUpdateMode()) {
          final RenderedImage updateimage = updateProduct.getBand(condition.getName()).getSourceImage();
          condImage = AddDescriptor.create(reformattedImage, updateimage, null);
        }
        Band band = product.getBand(condition.getName());
        band.setSourceImage(condImage);
      }
    }
  }
}
javax.media.jai.operatorAddDescriptor

Most used methods

  • create

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Reference (javax.naming)
  • JLabel (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now