public class GenericDenseDescribeImageDense<T extends boofcv.struct.image.ImageBase,Desc extends TupleDesc> extends java.lang.Object implements DescribeImageDense<T,Desc>
DescribeRegionPoint internally.| Constructor and Description |
|---|
GenericDenseDescribeImageDense(DescribeRegionPoint<T,Desc> alg,
double scaleToRadius,
double descriptorScale,
double samplePeriodX,
double samplePeriodY)
Configures dense description.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(double descriptorRegionScale,
double periodX,
double periodY)
Configures size of the descriptor and the frequency at which it's computed
|
Desc |
createDescription()
Creates new description instance which can be processed by this class
|
java.util.List<Desc> |
getDescriptions()
Returns a list of the computed descriptions.
|
java.lang.Class<Desc> |
getDescriptionType()
The type of region descriptor generated
|
boofcv.struct.image.ImageType<T> |
getImageType()
Description of the type of image it can process
|
java.util.List<georegression.struct.point.Point2D_I32> |
getLocations()
Returns a list of locations that the descriptors are computed at
|
void |
process(T input)
Processes the image and computes the dense image features.
|
public GenericDenseDescribeImageDense(DescribeRegionPoint<T,Desc> alg, double scaleToRadius, double descriptorScale, double samplePeriodX, double samplePeriodY)
alg - Sparse feature sampler.scaleToRadius - Conversion between requested descriptor scale to its actual radiusdescriptorScale - 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-axispublic void configure(double descriptorRegionScale,
double periodX,
double periodY)
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 samplespublic void process(T input)
DescribeImageDenseprocess in interface DescribeImageDense<T extends boofcv.struct.image.ImageBase,Desc extends TupleDesc>input - Input image.public java.util.List<Desc> getDescriptions()
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.
getDescriptions in interface DescribeImageDense<T extends boofcv.struct.image.ImageBase,Desc extends TupleDesc>public java.util.List<georegression.struct.point.Point2D_I32> getLocations()
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.
getLocations in interface DescribeImageDense<T extends boofcv.struct.image.ImageBase,Desc extends TupleDesc>public boofcv.struct.image.ImageType<T> getImageType()
DescribeImageDensegetImageType in interface DescribeImageDense<T extends boofcv.struct.image.ImageBase,Desc extends TupleDesc>public Desc createDescription()
DescriptorInfocreateDescription in interface DescriptorInfo<Desc extends TupleDesc>public java.lang.Class<Desc> getDescriptionType()
DescriptorInfogetDescriptionType in interface DescriptorInfo<Desc extends TupleDesc>