#include <descriptor.h>
Inheritance diagram for fl::DescriptorContrast:

Public Methods | |
| DescriptorContrast (float supportRadial=6.0f, int supportPixel=32) | |
| DescriptorContrast (std::istream &stream) | |
| virtual Vector< float > | value (const Image &image, const PointAffine &point) |
| Returns a vector of floats that describe the image patch near the interest point. | |
| virtual Image | patch (const Vector< float > &value) |
| virtual Comparison * | comparison () |
| Return an instance of the recommended Comparison for feature vectors from this type of Descriptor. Caller is responsible to destroy instance. | |
| virtual void | read (std::istream &stream) |
| virtual void | write (std::ostream &stream, bool withName=true) |
Public Attributes | |
| int | supportPixel |
| Pixel radius of patch. Patch size = 2 * supportPixel. | |
, that is, the average squared gradient length.
The scale at which the gradient is measured directly impacts the meaning of the resulting value. If you measure gradient at a large scale relative to the patch, you effectively measure overall orientation strength. If you measure at smaller scales, you effectively measure the descriptiveness of the graylevel texture. You can control the scale level by manipulating the ratio of supportRadial to supportPixel.
|
||||||||||||
|
|
|
|
|
|
|
Return an instance of the recommended Comparison for feature vectors from this type of Descriptor. Caller is responsible to destroy instance.
Reimplemented from fl::Descriptor. |
|
|
Implements fl::Descriptor. |
|
|
Reimplemented from fl::Descriptor. |
|
||||||||||||
|
Returns a vector of floats that describe the image patch near the interest point.
Implements fl::Descriptor. |
|
||||||||||||
|
Reimplemented from fl::Descriptor. |
|
|
Pixel radius of patch. Patch size = 2 * supportPixel.
|
1.2.18