43 #ifndef SVK_MRS_NOISE_H
44 #define SVK_MRS_NOISE_H
47 #include <vtkObject.h>
48 #include <vtkObjectFactory.h>
49 #include <vtkInformation.h>
50 #include <vtkStreamingDemandDrivenPipeline.h>
51 #include <vtkImageFourierFilter.h>
79 float GetMagnitudeNoiseSD();
80 float GetMeanBaseline();
81 float GetMagnitudeMeanBaseline();
82 void OnlyUseSelectionBox();
83 vtkFloatArray* GetAverageMagnitudeSpectrum();
84 virtual void PrintSelf( ostream &os, vtkIndent indent );
85 int GetNoiseStartPoint();
86 int GetNoiseEndPoint();
94 virtual int FillInputPortInformation(
int port, vtkInformation* info);
98 virtual int RequestInformation(
99 vtkInformation* request,
100 vtkInformationVector** inputVector,
101 vtkInformationVector* outputVector
103 virtual int RequestData(
104 vtkInformation* request,
105 vtkInformationVector** inputVector,
106 vtkInformationVector* outputVector
112 void InitAverageSpectrum();
113 void FindNoiseWindow();
114 void CalculateNoiseSD();
115 float CalcWindowSD( vtkFloatArray* spectrum,
float mean,
int startPt,
int endPt );
116 float CalcWindowMean( vtkFloatArray* spectrum,
int startPt,
int endPt );
121 float magnitudeNoiseSD;
122 float noiseWindowMean;
123 float magnitudeNoiseWindowMean;
124 int onlyUseSelectionBox;
125 short* selectionBoxMask;
126 vtkFloatArray* averageSpectrum;
127 int noiseWindowStartPt;
128 int noiseWindowEndPt;
129 float noiseWindowPercent;
139 #endif //SVK_MRS_NOISE_H
Definition: svkMRSNoise.h:70
Definition: svkImageInPlaceFilter.h:69