Class 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 Details

    • HOGDescriptor

      public HOGDescriptor()
  • Method Details

    • get

      Description copied from interface: Provider
      Gets or creates an object of type T.
      Returns:
      the object returned by the provider.
      Throws:
      ProvisionFailedException - if the object cannot be returned.
    • 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