Medical Imaging Interaction Toolkit  2018.4.99-87d68d9f
Medical Imaging Interaction Toolkit
mitkBeamformingUtils.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef MITK_BEAMFORMING_FILTER_UTILS
14 #define MITK_BEAMFORMING_FILTER_UTILS
15 
16 #include "mitkImageToImageFilter.h"
17 #include <functional>
20 
21 namespace mitk {
26  class BeamformingUtils final
27  {
28  public:
29 
32  static void DASSphericalLine(float* input, float* output, float inputDim[2], float outputDim[2], const short& line, const mitk::BeamformingSettings::Pointer config);
33 
36  static void DMASSphericalLine(float* input, float* output, float inputDim[2], float outputDim[2], const short& line, const mitk::BeamformingSettings::Pointer config);
37 
40  static void sDMASSphericalLine(float* input, float* output, float inputDim[2], float outputDim[2], const short& line, const mitk::BeamformingSettings::Pointer config);
41 
45  static float* VonHannFunction(int samples);
46 
50  static float* HammFunction(int samples);
51 
55  static float* BoxFunction(int samples);
56 
59  static unsigned short* MinMaxLines(const mitk::BeamformingSettings::Pointer config);
60 
61  protected:
63 
65  };
66 } // namespace mitk
67 
68 #endif //MITK_BEAMFORMING_FILTER_UTILS
static void sDMASSphericalLine(float *input, float *output, float inputDim[2], float outputDim[2], const short &line, const mitk::BeamformingSettings::Pointer config)
Function to perform beamforming on CPU for a single line, using signed DMAS and spherical delay...
static char * line
Definition: svm.cpp:2870
static float * BoxFunction(int samples)
Function to create a Box apodization window.
static float * VonHannFunction(int samples)
Pointer holding the Von-Hann apodization window for beamforming.
static unsigned short * MinMaxLines(const mitk::BeamformingSettings::Pointer config)
DataCollection - Class to facilitate loading/accessing structured data.
static void DASSphericalLine(float *input, float *output, float inputDim[2], float outputDim[2], const short &line, const mitk::BeamformingSettings::Pointer config)
Function to perform beamforming on CPU for a single line, using DAS and spherical delay...
Class implementing util functionality for beamforming on CPU.
static float * HammFunction(int samples)
Function to create a Hamming apodization window.
static void DMASSphericalLine(float *input, float *output, float inputDim[2], float outputDim[2], const short &line, const mitk::BeamformingSettings::Pointer config)
Function to perform beamforming on CPU for a single line, using DMAS and spherical delay...