diplib/viewer/viewer.h file

Declares the core infrastructure for DIPviewer.

Contents

Classes

struct dip::viewer::ViewingOptions
Model that determines the SliceViewer‘s behavior
class dip::viewer::View
Displays a view of the ViewingOptions model
class dip::viewer::ViewPort
Handles interaction in a certain display area to control the ViewingOptions model
class dip::viewer::Viewer abstract
A Window for viewing a dip::Image

Aliases

typedef std::pair<dip::dfloat, dip::dfloat> dip::viewer::FloatRange
Specifies a range of values between a lower and upper limit
typedef std::vector<FloatRange> dip::viewer::FloatRangeArray
Specifies an array of ranges (typically one per tensor element)

Functions

template<typename T>
auto dip::viewer::rangeMap(T val, double offset, double scale, ViewingOptions::Mapping mapping) -> dip::dfloat
Maps an image grey-value onto [0,255]
template<typename T>
auto dip::viewer::rangeMap(T val, dip::viewer::ViewingOptions const& options) -> dip::dfloat
Maps an image grey-value onto [0,255]
template<typename T>
auto dip::viewer::to_string(dip::DimensionArray<T> array) -> std::string
String conversion for dip::DimensionArray
void dip::viewer::ApplyViewerColorMap(dip::Image& in, dip::Image& out, dip::viewer::ViewingOptions& options)
Applies the colormap defined by the ViewingOptions