Package boofcv.abst.feature.convert
Interface ConvertTupleDesc<A extends TupleDesc<A>,B extends TupleDesc<B>>
- All Known Implementing Classes:
ConvertTupleDesc_F64_F32
,ConvertTupleDescPositive_F64_U8
,ConvertTupleDescSigned_F64_S8
,ConvertTupleDoNothing
Convert between different types of
TupleDesc
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Converts the input descriptor into the output descriptor type.Creates a new instance of the output type.Returns the class type of the output descriptor
-
Method Details
-
createOutput
B createOutput()Creates a new instance of the output type.- Returns:
- New instance of output data type
-
convert
Converts the input descriptor into the output descriptor type.- Parameters:
input
- Original input descriptor. Not modified.output
- Converted output descriptor. Modified.
-
getOutputType
Returns the class type of the output descriptor- Returns:
- Output type
-