Package boofcv.factory.filter.derivative
Class FactoryDerivativeSparse
- java.lang.Object
-
- boofcv.factory.filter.derivative.FactoryDerivativeSparse
-
public class FactoryDerivativeSparse extends java.lang.ObjectCreates filters for performing sparse derivative calculations.
-
-
Constructor Summary
Constructors Constructor Description FactoryDerivativeSparse()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends boofcv.struct.image.ImageGray<T>>
ImageFunctionSparse<T>createLaplacian(java.lang.Class<T> imageType, boofcv.struct.border.ImageBorder<T> border)Creates a sparse Laplacian filter.static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue>
boofcv.struct.sparse.SparseImageGradient<T,G>createPrewitt(java.lang.Class<T> imageType, boofcv.struct.border.ImageBorder<T> border)Creates a sparse prewitt gradient operator.static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue>
boofcv.struct.sparse.SparseImageGradient<T,G>createSobel(java.lang.Class<T> imageType, boofcv.struct.border.ImageBorder<T> border)Creates a sparse sobel gradient operator.static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue>
boofcv.struct.sparse.SparseImageGradient<T,G>createThree(java.lang.Class<T> imageType, boofcv.struct.border.ImageBorder<T> border)Creates a sparse three gradient operator.static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue>
boofcv.struct.sparse.SparseImageGradient<T,G>createTwo0(java.lang.Class<T> imageType, boofcv.struct.border.ImageBorder<T> border)Creates a sparse two-0 gradient operator.static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue>
boofcv.struct.sparse.SparseImageGradient<T,G>createTwo1(java.lang.Class<T> imageType, boofcv.struct.border.ImageBorder<T> border)Creates a sparse two-1 gradient operator.
-
-
-
Method Detail
-
createLaplacian
public static <T extends boofcv.struct.image.ImageGray<T>> ImageFunctionSparse<T> createLaplacian(java.lang.Class<T> imageType, boofcv.struct.border.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 nullBorderType.EXTENDEDwill be used.- Returns:
- Filter for performing a sparse laplacian.
- See Also:
DerivativeLaplacian
-
createSobel
public static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue> boofcv.struct.sparse.SparseImageGradient<T,G> createSobel(java.lang.Class<T> imageType, boofcv.struct.border.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:
GradientSobel
-
createPrewitt
public static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue> boofcv.struct.sparse.SparseImageGradient<T,G> createPrewitt(java.lang.Class<T> imageType, boofcv.struct.border.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:
GradientPrewitt
-
createThree
public static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue> boofcv.struct.sparse.SparseImageGradient<T,G> createThree(java.lang.Class<T> imageType, boofcv.struct.border.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:
GradientThree
-
createTwo0
public static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue> boofcv.struct.sparse.SparseImageGradient<T,G> createTwo0(java.lang.Class<T> imageType, boofcv.struct.border.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:
GradientTwo0
-
createTwo1
public static <T extends boofcv.struct.image.ImageGray<T>,G extends boofcv.struct.sparse.GradientValue> boofcv.struct.sparse.SparseImageGradient<T,G> createTwo1(java.lang.Class<T> imageType, boofcv.struct.border.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:
GradientTwo1
-
-