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

Method getNumericProperty

ij/src/main/java/ij/ImagePlus.java:1591–1593  ·  view source on GitHub ↗

Returns the numeric value from the "Info" property string associated with 'key', or NaN if the key is not found or the value associated with the key is not numeric. Works with DICOM tags and Bio-Formats metadata. @see #getStringProperty @see #getInfoProperty

(String key)

Source from the content-addressed store, hash-verified

1589 * @see #getInfoProperty
1590 */
1591 public double getNumericProperty(String key) {
1592 return Tools.parseDouble(getStringProperty(key));
1593 }
1594
1595 private String getStringProperty(String key, String info) {
1596 int index1 = -1;

Callers 1

openFFTMethod · 0.95

Calls 2

parseDoubleMethod · 0.95
getStringPropertyMethod · 0.95

Tested by

no test coverage detected