Package boofcv.abst.feature.convert
Class ConvertTupleDesc_F64_F32
java.lang.Object
boofcv.abst.feature.convert.ConvertTupleDesc_F64_F32
- All Implemented Interfaces:
ConvertTupleDesc<TupleDesc_F64,
TupleDesc_F32>
public class ConvertTupleDesc_F64_F32
extends Object
implements ConvertTupleDesc<TupleDesc_F64,TupleDesc_F32>
Convert a
TupleDesc
from double to float.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convert
(TupleDesc_F64 input, TupleDesc_F32 output) 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
-
Constructor Details
-
ConvertTupleDesc_F64_F32
public ConvertTupleDesc_F64_F32(int numElements)
-
-
Method Details
-
createOutput
Description copied from interface:ConvertTupleDesc
Creates a new instance of the output type.- Specified by:
createOutput
in interfaceConvertTupleDesc<TupleDesc_F64,
TupleDesc_F32> - Returns:
- New instance of output data type
-
convert
Description copied from interface:ConvertTupleDesc
Converts the input descriptor into the output descriptor type.- Specified by:
convert
in interfaceConvertTupleDesc<TupleDesc_F64,
TupleDesc_F32> - Parameters:
input
- Original input descriptor. Not modified.output
- Converted output descriptor. Modified.
-
getOutputType
Description copied from interface:ConvertTupleDesc
Returns the class type of the output descriptor- Specified by:
getOutputType
in interfaceConvertTupleDesc<TupleDesc_F64,
TupleDesc_F32> - Returns:
- Output type
-