SIVIC API
0.9.26
|
#include <svkDICOMMRIWriter.h>
Public Member Functions | |
vtkTypeMacro (svkDICOMMRIWriter, svkDICOMImageWriter) | |
virtual void | Write () |
Public Member Functions inherited from svkDICOMImageWriter | |
vtkTypeMacro (svkDICOMImageWriter, svkDICOMWriter) | |
void | UseLosslessCompression () |
Public Member Functions inherited from svkDICOMWriter | |
vtkTypeMacro (svkDICOMWriter, svkImageWriter) | |
void | SetInput (vtkDataObject *input) |
void | SetInput (int index, vtkDataObject *input) |
vtkDataObject * | GetInput (int port) |
svkImageData * | GetImageDataInput (int port) |
Public Member Functions inherited from svkImageWriter | |
vtkTypeMacro (svkImageWriter, vtkImageWriter) | |
virtual void | Update () |
void | SetSeriesNumber (int number) |
void | SetSeriesDescription (string description) |
void | SetInstanceNumber (int number) |
virtual void | SetFileName (const char *) |
virtual void | SetFileNameWithExtension (const char *) |
Static Public Member Functions | |
static svkDICOMMRIWriter * | New () |
Static Public Member Functions inherited from svkImageWriter | |
static svkImageWriter * | New () |
Protected Member Functions | |
svkDICOMMRIWriter () | |
~svkDICOMMRIWriter () | |
virtual int | GetDataLength () |
void | InitPixelData (svkDcmHeader *dcmHeader, int volNumber, int sliceNumber=-1) |
Protected Member Functions inherited from svkDICOMImageWriter | |
svkDICOMImageWriter () | |
~svkDICOMImageWriter () | |
virtual int | FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
void | GetShortScaledPixels (unsigned short *shortPixels, double &slope, double &intercept, int sliceNumber, int volNumber) |
void | GetScaledPixels (unsigned short *shortPixels, double slope, double intercept, int sliceNumber, int volNumber) |
void | GetPixelRange (double &min, double &max, int volNumber) |
Protected Member Functions inherited from svkDICOMWriter | |
svkDICOMWriter () | |
~svkDICOMWriter () | |
Protected Member Functions inherited from svkImageWriter | |
svkImageWriter () | |
~svkImageWriter () | |
virtual void | SetProvenance () |
Additional Inherited Members | |
Public Types inherited from svkImageWriter | |
enum | seriesNumStatus { UNDEFINED_SERIES_NUMBER = -1000 } |
Protected Attributes inherited from svkDICOMImageWriter | |
bool | useLosslessCompression |
Protected Attributes inherited from svkImageWriter | |
int | seriesNumber |
string | seriesDescription |
int | instanceNumber |
Concrete writer instance for DICOM MRI SOP class.
|
protected |
|
protected |
|
protectedvirtual |
Determines the length of the Pixel Data for the specific IOD (all frames or single frame).
Implements svkDICOMImageWriter.
References svkImageData::GetDcmHeader(), svkDICOMWriter::GetImageDataInput(), and svkDcmHeader::GetIntValue().
Referenced by svkDICOMMRIWriter::InitPixelData().
|
protected |
Write the pixel data to the PixelData DICOM element. if a slice number (starting at 0 index) is specified, will init only that block of PixelData in the DCM file.
References svkDICOMMRIWriter::GetDataLength(), GetDcmHeader(), svkDICOMWriter::GetImageDataInput(), svkDICOMImageWriter::GetPixelRange(), svkDICOMImageWriter::GetShortScaledPixels(), svkDcmHeader::GetStringValue(), svkDcmHeader::InitPixelValueTransformationMacro(), svkDcmHeader::InitVOILUTModule(), svkDcmHeader::SetPixelDataType(), svkDcmHeader::SetValue(), svkDcmHeader::SIGNED_FLOAT_4, svkDcmHeader::SIGNED_FLOAT_8, svkDcmHeader::SIGNED_INT_2, svkDcmHeader::UNSIGNED_INT_1, and svkDcmHeader::UNSIGNED_INT_2.
Referenced by svkDICOMMRIWriter::Write().
|
static |
Referenced by svkImageWriterFactory::CreateImageWriter().
vtkTypeMacro | ( | svkDICOMMRIWriter | , |
svkDICOMImageWriter | |||
) |
|
virtual |
Write DICOM MR Image Storage SOP class (single frame) files.
References svkDcmHeader::ConvertEnhancedMriToMriHeader(), svkDcmHeader::DCMTK_API, svkImageData::GetDcmHeader(), svkDICOMWriter::GetImageDataInput(), svkDcmHeader::GetIntValue(), svkDcmHeader::GetNumberOfSlices(), svkDcmHeader::GetSliceForFrame(), svkDcmHeader::GetStringSequenceItemElement(), svkDcmHeader::GetStringValue(), svkMRIIOD::InitDcmHeader(), svkDICOMMRIWriter::InitPixelData(), svkMRIIOD::New(), svkDcmtkAdapter::New(), svkImageWriter::seriesNumber, svkIOD::SetDcmHeader(), svkDcmHeader::SetValue(), svkImageWriter::UNDEFINED_SERIES_NUMBER, and svkDICOMImageWriter::useLosslessCompression.