public abstract class BaseDenseHog<Input extends boofcv.struct.image.ImageBase>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boofcv.struct.image.GrayF32 |
derivX |
protected boofcv.struct.image.GrayF32 |
derivY |
| Constructor and Description |
|---|
BaseDenseHog(int orientationBins,
int pixelsPerCell,
int cellsPerBlockX,
int cellsPerBlockY,
int stepBlock,
boofcv.struct.image.ImageType<Input> imageType)
Configures HOG descriptor computation
|
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.GrayF32 |
_getDerivX() |
boofcv.struct.image.GrayF32 |
_getDerivY() |
TupleDesc_F64 |
createDescription() |
int |
getCellsPerBlockX() |
int |
getCellsPerBlockY() |
org.ddogleg.struct.FastQueue<TupleDesc_F64> |
getDescriptions()
List of descriptors
|
boofcv.struct.image.ImageType<Input> |
getImageType() |
org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_I32> |
getLocations()
List of locations for each descriptor.
|
int |
getOrientationBins() |
int |
getPixelsPerCell() |
int |
getRegionWidthPixelX()
Returns the number of pixel's wide the square region is that a descriptor was computed from
|
int |
getRegionWidthPixelY() |
int |
getStepBlock() |
abstract void |
process() |
void |
setInput(Input input)
Specifies input image.
|
protected boofcv.struct.image.GrayF32 derivX
protected boofcv.struct.image.GrayF32 derivY
public BaseDenseHog(int orientationBins,
int pixelsPerCell,
int cellsPerBlockX,
int cellsPerBlockY,
int stepBlock,
boofcv.struct.image.ImageType<Input> imageType)
orientationBins - Number of bins in a cell's histogram. 9 recommendedpixelsPerCell - Number of pixel's wide a cell is. 8 recommendedcellsPerBlockX - Number of cells's wide a block is. x-axis 3 recommendedcellsPerBlockY - Number of cells's wide a block is. x-axis 3 recommendedstepBlock - Number of cells which are skipped between each blockpublic void setInput(Input input)
input - input imagepublic abstract void process()
public org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_I32> getLocations()
public org.ddogleg.struct.FastQueue<TupleDesc_F64> getDescriptions()
public boofcv.struct.image.GrayF32 _getDerivX()
public boofcv.struct.image.GrayF32 _getDerivY()
public int getRegionWidthPixelX()
public int getRegionWidthPixelY()
public int getPixelsPerCell()
public int getCellsPerBlockX()
public int getCellsPerBlockY()
public int getStepBlock()
public int getOrientationBins()
public boofcv.struct.image.ImageType<Input> getImageType()
public TupleDesc_F64 createDescription()