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

Method copyScale

ij/src/main/java/ij/ImagePlus.java:2802–2805  ·  view source on GitHub ↗

Copies the calibration of the specified image to this image.

(ImagePlus imp)

Source from the content-addressed store, hash-verified

2800
2801 /** Copies the calibration of the specified image to this image. */
2802 public void copyScale(ImagePlus imp) {
2803 if (imp!=null && globalCalibration==null)
2804 setCalibration(imp.getCalibration());
2805 }
2806
2807 /** Used internally. */
2808 public void copyAttributes(ImagePlus imp) {

Callers 1

flattenMethod · 0.95

Calls 2

setCalibrationMethod · 0.95
getCalibrationMethod · 0.80

Tested by

no test coverage detected