Catalano.Imaging.Tools
Class HistogramOfOrientedGradients
- java.lang.Object
-
- Catalano.Imaging.Tools.HistogramOfOrientedGradients
-
public class HistogramOfOrientedGradients extends java.lang.ObjectHistograms of Oriented Gradients.References: Navneet Dalal and Bill Triggs, "Histograms of Oriented Gradients for Human Detection", CVPR 2005. Available at: http://lear.inrialpes.fr/people/triggs/pubs/Dalal-cvpr05.pdf
-
-
Constructor Summary
Constructors Constructor and Description HistogramOfOrientedGradients()Initializes a new instance of the HistogramOfOrientedGradients class.HistogramOfOrientedGradients(int numberOfBins, int blockSize, int cellSize)Initializes a new instance of the HistogramOfOrientedGradients class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetBlockSize()Gets the size of a block, in pixels.intgetCellSize()Gets the size of a cell, in pixels.intgetNumberOfBins()Gets the number of histogram bins.java.util.ArrayList<double[]>ProcessImage(FastBitmap fastBitmap)Process image looking for corners.
-
-
-
Constructor Detail
-
HistogramOfOrientedGradients
public HistogramOfOrientedGradients()
Initializes a new instance of the HistogramOfOrientedGradients class.
-
HistogramOfOrientedGradients
public HistogramOfOrientedGradients(int numberOfBins, int blockSize, int cellSize)Initializes a new instance of the HistogramOfOrientedGradients class.- Parameters:
numberOfBins- The number of histogram bins.blockSize- The size of a block, measured in cells.cellSize- The size of a cell, measured in pixels.
-
-
Method Detail
-
getNumberOfBins
public int getNumberOfBins()
Gets the number of histogram bins.- Returns:
- Number of histogram bins.
-
getCellSize
public int getCellSize()
Gets the size of a cell, in pixels.- Returns:
- Size of a cell.
-
getBlockSize
public int getBlockSize()
Gets the size of a block, in pixels.- Returns:
- Size of a block.
-
ProcessImage
public java.util.ArrayList<double[]> ProcessImage(FastBitmap fastBitmap)
Process image looking for corners.- Parameters:
fastBitmap- Image to be processed.- Returns:
- Returns list of found corners (X-Y coordinates).
-
-
DataMelt 3.0 © DataMelt by jWork.ORG