|
SatDump 2.0.0-alpha-520736c72
|
Image Metadata manipulation. More...
Go to the source code of this file.
Classes | |
| struct | satdump::image::ImgCalibHandler |
| Image Calibration Handler. This handles converting between raw pixel values and calibrated/physical units. It is a simple linear transform. More... | |
Functions | |
| bool | satdump::image::has_metadata (Image &img) |
| Check if an image has metadata. | |
| void | satdump::image::set_metadata (Image &img, nlohmann::json metadata) |
| Set an image's metadata. | |
| nlohmann::json | satdump::image::get_metadata (const Image &img) |
| Get an image's metadata. | |
| void | satdump::image::free_metadata (const Image &img) |
| Delete the image's metadata. | |
| bool | satdump::image::has_metadata_proj_cfg (Image &img) |
| Check if an image has a projection. | |
| void | satdump::image::set_metadata_proj_cfg (Image &img, nlohmann::json proj_cfg) |
| Set an image's projection metadata. | |
| nlohmann::json | satdump::image::get_metadata_proj_cfg (const Image &img) |
| Get an image's projection. | |
| bool | satdump::image::has_metadata_calib_cfg (Image &img) |
| Check if an image has a calibration config. | |
| void | satdump::image::set_metadata_calib_cfg (Image &img, nlohmann::json calib_cfg) |
| Set an image's calibration metadata. | |
| nlohmann::json | satdump::image::get_metadata_calib_cfg (const Image &img) |
| Get an image's calibration. | |
Image Metadata manipulation.
| void satdump::image::free_metadata | ( | const Image & | img | ) |
Delete the image's metadata.
| img | the image |
| nlohmann::json satdump::image::get_metadata | ( | const Image & | img | ) |
Get an image's metadata.
| img | the image |
| nlohmann::json satdump::image::get_metadata_calib_cfg | ( | const Image & | img | ) |
Get an image's calibration.
| img | the image |
| nlohmann::json satdump::image::get_metadata_proj_cfg | ( | const Image & | img | ) |
Get an image's projection.
| img | the image |
| bool satdump::image::has_metadata | ( | Image & | img | ) |
Check if an image has metadata.
| img | the image |
| bool satdump::image::has_metadata_calib_cfg | ( | Image & | img | ) |
Check if an image has a calibration config.
| img | the image |
| bool satdump::image::has_metadata_proj_cfg | ( | Image & | img | ) |
Check if an image has a projection.
| img | the image |
| void satdump::image::set_metadata | ( | Image & | img, |
| nlohmann::json | metadata ) |
Set an image's metadata.
| img | the image |
| metadata | to set as JSON object |
| void satdump::image::set_metadata_calib_cfg | ( | Image & | img, |
| nlohmann::json | calib_cfg ) |
Set an image's calibration metadata.
| img | the image |
| proj_cfg | calibration to set |
| void satdump::image::set_metadata_proj_cfg | ( | Image & | img, |
| nlohmann::json | proj_cfg ) |
Set an image's projection metadata.
| img | the image |
| proj_cfg | Projection to set |