issue #484 speed up CorrectIllumination_Calculate by removing spirious intermediate image generation if not required.