Define Metadata
Metadata are attached to a frame. They describe the frame or the context of the acquisition in general and can be used by processing nodes.
In Lima1 we have:
- static (camera model, S/N...)
- common (acquisition params, processing params)
- image (image attributes)
There are two different ways to store metadata :
attributes
: a string key-value store
metadata
: a typed structure
The typed structure can have nested structures:
struct metadata
{
camera cam; // Camera info
acquisition acq; // Acquisition info
...
};
Metadata should implement (compile time) reflection so that saving could be implemented in a generic way.
Frames are specialized with Metadata than can be specific to a camera / processing pipeline.
Edited by Samuel Debionne