Corrected LUT generation for separating images.