In imageGradient grayscale converion added