Package boofcv.struct.sparse
Class SparseScaleSample_F32<T extends ImageGray<T>>
java.lang.Object
boofcv.struct.sparse.SparseScaleSample_F32<T>
- All Implemented Interfaces:
SparseImageOperator<T>,SparseImageSample_F32<T>
@Generated("boofcv.struct.sparse.SparseScaleSample_F64")
public abstract class SparseScaleSample_F32<T extends ImageGray<T>>
extends Object
implements SparseImageSample_F32<T>
Samples the image using a kernel which can be rescaled
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisInBounds(int x, int y) Checks to see if the entire sample region is contained inside the image or not.voidSpecifies the image being processed.abstract voidsetWidth(float width) Width of the sampled region in pixelsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface boofcv.struct.sparse.SparseImageSample_F32
compute
-
Field Details
-
input
-
x0
protected int x0 -
y0
protected int y0 -
x1
protected int x1 -
y1
protected int y1
-
-
Constructor Details
-
SparseScaleSample_F32
public SparseScaleSample_F32()
-
-
Method Details
-
setWidth
public abstract void setWidth(float width) Width of the sampled region in pixels- Parameters:
width- pixels
-
setImage
Description copied from interface:SparseImageOperatorSpecifies the image being processed.- Specified by:
setImagein interfaceSparseImageOperator<T extends ImageGray<T>>- 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<T>>
-