/** * Updates this stack so its attributes, such as min, max, calibration table and color model, are * the same as 'ip'. */ public void update(ImageProcessor ip) { if (ip != null) { min = ip.getMin(); max = ip.getMax(); cTable = ip.getCalibrationTable(); cm = ip.getColorModel(); } }