Tweaks to MEasureImage to use new SCAMP features.