Separate histogram equalization for left and right sides