|
vocabtree
0.0.1
|
Abstract class representing an image. More...
#include <image.hpp>

Public Member Functions | |
| Image (uint64_t image_id) | |
| virtual | ~Image () |
| All images are assigned a unique id in the dataset. More... | |
| virtual std::string | feature_path (const std::string &feat_name) const =0 |
| Returns the corresponding feature path given a feature name (ex. "sift"). More... | |
| virtual std::string | location () const =0 |
| Returns the image location relative to the database data directory. More... | |
Data Fields | |
| uint64_t | id |
Abstract class representing an image.
Implementing classes must provide a way to load images and construct image paths for loading features. See tests and benchmarks for example implementations of Image.
|
virtual |
|
pure virtual |
Returns the corresponding feature path given a feature name (ex. "sift").
Implemented in SimpleDataset::SimpleImage.
|
pure virtual |
Returns the image location relative to the database data directory.
Implemented in SimpleDataset::SimpleImage.