MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitk::ThreadedToFRawDataReconstruction Class Reference

#include <mitkThreadedToFRawDataReconstruction.h>

Inheritance diagram for mitk::ThreadedToFRawDataReconstruction:

Public Member Functions

 mitkClassMacroItkParent (ThreadedToFRawDataReconstruction, itk::ProcessObject)
 
 itkFactorylessNewMacro (Self)
 
 itkCloneMacro (Self)
 
 itkGetMacro (Init, bool)
 
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 ()
 

Protected Member Functions

 ThreadedToFRawDataReconstruction ()
 standard constructor
 
 ~ThreadedToFRawDataReconstruction ()
 standard destructor
 
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
 
virtual void BeforeThreadedGenerateData ()
 method configures the camera output and prepares the thread data struct for threaded data generation
 
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.
 

Static Protected Member Functions

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

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
 
float * m_CISAmpl
 holds the amplitude information from for one amplitude image slice
 
float * m_CISInten
 holds the intensity information from for one intensity image slice
 
float * m_ThreadedCISDist
 
float * m_ThreadedCISAmpl
 
float * m_ThreadedCISInten
 
itk::MultiThreader::Pointer m_Threader
 
ThreadDataStructm_ThreadData
 

Detailed Description

Definition at line 41 of file mitkThreadedToFRawDataReconstruction.h.

Constructor & Destructor Documentation

◆ ThreadedToFRawDataReconstruction()

mitk::ThreadedToFRawDataReconstruction::ThreadedToFRawDataReconstruction ( )
protected

standard constructor

Definition at line 44 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ ~ThreadedToFRawDataReconstruction()

mitk::ThreadedToFRawDataReconstruction::~ThreadedToFRawDataReconstruction ( )
protected

standard destructor

Definition at line 58 of file mitkThreadedToFRawDataReconstruction.cpp.

Member Function Documentation

◆ BeforeThreadedGenerateData()

void mitk::ThreadedToFRawDataReconstruction::BeforeThreadedGenerateData ( )
protectedvirtual

method configures the camera output and prepares the thread data struct for threaded data generation

Definition at line 149 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ GenerateData()

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 141 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ GetAllData()

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

Definition at line 134 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ GetAmplitudes()

void mitk::ThreadedToFRawDataReconstruction::GetAmplitudes ( float * ampl)

Definition at line 124 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ GetDistances()

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

Definition at line 119 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ GetIntensities()

void mitk::ThreadedToFRawDataReconstruction::GetIntensities ( float * inten)

Definition at line 129 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ Initialize()

void mitk::ThreadedToFRawDataReconstruction::Initialize ( int width,
int height,
int modulationFrequency,
int sourceDataSize )

Definition at line 83 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ itkCloneMacro()

mitk::ThreadedToFRawDataReconstruction::itkCloneMacro ( Self )

◆ itkFactorylessNewMacro()

mitk::ThreadedToFRawDataReconstruction::itkFactorylessNewMacro ( Self )

◆ itkGetMacro()

mitk::ThreadedToFRawDataReconstruction::itkGetMacro ( Init ,
bool  )

◆ mitkClassMacroItkParent()

mitk::ThreadedToFRawDataReconstruction::mitkClassMacroItkParent ( ThreadedToFRawDataReconstruction ,
itk::ProcessObject  )

◆ ResizeOutputImage()

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.

◆ SetChannelData()

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

Definition at line 114 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ ThreadedGenerateDataCallbackFunction()

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

threader callback function for multi threaded data generation

Definition at line 227 of file mitkThreadedToFRawDataReconstruction.cpp.

◆ Update()

void mitk::ThreadedToFRawDataReconstruction::Update ( )

Definition at line 322 of file mitkThreadedToFRawDataReconstruction.cpp.

Member Data Documentation

◆ m_CISAmpl

float* mitk::ThreadedToFRawDataReconstruction::m_CISAmpl
protected

holds the amplitude information from for one amplitude image slice

Definition at line 103 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_CISDist

float* mitk::ThreadedToFRawDataReconstruction::m_CISDist
protected

holds the distance information from for one distance image slice

Definition at line 102 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_CISInten

float* mitk::ThreadedToFRawDataReconstruction::m_CISInten
protected

holds the intensity information from for one intensity image slice

Definition at line 104 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_Height

int mitk::ThreadedToFRawDataReconstruction::m_Height
protected

Definition at line 96 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_ImageSize

int mitk::ThreadedToFRawDataReconstruction::m_ImageSize
protected

Definition at line 97 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_Init

bool mitk::ThreadedToFRawDataReconstruction::m_Init
protected

Definition at line 100 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_SourceData

vtkShortArray* mitk::ThreadedToFRawDataReconstruction::m_SourceData
protected

Definition at line 99 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_SourceDataSize

int mitk::ThreadedToFRawDataReconstruction::m_SourceDataSize
protected

Definition at line 98 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_StackSize

int mitk::ThreadedToFRawDataReconstruction::m_StackSize
protected

Definition at line 94 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_ThreadData

ThreadDataStruct* mitk::ThreadedToFRawDataReconstruction::m_ThreadData
protected

Definition at line 110 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_ThreadedCISAmpl

float* mitk::ThreadedToFRawDataReconstruction::m_ThreadedCISAmpl
protected

Definition at line 106 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_ThreadedCISDist

float* mitk::ThreadedToFRawDataReconstruction::m_ThreadedCISDist
protected

Definition at line 105 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_ThreadedCISInten

float* mitk::ThreadedToFRawDataReconstruction::m_ThreadedCISInten
protected

Definition at line 107 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_Threader

itk::MultiThreader::Pointer mitk::ThreadedToFRawDataReconstruction::m_Threader
protected

Definition at line 109 of file mitkThreadedToFRawDataReconstruction.h.

◆ m_Width

int mitk::ThreadedToFRawDataReconstruction::m_Width
protected

Definition at line 95 of file mitkThreadedToFRawDataReconstruction.h.


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