boofcv.struct.sparse
Class SparseScaleGradient<T extends ImageGray,G extends GradientValue>
- java.lang.Object
-
- boofcv.struct.sparse.SparseScaleGradient<T,G>
-
- All Implemented Interfaces:
- SparseImageGradient<T,G>, SparseImageOperator<T>
- Direct Known Subclasses:
- SparseIntegralGradient_NoBorder
public abstract class SparseScaleGradient<T extends ImageGray,G extends GradientValue> extends java.lang.Object implements SparseImageGradient<T,G>
Interface forSparseImageGradientwhose size can be scaled up and down.
-
-
Constructor Summary
Constructors Constructor and Description SparseScaleGradient()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description booleanisInBounds(int x, int y)Checks to see if the entire sample region is contained inside the image or not.voidsetImage(T input)Specifies the image being processed.abstract voidsetWidth(double width)Sets how wide the gradient operator is in pixels-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface boofcv.struct.sparse.SparseImageGradient
compute, getGradientType
-
-
-
-
Method Detail
-
setWidth
public abstract void setWidth(double width)
Sets how wide the gradient operator is in pixels- Parameters:
width- width in pixels
-
setImage
public void setImage(T input)
Description copied from interface:SparseImageOperatorSpecifies the image being processed.- Specified by:
setImagein interfaceSparseImageOperator<T extends ImageGray>- Parameters:
input- Image being processed
-
isInBounds
public boolean isInBounds(int x, int y)Description copied from interface:SparseImageOperatorChecks to see if the entire sample region is contained inside the image or not. Depending on the implementation it might be able to handle out of bounds pixels or not.- Specified by:
isInBoundsin interfaceSparseImageOperator<T extends ImageGray>
-
-
DataMelt 3.0 © DataMelt by jWork.ORG