43 #ifndef SVK_MRS_PEAK_PICK_H
44 #define SVK_MRS_PEAK_PICK_H
47 #include <vtkObject.h>
48 #include <vtkObjectFactory.h>
49 #include <vtkInformation.h>
50 #include <vtkStreamingDemandDrivenPipeline.h>
77 void SetNoiseSD(
float noise);
78 void SetBaselineValue(
float baseline);
79 void SetSNLimit(
float sn);
80 void SetResolutionHeightFraction(
float resolveHeightFraction);
81 void OnlyUseSelectionBox();
83 float GetPeakHeight( vtkFloatArray* spectrum,
int peakNum );
84 float GetPeakSymmetry( vtkFloatArray* spectrum,
int peakNum );
85 float GetPeakHeightAtPeakPos( vtkFloatArray* spectrum,
int peakNum );
86 float GetPeakArea( vtkFloatArray* spectrum,
int peakNum );
87 float GetAvRMSPeakHeight(
int peakNum );
88 virtual void PrintSelf( ostream &os, vtkIndent indent );
90 void GetPeakDefinition(
int peakNum,
int* startPt,
int* peakPt,
int* EndPt );
99 virtual int FillInputPortInformation(
int port, vtkInformation* info);
103 virtual int RequestInformation(
104 vtkInformation* request,
105 vtkInformationVector** inputVector,
106 vtkInformationVector* outputVector
108 virtual int RequestData(
109 vtkInformation* request,
110 vtkInformationVector** inputVector,
111 vtkInformationVector* outputVector
118 void InitPeakVector( vector<int>* peak,
int startPt,
int peakPt,
int endPt);
119 void RefinePeakRanges();
126 float resolveHeightFraction;
127 int onlyUseSelectionBox;
128 short* selectionBoxMask;
129 vtkFloatArray* averageSpectrum;
132 vector < float > peakHeightVector;
141 #endif //SVK_MRS_PEAK_PICK_H
vector< vector< float > > peakVector
Definition: svkMRSPeakPick.cc:440
Definition: svkMRSPeakPick.h:69
Definition: svkImageInPlaceFilter.h:69