Package boofcv.factory.feature.describe
Class FactoryConvertTupleDesc
java.lang.Object
boofcv.factory.feature.describe.FactoryConvertTupleDesc
Factory for creating different types of
ConvertTupleDesc
, which are used for converting image region
descriptors.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends TupleDesc<A>,
B extends TupleDesc<B>>
ConvertTupleDesc<A,B> generic
(ConfigConvertTupleDesc config, int numElements, Class<A> srcType) Type agnostic way to createConvertTupleDesc
.positive_F64_U8
(int numElements) Converts twoTupleDesc
as describe byConvertDescriptors.positive(TupleDesc_F64, TupleDesc_U8)
.real_F64_S8
(int numElements) Converts twoTupleDesc
as describe byConvertDescriptors.signed(TupleDesc_F64, TupleDesc_S8)
.
-
Constructor Details
-
FactoryConvertTupleDesc
public FactoryConvertTupleDesc()
-
-
Method Details
-
generic
public static <A extends TupleDesc<A>,B extends TupleDesc<B>> ConvertTupleDesc<A,B> generic(ConfigConvertTupleDesc config, int numElements, Class<A> srcType) Type agnostic way to createConvertTupleDesc
. -
positive_F64_U8
Converts twoTupleDesc
as describe byConvertDescriptors.positive(TupleDesc_F64, TupleDesc_U8)
.- Parameters:
numElements
- Number of elements in the descriptor- Returns:
- The converter.
-
real_F64_S8
Converts twoTupleDesc
as describe byConvertDescriptors.signed(TupleDesc_F64, TupleDesc_S8)
.- Parameters:
numElements
- Number of elements in the descriptor- Returns:
- The converter.
-