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)
Configures dense description.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(double scale,
double periodX,
double periodY)
Configures how features are sampled across the image.
|
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)
alg - Sparse feature sampler.public void configure(double scale,
double periodX,
double periodY)
DescribeImageDenseConfigures how features are sampled across the image.
NOTE: The specific implementation is allowed to tweak these numbers. The period might be adjusted to ensure an even sampling across the entire image is done.configure in interface DescribeImageDense<T extends boofcv.struct.image.ImageBase,Desc extends TupleDesc>scale - Scales the size of the region the descriptor is computed up or down, e.g. 2 = twice as
large. Try 1.0periodX - Pixels between samples along x-axisperiodY - Pixels between samples along y-axispublic 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>