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

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

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

origin: bcdev/beam

private static PlanarImage createRescaleOp(RenderedImage src, double factor, double offset) {
  if (factor == 1.0 && offset == 0.0) {
    return PlanarImage.wrapRenderedImage(src);
  }
  return RescaleDescriptor.create(src,
                  new double[]{factor},
                  new double[]{offset},
                  createDefaultRenderingHints(src, null));
}
origin: org.geotools/gt2-coverage

image = RescaleDescriptor.create(
origin: org.geotools/gt-coverage

image = RescaleDescriptor.create(
origin: senbox-org/s2tbx

map.put(JAI.KEY_IMAGE_LAYOUT, imageLayout);
RenderingHints hints = new RenderingHints(map);
RenderedOp renderedOp = RescaleDescriptor.create(sourceImage, new double[] { scale }, new double[] { offset }, hints);
sourceImage = renderedOp.getRendering();
this.metadata.setBandInfo(getSourceProduct().getBandIndex(srcBand.getName()),
origin: geosolutions-it/jai-ext

  imageRescale = javax.media.jai.operator.RescaleDescriptor.create(image, scales,
      offsets, null);
} else {
javax.media.jai.operatorRescaleDescriptor

Most used methods

  • create

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • getSystemService (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Notification (javax.management)
  • JList (javax.swing)
  • Join (org.hibernate.mapping)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
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