- java.lang.Object
-
- boofcv.abst.feature.dense.DescribeImageDenseSift<T,D>
-
- All Implemented Interfaces:
- DescribeImageDense<T,TupleDesc_F64>, DescriptorInfo<TupleDesc_F64>
public class DescribeImageDenseSift<T extends ImageGray,D extends ImageGray> extends java.lang.Object implements DescribeImageDense<T,TupleDesc_F64>
High level wrapper aroundDescribeDenseSiftAlgforDescribeImageDense
-
-
Constructor Summary
Constructors Constructor and Description DescribeImageDenseSift(DescribeDenseSiftAlg<D> alg, double periodX, double periodY, java.lang.Class<T> inputType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TupleDesc_F64createDescription()Creates new description instance which can be processed by this classDescribeDenseSiftAlg<D>getAlg()java.util.List<TupleDesc_F64>getDescriptions()Returns a list of the computed descriptions.java.lang.Class<TupleDesc_F64>getDescriptionType()The type of region descriptor generatedImageType<T>getImageType()Description of the type of image it can processjava.util.List<Point2D_I32>getLocations()Returns a list of locations that the descriptors are computed atvoidprocess(T input)Processes the image and computes the dense image features.
-
-
-
Constructor Detail
-
DescribeImageDenseSift
public DescribeImageDenseSift(DescribeDenseSiftAlg<D> alg, double periodX, double periodY, java.lang.Class<T> inputType)
- Parameters:
alg- Reference to the algorithm that is wrappedperiodX- How often the image is samples in pixels. X-axisperiodY- How often the image is samples in pixels. Y-axisinputType- Type of input image
-
-
Method Detail
-
process
public void process(T input)
Description copied from interface:DescribeImageDenseProcesses the image and computes the dense image features.- Specified by:
processin interfaceDescribeImageDense<T extends ImageGray,TupleDesc_F64>- Parameters:
input- Input image.
-
getDescriptions
public java.util.List<TupleDesc_F64> getDescriptions()
Description copied from interface:DescribeImageDenseReturns a list of the computed descriptions.
The list and everything contained inside of it are owned by this class and subject to modification the next time
DescribeImageDense.process(ImageBase)is called.- Specified by:
getDescriptionsin interfaceDescribeImageDense<T extends ImageGray,TupleDesc_F64>- Returns:
- list of descriptions
-
getLocations
public java.util.List<Point2D_I32> getLocations()
Description copied from interface:DescribeImageDenseReturns a list of locations that the descriptors are computed at
The list and everything contained inside of it are owned by this class and subject to modification the next time
DescribeImageDense.process(ImageBase)is called.- Specified by:
getLocationsin interfaceDescribeImageDense<T extends ImageGray,TupleDesc_F64>- Returns:
- list of descriptions
-
getImageType
public ImageType<T> getImageType()
Description copied from interface:DescribeImageDenseDescription of the type of image it can process- Specified by:
getImageTypein interfaceDescribeImageDense<T extends ImageGray,TupleDesc_F64>- Returns:
- ImageDataType
-
createDescription
public TupleDesc_F64 createDescription()
Description copied from interface:DescriptorInfoCreates new description instance which can be processed by this class- Specified by:
createDescriptionin interfaceDescriptorInfo<TupleDesc_F64>- Returns:
- New descriptor
-
getDescriptionType
public java.lang.Class<TupleDesc_F64> getDescriptionType()
Description copied from interface:DescriptorInfoThe type of region descriptor generated- Specified by:
getDescriptionTypein interfaceDescriptorInfo<TupleDesc_F64>- Returns:
- Returns the descriptor type.
-
getAlg
public DescribeDenseSiftAlg<D> getAlg()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG