MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / open

Method open

ij/src/main/java/ij/plugin/DICOM.java:189–192  ·  view source on GitHub ↗

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();

(String path)

Source from the content-addressed store, hash-verified

187 </pre>
188 */
189 public void open(String path) {
190 showErrors = false;
191 run(path);
192 }
193
194 /** Returns the DICOM tags of the specified file as a string. */
195 public String getInfo(String path) {

Callers

nothing calls this directly

Calls 1

runMethod · 0.95

Tested by

no test coverage detected