Interface ImageFunctionSparse<T extends ImageGray<T>>

All Known Implementing Classes:
FactoryConvolveSparse.Convolve2D_F32, FactoryConvolveSparse.Convolve2D_I32, FactoryConvolveSparse.Horizontal1D_F32, FactoryConvolveSparse.Horizontal1D_I32, FactoryConvolveSparse.Vertical1D_F32, FactoryConvolveSparse.Vertical1D_I32, ImageConvolveSparse

public interface ImageFunctionSparse<T extends ImageGray<T>>
Interface for computing the output of functions which take as an input an image and a pixel coordinate.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    compute(int x, int y)
    Compute the output of the function at the specified location.
    void
    setImage(T image)
    Specify which image is to provide the input.
  • Method Details

    • setImage

      void setImage(T image)
      Specify which image is to provide the input.
      Parameters:
      image -
    • compute

      double compute(int x, int y)
      Compute the output of the function at the specified location.
      Parameters:
      x - pixel coordinate the function is be centered at.
      y - pixel coordinate the function is be centered at.
      Returns:
      The function's output.