Consistent equalization on set of images