13 #ifndef _MITKPHOTOACOUSTICSOCLBEAMFORMER_H_ 14 #define _MITKPHOTOACOUSTICSOCLBEAMFORMER_H_ 16 #include <itkObject.h> 18 #if defined(PHOTOACOUSTICS_USE_GPU) || DOXYGEN 36 class PhotoacousticOCLBeamformingFilter :
public OclDataSetToDataSetFilter,
public itk::Object
49 void SetInput(
void* data,
unsigned int* dimensions,
unsigned int BpE);
64 void SetApodisation(
const float* apodisation,
unsigned short apodArraySize)
66 m_ApodArraySize = apodArraySize;
67 m_Apodisation = apodisation;
79 void UpdateDataBuffers();
86 return mitk::MakeScalarPixelType<float>();
98 cl_kernel m_PixelCalculation;
100 unsigned int m_OutputDim[3];
102 const float* m_Apodisation;
103 unsigned short m_ApodArraySize;
104 unsigned int m_inputSlices;
106 unsigned short m_PAImage;
108 BeamformingSettings::Pointer m_Conf;
112 size_t m_ChunkSize[3];
114 mitk::OCLUsedLinesCalculation::Pointer m_UsedLinesCalculation;
115 mitk::OCLDelayCalculation::Pointer m_DelayCalculation;
117 cl_mem m_ApodizationBuffer;
118 cl_mem m_DelaysBuffer;
119 cl_mem m_UsedLinesBuffer;
120 cl_mem m_ElementHeightsBuffer;
121 cl_mem m_ElementPositionsBuffer;
#define mitkNewMacro1Param(classname, type)
static void Update(vtkPolyData *)
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
mitk::Image::Pointer image
Class for defining the data type of pixels.