![]() |
AliceVision
Photogrammetric Computer Vision Framework
|
LCPdatabase allows to access all the LCP files in the database. More...
#include <lcp.hpp>
Public Member Functions | |
| LCPdatabase (const std::string &folder, bool omitCameraModel=false) | |
| LCPdatabase constructor. More... | |
| bool | empty () const |
| size_t | size () const |
| void | loadDirectory (const std::filesystem::path &p) |
| LCPinfo * | retrieveLCP () |
| LCPinfo * | retrieveLCP (const std::string &p) |
| Get the LCP from filepath. Retrieve it from cache or load it into the cache. | |
| LCPinfo * | findLCP (const std::string &cameraMake, const std::string &cameraModel, const std::string &lensModel, const int lensID, int rawMode) |
| Try to find an appropriate LCP file for a set of camera and lens information amongst a set of files. If a file is found, load its content. More... | |
LCPdatabase allows to access all the LCP files in the database.
|
inline |
LCPdatabase constructor.
| [in] | folder | The folder containing all lcp files |
| LCPinfo * LCPdatabase::findLCP | ( | const std::string & | cameraMake, |
| const std::string & | cameraModel, | ||
| const std::string & | lensModel, | ||
| const int | lensID, | ||
| int | rawMode | ||
| ) |
Try to find an appropriate LCP file for a set of camera and lens information amongst a set of files. If a file is found, load its content.
| [in] | cameraMake | Camera maker name |
| [in] | cameraModel | Camera model name |
| [in] | lensModel | Lens model name |
| [in] | lensID | Lens ID |
| [in] | rawMode | Set if raw status of a profile must be considered or not 0 : no matter about raw status 1 : only raw profile are considered in the search 2 : only non raw profile are considered in the search |
| [in] | omitCameraModel | cameraModelOrMaker contains only the camera maker (default is false) |
1.8.17