Openholo
v5.0
Open Source Digital Holographic Library
|
#include <ImgCodecOhc.h>
Public Member Functions | |
ImgDecoderOhc () | |
ImgDecoderOhc (const std::string &_fname) | |
ImgDecoderOhc (const std::string &_fname, const oph::ohcHeader &_Header) | |
virtual | ~ImgDecoderOhc () |
virtual void | releaseFldData () |
ivec2 | getNumOfPixel () |
vec2 | getPixelPitch () |
oph::LenUnit | getPixelPitchUnit () |
uint | getNumOfWavlen () |
oph::ColorType | getColorType () |
oph::ColorArran | getColorArrange () |
oph::LenUnit | getUnitOfWavlen () |
oph::CompresType | getCompressedFormatType () |
void | getWavelength (std::vector< double_t > &wavlen_array) |
void | getLinkFilePath (std::vector< std::string > &linkFilePath_array) |
bool | load () |
Public Member Functions inherited from oph::ImgCodecOhc | |
ImgCodecOhc () | |
ImgCodecOhc (const std::string &_fname) | |
ImgCodecOhc (const std::string &_fname, const oph::ohcHeader &_Header) | |
virtual | ~ImgCodecOhc ()=0 |
virtual void | initOHCheader () |
void | releaseOHCheader () |
void | releaseCodeBuffer () |
bool | setFileName (const std::string &_fname) |
bool | setOHCheader (const oph::ohcHeader &_Header) |
void | getOHCheader (oph::ohcHeader &_Header) |
void | getFieldInfo (oph::ohcFieldInfoHeader &_FieldInfo, std::vector< double_t > &_wavlenTable) |
void | getComplexFieldData (OphComplexField &cmplx_field, uint wavelen_idx) |
void | getComplexFieldData (Complex< Real > **cmplx_field, uint wavelen_idx) |
void | getComplexFieldData (OphComplexField **cmplx_field) |
void | getComplexFieldData (Complex< Real > ***cmplx_field) |
Protected Member Functions | |
void | fieldToComplex (void) |
bool | decodeFieldData () |
Protected Attributes | |
bool | bLoadFile = false |
std::vector< OphRealField > | field_ampli |
std::vector< OphRealField > | field_phase |
std::ifstream | File |
Protected Attributes inherited from oph::ImgCodecOhc | |
std::string | fname |
float * | buf_f32 = nullptr |
double * | buf_f64 = nullptr |
std::vector< OphComplexField > | field_cmplx |
std::vector< std::string > | linkFilePath |
oph::ohcHeader * | Header = nullptr |
Definition at line 94 of file ImgCodecOhc.h.
oph::ImgDecoderOhc::ImgDecoderOhc | ( | ) |
Definition at line 179 of file ImgCodecOhc.cpp.
oph::ImgDecoderOhc::ImgDecoderOhc | ( | const std::string & | _fname | ) |
Definition at line 184 of file ImgCodecOhc.cpp.
oph::ImgDecoderOhc::ImgDecoderOhc | ( | const std::string & | _fname, |
const oph::ohcHeader & | _Header | ||
) |
Definition at line 189 of file ImgCodecOhc.cpp.
|
virtual |
Definition at line 194 of file ImgCodecOhc.cpp.
|
protected |
Definition at line 436 of file ImgCodecOhc.cpp.
|
protected |
Definition at line 415 of file ImgCodecOhc.cpp.
ColorArran oph::ImgDecoderOhc::getColorArrange | ( | ) |
Definition at line 262 of file ImgCodecOhc.cpp.
ColorType oph::ImgDecoderOhc::getColorType | ( | ) |
Definition at line 253 of file ImgCodecOhc.cpp.
CompresType oph::ImgDecoderOhc::getCompressedFormatType | ( | ) |
Definition at line 280 of file ImgCodecOhc.cpp.
void oph::ImgDecoderOhc::getLinkFilePath | ( | std::vector< std::string > & | linkFilePath_array | ) |
Definition at line 298 of file ImgCodecOhc.cpp.
ivec2 oph::ImgDecoderOhc::getNumOfPixel | ( | ) |
Definition at line 217 of file ImgCodecOhc.cpp.
uint oph::ImgDecoderOhc::getNumOfWavlen | ( | ) |
Definition at line 244 of file ImgCodecOhc.cpp.
vec2 oph::ImgDecoderOhc::getPixelPitch | ( | ) |
Definition at line 226 of file ImgCodecOhc.cpp.
LenUnit oph::ImgDecoderOhc::getPixelPitchUnit | ( | ) |
Definition at line 235 of file ImgCodecOhc.cpp.
LenUnit oph::ImgDecoderOhc::getUnitOfWavlen | ( | ) |
Definition at line 271 of file ImgCodecOhc.cpp.
void oph::ImgDecoderOhc::getWavelength | ( | std::vector< double_t > & | wavlen_array | ) |
Definition at line 289 of file ImgCodecOhc.cpp.
bool oph::ImgDecoderOhc::load | ( | ) |
Definition at line 307 of file ImgCodecOhc.cpp.
|
virtual |
Reimplemented from oph::ImgCodecOhc.
Definition at line 201 of file ImgCodecOhc.cpp.
|
protected |
Definition at line 119 of file ImgCodecOhc.h.
|
protected |
Definition at line 125 of file ImgCodecOhc.h.
|
protected |
Definition at line 126 of file ImgCodecOhc.h.
|
protected |
Definition at line 127 of file ImgCodecOhc.h.