Medical Imaging Interaction Toolkit  2023.12.00
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 41 of file mitkThreadedToFRawDataReconstruction.h.

Constructor & Destructor Documentation

◆ ThreadedToFRawDataReconstruction()

mitk::ThreadedToFRawDataReconstruction::ThreadedToFRawDataReconstruction ( )
protected

standard constructor

◆ ~ThreadedToFRawDataReconstruction()

mitk::ThreadedToFRawDataReconstruction::~ThreadedToFRawDataReconstruction ( )
protected

standard destructor

Member Function Documentation

◆ BeforeThreadedGenerateData()

virtual void mitk::ThreadedToFRawDataReconstruction::BeforeThreadedGenerateData ( )
protectedvirtual

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

◆ Clone()

Pointer mitk::ThreadedToFRawDataReconstruction::Clone ( ) const

◆ GenerateData()

virtual 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

◆ GetAllData()

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

◆ GetAmplitudes()

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

◆ GetDistances()

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

◆ GetInit()

virtual bool mitk::ThreadedToFRawDataReconstruction::GetInit ( )
virtual

◆ GetIntensities()

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

◆ Initialize()

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

◆ mitkClassMacroItkParent()

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

◆ New()

static Pointer mitk::ThreadedToFRawDataReconstruction::New ( )
static

◆ 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)

◆ ThreadedGenerateDataCallbackFunction()

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

threader callback function for multi threaded data generation

◆ Update()

void mitk::ThreadedToFRawDataReconstruction::Update ( )

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 file: