ITK  5.2.0
Insight Toolkit
Public Types | Static Public Member Functions | List of all members
itk::ViewImage< TImage > Class Template Reference

#include <itkViewImage.h>

Public Types

using ImageType = TImage
 

Static Public Member Functions

static void View (const ImageType *img, const std::string &windowTitle="itkView", vcl_size_t windowWidth=600, vcl_size_t windowHeight=600)
 

Detailed Description

template<typename TImage>
class itk::ViewImage< TImage >

Class with static function to visualize an image using just vtk. It accepts 2D and 3D images.

Usage example:

itk::ViewImage<ImageType>::View( reader->GetOutput() );

Definition at line 38 of file itkViewImage.h.

Member Typedef Documentation

◆ ImageType

template<typename TImage >
using itk::ViewImage< TImage >::ImageType = TImage

Definition at line 41 of file itkViewImage.h.

Member Function Documentation

◆ View()

template<typename TImage >
static void itk::ViewImage< TImage >::View ( const ImageType img,
const std::string &  windowTitle = "itkView",
vcl_size_t  windowWidth = 600,
vcl_size_t  windowHeight = 600 
)
static

Static function to visualize 2D and 3D images.

Parameters
imgInput image
windowTitleTitle of the window.
windowWidthWidth of the visualization window.
windowHeightHeight of the visualization window.

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