boofcv.abst.feature.detdesc
Class DetectDescribeMultiFusion<T extends ImageGray,TD extends TupleDesc>
- java.lang.Object
-
- boofcv.abst.feature.detdesc.DetectDescribeMultiFusion<T,TD>
-
- All Implemented Interfaces:
- DescriptorInfo<TD>, DetectDescribeMulti<T,TD>
public class DetectDescribeMultiFusion<T extends ImageGray,TD extends TupleDesc> extends java.lang.Object implements DetectDescribeMulti<T,TD>
Wrapper class around independent multi feature detectors, region orientation, and descriptors, that allow them to be used as a single integrated unit. Providing an algorithm for estimating orientation is optional. If one is provided, any orientation estimate provided by the detector is ignored.- See Also:
InterestPointDetector,OrientationImage,DescribeRegionPoint
-
-
Constructor Summary
Constructors Constructor and Description DetectDescribeMultiFusion(DetectorInterestPointMulti<T> detector, OrientationImage<T> orientation, DescribeRegionPoint<T,TD> describe)
-
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 set)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
-
DetectDescribeMultiFusion
public DetectDescribeMultiFusion(DetectorInterestPointMulti<T> detector, OrientationImage<T> orientation, DescribeRegionPoint<T,TD> describe)
-
-
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 set)
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:
set- 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