|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object FeatureExtractor.Clustering.ClusteringFeatures FeatureExtractor.Clustering.Windsurf.WindsurfClusteringFeatures
public class WindsurfClusteringFeatures
Class representing the clustering features for Windsurf.
Constructor Summary | |
---|---|
WindsurfClusteringFeatures()
Default constructor (sets all features to 0). |
|
WindsurfClusteringFeatures(double h,
double s,
double v)
Basic constructor. |
|
WindsurfClusteringFeatures(WindsurfClusteringFeatures p)
Copy constructor. |
Method Summary | |
---|---|
void |
clear()
Clears the features of this object. |
ClusteringFeatures |
clone()
Creates a new WindsurfClusteringFeatures object as a copy of this object. |
static HSVImage |
createHSV(ClusteringFeatures[][] data)
Extracts the HSV features from a matrix of WindsurfClusteringFeatures . |
ClusteringFeatures |
diff(ClusteringFeatures p)
Subtracts the features of a given object to those of this object. |
double |
getH()
Returns the H(ue) value. |
double |
getS()
Returns the S(aturation) value. |
double |
getV()
Returns the V(alue) (intensity) value. |
ClusteringFeatures |
normalize(double n)
Normalizes the features of this object. |
int |
size()
Returns the number of features for this object. |
ClusteringFeatures |
sum(ClusteringFeatures p)
Adds the features of this object to those of a given object. |
Methods inherited from class FeatureExtractor.Clustering.ClusteringFeatures |
---|
computeCentroid |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindsurfClusteringFeatures()
public WindsurfClusteringFeatures(WindsurfClusteringFeatures p)
p
- The WindsurfClusteringFeatures
object to be copied.public WindsurfClusteringFeatures(double h, double s, double v)
h
- H(ue) value.s
- S(aturation) value.v
- V(alue) (intensity) value.Method Detail |
---|
public int size()
size
in class ClusteringFeatures
public double getH()
public double getS()
public double getV()
public ClusteringFeatures clone()
WindsurfClusteringFeatures
object as a copy of this object.
clone
in class ClusteringFeatures
WindsurfClusteringFeatures
object.public void clear()
clear
in class ClusteringFeatures
public ClusteringFeatures sum(ClusteringFeatures p)
sum
in class ClusteringFeatures
p
- The features to be added.
WindsurfClusteringFeatures
object as the sum of the two objects.public ClusteringFeatures diff(ClusteringFeatures p)
diff
in class ClusteringFeatures
p
- The features to be subtracted.
WindsurfClusteringFeatures
object as the difference of the two objects.public ClusteringFeatures normalize(double n)
normalize
in class ClusteringFeatures
n
- The value used to normalize the features.
WindsurfClusteringFeatures
object with normalized features.public static HSVImage createHSV(ClusteringFeatures[][] data)
WindsurfClusteringFeatures
.
data
- The matrix of WindsurfClusteringFeatures
where features are to be extracted.
HSVImage
containing HSV features.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |