Interface IImgPatchVectorizer
-
- All Known Implementing Classes:
ImgPatchVectorizer
public interface IImgPatchVectorizer
Interface for various methods of converting a patches of an image into a vector of values.- 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.DenseMatrix
vectorize(smile.math.matrix.DenseMatrix[] imageDims)
Creates column vectors of the patches of a patch size from each of the passed in image dimensions.
-
-
-
Method Detail
-
vectorize
smile.math.matrix.DenseMatrix vectorize(smile.math.matrix.DenseMatrix[] imageDims)
Creates column vectors of the patches of a patch size from each of the passed in image dimensions. After each patch vectorization the patch is advanced by a step size and the process is repeated.- Parameters:
imageDims
- The set of image dimensions to vectorize patches from.- Returns:
- The set of vectorized patches in in column major order.
-
-