Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ThreadedToFRawDataReconstruction Class Reference

#include <mitkThreadedToFRawDataReconstruction.h>

Inheritance diagram for mitk::ThreadedToFRawDataReconstruction:
Collaboration diagram for mitk::ThreadedToFRawDataReconstruction:

Public Member Functions

 mitkClassMacroItkParent (ThreadedToFRawDataReconstruction, itk::ProcessObject)
 
Pointer Clone () const
 
virtual bool GetInit ()
 
void SetChannelData (vtkShortArray *sourceData)
 
void Initialize (int width, int height, int modulationFrequency, int sourceDataSize)
 
void GetDistances (float *dist)
 
void GetAmplitudes (float *ampl)
 
void GetIntensities (float *inten)
 
void GetAllData (float *dist, float *ampl, float *inten)
 
void Update ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ThreadedToFRawDataReconstruction ()
 standard constructor More...
 
 ~ThreadedToFRawDataReconstruction ()
 standard destructor More...
 
virtual void GenerateData ()
 method generating the outputs of this filter. Called in the updated process of the pipeline. This method generates the two outputs of the ToFImageSource: The distance and the intensity image More...
 
virtual void BeforeThreadedGenerateData ()
 method configures the camera output and prepares the thread data struct for threaded data generation More...
 
void ResizeOutputImage (float *in, float *out)
 Method to reduce image size from original controller size to output size (200x200px) and rotate the image. This is needed due to defect pixel rows at the rim of the chip. More...
 

Static Protected Member Functions

static ITK_THREAD_RETURN_TYPE ThreadedGenerateDataCallbackFunction (void *data)
 threader callback function for multi threaded data generation More...
 

Protected Attributes

int m_StackSize
 
int m_Width
 
int m_Height
 
int m_ImageSize
 
int m_SourceDataSize
 
vtkShortArray * m_SourceData
 
bool m_Init
 
float * m_CISDist
 holds the distance information from for one distance image slice More...
 
float * m_CISAmpl
 holds the amplitude information from for one amplitude image slice More...
 
float * m_CISInten
 holds the intensity information from for one intensity image slice More...
 
float * m_ThreadedCISDist
 
float * m_ThreadedCISAmpl
 
float * m_ThreadedCISInten
 
itk::MultiThreader::Pointer m_Threader
 
ThreadDataStructm_ThreadData
 

Detailed Description

Definition at line 45 of file mitkThreadedToFRawDataReconstruction.h.

Constructor & Destructor Documentation

mitk::ThreadedToFRawDataReconstruction::ThreadedToFRawDataReconstruction ( )
protected
mitk::ThreadedToFRawDataReconstruction::~ThreadedToFRawDataReconstruction ( )
protected

Member Function Documentation

Pointer mitk::ThreadedToFRawDataReconstruction::Clone ( ) const
void mitk::ThreadedToFRawDataReconstruction::GenerateData ( )
protectedvirtual

method generating the outputs of this filter. Called in the updated process of the pipeline. This method generates the two outputs of the ToFImageSource: The distance and the intensity image

Definition at line 149 of file mitkThreadedToFRawDataReconstruction.cpp.

References BeforeThreadedGenerateData(), and m_Init.

Referenced by Update().

void mitk::ThreadedToFRawDataReconstruction::GetAllData ( float *  dist,
float *  ampl,
float *  inten 
)
void mitk::ThreadedToFRawDataReconstruction::GetAmplitudes ( float *  ampl)

Definition at line 132 of file mitkThreadedToFRawDataReconstruction.cpp.

References m_CISAmpl, and m_ImageSize.

void mitk::ThreadedToFRawDataReconstruction::GetDistances ( float *  dist)

Definition at line 127 of file mitkThreadedToFRawDataReconstruction.cpp.

References m_CISDist, and m_ImageSize.

virtual bool mitk::ThreadedToFRawDataReconstruction::GetInit ( )
virtual
void mitk::ThreadedToFRawDataReconstruction::GetIntensities ( float *  inten)

