Package boofcv.struct.feature
Class TupleDesc_U8
- All Implemented Interfaces:
TupleDesc<TupleDesc_U8>
,Serializable
public class TupleDesc_U8 extends TupleDesc_I8<TupleDesc_U8>
Feature description storage in an array of unsigned bytes.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class boofcv.struct.feature.TupleDesc_I8
data
-
Constructor Summary
Constructors Constructor Description TupleDesc_U8(byte... values)
TupleDesc_U8(int numFeatures)
-
Method Summary
Modifier and Type Method Description void
fill(int value)
int
get(int index)
double
getDouble(int index)
Returns the value of a tuple's element as a double.TupleDesc_U8
newInstance()
void
setTo(byte... value)
Methods inherited from class boofcv.struct.feature.TupleDesc_I8
fill, setTo, size
-
Constructor Details
-
TupleDesc_U8
public TupleDesc_U8(int numFeatures) -
TupleDesc_U8
public TupleDesc_U8(byte... values)
-
-
Method Details
-
get
public int get(int index) -
setTo
public void setTo(byte... value)- Overrides:
setTo
in classTupleDesc_I8<TupleDesc_U8>
-
fill
public void fill(int value) -
getDouble
public double getDouble(int index)Description copied from interface:TupleDesc
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
-
newInstance
-