#include <HDF5DataIO.hh>
Definition at line 113 of file HDF5DataIO.hh.
◆ RGBChannelMetaData() [1/2]
RGBChannelMetaData::RGBChannelMetaData |
( |
| ) |
|
◆ RGBChannelMetaData() [2/2]
◆ ~RGBChannelMetaData()
RGBChannelMetaData::~RGBChannelMetaData |
( |
| ) |
|
◆ load()
void RGBChannelMetaData::load |
( |
const std::string & |
h5FileName, |
|
|
int |
index |
|
) |
| |
|
virtual |
Load the general metadata of channel with index <index> out of the .labelling_qt4 group of the hdf5 file specified by filename.
- Parameters
-
h5FileName | The name of the hdf5 file to read the metadata from |
index | The channel index |
- Exceptions
-
Reimplemented from ChannelMetaData.
◆ save()
int RGBChannelMetaData::save |
( |
const std::string & |
h5FileName | ) |
|
|
virtual |
Save the general metadata stored in this struct into the .labelling_qt4 group of the hdf5 file specified by filename.
If a .labelling_qt4 group exists an entry with corresponding channelName is searched and updated if found. If not a new set of attributes is created, and the nChannels attribute is incremented.
- Parameters
-
h5FileName | The name of the hdf5 file to write the metadata to |
- Exceptions
-
- Returns
- The index of the channel within the structure
Reimplemented from ChannelMetaData.
◆ gamma
float RGBChannelMetaData::gamma |
◆ normalized
bool RGBChannelMetaData::normalized |
◆ showExposureProblems
bool RGBChannelMetaData::showExposureProblems |
◆ channelName
std::string ChannelMetaData::channelName |
|
inherited |
◆ channelType
std::string ChannelMetaData::channelType |
|
inherited |
◆ alpha
float ChannelMetaData::alpha |
|
inherited |
◆ visible
bool ChannelMetaData::visible |
|
inherited |
The documentation for this struct was generated from the following file: