Converts HDF5 data to use desired data type, scaling and encoding (ODIM gain, offset, undetect and nodata values).
More...
#include <DataConversionOp.h>
|
| DataConversionOp (const std::string &type="C", double gain=1.0, double offset=0.0, double undetect=0.0, double nodata=255.0, std::string copyGroupSuffix="") |
|
virtual void | processH5 (const Hi5Tree &src, Hi5Tree &dst) const |
| Ensures data to be in standard type and scaling. Makes a converted copy if needed. More...
|
|
virtual void | processDataSet (const DataSet< src_t > &srcSweep, DataSet< dst_t > &dstProduct) const |
|
void | processImage (const PlainData< src_t > &src, drain::image::Image &dst) const |
|
void | processImage (const ODIM &odimSrc, const drain::image::ImageFrame &src, const ODIM &odimDst, drain::image::Image &dst) const |
| Converts src to dst such that dst applies desired gain, offset, undetect and nodata values. More...
|
|
void | processImage2023 (const ODIM &srcOdim, const drain::image::ImageFrame &src, drain::image::Image &dst) const |
|
void | traverseImageFrame (const ODIM &odimSrc, const drain::image::ImageFrame &src, const ODIM &odimDst, drain::image::ImageFrame &dst) const |
|
void | setGeometry (const M &srcODIM, PlainData< dst_t > &dstData) const |
|
|
std::string | copyGroupSuffix |
| Suffix for trailing path element ("/data") for storing the original.
|
|
template<class M>
class rack::DataConversionOp< M >
Converts HDF5 data to use desired data type, scaling and encoding (ODIM gain, offset, undetect and nodata values).
- Template Parameters
-
- See also
- Conversion
◆ processDataSet()
◆ processH5()
void processH5 |
( |
const Hi5Tree & |
src, |
|
|
Hi5Tree & |
dst |
|
) |
| const |
|
virtual |
Ensures data to be in standard type and scaling. Makes a converted copy if needed.
Converts src to dst such that dst applies desired gain, offset, undetect and nodata values.
The operator does not need groups sorted by elevation.
◆ processImage()
Converts src to dst such that dst applies desired gain, offset, undetect and nodata values.
Sometimes this is applied directly (for alpha channel ops).
◆ traverseImageFrame()
Checks 'undetect' first because 'undetect' and 'nodata' may be the same code
The documentation for this class was generated from the following file: