SIVIC API
0.9.26
|
#include <svkMRSPeakPick.h>
Public Member Functions | |
vtkTypeMacro (svkMRSPeakPick, svkImageInPlaceFilter) | |
void | SetNoiseSD (float noise) |
void | SetBaselineValue (float baseline) |
void | SetSNLimit (float sn) |
void | SetResolutionHeightFraction (float resolveHeightFraction) |
void | OnlyUseSelectionBox () |
void | PrintPeaks () |
float | GetPeakHeight (vtkFloatArray *spectrum, int peakNum) |
float | GetPeakSymmetry (vtkFloatArray *spectrum, int peakNum) |
float | GetPeakHeightAtPeakPos (vtkFloatArray *spectrum, int peakNum) |
float | GetPeakArea (vtkFloatArray *spectrum, int peakNum) |
float | GetAvRMSPeakHeight (int peakNum) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
int | GetNumPeaks () |
void | GetPeakDefinition (int peakNum, int *startPt, int *peakPt, int *EndPt) |
Public Member Functions inherited from svkImageInPlaceFilter | |
vtkTypeMacro (svkImageInPlaceFilter, vtkImageInPlaceFilter) | |
svkImageData * | GetOutput () |
svkImageData * | GetOutput (int port) |
svkImageData * | GetImageDataInput (int port) |
Static Public Member Functions | |
static svkMRSPeakPick * | New () |
Protected Member Functions | |
svkMRSPeakPick () | |
~svkMRSPeakPick () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Member Functions inherited from svkImageInPlaceFilter | |
svkImageInPlaceFilter () | |
~svkImageInPlaceFilter () | |
virtual int | FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
virtual int | FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
Class to identify noise region and compute noise SD in spectra. Uses average magnitude spectrum to first identify region with smallest SD. This region is likely to be noise rather than signal. Once the region is defined, the noise SD is computed as an average value of noise SD computed at each voxel over the identified frequency range.
|
protected |
|
protected |
|
protectedvirtual |
float GetAvRMSPeakHeight | ( | int | peakNum | ) |
Returns the peak height for the specified peak in the average RMS spectrum. This is the peak height that was detected in the peak picking process.
Referenced by svkMRSZeroOrderPhase::GetLargestZeroOrderPhasePeak().
int GetNumPeaks | ( | ) |
Referenced by svkMRSZeroOrderPhase::GetLargestZeroOrderPhasePeak().
float GetPeakArea | ( | vtkFloatArray * | spectrum, |
int | peakNum | ||
) |
Returns the real valued peak height in the range defined for the specified peak number.
void GetPeakDefinition | ( | int | peakNum, |
int * | startPt, | ||
int * | peakPt, | ||
int * | endPt | ||
) |
prints peak definition
float GetPeakHeight | ( | vtkFloatArray * | spectrum, |
int | peakNum | ||
) |
Returns the real valued peak height in the range defined for the specified peak number.
float GetPeakHeightAtPeakPos | ( | vtkFloatArray * | spectrum, |
int | peakNum | ||
) |
Returns the real valued peak height in the range defined for the specified peak number.
float GetPeakSymmetry | ( | vtkFloatArray * | spectrum, |
int | peakNum | ||
) |
Returns the peak symmetry (the closer to 0, the more symmetric.
|
static |
void OnlyUseSelectionBox | ( | ) |
Sets the linear phase to apply to spectra.
void PrintPeaks | ( | ) |
Referenced by svkMRSPeakPick::RequestData().
|
virtual |
PrintSelf method calls parent class PrintSelf, then prints the dcos.
|
protectedvirtual |
References svkMRSNoise::GetAverageMagnitudeSpectrum(), svkImageInPlaceFilter::GetImageDataInput(), svkMRSNoise::GetMagnitudeMeanBaseline(), svkMRSNoise::GetMagnitudeNoiseSD(), svkMRSNoise::New(), svkMRSNoise::OnlyUseSelectionBox(), svkMRSPeakPick::PrintPeaks(), svkMRSPeakPick::SetBaselineValue(), and svkMRSPeakPick::SetNoiseSD().
|
protectedvirtual |
void SetBaselineValue | ( | float | baseline | ) |
Get the mean value of the baseline in the window used for SD calc.
Referenced by svkMRSPeakPick::RequestData().
void SetNoiseSD | ( | float | noise | ) |
Set the noise SD
Referenced by svkMRSPeakPick::RequestData().
void SetResolutionHeightFraction | ( | float | resolveHeightFraction | ) |
Set the fractional resolve height. For example, does a peak need to be resolved at fwhh to be detected. If so set to 0.5. If the peak only needs to be resolved at 0.7 of max then set to 0.7.
void SetSNLimit | ( | float | sn | ) |
vtkTypeMacro | ( | svkMRSPeakPick | , |
svkImageInPlaceFilter | |||
) |