SIVIC API
0.9.26
|
#include <svkMRSKinetics.h>
Public Types | |
enum | MODEL_TYPE { UNDEFINED = 0, FIRST_MODEL = 1, TWO_SITE_EXCHANGE = FIRST_MODEL, TWO_SITE_EXCHANGE_PERF, TWO_SITE_IM, TWO_SITE_IM_PYR, LAST_MODEL = TWO_SITE_IM_PYR } |
Public Member Functions | |
vtkTypeMacro (svkMRSKinetics, svkImageAlgorithm) | |
void | SetSeriesDescription (vtkstd::string newSeriesDescription) |
void | SetOutputDataType (svkDcmHeader::DcmPixelDataFormat dataType) |
void | SetZeroCopy (bool zeroCopy) |
void | SetModelType (svkMRSKinetics::MODEL_TYPE modelType) |
void | SetTR (float TR) |
float | GetTR () |
int | GetNumberOfModelOutputPorts () |
int | GetNumberOfModelSignals () |
string | GetModelOutputDescription (int outputIndex) |
Public Member Functions inherited from svkImageAlgorithm | |
vtkTypeMacro (svkImageAlgorithm, vtkImageAlgorithm) | |
svkImageData * | GetOutput () |
svkImageData * | GetOutput (int port) |
svkImageData * | GetImageDataInput (int port) |
Static Public Member Functions | |
static svkMRSKinetics * | New () |
Protected Member Functions | |
svkMRSKinetics () | |
~svkMRSKinetics () | |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
void | ZeroData () |
void | SyncPointsFromCells () |
virtual int | FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
virtual int | FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
virtual void | UpdateProvenance () |
Protected Member Functions inherited from svkImageAlgorithm | |
svkImageAlgorithm () | |
~svkImageAlgorithm () | |
Protected Attributes | |
vtkstd::string | newSeriesDescription |
Kinetic fitting Christine Leon Swisher, PhD Cornelius Von Morze, PhD Jason C. Crane, PhD
enum MODEL_TYPE |
|
protected |
References svkMRSKinetics::newSeriesDescription, and svkMRSKinetics::UNDEFINED.
|
protected |
|
protectedvirtual |
input ports 0 - 2 are required. All input ports are MRI data. 0: pyruvate signal vs time 1: lactate signal vs time 2: urea signal vs time 3: spatial mask ROI (optional)
Reimplemented from svkImageAlgorithm.
References svkMRSKinetics::GetNumberOfModelSignals().
|
protectedvirtual |
Output from this algo is an svkMriImageData object.
Reimplemented from svkImageAlgorithm.
string GetModelOutputDescription | ( | int | outputIndex | ) |
int GetNumberOfModelOutputPorts | ( | ) |
Get the number of otuput ports for the const function
Referenced by svkMRSKinetics::SetModelType().
int GetNumberOfModelSignals | ( | ) |
Get the number of signals required for the specified cost function
Referenced by svkMRSKinetics::FillInputPortInformation(), svkMRSKinetics::RequestData(), svkMRSKinetics::SetModelType(), svkMRSKinetics::SyncPointsFromCells(), and svkMRSKinetics::ZeroData().
float GetTR | ( | ) |
Get the TR for the experiment (in seconds). This is the time between kinetic samples and is used to scale the and params
|
static |
|
protectedvirtual |
Copy the Dcm Header and Provenance from the input to the output.
References svkImageData::DeepCopy(), svk4DImageData::GetArray(), svkMriImageData::GetCellDataRepresentation(), svkImageData::GetDcmHeader(), svkDcmHeader::GetDimensionIndexVector(), svkImageAlgorithm::GetImageDataInput(), svkMRSKinetics::GetNumberOfModelSignals(), svkDcmHeader::GetNumberOfTimePoints(), svkImageData::GetNumberOfVoxels(), svkImageAlgorithm::GetOutput(), svkDcmHeader::InsertUniqueUID(), svkMRSKinetics::newSeriesDescription, svkDcmHeader::SetDimensionVectorValue(), and svkDcmHeader::SetValue().
|
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 SetModelType | ( | svkMRSKinetics::MODEL_TYPE | modelType | ) |
Set model
References svkMRSKinetics::GetNumberOfModelOutputPorts(), svkMRSKinetics::GetNumberOfModelSignals(), and svkMRSKinetics::LAST_MODEL.
void SetOutputDataType | ( | svkDcmHeader::DcmPixelDataFormat | dataType | ) |
void SetSeriesDescription | ( | vtkstd::string | newSeriesDescription | ) |
Set the series description for the DICOM header of the copy.
References svkMRSKinetics::newSeriesDescription.
void SetTR | ( | float | TR | ) |
Set the TR for the experiment (in seconds). This is the time between kinetic samples and is used to scale the and params
void SetZeroCopy | ( | bool | zeroCopy | ) |
|
protected |
Sync Point Data from Cell Data
References svkMRSKinetics::GetNumberOfModelSignals(), svkImageData::GetNumberOfVoxels(), and svkImageAlgorithm::GetOutput().
|
protectedvirtual |
vtkTypeMacro | ( | svkMRSKinetics | , |
svkImageAlgorithm | |||
) |
|
protected |
Zero data
References svkMRSKinetics::GetNumberOfModelSignals(), svkImageData::GetNumberOfVoxels(), and svkImageAlgorithm::GetOutput().
|
protected |