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

Method setCalibration

ij/src/main/java/ij/ImagePlus.java:2855–2862  ·  view source on GitHub ↗

Sets this image's calibration.

(Calibration cal)

Source from the content-addressed store, hash-verified

2853
2854 /** Sets this image's calibration. */
2855 public void setCalibration(Calibration cal) {
2856 if (cal==null)
2857 calibration = null;
2858 else {
2859 calibration = cal.copy();
2860 calibration.setImage(this);
2861 }
2862 }
2863
2864 /** Sets the system-wide calibration. */
2865 public void setGlobalCalibration(Calibration global) {

Callers 15

ImagePlusMethod · 0.95
setImageMethod · 0.95
revertStackMethod · 0.95
createImagePlusMethod · 0.95
createHyperStackMethod · 0.95
copyScaleMethod · 0.95
copyAttributesMethod · 0.95
undoMethod · 0.95
getPixelMethod · 0.95
runMethod · 0.95
convertMethod · 0.95
mergeStacksMethod · 0.95

Calls 2

copyMethod · 0.65
setImageMethod · 0.45

Tested by

no test coverage detected