![]() |
AliceVision
Photogrammetric Computer Vision Framework
|
The Regions class describe a set of regions extracted from an image. It contains both a feature (position, scale, orientation) and a descriptor (photometric neighborhood description). More...
#include <Regions.hpp>
Public Member Functions | |
| void | LoadFeatures (const std::string &sfileNameFeats) |
| PointFeatures | GetRegionsPositions () const |
| Vec2 | GetRegionPosition (std::size_t i) const |
| std::size_t | RegionCount () const |
| Return the number of defined regions. | |
| std::vector< PointFeature > & | Features () |
| Mutable and non-mutable PointFeature getters. | |
| const std::vector< PointFeature > & | Features () const |
| virtual void | Load (const std::string &sfileNameFeats, const std::string &sfileNameDescs)=0 |
| virtual void | Save (const std::string &sfileNameFeats, const std::string &sfileNameDescs) const =0 |
| virtual void | SaveDesc (const std::string &sfileNameDescs) const =0 |
| virtual bool | IsScalar () const =0 |
| virtual bool | IsBinary () const =0 |
| virtual std::string | Type_id () const =0 |
| basis element used for description | |
| virtual std::size_t | DescriptorLength () const =0 |
| virtual const void * | blindDescriptors () const =0 |
| Return a blind pointer to the container of the descriptors array. More... | |
| virtual const void * | DescriptorRawData () const =0 |
| Return a pointer to the first value of the descriptor array. More... | |
| virtual void | clearDescriptors ()=0 |
| virtual double | SquaredDescriptorDistance (std::size_t i, const Regions *, std::size_t j) const =0 |
| Return the squared distance between two descriptors. | |
| virtual void | CopyRegion (std::size_t i, Regions *) const =0 |
| Add the Inth region to another Region container. | |
| virtual Regions * | EmptyClone () const =0 |
| virtual std::unique_ptr< Regions > | createFilteredRegions (const std::vector< FeatureInImage > &featuresInImage, std::vector< IndexT > &out_associated3dPoint, std::map< IndexT, IndexT > &out_mapFullToLocal) const =0 |
Protected Attributes | |
| std::vector< PointFeature > | _vec_feats |
The Regions class describe a set of regions extracted from an image. It contains both a feature (position, scale, orientation) and a descriptor (photometric neighborhood description).
Describe an image a set of regions (position, ...) + attributes Each region is described by a set of attributes (descriptor)
|
pure virtual |
Return a blind pointer to the container of the descriptors array.
Implemented in aliceVision::feature::FeatDescRegions< T, L, regionType >.
|
pure virtual |
Return a pointer to the first value of the descriptor array.
Implemented in aliceVision::feature::FeatDescRegions< T, L, regionType >.
1.8.17