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 scale,
int featureWidth,
int periodX,
int periodY)
Configures dense description.
|
| Modifier and Type | Method and Description |
|---|---|
Desc |
createDescription()
Creates new description instance which can be processed by this class
|
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
|
void |
process(T input,
org.ddogleg.struct.FastQueue<Desc> descriptions,
org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_I32> locations)
Processes the image and computes the dense image features.
|
public GenericDenseDescribeImageDense(DescribeRegionPoint<T,Desc> alg, double scale, int featureWidth, int periodX, int periodY)
alg - Sparse feature sampler.scale - The scale at which the features should be sampledfeatureWidth - Tells it how wide a feature is so that it can avoid sampling outside the imageperiodX - sample rate along the x-axisperiodY - sample rate along the y-axispublic void process(T input, org.ddogleg.struct.FastQueue<Desc> descriptions, org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_I32> locations)
DescribeImageDenseprocess in interface DescribeImageDense<T extends boofcv.struct.image.ImageBase,Desc extends TupleDesc>input - Input image.descriptions - (Output) Storage for descriptors. The grow() command is used to request more data.locations - (output) (Optional) Storage for location of feature sample center points.
New locations are added by invoking grow(). If null then it's ignored.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>