Class CreateFunctionOp


  • public class CreateFunctionOp
    extends CreateOp
    This operation creates a new image with the specified size and data type, whose pixel values are computed by a given function.
    Author:
    Fabrizio Giudici
    • Constructor Detail

      • CreateFunctionOp

        public CreateFunctionOp​(int width,
                                int height,
                                ImageFunction function,
                                EditableImage.DataType dataType)
        Creates a new operation which will create an image. AT THE MOMENT ONLY MONOCHROMATIC IMAGES (MADE BY A SINGLE BAND) ARE SUPPORTED.
        Parameters:
        width - the image width
        height - the image height
        function - the function which computes the pixel values
        dataType - the data type
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class CreateOp