I am following this course on computer vision: https://in.udacity.com/course/introduction-to-computer-vision--ud810
The instructor explains how gaussian filter causes blurring of image. The instructor uses matlab to demonstrate it but I am using python 3 with opencv. I ran the following code:
import cv2
from matplotlib import pyplot as pl
image = cv2.imread("Desert.jpg")
blur = cv2.GaussianBlur(image,(95,95),5)
cv2.imshow("desert", image)
pl.imshow(blur)
pl.xticks([]), pl.yticks([])
pl.show()
This is the original image:
And this is is the "blur" image:
The image is blurred, no doubt. But how colors have interchanged ? The mountain is blue while the sky is brick red ?