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

Method getCalibration

ij/src/main/java/ij/ImagePlus.java:2841–2852  ·  view source on GitHub ↗

Returns this image's calibration.

()

Source from the content-addressed store, hash-verified

2839
2840 /** Returns this image's calibration. */
2841 public Calibration getCalibration() {
2842 //IJ.log("getCalibration: "+globalCalibration+" "+calibration);
2843 if (globalCalibration!=null && !ignoreGlobalCalibration) {
2844 Calibration gc = globalCalibration.copy();
2845 gc.setImage(this);
2846 return gc;
2847 } else {
2848 if (calibration==null)
2849 calibration = new Calibration(this);
2850 return calibration;
2851 }
2852 }
2853
2854 /** Sets this image's calibration. */
2855 public void setCalibration(Calibration cal) {

Callers 15

ImagePlusMethod · 0.95
getProcessorMethod · 0.95
getStatisticsMethod · 0.95
getStackMethod · 0.95
removeScaleMethod · 0.95
revertStackMethod · 0.95
getFileInfoMethod · 0.95
createImagePlusMethod · 0.95
createHyperStackMethod · 0.95
getLocationAsStringMethod · 0.95
getValueAsStringMethod · 0.95
resetDisplayRangeMethod · 0.95

Calls 2

setImageMethod · 0.95
copyMethod · 0.65

Tested by

no test coverage detected