DIPviewer module
viewer namespace
Contains all functionality for DIPviewer.
Classes
- class ControlViewPort
- Allows the user to control how the image is displayed. more...
- class GLFWManager
- Simple GLFW window manager. more...
- class GLUTManager
- Simple GLUT window manager. more...
- class HistogramViewPort
- Controls grey-value mapping range and shows color mapping. more...
- class ImageView
- more...
- class ImageViewer
- Non-interactive 2D RGB image viewer. more...
- class LinkViewPort
- Handles viewer linking. more...
- class Manager abstract
- Simple window manager. more...
- class SliceView
- more...
- class SliceViewer
- Interactive nD tensor image viewer. more...
- class StatusViewPort
- Displays the
dip::viewer::Viewer’s status. more... - class TensorViewPort
- Allows the user to control which tensor elements are visualized. more...
- class View
- Displays a view of the
dip::viewer::ViewingOptionsmodel more... - class Viewer abstract
- A Window for viewing a
dip::Imagemore... - struct ViewingOptions
- Model that determines the
dip::viewer::SliceViewer’s behavior more... - class ViewPort
- Handles interaction in a certain display area to control the
dip::viewer::ViewingOptionsmodel more... - class Window
- Simple GL window more...
Aliases
- using FloatRange = std::pair<dip::dfloat, dip::dfloat>
- Specifies a range of values between a lower and upper limit
- using FloatRangeArray = std::vector<FloatRange>
- Specifies an array of ranges (typically one per tensor element)
- using WindowPtr = std::shared_ptr<Window>
- Shared pointer to a Window
Functions
- void ApplyViewerColorMap(dip::Image& in, dip::Image& out, dip::viewer::ViewingOptions& options)
- Applies the colormap defined by the
dip::viewer::ViewingOptions - void CloseAll()
- Close all open windows. more...
- void Draw()
- Process user event queue. more...
-
template<typename T>auto rangeMap(T val, double offset, double scale, dip::viewer::ViewingOptions::Mapping mapping) -> dip::dfloat
- Maps an image grey-value onto [0,255]
-
template<typename T>auto rangeMap(T val, dip::viewer::ViewingOptions const& options) -> dip::dfloat
- Maps an image grey-value onto [0,255]
- auto Show(dip::Image const& image, dip::String const& title = "", dip::uint width = 0, dip::uint height = 0) -> std::shared_ptr<SliceViewer>
- Show an image in the slice viewer. more...
- auto ShowSimple(dip::Image const& image, dip::String const& title = "", dip::uint width = 0, dip::uint height = 0) -> std::shared_ptr<ImageViewer>
- Show a 2D grey-value or RGB image, of type
dip::DT_UINT8. more... - void Spin()
- Wait until all windows are closed. more...
-
template<typename T>auto to_string(dip::DimensionArray array) -> std::string
- String conversion for
dip::DimensionArray