|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFeatureExtractor.Clustering.Pixel
public class Pixel
Class representing an image pixel (for clustering purposes).
| Constructor Summary | |
|---|---|
Pixel(int x,
int y,
ClusteringFeatures features)
Basic constructor. |
|
| Method Summary | |
|---|---|
ClusteringFeatures |
getFeatures()
Returns the features of this pixel. |
int |
getX()
Returns the x coordinate of this pixel. |
static java.util.Vector<java.lang.Integer> |
getX(java.util.Vector<Pixel> v)
Extracts all the x coordinates of a vector of pixels. |
int |
getY()
Returns the y coordinate of this pixel. |
static java.util.Vector<java.lang.Integer> |
getY(java.util.Vector<Pixel> v)
Extracts all the y coordinates of a vector of pixels. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pixel(int x,
int y,
ClusteringFeatures features)
x - Pixel x coordinate.y - Pixel y coordinate.features - Pixel features.| Method Detail |
|---|
public int getX()
public int getY()
public ClusteringFeatures getFeatures()
public static java.util.Vector<java.lang.Integer> getX(java.util.Vector<Pixel> v)
v - Vector of pixels whose x coordinates are to be extracted.
public static java.util.Vector<java.lang.Integer> getY(java.util.Vector<Pixel> v)
v - Vector of pixels whose y coordinates are to be extracted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||