added histogram stretching and equalization effects