|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.convert.NRRDToDicom
public class NRRDToDicom
A class for converting NRRD image input format files into images of a specified or appropriate SOP Class.
| Constructor Summary | |
|---|---|
NRRDToDicom(String inputFileName,
String outputFileName,
String patientName,
String patientID,
String studyID,
String seriesNumber,
String instanceNumber)
Read an NRRD image input format files and create an image of a specified or appropriate SOP Class. |
|
NRRDToDicom(String inputFileName,
String outputFileName,
String patientName,
String patientID,
String studyID,
String seriesNumber,
String instanceNumber,
String modality,
String sopClass)
Read an NRRD image input format files and create an image of a specified or appropriate SOP Class. |
|
| Method Summary | |
|---|---|
static AttributeList |
generateDICOMPixelDataModuleAttributesFromNRRDFile(File inputFile,
NRRDHeader nrrd,
AttributeList list)
Using an NRRD image input file and header, create DICOM Pixel Data Module attributes. |
static AttributeList |
generateGeometryFunctionalGroupsFromNRRDHeader(NRRDHeader nrrd,
AttributeList list)
Read a per-frame and shared functional group sequences for the geometry defined in a NIfTI-1 file header. |
static void |
main(String[] arg)
Read an NRRD image input format files and create an image of a specified or appropriate SOP Class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NRRDToDicom(String inputFileName,
String outputFileName,
String patientName,
String patientID,
String studyID,
String seriesNumber,
String instanceNumber)
throws IOException,
DicomException,
NRRDException
Read an NRRD image input format files and create an image of a specified or appropriate SOP Class.
inputFileName - outputFileName - patientName - patientID - studyID - seriesNumber - instanceNumber -
IOException
DicomException
NRRDException
public NRRDToDicom(String inputFileName,
String outputFileName,
String patientName,
String patientID,
String studyID,
String seriesNumber,
String instanceNumber,
String modality,
String sopClass)
throws IOException,
DicomException,
NRRDException,
NumberFormatException
Read an NRRD image input format files and create an image of a specified or appropriate SOP Class.
inputFileName - outputFileName - patientName - patientID - studyID - seriesNumber - instanceNumber - modality - may be nullsopClass - may be null
IOException
DicomException
NRRDException
NumberFormatException| Method Detail |
|---|
public static AttributeList generateGeometryFunctionalGroupsFromNRRDHeader(NRRDHeader nrrd,
AttributeList list)
throws DicomException,
NRRDException,
NumberFormatException
Read a per-frame and shared functional group sequences for the geometry defined in a NIfTI-1 file header.
nrrd - an NRRD headerlist - an existing (possibly empty) attribute list, if null, a new one will be created; may already shared and per-frame functional group sequences or they will be added
return attribute list with per-frame and shared functional group sequences for geometry added
DicomException
NRRDException
NumberFormatException
public static AttributeList generateDICOMPixelDataModuleAttributesFromNRRDFile(File inputFile,
NRRDHeader nrrd,
AttributeList list)
throws IOException,
DicomException,
NRRDException,
NumberFormatException
Using an NRRD image input file and header, create DICOM Pixel Data Module attributes.
inputFile - an NRRD format image filenrrd - an NRRD header already read from the inputFilelist - an existing (possibly empty) attribute list, if null, a new one will be created; may already include "better" image pixel module attributes to use
return attribute list with Image Pixel Module (including Pixel Data) and other attributes added
IOException
DicomException
NRRDException
NumberFormatExceptionpublic static void main(String[] arg)
Read an NRRD image input format files and create an image of a specified or appropriate SOP Class.
arg - seven, eight or nine parameters, the inputFile, outputFile, patientName, patientID, studyID, seriesNumber, instanceNumber, and optionally the modality, and SOP Class
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||