SIVIC API
0.9.26
|
#include <svkDICOMEnhancedMRIWriter.h>
Public Member Functions | |
vtkTypeMacro (svkDICOMEnhancedMRIWriter, 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 svkDICOMEnhancedMRIWriter * | New () |
Static Public Member Functions inherited from svkImageWriter | |
static svkImageWriter * | New () |
Protected Member Functions | |
svkDICOMEnhancedMRIWriter () | |
~svkDICOMEnhancedMRIWriter () | |
virtual int | GetDataLength () |
void | InitPixelData (svkDcmHeader *dcmHeader) |
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(), svkDcmHeader::GetIntValue(), and svkDcmHeader::GetNumberOfSlices().
Referenced by svkDICOMEnhancedMRIWriter::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 svkDICOMEnhancedMRIWriter::GetDataLength(), GetDcmHeader(), svkImageData::GetDcmHeader(), svkDICOMWriter::GetImageDataInput(), svkDcmHeader::GetIntValue(), svkDcmHeader::GetNumberOfSlices(), svkDICOMImageWriter::GetPixelRange(), svkDICOMImageWriter::GetScaledPixels(), svkDcmHeader::InitPixelValueTransformationMacro(), 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 svkDICOMEnhancedMRIWriter::Write().
|
static |
Referenced by svkImageWriterFactory::CreateImageWriter().
vtkTypeMacro | ( | svkDICOMEnhancedMRIWriter | , |
svkDICOMImageWriter | |||
) |
|
virtual |
Write the DICOM Enahnced MR Image multi-frame file. Also initializes the
References GetDcmHeader(), svkImageData::GetDcmHeader(), svkDICOMWriter::GetImageDataInput(), svkDICOMEnhancedMRIWriter::InitPixelData(), svkTypeUtils::IntToString(), svkDcmHeader::MakeDerivedDcmHeader(), svkDICOMImageWriter::useLosslessCompression, and svkDcmHeader::WriteDcmFile().