public class HuMoments extends Object implements org.openimaj.image.processor.connectedcomponent.ConnectedComponentProcessor, FeatureVectorProvider<DoubleFV>
| Modifier and Type | Field and Description |
|---|---|
double |
h1
The first Hu moment
|
double |
h2
The second Hu moment
|
double |
h3
The third Hu moment
|
double |
h4
The forth Hu moment
|
double |
h5
The fifth Hu moment
|
double |
h6
The sixth Hu moment
|
double |
h7
The seventh Hu moment
|
| Constructor and Description |
|---|
HuMoments() |
| Modifier and Type | Method and Description |
|---|---|
DoubleFV |
getFeatureVector() |
double[] |
getFeatureVectorArray()
Get all the values of the descriptor as an array.
|
void |
process(org.openimaj.image.pixel.ConnectedComponent cc) |
String |
toString() |
public double h1
public double h2
public double h3
public double h4
public double h5
public double h6
public double h7
public HuMoments()
public void process(org.openimaj.image.pixel.ConnectedComponent cc)
process in interface org.openimaj.image.processor.connectedcomponent.ConnectedComponentProcessorpublic double[] getFeatureVectorArray()
public DoubleFV getFeatureVector()
getFeatureVector in interface FeatureVectorProvider<DoubleFV>