boofcv.abst.feature.detdesc
Class DetectDescribeSingleToMulti<T extends ImageGray,TD extends TupleDesc>
- java.lang.Object
-
- boofcv.abst.feature.detdesc.DetectDescribeSingleToMulti<T,TD>
-
- All Implemented Interfaces:
- DescriptorInfo<TD>, DetectDescribeMulti<T,TD>
public class DetectDescribeSingleToMulti<T extends ImageGray,TD extends TupleDesc> extends java.lang.Object implements DetectDescribeMulti<T,TD>
AllowsDetectDescribePointto be used as aDetectDescribeMulti.
-
-
Constructor Summary
Constructors Constructor and Description DetectDescribeSingleToMulti(DetectDescribePoint<T,TD> alg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TDcreateDescription()Creates new description instance which can be processed by this classjava.lang.Class<TD>getDescriptionType()The type of region descriptor generatedPointDescSet<TD>getFeatureSet(int setIndex)Returns the most recently detected features for a specific set.intgetNumberOfSets()The number of feature sets.voidprocess(T image)Detects features inside the image.
-
-
-
Constructor Detail
-
DetectDescribeSingleToMulti
public DetectDescribeSingleToMulti(DetectDescribePoint<T,TD> alg)
-
-
Method Detail
-
process
public void process(T image)
Description copied from interface:DetectDescribeMultiDetects features inside the image.
-
getNumberOfSets
public int getNumberOfSets()
Description copied from interface:DetectDescribeMultiThe number of feature sets.- Specified by:
getNumberOfSetsin interfaceDetectDescribeMulti<T extends ImageGray,TD extends TupleDesc>- Returns:
- number of feature sets
-
getFeatureSet
public PointDescSet<TD> getFeatureSet(int setIndex)
Description copied from interface:DetectDescribeMultiReturns the most recently detected features for a specific set. Each timeDetectDescribeMulti.process(ImageGray)is called the results are modified. WARNING: The returned data structure is recycled each timeDetectDescribeMulti.process(ImageGray)is called. Create a copy if this is a problem.- Specified by:
getFeatureSetin interfaceDetectDescribeMulti<T extends ImageGray,TD extends TupleDesc>- Parameters:
setIndex- Which set of detected features.- Returns:
- Results for a set.
-
createDescription
public TD createDescription()
Description copied from interface:DescriptorInfoCreates new description instance which can be processed by this class- Specified by:
createDescriptionin interfaceDescriptorInfo<TD extends TupleDesc>- Returns:
- New descriptor
-
getDescriptionType
public java.lang.Class<TD> getDescriptionType()
Description copied from interface:DescriptorInfoThe type of region descriptor generated- Specified by:
getDescriptionTypein interfaceDescriptorInfo<TD extends TupleDesc>- Returns:
- Returns the descriptor type.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG