Interface IPooledCoefProducer

  • All Known Implementing Classes:
    ImgSparseMaxPoolPyramidProducer

    public interface IPooledCoefProducer
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      smile.math.matrix.SparseMatrix[] getPooledCoefficients​(smile.math.matrix.DenseMatrix vectorizedImg)
      Calculates the coefficients on the vectorized image and the pools them.
    • Method Detail

      • getPooledCoefficients

        smile.math.matrix.SparseMatrix[] getPooledCoefficients​(smile.math.matrix.DenseMatrix vectorizedImg)
                                                        throws VectorDimensionMismatch
        Calculates the coefficients on the vectorized image and the pools them. The first vector represents the final pooled vector, the following vectors should represent the layer just under the final pooled layer.
        Parameters:
        vectorizedImg - The vectorized image to calculate the coefficients on and then pool.
        Returns:
        An array of pooled vectors.
        Throws:
        VectorDimensionMismatch - If there is a mismatch between the image and the dictionary within the pooling coef producer.