#include <lti_viewerImageFilter.h>
Public Member Functions | |
LT_STATUS | initialize (LTIImageStage *srcImage, bool useDynamicRange, bool useBGR) |
initializer | |
virtual lt_uint32 | getModifications (const LTIScene &scene) const |
get the modification bitfield for this image | |
Static Public Member Functions | |
static LTIViewerImageFilter * | create (void) |
Protected Member Functions | |
LTIViewerImageFilter (void) | |
virtual | ~LTIViewerImageFilter (void) |
Definition at line 30 of file lti_viewerImageFilter.h.
LTIViewerImageFilter::LTIViewerImageFilter | ( | void | ) | [protected] |
virtual LTIViewerImageFilter::~LTIViewerImageFilter | ( | void | ) | [protected, virtual] |
static LTIViewerImageFilter* LTIViewerImageFilter::create | ( | void | ) | [static] |
LT_STATUS LTIViewerImageFilter::initialize | ( | LTIImageStage * | srcImage, | |
bool | useDynamicRange, | |||
bool | useBGR | |||
) |
Transforms the input image to unsigned 8-bit samples and a colorspace of either greyscale or RGB. This allows the image's pixels to be more easily passed to command rendering engines.
The class also allows for the dynamic range of the image to be adjusted to make the image's histogram fit the datatype width. RGB pixels can also be remapped to be in BGR format (as is required for Windows bitmaps).
srcImage | the input image | |
useDynamicRange | if set, the image data will be scaled according to the dynamic range metadata in the image (if any) | |
useBGR | if set, RGB samples will be remapped to BGR format |
This function returns a bitfield describing what kinds of modifications have been made to the image during and since its initial encoding.
scene | the area pertaining to this request |
Reimplemented from LTIImageFilter.
LizardTech |