public class HOGDescriptor extends FeatureListProvider<FeatureInputStack>
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).
Constructor and Description |
---|
HOGDescriptor() |
Modifier and Type | Method and Description |
---|---|
FeatureList<FeatureInputStack> |
get()
Gets or creates an object of type
T . |
HOGParameters |
getParameters()
Parameters used for calculating HOG
|
SizeXY |
getResizeTo()
The input-image is rescaled to this width/height before calculating HOG descriptors
|
void |
setParameters(HOGParameters parameters)
Parameters used for calculating HOG
|
void |
setResizeTo(SizeXY resizeTo)
The input-image is rescaled to this width/height before calculating HOG descriptors
|
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public FeatureList<FeatureInputStack> get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public SizeXY getResizeTo()
public void setResizeTo(SizeXY resizeTo)
public HOGParameters getParameters()
public void setParameters(HOGParameters parameters)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.