Definition at line 137 of file mitkThreadedToFRawDataReconstruction.cpp.

References m_CISInten, and m_ImageSize.

void mitk::ThreadedToFRawDataReconstruction::Initialize ( int  width,
int  height,
int  modulationFrequency,
int  sourceDataSize 
)
mitk::ThreadedToFRawDataReconstruction::mitkClassMacroItkParent ( ThreadedToFRawDataReconstruction  ,
itk::ProcessObject   
)
static Pointer mitk::ThreadedToFRawDataReconstruction::New ( )
static
void mitk::ThreadedToFRawDataReconstruction::ResizeOutputImage ( float *  in,
float *  out 
)
protected

Method to reduce image size from original controller size to output size (200x200px) and rotate the image. This is needed due to defect pixel rows at the rim of the chip.

void mitk::ThreadedToFRawDataReconstruction::SetChannelData ( vtkShortArray *  sourceData)

Definition at line 122 of file mitkThreadedToFRawDataReconstruction.cpp.

References m_SourceData.

ITK_THREAD_RETURN_TYPE mitk::ThreadedToFRawDataReconstruction::ThreadedGenerateDataCallbackFunction ( void *  data)
staticprotected
void mitk::ThreadedToFRawDataReconstruction::Update ( )

Definition at line 331 of file mitkThreadedToFRawDataReconstruction.cpp.

References GenerateData().

Member Data Documentation

float* mitk::ThreadedToFRawDataReconstruction::m_CISAmpl
protected

holds the amplitude information from for one amplitude image slice

Definition at line 108 of file mitkThreadedToFRawDataReconstruction.h.

Referenced by BeforeThreadedGenerateData(), GetAllData(), GetAmplitudes(), Initialize(), and ~ThreadedToFRawDataReconstruction().

float* mitk::ThreadedToFRawDataReconstruction::m_CISDist
protected

holds the distance information from for one distance image slice

Definition at line 107 of file mitkThreadedToFRawDataReconstruction.h.

Referenced by BeforeThreadedGenerateData(), GetAllData(), GetDistances(), Initialize(), and ~ThreadedToFRawDataReconstruction().

float* mitk::ThreadedToFRawDataReconstruction::m_CISInten
protected

holds the intensity information from for one intensity image slice

Definition at line 109 of file mitkThreadedToFRawDataReconstruction.h.

Referenced by BeforeThreadedGenerateData(), GetAllData(), GetIntensities(), Initialize(), and ~ThreadedToFRawDataReconstruction().

int mitk::ThreadedToFRawDataReconstruction::m_Height
protected
int mitk::ThreadedToFRawDataReconstruction::m_ImageSize
protected
bool mitk::ThreadedToFRawDataReconstruction::m_Init
protected

Definition at line 105 of file mitkThreadedToFRawDataReconstruction.h.

Referenced by GenerateData(), and Initialize().

vtkShortArray* mitk::ThreadedToFRawDataReconstruction::m_SourceData
protected
int mitk::ThreadedToFRawDataReconstruction::m_SourceDataSize
protected
int mitk::ThreadedToFRawDataReconstruction::m_StackSize
protected
ThreadDataStruct* mitk::ThreadedToFRawDataReconstruction::m_ThreadData
protected
float* mitk::ThreadedToFRawDataReconstruction::m_ThreadedCISAmpl
protected
float* mitk::ThreadedToFRawDataReconstruction::m_ThreadedCISDist
protected
float* mitk::ThreadedToFRawDataReconstruction::m_ThreadedCISInten
protected
itk::MultiThreader::Pointer mitk::ThreadedToFRawDataReconstruction::m_Threader
protected

Definition at line 114 of file mitkThreadedToFRawDataReconstruction.h.

Referenced by BeforeThreadedGenerateData().

int mitk::ThreadedToFRawDataReconstruction::m_Width
protected

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