Class BilinearInterpolationResampling

    • Constructor Detail

      • BilinearInterpolationResampling

        public BilinearInterpolationResampling()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Resampling
        Gets a unique identifier for this resampling method, e.g. "BILINEAR_INTERPOLATION".
        Specified by:
        getName in interface Resampling
        Returns:
        a unique name
      • createIndex

        public final Resampling.Index createIndex()
        Description copied from interface: Resampling
        Factory method which creates an appropriate index for raster access.
        Specified by:
        createIndex in interface Resampling
        Returns:
        an appropriate index, never null
      • computeIndex

        public final void computeIndex​(double x,
                                       double y,
                                       int width,
                                       int height,
                                       Resampling.Index index)
        Description copied from interface: Resampling
        Computes the index's properties for the given pixel coordinate.
        Specified by:
        computeIndex in interface Resampling
        Parameters:
        x - the raster's x coordinate
        y - the raster's y coordinate
        width - the raster's width
        height - the raster's height
        index - the index object to which the results are to be assigned