
This class handles reading/parsing of DPX (Digital Picture Exchange) image files. More...
#include <Raster/DpxParser.H>


Public Member Functions | |
| DpxParser (const char *filename) | |
| Intialize with the name of a PNG file, and use all default color-correction settings. | |
| DpxParser (const char *filename, float gamma, bool do_log, float sigm_contrast, float sigm_thresh, float sclip_lo, float sclip_hi) | |
| Intialize with the name of a PNG file, and use the given color-correction settings. | |
| virtual | ~DpxParser () |
| Destructor. | |
| virtual GenericFrameSpec | getFrameSpec () const |
| Get the specifications of the image without fully reading it. | |
| virtual std::string | getComments () const |
| Get the comments from the image without fully reading it. | |
| virtual uint | getTagCount () const |
| Get image tags if the image supports them. | |
| virtual bool | getTag (uint tag, std::string &name, std::string &value) const |
| Get image tags if the image supports them. | |
| virtual GenericFrame | getFrame () |
| Get a GenericFrame representation from the raster file. | |
Static Public Member Functions | |
| static void | setDefaultGamma (float val) |
| static void | setDefaultSigmoidContrast (float val) |
| static void | setDefaultSigmoidThreshold (float val) |
| static void | setDefaultSrcClipLo (float val) |
| static void | setDefaultSrcClipHi (float val) |
This class handles reading/parsing of DPX (Digital Picture Exchange) image files.
Definition at line 51 of file DpxParser.H.
| DpxParser::DpxParser | ( | const char * | filename | ) |
Intialize with the name of a PNG file, and use all default color-correction settings.
Definition at line 252 of file DpxParser.C.
| DpxParser::DpxParser | ( | const char * | filename, | |
| float | gamma, | |||
| bool | do_log, | |||
| float | sigm_contrast, | |||
| float | sigm_thresh, | |||
| float | sclip_lo, | |||
| float | sclip_hi | |||
| ) |
Intialize with the name of a PNG file, and use the given color-correction settings.
Definition at line 264 of file DpxParser.C.
| DpxParser::~DpxParser | ( | ) | [virtual] |
Destructor.
Definition at line 282 of file DpxParser.C.
| std::string DpxParser::getComments | ( | ) | const [virtual] |
Get the comments from the image without fully reading it.
Implements RasterParser.
Definition at line 302 of file DpxParser.C.
| GenericFrame DpxParser::getFrame | ( | ) | [virtual] |
Get a GenericFrame representation from the raster file.
This can subsequently be converted to rgb, grayscale, floating-point, or video-yuv.
Implements RasterParser.
Definition at line 320 of file DpxParser.C.
References ASSERT, Image< T >::beginw(), Image< T >::endw(), Image< T >::getArrayPtr(), and NO_INIT.
| GenericFrameSpec DpxParser::getFrameSpec | ( | ) | const [virtual] |
Get the specifications of the image without fully reading it.
Implements RasterParser.
Definition at line 288 of file DpxParser.C.
References GenericFrame::RGB_F32.
| bool DpxParser::getTag | ( | uint | tag, | |
| std::string & | name, | |||
| std::string & | value | |||
| ) | const [virtual] |
Get image tags if the image supports them.
Implements RasterParser.
Definition at line 314 of file DpxParser.C.
| uint DpxParser::getTagCount | ( | ) | const [virtual] |
Get image tags if the image supports them.
Implements RasterParser.
Definition at line 308 of file DpxParser.C.
1.6.3