@Reference(type=Article,
author={"Ojala, T.","Pietikainen, M.","Maenpaa, T."},
title="Multiresolution gray-scale and rotation invariant texture classification with local binary patterns",
year="2002",
journal="Pattern Analysis and Machine Intelligence, IEEE Transactions on",
pages={"971 ","987"},
month="jul",
number="7",
volume="24",
customData={"doi","10.1109/TPAMI.2002.1017623","ISSN","0162-8828"})
public class LocalUniformBinaryPatternHistogram
extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
blocksize_x |
protected int |
blocksize_y |
| Constructor and Description |
|---|
LocalUniformBinaryPatternHistogram(int blocksize_x,
int blocksize_y)
Construct the extractor with the given block size for each local patch.
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculateHistograms(int[][] patternImage,
int nbits)
Compute the histograms for the given pattern image, encoded with the
given number of bits.
|
FloatFV |
getHistogram()
Get the histograms as a single
FloatFV. |
FloatFV[][] |
getHistograms()
Get the histograms
|
protected int blocksize_x
protected int blocksize_y
public LocalUniformBinaryPatternHistogram(int blocksize_x, int blocksize_y)
blocksize_x - the width of the blocksblocksize_y - the height of the blockspublic void calculateHistograms(int[][] patternImage, int nbits)
patternImage - the pattern datanbits - the number of bits used to encode the patternspublic FloatFV[][] getHistograms()
public FloatFV getHistogram()
FloatFV.