detecting day night using threshold. inpainting and gaussian blur for masking
images used