Class HOGDescriptor
- All Implemented Interfaces:
Provider<FeatureList<FeatureInputStack>>
Creates the entire HOG descriptor for an image.
The user is required to specify a size to which each image is resized so as to give a constant-sized feature-descriptor for each image (and descriptors that are meaningful to compare across images).
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.Parameters used for calculating HOGThe input-image is rescaled to this width/height before calculating HOG descriptorsvoid
setParameters
(HOGParameters parameters) Parameters used for calculating HOGvoid
setResizeTo
(SizeXY resizeTo) The input-image is rescaled to this width/height before calculating HOG descriptorsMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
HOGDescriptor
public HOGDescriptor()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getResizeTo
The input-image is rescaled to this width/height before calculating HOG descriptors -
setResizeTo
The input-image is rescaled to this width/height before calculating HOG descriptors -
getParameters
Parameters used for calculating HOG -
setParameters
Parameters used for calculating HOG
-