GOFIGURE2
0.9.0
|
Specialization of GoImageProcessor to handle mega capture files. More...
#include <Code/IO/GoImage/GoMegaImageProcessor.h>
Public Member Functions | |
GoMegaImageProcessor () | |
virtual void | initTimePoint (const unsigned int &iTime) |
load all the channels for the given time point into the GoMegaImageStructure More... | |
virtual void | setDoppler (const unsigned int &iTime, const unsigned int &iPrevious) |
load all time points of the given channel into the GoMegaImageStructure. Called Doppler View. More... | |
void | setReader (itk::MegaCaptureReader::Pointer iReader) |
Set the reader. More... | |
virtual void | setTimePoint (const unsigned int &iTime) |
update images from the current GoMegaImageStructure More... | |
virtual | ~GoMegaImageProcessor () |
![]() | |
vtkSmartPointer< vtkLookupTable > | createLUT (const double &iRed, const double &iGreen, const double &iBlue, const double &iAlpha) |
create a lookuptable (LUT) given r, g, b, a and range LUT will go from black to the color. More... | |
std::map< unsigned int, unsigned int > | getAlpha (const std::string &iName) const |
get points to update r, g, b and a TFs in TF editor. More... | |
unsigned int * | getBoundsChannel () |
unsigned int * | getBoundsTime () |
std::string | getChannelName (const unsigned int &iIndex) |
get name of a channel given its index. More... | |
std::vector< double > | getColor (const std::string &iName) const |
get color from channel name. More... | |
std::vector< vtkImageData * > | getColoredImages () |
get all the visible images colored separately (N images). More... | |
unsigned int | getDopplerChannel () |
bool | getDopplerMode () |
unsigned int | getDopplerSize () |
unsigned int | getDopplerStep () |
std::vector< int > | getDopplerTime (unsigned int iTime) |
int * | getExtent () |
vtkSmartPointer < vtkImageAccumulate > | getHistogram (const std::string &iName) const |
get histogram from 1 channel image More... | |
vtkSmartPointer< vtkImageData > | getImageBW (const std::string &iName) |
get raw (not colored) image given index More... | |
vtkSmartPointer< vtkImageData > | getImageBW (const unsigned int &iIndex) |
vtkSmartPointer< vtkImageData > | getImageBW () |
get first raw (not colored) visible image More... | |
template<class PixelType , const unsigned int VImageDimension> | |
itk::Image< PixelType, VImageDimension >::Pointer | getImageITK (std::string iIndex, bool iIsInverted=false) |
get an ITK image (vs vtkImageData) given its index More... | |
vtkSmartPointer< vtkLookupTable > | getLookuptable (const std::string &iName) const |
get LUT from channel name. Useful for the Transfer function editor. More... | |
vtkSmartPointer< vtkLookupTable > | getLookuptable () const |
get LUT of the first visible channel. Useful is we are in single channel visualization mode. More... | |
std::vector< int > | getLUTParameters (const std::string &iName) |
int | getMaxImage () |
int | getMaxThreshold () |
unsigned int | getNumberOfChannels () |
unsigned int | getNumberOfTimePoints () |
unsigned int | getNumberOfVisibleChannels () |
get number of visible channels More... | |
vtkSmartPointer < vtkPiecewiseFunction > | getOpacityTransferFunction (const std::string &iName) const |
get opacity from channel name. Useful for the transfer function editor while volume rendering. More... | |
std::vector < vtkPiecewiseFunction * > | getOpacityTransferFunctions () |
get vector of visible opacity transfer functions. Useful for the transfer function editor while volume rendering. More... | |
unsigned int | getTimeInterval () const |
vtkSmartPointer< vtkImageData > | getVisibleImages () |
get all the -visible- images present in the containerl. Colors the image and combuine them into 1 image. More... | |
GoImageProcessor () | |
GoImageProcessor (const GoImageProcessor &iE) | |
void | setColor (const std::string &iName, std::vector< double > &iColor) |
void | setDopplerMode (const bool &iEnable, const unsigned int &iChannel) |
void | setDopplerSize (int iSize) |
void | setDopplerStep (unsigned int iStep) |
void | setLUTParameters (const std::string &iName, int iGamma, int iMin, int iMax) |
void | updatePoints (std::string iChannel, std::map< unsigned int, unsigned int > iPointsAlpha) |
store points from TF editor More... | |
void | visibilityChanged (std::string iName, bool iVisibility) |
change visibility of one channel given its name. More... | |
virtual | ~GoImageProcessor () |
Private Attributes | |
itk::MegaCaptureReader::Pointer | m_MegaImageReader |
Additional Inherited Members | |
![]() | |
vtkSmartPointer< vtkImageData > | colorImage (vtkSmartPointer< vtkImageData > iImage, vtkSmartPointer< vtkLookupTable > iLUT) |
![]() | |
unsigned int | m_BoundsChannel [2] |
unsigned int | m_BoundsTime [2] |
unsigned int | m_CurrentTimePoint |
unsigned int | m_DopplerChannel |
bool | m_DopplerMode |
unsigned int | m_DopplerSize |
unsigned int | m_DopplerStep |
std::vector< int > | m_DopplerTime |
int | m_Extent [6] |
int | m_MaxImage |
int | m_MaxThreshold |
GoMegaImageStructureMultiIndexContainer | m_MegaImageContainer |
vtkSmartPointer< vtkImageData > | m_Output |
unsigned int | m_TimeInterval |
Specialization of GoImageProcessor to handle mega capture files.
Definition at line 50 of file GoMegaImageProcessor.h.
|
inline |
Definition at line 53 of file GoMegaImageProcessor.h.
|
inlinevirtual |
Definition at line 54 of file GoMegaImageProcessor.h.
|
virtual |
load all the channels for the given time point into the GoMegaImageStructure
[in] | iTime | requested time point |
Implements GoImageProcessor.
Definition at line 61 of file GoMegaImageProcessor.cxx.
|
virtual |
load all time points of the given channel into the GoMegaImageStructure. Called Doppler View.
[in] | iTime | requested central time point |
[in] | iPrevious | -to be used for optimization? |
Implements GoImageProcessor.
Definition at line 216 of file GoMegaImageProcessor.cxx.
void GoMegaImageProcessor::setReader | ( | itk::MegaCaptureReader::Pointer | iReader | ) |
Set the reader.
[in] | iReader | Pointer to the reader |
Definition at line 42 of file GoMegaImageProcessor.cxx.
|
virtual |
update images from the current GoMegaImageStructure
[in] | iTime | requested time point |
Implements GoImageProcessor.
Definition at line 155 of file GoMegaImageProcessor.cxx.
|
private |
Definition at line 69 of file GoMegaImageProcessor.h.