Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
DICOM Class Reference
Inheritance diagram for DICOM:
ImagePlus PlugIn

Public Member Functions

void run (String path)
 
void open (String path)
 
- Public Member Functions inherited from ImagePlus
 ImagePlus ()
 
 ImagePlus (String title, Image img)
 
 ImagePlus (String title, ImageProcessor ip)
 
 ImagePlus (String pathOrURL)
 
synchronized boolean lock ()
 
synchronized boolean lockSilently ()
 
synchronized void unlock ()
 
void draw ()
 
void draw (int x, int y, int width, int height)
 
void updateAndDraw ()
 
void repaintWindow ()
 
void updateAndRepaintWindow ()
 
void updateImage ()
 
void show ()
 
void show (String statusMessage)
 
void setActivated ()
 
Image getImage ()
 
int getID ()
 
void setImage (Image img)
 
void setProcessor (String title, ImageProcessor ip)
 
void setFileInfo (FileInfo fi)
 
void setColor (Color c)
 
boolean isProcessor ()
 
ImageProcessor getProcessor ()
 
synchronized void trimProcessor ()
 
void killProcessor ()
 
ImageProcessor getMask ()
 
ImageStatistics getStatistics ()
 
ImageStatistics getStatistics (int mOptions)
 
ImageStatistics getStatistics (int mOptions, int nBins)
 
ImageStatistics getStatistics (int mOptions, int nBins, double histMin, double histMax)
 
String getTitle ()
 
String getShortTitle ()
 
void setTitle (String title)
 
int getWidth ()
 
int getHeight ()
 
int getStackSize ()
 
int getType ()
 
int getBitDepth ()
 
void setProperty (String key, Object value)
 
Object getProperty (String key)
 
Properties getProperties ()
 
LookUpTable createLut ()
 
boolean isInvertedLut ()
 
int[] getPixel (int x, int y)
 
Roi getRoi ()
 
void setRoi (Roi roi)
 
void setRoi (int x, int y, int width, int height)
 
void setRoi (Rectangle r)
 
void createNewRoi (int x, int y)
 
void killRoi ()
 
void restoreRoi ()
 
FileInfo getFileInfo ()
 
FileInfo getOriginalFileInfo ()
 
boolean imageUpdate (Image img, int flags, int x, int y, int w, int h)
 
synchronized void flush ()
 
void setIgnoreFlush (boolean ignoreFlush)
 
ImagePlus createImagePlus ()
 
void copyScale (ImagePlus imp)
 
void startTiming ()
 
long getStartTime ()
 
Calibration getCalibration ()
 
void setCalibration (Calibration cal)
 
void setGlobalCalibration (Calibration global)
 
void mouseMoved (int x, int y)
 
void updateStatusbarValue ()
 
String getLocationAsString (int x, int y)
 
String toString ()
 
ImageCanvas getCanvas ()
 
void setCanvas (ImageCanvas ic)
 

Additional Inherited Members

- Data Fields inherited from ImagePlus
boolean changes
 
double pixelWidth = 1.0
 
double pixelHeight = 1.0
 
double pixelDepth = 1.0
 
String unit = "pixel"
 
String units = "pixels"
 
boolean sCalibrated
 
- Static Public Attributes inherited from ImagePlus
static final int GRAY8 = 0
 
static final int GRAY16 = 1
 
static final int GRAY32 = 2
 
static final int COLOR_256 = 3
 
static final int COLOR_RGB = 4
 
- Protected Member Functions inherited from ImagePlus
void setType (int type)
 
- Protected Attributes inherited from ImagePlus
Image img
 
ImageProcessor ip
 
int width
 
int height
 
boolean locked = false
 
ImageCanvas imageCanvas
 

Detailed Description

This plugin decodes DICOM files. If 'arg' is empty, it displays a file open dialog and opens and displays the image selected by the user. If 'arg' is a path, it opens the specified image and the calling routine can display it using "((ImagePlus)IJ.runPlugIn("ij.plugin.DICOM", path)).show()".

Definition at line 47 of file DICOM.java.

Member Function Documentation

void open ( String  path)
inline

Opens the specified file as a DICOM. Does not display a message if there is an error. Here is an example:

DICOM dcm = new DICOM();
dcm.open(path);
if (dcm.getWidth()==0)
    IJ.log("Error opening '"+path+"'");
else
    dcm.show();

Definition at line 110 of file DICOM.java.

void run ( String  arg)
inline

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.

Implements PlugIn.

Definition at line 50 of file DICOM.java.


The documentation for this class was generated from the following file: