Medical Imaging Interaction Toolkit  2018.4.99-bd7b41ba
Medical Imaging Interaction Toolkit
mitkPhotoacousticFilterService.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 mitkPhotoacousticFilterService_H_HEADER_INCLUDED
14 #define mitkPhotoacousticFilterService_H_HEADER_INCLUDED
15 
16 #include "itkObject.h"
17 #include "mitkCommon.h"
18 #include "mitkImage.h"
19 #include <functional>
20 
22 #include "mitkBeamformingFilter.h"
24 
25 namespace mitk {
37  {
38  public:
40  itkFactorylessNewMacro(Self);
41 
46 
56  mitk::Image::Pointer ApplyBmodeFilter(mitk::Image::Pointer inputImage,
57  BModeMethod method = BModeMethod::Abs,
58  bool UseLogFilter = false);
59 
67  mitk::Image::Pointer ApplyResampling(mitk::Image::Pointer inputImage, double* outputSpacing);
68 
69  mitk::Image::Pointer ApplyResamplingToDim(mitk::Image::Pointer inputImage, double* outputDimension);
70 
80  mitk::Image::Pointer ApplyBeamforming(mitk::Image::Pointer inputImage, BeamformingSettings::Pointer config, std::function<void(int, std::string)> progressHandle = [](int, std::string) {});
81 
94  mitk::Image::Pointer ApplyCropping(mitk::Image::Pointer inputImage, int above, int below, int right, int left, int minSlice, int maxSlice, int* errCode);
95 
96  mitk::Image::Pointer ExtendImage(mitk::Image::Pointer inputImage, float pixelColor, unsigned int outputDimensionY);
97 
108  mitk::Image::Pointer ApplyBandpassFilter(mitk::Image::Pointer data,
109  float BPHighPass, float BPLowPass,
110  float alphaHighPass, float alphaLowPass,
111  float timeSpacing, float SpeedOfSound, bool IsBFImage);
112 
113  protected:
115  ~PhotoacousticFilterService() override;
116 
121 
123  };
124 } // namespace mitk
125 
126 #endif /* mitkPhotoacousticFilterService_H_HEADER_INCLUDED */
Class holding methods to apply all Filters within the Photoacoustics Algorithms Module.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKPHOTOACOUSTICSALGORITHMS_EXPORT
mitk::BeamformingFilter::Pointer m_BeamformingFilter
For performance reasons, an instance of the Beamforming filter is initialized as soon as possible and...
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
BModeMethod
Defines the methods for the B-Mode filter Currently implemented are an Envelope Detection filter and ...