Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef mitkThreadedToFRawDataReconstruction_h
13 #define mitkThreadedToFRawDataReconstruction_h
17 #include <MitkPMDExports.h>
20 #include <itkBarrier.h>
21 #include <itkFastMutexLock.h>
24 #include "vtkShortArray.h"
46 itkFactorylessNewMacro(Self);
48 itkGetMacro(Init,
bool);
50 void SetChannelData(vtkShortArray* sourceData);
52 void Initialize(
int width,
int height,
int modulationFrequency,
int sourceDataSize );
54 void GetDistances(
float* dist);
55 void GetAmplitudes(
float* ampl);
56 void GetIntensities(
float* inten);
57 void GetAllData(
float* dist,
float* ampl,
float* inten);
75 virtual void GenerateData();
81 virtual void BeforeThreadedGenerateData();
86 static ITK_THREAD_RETURN_TYPE ThreadedGenerateDataCallbackFunction(
void* data);
91 void ResizeOutputImage(
float* in,
float* out);
ThreadDataStruct * m_ThreadData
float * m_ThreadedCISDist
std::vector< std::vector< short > > m_InputData
itk::FastMutexLock::Pointer m_ThreadDataMutex
mutex to control access to images
vtkShortArray * m_SourceData
itk::FastMutexLock::Pointer m_ImageDataMutex
mutex for coordinated access to image data
itk::MultiThreader::Pointer m_Threader
unsigned int m_FrameHeight
float * m_CISInten
holds the intensity information from for one intensity image slice
#define mitkClassMacroItkParent(className, SuperClassName)
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< float * > m_OutputData
float * m_CISAmpl
holds the amplitude information from for one amplitude image slice
unsigned int m_ModulationFrequency
float * m_ThreadedCISAmpl
itk::Barrier::Pointer m_Barrier
barrier to synchronize ends of threads
float * m_CISDist
holds the distance information from for one distance image slice
float * m_ThreadedCISInten