NorMIT-nav
22.09
An IGT application
|
Helper class for applying sscLUT2D to an image. More...
#include <cxSlicedImageProxy.h>
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... | |
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.
cx::ApplyLUTToImage2DProxy::ApplyLUTToImage2DProxy | ( | ) |
Definition at line 35 of file cxSlicedImageProxy.cpp.
|
virtual |
Definition at line 43 of file cxSlicedImageProxy.cpp.
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.