public class JFeatureLibLBPAdapterRIU extends JFeatureLibLBPAdapter
This class builds upon the Local Binary Pattern implementation of JFeatureLib, i.e., extends the class for rotation invariance. For details refer to its project page at GitHub.
This implementation follows the paper by
Ojala et al, Multiresolution Gray-Scale and Rotation Invariant
Texture Classification with Local Binary Patterns, PAMI, vol. 24,
no. 7, pp. 971-987, July 2002.
Modifier and Type | Field and Description |
---|---|
protected static int[][] |
codeArrayRIU
Rotation invariant uniform LBP code array.
|
protected static int |
maxValidNeighborCount
Maximal neighbor number for which array has been initialized so far.
|
Constructor and Description |
---|
JFeatureLibLBPAdapterRIU(int n)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getBinaryPattern(int x,
int y) |
String |
getDescription() |
protected int |
getMaxBinaryPattern() |
getLBPHistogram, setImageProcessor
calculateOffsets, getConstant, getNumberOfHistogramBins, getNumPoints, getRadius, processPixel, run, setConstant, setNeighborhoodSize, setNumberOfHistogramBins, setNumPoints, setProperties, setRadius, supports
protected static int maxValidNeighborCount
protected static int[][] codeArrayRIU
public JFeatureLibLBPAdapterRIU(int n)
n
- Number of neighbors, i.e. bits, to consider.public String getDescription()
getDescription
in interface de.lmu.ifi.dbs.jfeaturelib.features.FeatureDescriptor
getDescription
in class de.lmu.ifi.dbs.jfeaturelib.features.LocalBinaryPatterns
protected int getMaxBinaryPattern()
getMaxBinaryPattern
in class de.lmu.ifi.dbs.jfeaturelib.features.LocalBinaryPatterns
protected int getBinaryPattern(int x, int y)
getBinaryPattern
in class de.lmu.ifi.dbs.jfeaturelib.features.LocalBinaryPatterns
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.