Class BIF


  • public class BIF
    extends Algorithm
    Implementation of bio-inspired features (BIF) from the paper: Guo, Guodong, et al. "Human age estimation using bio-inspired features." Computer Vision and Pattern Recognition, 2009. CVPR 2009.
    • Constructor Detail

      • BIF

        protected BIF​(long addr)
    • Method Detail

      • __fromPtr__

        public static BIF __fromPtr__​(long addr)
      • getNumBands

        public int getNumBands()
        Returns:
        The number of filter bands used for computing BIF.
      • getNumRotations

        public int getNumRotations()
        Returns:
        The number of image rotations.
      • compute

        public void compute​(Mat image,
                            Mat features)
        Computes features sby input image.
        Parameters:
        image - Input image (CV_32FC1).
        features - Feature vector (CV_32FC1).
      • create

        public static BIF create​(int num_bands,
                                 int num_rotations)
        Parameters:
        num_bands - The number of filter bands (<=8) used for computing BIF.
        num_rotations - The number of image rotations for computing BIF.
        Returns:
        Object for computing BIF.
      • create

        public static BIF create​(int num_bands)
        Parameters:
        num_bands - The number of filter bands (<=8) used for computing BIF.
        Returns:
        Object for computing BIF.
      • create

        public static BIF create()
        Returns:
        Object for computing BIF.
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class Algorithm
        Throws:
        java.lang.Throwable