boofcv.struct.feature
Class TupleDesc_F64
- java.lang.Object
-
- boofcv.struct.feature.TupleDesc_F64
-
- All Implemented Interfaces:
- TupleDesc<TupleDesc_F64>
- Direct Known Subclasses:
- AssociateSurfBasic.Helper, BrightFeature, Histogram_F64, NccFeature
public class TupleDesc_F64 extends java.lang.Object implements TupleDesc<TupleDesc_F64>
Basic description of an image feature's attributes using an array.
-
-
Field Summary
Fields Modifier and Type Field and Description double[]value
-
Constructor Summary
Constructors Constructor and Description TupleDesc_F64(int numFeatures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TupleDesc_F64copy()Creates a copy of this descriptionvoidfill(double value)doublegetDouble(int index)Returns the value of a tuple's element as a double.double[]getValue()voidset(double... value)voidset(TupleDesc_F64 src)voidsetTo(TupleDesc_F64 source)Sets this tuple to be the same as the provided tuplevoidsetValue(double[] value)intsize()Number of elements in the tuple.
-
-
-
Method Detail
-
set
public void set(double... value)
-
copy
public TupleDesc_F64 copy()
Description copied from interface:TupleDescCreates a copy of this description- Specified by:
copyin interfaceTupleDesc<TupleDesc_F64>- Returns:
- Copy
-
set
public void set(TupleDesc_F64 src)
-
getValue
public double[] getValue()
-
setValue
public void setValue(double[] value)
-
fill
public void fill(double value)
-
setTo
public void setTo(TupleDesc_F64 source)
Description copied from interface:TupleDescSets this tuple to be the same as the provided tuple- Specified by:
setToin interfaceTupleDesc<TupleDesc_F64>- Parameters:
source- The tuple which this one is to become a copy of.
-
getDouble
public double getDouble(int index)
Description copied from interface:TupleDescReturns the value of a tuple's element as a double. In general this function should not be used because of how inefficient it is.- Specified by:
getDoublein interfaceTupleDesc<TupleDesc_F64>- Parameters:
index- Which element- Returns:
- Element's value as a double
-
size
public int size()
Description copied from interface:TupleDescNumber of elements in the tuple.- Specified by:
sizein interfaceTupleDesc<TupleDesc_F64>- Returns:
- Number of elements in the tuple
-
-
DataMelt 3.0 © DataMelt by jWork.ORG