Package boofcv.factory.feature.dense
Class ConfigDenseHoG
java.lang.Object
boofcv.factory.feature.dense.ConfigDenseHoG
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
FactoryDescribeImageDense
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
Number of cells wide a block is along x-axisint
Number of cells wide a block is along x-axisboolean
If set to true a faster variant of HOG will be used which doesn't apply spatial normalization.int
Number of orientation bins.int
Number of pixels in a cell.int
Number of cells that are skipped between two blocks. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.setTo
(ConfigDenseHoG src) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
orientationBins
public int orientationBinsNumber of orientation bins. -
pixelsPerCell
public int pixelsPerCellNumber of pixels in a cell. -
cellsPerBlockX
public int cellsPerBlockXNumber of cells wide a block is along x-axis -
cellsPerBlockY
public int cellsPerBlockYNumber of cells wide a block is along x-axis -
stepBlock
public int stepBlockNumber of cells that are skipped between two blocks. -
fastVariant
public boolean fastVariantIf set to true a faster variant of HOG will be used which doesn't apply spatial normalization. Set to false to replicate the version of HOG proposed in the original paper.
-
-
Constructor Details
-
ConfigDenseHoG
public ConfigDenseHoG()
-
-
Method Details
-
setTo
-
checkValidity
public void checkValidity()Description copied from interface:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidity
in interfaceConfiguration
-