public class DetectDescribeSingleToMulti<T extends boofcv.struct.image.ImageGray,TD extends TupleDesc> extends java.lang.Object implements DetectDescribeMulti<T,TD>
DetectDescribePoint to be used as a DetectDescribeMulti.| Constructor and Description |
|---|
DetectDescribeSingleToMulti(DetectDescribePoint<T,TD> alg) |
| Modifier and Type | Method and Description |
|---|---|
TD |
createDescription()
Creates new description instance which can be processed by this class
|
java.lang.Class<TD> |
getDescriptionType()
The type of region descriptor generated
|
PointDescSet<TD> |
getFeatureSet(int setIndex)
Returns the most recently detected features for a specific set.
|
int |
getNumberOfSets()
The number of feature sets.
|
void |
process(T image)
Detects features inside the image.
|
public DetectDescribeSingleToMulti(DetectDescribePoint<T,TD> alg)
public void process(T image)
DetectDescribeMultiprocess in interface DetectDescribeMulti<T extends boofcv.struct.image.ImageGray,TD extends TupleDesc>image - Image being processed.public int getNumberOfSets()
DetectDescribeMultigetNumberOfSets in interface DetectDescribeMulti<T extends boofcv.struct.image.ImageGray,TD extends TupleDesc>public PointDescSet<TD> getFeatureSet(int setIndex)
DetectDescribeMultiDetectDescribeMulti.process(ImageGray) is called the results are modified.
WARNING: The returned data structure is recycled each time DetectDescribeMulti.process(ImageGray)
is called. Create a copy if this is a problem.getFeatureSet in interface DetectDescribeMulti<T extends boofcv.struct.image.ImageGray,TD extends TupleDesc>setIndex - Which set of detected features.public TD createDescription()
DescriptorInfocreateDescription in interface DescriptorInfo<TD extends TupleDesc>public java.lang.Class<TD> getDescriptionType()
DescriptorInfogetDescriptionType in interface DescriptorInfo<TD extends TupleDesc>