Package boofcv.abst.feature.dense
Class DescribeImageDenseSift<T extends ImageGray<T>,D extends ImageGray<D>>
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<T>,D extends ImageGray<D>>
extends Object
implements DescribeImageDense<T,TupleDesc_F64>
High level wrapper around
DescribeDenseSiftAlg
for DescribeImageDense
-
Constructor Summary
ConstructorDescriptionDescribeImageDenseSift
(DescribeDenseSiftAlg<D> alg, double periodX, double periodY, Class<T> inputType) -
Method Summary
Modifier and TypeMethodDescriptionCreates new description instance which can be processed by this classgetAlg()
Returns a list of the computed descriptions.The type of region descriptor generatedDescription of the type of image it can processReturns a list of locations that the descriptors are computed atvoid
Processes the image and computes the dense image features.
-
Constructor Details
-
DescribeImageDenseSift
public DescribeImageDenseSift(DescribeDenseSiftAlg<D> alg, double periodX, double periodY, 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 Details
-
process
Description copied from interface:DescribeImageDense
Processes the image and computes the dense image features. -
getDescriptions
Description copied from interface:DescribeImageDense
Returns 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:
getDescriptions
in interfaceDescribeImageDense<T extends ImageGray<T>,
D extends ImageGray<D>> - Returns:
- list of descriptions
-
getLocations
Description copied from interface:DescribeImageDense
Returns 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:
getLocations
in interfaceDescribeImageDense<T extends ImageGray<T>,
D extends ImageGray<D>> - Returns:
- list of descriptions
-
getImageType
Description copied from interface:DescribeImageDense
Description of the type of image it can process- Specified by:
getImageType
in interfaceDescribeImageDense<T extends ImageGray<T>,
D extends ImageGray<D>> - Returns:
- ImageDataType
-
createDescription
Description copied from interface:DescriptorInfo
Creates new description instance which can be processed by this class- Specified by:
createDescription
in interfaceDescriptorInfo<T extends ImageGray<T>>
- Returns:
- New descriptor
-
getDescriptionType
Description copied from interface:DescriptorInfo
The type of region descriptor generated- Specified by:
getDescriptionType
in interfaceDescriptorInfo<T extends ImageGray<T>>
- Returns:
- Returns the descriptor type.
-
getAlg
-