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

Method info

ij/src/main/java/ij/plugin/StackMaker.java:54–59  ·  view source on GitHub ↗
(String key, ImagePlus imp, int value)

Source from the content-addressed store, hash-verified

52 }
53
54 private int info(String key, ImagePlus imp, int value) {
55 String svalue = imp.getStringProperty(key);
56 if (svalue!=null)
57 value = Integer.parseInt(svalue);
58 return value;
59 }
60
61 public ImageStack makeStack(ImageProcessor ip, int rows, int columns, int border) {
62 int stackSize = rows*columns;

Callers 1

runMethod · 0.95

Calls 2

getStringPropertyMethod · 0.80
parseIntMethod · 0.80

Tested by

no test coverage detected