Interface ImageTransform

    • Method Detail

      • transform

        ImageWritable transform​(ImageWritable image,
                                Random random)
        Takes an image and returns a transformed image. Uses the random object in the case of random transformations.
        Parameters:
        image - to transform, null == end of stream
        random - object to use (or null for deterministic)
        Returns:
        transformed image
      • query

        float[] query​(float... coordinates)
        Transforms the given coordinates using the parameters that were used to transform the last image.
        Parameters:
        coordinates - to transforms (x1, y1, x2, y2, ...)
        Returns:
        transformed coordinates
      • getCurrentImage

        ImageWritable getCurrentImage()
        Returns the last transformed image or null if none transformed yet.
        Returns:
        Last transformed image or null