CustusX  2021.04.21-dev+develop.337f9
An IGT application
cx::ApplyLUTToImage2DProxy Class Reference

Helper class for applying sscLUT2D to an image. More...

#include <cxSlicedImageProxy.h>

Inheritance diagram for cx::ApplyLUTToImage2DProxy:

Public Member Functions

 ApplyLUTToImage2DProxy ()
virtual ~ApplyLUTToImage2DProxy ()
void setInputData (vtkImageDataPtr image, vtkLookupTablePtr lut)
void setInput (vtkImageAlgorithmPtr input, vtkLookupTablePtr lut)
vtkImageDataPtr getOutput ()
vtkImageAlgorithmPtr getOutputPort ()
 output 2D sliced image More...

Detailed Description

Helper class for applying sscLUT2D to an image.

Input a 2D image and a lut. Run the image through the lut using a vtkImageMapToColors and return the output.

For color input images, the lut is still applied, but is applied to each color component (i.e. relative color distribution is not changed)

Used internally in SlicedImageProxy .

Used by CustusX

Definition at line 48 of file cxSlicedImageProxy.h.

Constructor & Destructor Documentation

cx::ApplyLUTToImage2DProxy::ApplyLUTToImage2DProxy ( )

Definition at line 35 of file cxSlicedImageProxy.cpp.

cx::ApplyLUTToImage2DProxy::~ApplyLUTToImage2DProxy ( )

Definition at line 43 of file cxSlicedImageProxy.cpp.

Member Function Documentation

vtkImageDataPtr cx::ApplyLUTToImage2DProxy::getOutput ( )

Definition at line 112 of file cxSlicedImageProxy.cpp.

vtkImageAlgorithmPtr cx::ApplyLUTToImage2DProxy::getOutputPort ( )

output 2D sliced image

Definition at line 107 of file cxSlicedImageProxy.cpp.

void cx::ApplyLUTToImage2DProxy::setInput ( vtkImageAlgorithmPtr  input,
vtkLookupTablePtr  lut 

Definition at line 56 of file cxSlicedImageProxy.cpp.

void cx::ApplyLUTToImage2DProxy::setInputData ( vtkImageDataPtr  image,
vtkLookupTablePtr  lut 

Definition at line 48 of file cxSlicedImageProxy.cpp.

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