congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AddDescriptor.create
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using javax.media.jai.operator.AddDescriptor.create (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.operatorAddDescriptorcreate

Popular methods of AddDescriptor

    Popular in Java

    • Reading from database using SQL prepared statement
    • onRequestPermissionsResult (Fragment)
    • scheduleAtFixedRate (Timer)
    • setRequestProperty (URLConnection)
    • BorderLayout (java.awt)
      A border layout lays out a container, arranging and resizing its components to fit in five regions:
    • FileReader (java.io)
      A specialized Reader that reads from a file in the file system. All read requests made by calling me
    • PrintWriter (java.io)
      Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
    • JCheckBox (javax.swing)
    • StringUtils (org.apache.commons.lang)
      Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
    • LoggerFactory (org.slf4j)
      The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
    • Sublime Text for Python
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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