Class HOGDescriptor

Object
AnchorBean<FeatureListProvider<FeatureInputStack>>
InitializableBean<FeatureListProvider<FeatureInputStack>, FeatureRelatedInitialization>
FeatureRelatedBean<FeatureListProvider<FeatureInputStack>>
FeatureProviderBean<FeatureListProvider<FeatureInputStack>, FeatureList<FeatureInputStack>>
FeatureListProvider<FeatureInputStack>
HOGDescriptor
All Implemented Interfaces:
Provider<FeatureList<FeatureInputStack>>

public class HOGDescriptor extends FeatureListProvider<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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    FeatureList<FeatureInputStack>
    get()
     
    Parameters used for calculating HOG
    SizeXY
    The input-image is rescaled to this width/height before calculating HOG descriptors
    void
    Parameters used for calculating HOG
    void
    setResizeTo(SizeXY resizeTo)
    The input-image is rescaled to this width/height before calculating HOG descriptors

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HOGDescriptor

      public HOGDescriptor()
  • Method Details

    • get

      public FeatureList<FeatureInputStack> get() throws ProvisionFailedException
      Throws:
      ProvisionFailedException
    • getResizeTo

      public SizeXY getResizeTo()
      The input-image is rescaled to this width/height before calculating HOG descriptors
    • setResizeTo

      public void setResizeTo(SizeXY resizeTo)
      The input-image is rescaled to this width/height before calculating HOG descriptors
    • getParameters

      public HOGParameters getParameters()
      Parameters used for calculating HOG
    • setParameters

      public void setParameters(HOGParameters parameters)
      Parameters used for calculating HOG