SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
svkMRSNoise Class Reference

#include <svkMRSNoise.h>

Inheritance diagram for svkMRSNoise:
svkImageInPlaceFilter

Public Member Functions

 vtkTypeMacro (svkMRSNoise, svkImageInPlaceFilter)
 
float GetNoiseSD ()
 
float GetMagnitudeNoiseSD ()
 
float GetMeanBaseline ()
 
float GetMagnitudeMeanBaseline ()
 
void OnlyUseSelectionBox ()
 
vtkFloatArray * GetAverageMagnitudeSpectrum ()
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
int GetNoiseStartPoint ()
 
int GetNoiseEndPoint ()
 
- Public Member Functions inherited from svkImageInPlaceFilter
 vtkTypeMacro (svkImageInPlaceFilter, vtkImageInPlaceFilter)
 
svkImageDataGetOutput ()
 
svkImageDataGetOutput (int port)
 
svkImageDataGetImageDataInput (int port)
 

Static Public Member Functions

static svkMRSNoiseNew ()
 

Protected Member Functions

 svkMRSNoise ()
 
 ~svkMRSNoise ()
 
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)
 

Detailed Description

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.

Constructor & Destructor Documentation

svkMRSNoise ( )
protected
~svkMRSNoise ( )
protected

Member Function Documentation

int FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual
vtkFloatArray * GetAverageMagnitudeSpectrum ( )

Returns the average (RMS) magnitude spectrum

Referenced by svkMRSPeakPick::RequestData().

float GetMagnitudeMeanBaseline ( )

Get the mean value of the baseline in the window used for SD calc.

Referenced by svkMRSPeakPick::RequestData().

float GetMagnitudeNoiseSD ( )

Get the noise SD from average magnitude spectrum

Referenced by svkMRSPeakPick::RequestData().

float GetMeanBaseline ( )

Get the mean value of the baseline in the window used for SD calc.

int GetNoiseEndPoint ( )

Get the start point for the noise window.

float GetNoiseSD ( )

Get the noise SD

int GetNoiseStartPoint ( )

Get the start point for the noise window.

static svkMRSNoise* New ( )
static
void OnlyUseSelectionBox ( )

Sets the linear phase to apply to spectra.

Referenced by svkMRSPeakPick::RequestData().

void PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

PrintSelf method calls parent class PrintSelf, then prints the dcos.

int RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
int RequestInformation ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
vtkTypeMacro ( svkMRSNoise  ,
svkImageInPlaceFilter   
)

The documentation for this class was generated from the following files: