Use CDF to equalize image in equalizedImage vector