Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ImageContext Class Reference
Inheritance diagram for ImageContext:
Inheritance graph
[legend]
Collaboration diagram for ImageContext:
Collaboration graph
[legend]

Public Member Functions

 ImageContext ()
 Default constr.
 
 ImageContext (const ImageContext &ctx)
 Copy constr.
 
void setCurrentImageColor (const drain::image::Image &src)
 
void setCurrentImages (const drain::image::Image &src)
 
void unsetCurrentImages ()
 
void getImageStatus (drain::FlexVariableMap &statusMap) const
 
drain::image::Palette & getPalette ()
 
drain::image::Palette & getPalette (const std::string &key)
 
void updateImageStatus (drain::VariableMap &statusMap) const
 

Static Public Member Functions

static void getImageInfo (const drain::image::Image *ptr, drain::Variable &entry)
 Protected: More...
 

Public Attributes

bool imagePhysical
 Defines if the next image processing operation uses scaled intentsites instead of raw byte values.
 
ODIMPathElem::group_t qualityGroups
 Defines which quality data, if any, is used as input weight. More...
 
drain::image::ImageSampler imageSampler
 
const drain::image::ImagecurrentImage
 Pointer to the last 2D data (image) processed.
 
const drain::image::ImagecurrentGrayImage
 Pointer to the last single-channel 2D data (image) processed.
 
drain::image::Image grayImage
 
drain::image::Image colorImage
 
std::string paletteKey
 
drain::image::TreeSVG svgTrack
 
drain::image::PanelConfSVG svgPanelConf
 

Static Public Attributes

static std::string outputQuantitySyntax
 

Member Function Documentation

◆ getImageInfo()

void getImageInfo ( const drain::image::Image ptr,
drain::Variable entry 
)
static

Protected:

Given image pointer (null ok), get properties.

Member Data Documentation

◆ outputQuantitySyntax

std::string outputQuantitySyntax
static

Note: for example Palette uses this to extract actual quantity

◆ qualityGroups

ODIMPathElem::group_t qualityGroups

Defines which quality data, if any, is used as input weight.

Practically, only the following properties are actually used:

  • path: dataset, data or both
  • quantity: (typically QIND), future option

The documentation for this class was generated from the following files: