Implemented Contrast Stretching.

Change-Id: I65a1753d16e58cd03f7e41b2205ad18ad6e5fb85