|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectij.ImagePlus
ij.plugin.DICOM
public class DICOM
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()".
| Field Summary |
|---|
| Fields inherited from class ij.ImagePlus |
|---|
changes, CLOSED, COLOR_256, COLOR_RGB, compositeImage, currentSlice, GRAY16, GRAY32, GRAY8, height, img, ip, locked, OPENED, roi, UPDATED, width, win |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Fields inherited from interface ij.measure.Measurements |
|---|
AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV |
| Constructor Summary | |
|---|---|
DICOM()
Default constructor. |
|
DICOM(java.io.BufferedInputStream bis)
Constructs a DICOM reader that using an BufferredInputStream. |
|
DICOM(java.io.InputStream is)
Constructs a DICOM reader that using an InputStream. |
|
| Method Summary | |
|---|---|
void |
open(java.lang.String path)
Opens the specified file as a DICOM. |
void |
run(java.lang.String arg)
This method is called when the plugin is loaded. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DICOM()
public DICOM(java.io.InputStream is)
DICOM dcm = new DICOM(is);
dcm.run("Name");
dcm.show();
public DICOM(java.io.BufferedInputStream bis)
| Method Detail |
|---|
public void run(java.lang.String arg)
PlugIn
run in interface PlugInpublic void open(java.lang.String path)
DICOM dcm = new DICOM();
dcm.open(path);
if (dcm.getWidth()==0)
IJ.log("Error opening '"+path+"'");
else
dcm.show();
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||