SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
svkDynamicImageMap Class Referenceabstract

#include <svkDynamicImageMap.h>

Inheritance diagram for svkDynamicImageMap:
svkImageAlgorithm svkDCEBasicFit svkDSCPeakHeight svkDSCRecovery

Public Member Functions

 vtkTypeMacro (svkDynamicImageMap, svkImageAlgorithm)
 
void SetSeriesDescription (vtkstd::string newSeriesDescription)
 
void SetOutputDataType (svkDcmHeader::DcmPixelDataFormat dataType)
 
void SetZeroCopy (bool zeroCopy)
 
void SetNormalize ()
 
- Public Member Functions inherited from svkImageAlgorithm
 vtkTypeMacro (svkImageAlgorithm, vtkImageAlgorithm)
 
svkImageDataGetOutput ()
 
svkImageDataGetOutput (int port)
 
svkImageDataGetImageDataInput (int port)
 

Protected Member Functions

 svkDynamicImageMap ()
 
 ~svkDynamicImageMap ()
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
void ZeroData ()
 
virtual int FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 
virtual int FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 
virtual void UpdateProvenance ()
 
virtual void GenerateMaps ()=0
 
virtual double GetNoise (float *imgPtr)
 
double GetNormalizationFactor ()
 
void GetRegression (int voxelID, int startPt, int endPt, double &slope, double &intercept)
 
- Protected Member Functions inherited from svkImageAlgorithm
 svkImageAlgorithm ()
 
 ~svkImageAlgorithm ()
 

Protected Attributes

vtkstd::string newSeriesDescription
 
bool normalize
 

Detailed Description

Class to derive peak height and normalized peak height map and other maps from a dynamic image. May be used for DSC, DCE or other similar dynamic imageing acquisitions.

Constructor & Destructor Documentation

svkDynamicImageMap ( )
protected
~svkDynamicImageMap ( )
protected

Member Function Documentation

int FillInputPortInformation ( int   vtkNotUsedport,
vtkInformation *  info 
)
protectedvirtual

Default input type is svkImageData base class. Override with a specific concrete type in sub class if necessary.

Reimplemented from svkImageAlgorithm.

Reimplemented in svkDCEBasicFit.

int FillOutputPortInformation ( int   vtkNotUsedport,
vtkInformation *  info 
)
protectedvirtual

Output from this algo is an svkMriImageData object.

Reimplemented from svkImageAlgorithm.

Reimplemented in svkDCEBasicFit.

virtual void GenerateMaps ( )
protectedpure virtual
double GetNoise ( float *  imgPtr)
protectedvirtual

Gets quick noise estimate from points 1-15 (rms)

double GetNormalizationFactor ( )
protected

Normalize peak height values by NAWM peak ht determined from mode of peak height map.

References svkImageData::DeepCopy(), svkImageData::GetNumberOfVoxels(), svkImageAlgorithm::GetOutput(), and svkMriImageData::New().

void GetRegression ( int  voxelID,
int  startPt,
int  endPt,
double &  slope,
double &  intercept 
)
protected

Calculates ordinary linear regression )for specified point range Ref: "FORTRAN 77 an introduction to structured problem solving", V.A.Dyck, J.D.Lawson, J.A.Smith page381, equation 14.20.

References svkImageAlgorithm::GetImageDataInput().

Referenced by svkDSCRecovery::GetRecovery().

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

Resets the origin and extent for correct initialization of output svkMriImageData object from input svkMrsImageData object.

References svkImageData::GetDcmHeader(), svkImageAlgorithm::GetImageDataInput(), and svkDcmHeader::GetOrigin().

void SetNormalize ( )
void SetOutputDataType ( svkDcmHeader::DcmPixelDataFormat  dataType)
void SetSeriesDescription ( vtkstd::string  newSeriesDescription)

Set the series description for the DICOM header of the copy.

References svkDynamicImageMap::newSeriesDescription.

void SetZeroCopy ( bool  zeroCopy)
void UpdateProvenance ( )
protectedvirtual
vtkTypeMacro ( svkDynamicImageMap  ,
svkImageAlgorithm   
)
void ZeroData ( )
protected

Member Data Documentation

vtkstd::string newSeriesDescription
protected
bool normalize
protected

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