boofcv.struct.feature
Interface TupleDesc<T extends TupleDesc>
-
- All Known Implementing Classes:
- AssociateSurfBasic.Helper, BrightFeature, Histogram_F64, NccFeature, TupleDesc_B, TupleDesc_F32, TupleDesc_F64, TupleDesc_I8, TupleDesc_S8, TupleDesc_U8
public interface TupleDesc<T extends TupleDesc>Base class for tuple based feature descriptors
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Tcopy()Creates a copy of this descriptiondoublegetDouble(int index)Returns the value of a tuple's element as a double.voidsetTo(T source)Sets this tuple to be the same as the provided tupleintsize()Number of elements in the tuple.
-
-
-
Method Detail
-
setTo
void setTo(T source)
Sets this tuple to be the same as the provided tuple- Parameters:
source- The tuple which this one is to become a copy of.
-
getDouble
double getDouble(int index)
Returns the value of a tuple's element as a double. In general this function should not be used because of how inefficient it is.- Parameters:
index- Which element- Returns:
- Element's value as a double
-
size
int size()
Number of elements in the tuple.- Returns:
- Number of elements in the tuple
-
copy
T copy()
Creates a copy of this description- Returns:
- Copy
-
-
DataMelt 3.0 © DataMelt by jWork.ORG