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

Method open

ij/src/main/java/ij/io/RoiDecoder.java:156–163  ·  view source on GitHub ↗

Opens the Roi at the specified path. Returns null if there is an error.

(String path)

Source from the content-addressed store, hash-verified

154
155 /** Opens the Roi at the specified path. Returns null if there is an error. */
156 public static Roi open(String path) {
157 Roi roi = null;
158 RoiDecoder rd = new RoiDecoder(path);
159 try {
160 roi = rd.getRoi();
161 } catch (IOException e) { }
162 return roi;
163 }
164
165 /** Returns the ROI. */
166 public Roi getRoi() throws IOException {

Callers

nothing calls this directly

Calls 1

getRoiMethod · 0.95

Tested by

no test coverage detected