Class FactoryDerivativeSparse

java.lang.Object
boofcv.factory.filter.derivative.FactoryDerivativeSparse

public class FactoryDerivativeSparse extends Object
Creates filters for performing sparse derivative calculations.
  • Constructor Details

    • FactoryDerivativeSparse

      public FactoryDerivativeSparse()
  • Method Details

    • createLaplacian

      public static <T extends ImageGray<T>> ImageFunctionSparse<T> createLaplacian(Class<T> imageType, @Nullable @Nullable ImageBorder<T> border)
      Creates a sparse Laplacian filter.
      Parameters:
      imageType - The type of image which is to be processed.
      border - How the border should be handled. If null BorderType.EXTENDED will be used.
      Returns:
      Filter for performing a sparse laplacian.
      See Also:
    • createSobel

      public static <T extends ImageGray<T>, G extends GradientValue> SparseImageGradient<T,G> createSobel(Class<T> imageType, ImageBorder<T> border)
      Creates a sparse sobel gradient operator.
      Parameters:
      imageType - The type of image which is to be processed.
      border - How the border should be handled. If null then the borders can't be processed.
      Returns:
      Sparse gradient
      See Also:
    • createPrewitt

      public static <T extends ImageGray<T>, G extends GradientValue> SparseImageGradient<T,G> createPrewitt(Class<T> imageType, ImageBorder<T> border)
      Creates a sparse prewitt gradient operator.
      Parameters:
      imageType - The type of image which is to be processed.
      border - How the border should be handled. If null then the borders can't be processed.
      Returns:
      Sparse gradient.
      See Also:
    • createThree

      public static <T extends ImageGray<T>, G extends GradientValue> SparseImageGradient<T,G> createThree(Class<T> imageType, ImageBorder<T> border)
      Creates a sparse three gradient operator.
      Parameters:
      imageType - The type of image which is to be processed.
      border - How the border should be handled. If null then the borders can't be processed.
      Returns:
      Sparse gradient.
      See Also:
    • createTwo0

      public static <T extends ImageGray<T>, G extends GradientValue> SparseImageGradient<T,G> createTwo0(Class<T> imageType, ImageBorder<T> border)
      Creates a sparse two-0 gradient operator.
      Parameters:
      imageType - The type of image which is to be processed.
      border - How the border should be handled. If null then the borders can't be processed.
      Returns:
      Sparse gradient.
      See Also:
    • createTwo1

      public static <T extends ImageGray<T>, G extends GradientValue> SparseImageGradient<T,G> createTwo1(Class<T> imageType, ImageBorder<T> border)
      Creates a sparse two-1 gradient operator.
      Parameters:
      imageType - The type of image which is to be processed.
      border - How the border should be handled. If null then the borders can't be processed.
      Returns:
      Sparse gradient.
      See Also: