|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.apps.TranslateImagePositionPatient
public class TranslateImagePositionPatient
A class to read a set of DICOM files and translate the Image Position (Patient) by a fixed offset.
| Nested Class Summary | |
|---|---|
protected class |
TranslateImagePositionPatient.OurMediaImporter
|
| Field Summary | |
|---|---|
protected String |
ourAETitle
|
| Constructor Summary | |
|---|---|
TranslateImagePositionPatient(String srcPathName,
String dstFolderName,
double x,
double y,
double z)
Read a set of DICOM files and translate the Image Position (Patient) by the specified 3D offset. |
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
Read a set of DICOM files and translate the Image Position (Patient) by a fixed offset. |
static Attribute |
translateImagePositionPatient(Attribute aImagePositionPatient,
double x,
double y,
double z)
|
static void |
translateImagePositionPatient(AttributeList list,
double normalDistance)
|
static void |
translateImagePositionPatient(AttributeList list,
double x,
double y,
double z)
|
static void |
translateImagePositionPatientInPlanePositionSequence(SequenceAttribute planePositionSequence,
double x,
double y,
double z)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String ourAETitle
| Constructor Detail |
|---|
public TranslateImagePositionPatient(String srcPathName,
String dstFolderName,
double x,
double y,
double z)
throws FileNotFoundException,
IOException,
DicomException
Read a set of DICOM files and translate the Image Position (Patient) by the specified 3D offset.
Uses the same sub-folder and file names in the destination folder as supplied in the source folder (or parent folder of single source file).
srcPathName - dstFolderName - x - y - z -
FileNotFoundException
IOException
DicomException| Method Detail |
|---|
public static Attribute translateImagePositionPatient(Attribute aImagePositionPatient,
double x,
double y,
double z)
throws DicomException
DicomException
public static void translateImagePositionPatientInPlanePositionSequence(SequenceAttribute planePositionSequence,
double x,
double y,
double z)
throws DicomException
DicomException
public static void translateImagePositionPatient(AttributeList list,
double x,
double y,
double z)
throws DicomException
DicomException
public static void translateImagePositionPatient(AttributeList list,
double normalDistance)
throws DicomException
DicomExceptionpublic static void main(String[] arg)
Read a set of DICOM files and translate the Image Position (Patient) by a fixed offset.
Uses the same sub-folder and file names in the destination folder as supplied in the source folder.
arg - [XYZ x y z|NORMALDISTANCE d] srcPathName dstFolderName
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||