~ Converting the colour image to gray level
~ Blurring the image with a 3x3 averaging filter
~ Appying the Sobel edge detector
~ Edge magnitudes are (linearly) rescaled to integer values
~ Applying Brushes