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()  
    HOGParameters getParameters()
    Parameters used for calculating HOG
    org.anchoranalysis.image.bean.spatial.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​(org.anchoranalysis.image.bean.spatial.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

  • 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

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

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