Package boofcv.abst.feature.dense
Class GenericDenseDescribeImageDense<T extends ImageBase<T>,Desc extends TupleDesc<Desc>>
java.lang.Object
boofcv.abst.feature.dense.GenericDenseDescribeImageDense<T,Desc>
- All Implemented Interfaces:
DescribeImageDense<T,,Desc> DescriptorInfo<Desc>
public class GenericDenseDescribeImageDense<T extends ImageBase<T>,Desc extends TupleDesc<Desc>>
extends Object
implements DescribeImageDense<T,Desc>
Dense feature computation which uses
DescribePointRadiusAngle internally.-
Constructor Summary
ConstructorsConstructorDescriptionGenericDenseDescribeImageDense(DescribePointRadiusAngle<T, Desc> alg, double descriptorScale, double samplePeriodX, double samplePeriodY) Configures dense description. -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(double descriptorRegionScale, double periodX, double periodY) Configures size of the descriptor and the frequency at which it's computedCreates new description instance which can be processed by this classReturns 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 atvoidProcesses the image and computes the dense image features.
-
Constructor Details
-
GenericDenseDescribeImageDense
public GenericDenseDescribeImageDense(DescribePointRadiusAngle<T, Desc> alg, double descriptorScale, double samplePeriodX, double samplePeriodY) Configures dense description.- Parameters:
alg- Sparse feature sampler.descriptorScale- Relative scale of the descriptor's regionsamplePeriodX- How frequently the image is sampled in pixels. X-axissamplePeriodY- How frequently the image is sampled in pixels. Y-axis
-
-
Method Details
-
configure
public void configure(double descriptorRegionScale, double periodX, double periodY) Configures size of the descriptor and the frequency at which it's computed- Parameters:
descriptorRegionScale- Relative size of the descriptor region to its canonical sizeperiodX- Period in pixels along x-axis of samplesperiodY- Period in pixels along y-axis of samples
-
process
Description copied from interface:DescribeImageDenseProcesses the image and computes the dense image features. -
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 ImageBase<T>,Desc extends TupleDesc<Desc>> - Returns:
- list of descriptions
-
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 ImageBase<T>,Desc extends TupleDesc<Desc>> - Returns:
- list of descriptions
-
getImageType
Description copied from interface:DescribeImageDenseDescription of the type of image it can process- Specified by:
getImageTypein interfaceDescribeImageDense<T extends ImageBase<T>,Desc extends TupleDesc<Desc>> - Returns:
- ImageDataType
-
createDescription
Description copied from interface:DescriptorInfoCreates new description instance which can be processed by this class- Specified by:
createDescriptionin interfaceDescriptorInfo<T extends ImageBase<T>>- Returns:
- New descriptor
-
getDescriptionType
Description copied from interface:DescriptorInfoThe type of region descriptor generated- Specified by:
getDescriptionTypein interfaceDescriptorInfo<T extends ImageBase<T>>- Returns:
- Returns the descriptor type.
-