public class JFeatureLibLBPAdapter
extends de.lmu.ifi.dbs.jfeaturelib.features.LocalBinaryPatterns
This class offers additional functionality to access the data and methods inside the Local Binary Pattern class to allow for easier and more efficient calculations.
For details about the implementation in the JFeatureLib, refer to its project page at GitHub.
Constructor and Description |
---|
JFeatureLibLBPAdapter()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getLBPHistogram(int x,
int y)
Calculate the histogram of LBP codes in the neighborhood of the
specified pixel.
|
void |
setImageProcessor(ij.process.ImageProcessor ip) |
calculateOffsets, getBinaryPattern, getConstant, getDescription, getMaxBinaryPattern, getNumberOfHistogramBins, getNumPoints, getRadius, processPixel, run, setConstant, setNeighborhoodSize, setNumberOfHistogramBins, setNumPoints, setProperties, setRadius, supports
public void setImageProcessor(ij.process.ImageProcessor ip)
setImageProcessor
in class de.lmu.ifi.dbs.jfeaturelib.features.LocalBinaryPatterns
public double[] getLBPHistogram(int x, int y)
Note that suitable parameters, e.g., for the size of the neighborhood, the radius and the number of circular points have to be specified before.
x
- x-coordinate of the pixel under consideration.y
- y-coordinate of the pixel under consideration.Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.