ij.util
public class DicomTools extends java.lang.Object
Constructor and Description |
---|
DicomTools() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getTag(ImagePlus imp,
java.lang.String id)
Returns the value (as a string) of the specified DICOM tag id (in the form "0018,0050")
of the specified image or stack slice.
|
static double |
getVoxelDepth(ImageStack stack)
Calculates the voxel depth of the specified DICOM stack based
on the distance between the first and last slices.
|
static ImageStack |
sort(ImageStack stack)
Sorts a DICOM stack by image number.
|
public static ImageStack sort(ImageStack stack)
public static double getVoxelDepth(ImageStack stack)
public static java.lang.String getTag(ImagePlus imp, java.lang.String id)