Class HOGDescriptor
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,org.anchoranalysis.feature.initialization.FeatureRelatedInitialization>
org.anchoranalysis.feature.bean.FeatureRelatedBean<B>
org.anchoranalysis.feature.bean.provider.FeatureProviderBean<org.anchoranalysis.feature.bean.list.FeatureListProvider<T>,org.anchoranalysis.feature.bean.list.FeatureList<T>>
org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputStack>
org.anchoranalysis.plugin.opencv.bean.feature.HOGDescriptor
- All Implemented Interfaces:
org.anchoranalysis.bean.Provider<org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputStack>>
public class HOGDescriptor
extends org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.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 Constructor Description HOGDescriptor() -
Method Summary
Modifier and Type Method Description org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputStack>get()HOGParametersgetParameters()Parameters used for calculating HOGorg.anchoranalysis.image.bean.spatial.SizeXYgetResizeTo()The input-image is rescaled to this width/height before calculating HOG descriptorsvoidsetParameters(HOGParameters parameters)Parameters used for calculating HOGvoidsetResizeTo(org.anchoranalysis.image.bean.spatial.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
-
Constructor Details
-
HOGDescriptor
public HOGDescriptor()
-
-
Method Details
-
get
public org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputStack> get() throws org.anchoranalysis.bean.xml.exception.ProvisionFailedException- Throws:
org.anchoranalysis.bean.xml.exception.ProvisionFailedException
-
getResizeTo
public org.anchoranalysis.image.bean.spatial.SizeXY getResizeTo()The input-image is rescaled to this width/height before calculating HOG descriptors -
setResizeTo
public void setResizeTo(org.anchoranalysis.image.bean.spatial.SizeXY resizeTo)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
-