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
FieldsModifier and TypeFieldDescriptionintNumber of cells wide a block is along x-axisintNumber of cells wide a block is along x-axisbooleanIf set to true a faster variant of HOG will be used which doesn't apply spatial normalization.intNumber of orientation bins.intNumber of pixels in a cell.intNumber of cells that are skipped between two blocks. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks 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, waitMethods 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:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-