
plugins.nherve.toolbox.image.feature.signature.WeightedDenseVectorSignature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toolbox Show documentation
Show all versions of toolbox Show documentation
Some utility classes, independent of any library
The newest version!
package plugins.nherve.toolbox.image.feature.signature;
public class WeightedDenseVectorSignature extends DenseVectorSignature implements WeightedVectorSignature {
private double weight;
public WeightedDenseVectorSignature() {
super();
}
public WeightedDenseVectorSignature(double[] data) {
super(data);
}
public WeightedDenseVectorSignature(float[] data) {
super(data);
}
public WeightedDenseVectorSignature(int size) {
super(size);
}
public WeightedDenseVectorSignature(int size, double initialValue) {
super(size, initialValue);
}
@Override
public double getWeight() {
return weight;
}
public WeightedDenseVectorSignature setWeight(double weight) {
this.weight = weight;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy