ij.plugin
Class DICOM_Sorter

java.lang.Object
  extended by ij.plugin.DICOM_Sorter
All Implemented Interfaces:
PlugIn

public class DICOM_Sorter
extends java.lang.Object
implements PlugIn


Field Summary
(package private) static int MAX_DIGITS
           
 
Constructor Summary
DICOM_Sorter()
           
 
Method Summary
(package private)  double getNumericTag(java.lang.String hdr, java.lang.String tag)
           
(package private)  double getSeries(java.lang.String tags)
           
(package private)  java.lang.String[] getSortStrings(ImageStack stack, java.lang.String tag)
           
(package private)  java.lang.String getTag(java.lang.String hdr, java.lang.String tag)
           
(package private)  boolean isDicomStack(ImagePlus imp)
           
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
 ImageStack sort(ImageStack stack)
           
(package private)  ImageStack sortStack(ImageStack stack, java.lang.String[] strings)
           
(package private)  java.lang.String toString(double value, int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_DIGITS

static final int MAX_DIGITS
See Also:
Constant Field Values
Constructor Detail

DICOM_Sorter

public DICOM_Sorter()
Method Detail

run

public void run(java.lang.String arg)
Description copied from interface: PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Specified by:
run in interface PlugIn

sort

public ImageStack sort(ImageStack stack)

sortStack

ImageStack sortStack(ImageStack stack,
                     java.lang.String[] strings)

getSortStrings

java.lang.String[] getSortStrings(ImageStack stack,
                                  java.lang.String tag)

toString

java.lang.String toString(double value,
                          int width)

isDicomStack

boolean isDicomStack(ImagePlus imp)

getSeries

double getSeries(java.lang.String tags)

getNumericTag

double getNumericTag(java.lang.String hdr,
                     java.lang.String tag)

getTag

java.lang.String getTag(java.lang.String hdr,
                        java.lang.String tag)