notice how we did not convert the gray screenshot to unsigned integerswe just made use of the floating point result as it is the second argument to the gaussian_filter function is the size of the filter (the standard deviation of the filterlarger values result in more blurringas can be seen in the following screenshot (shown are filtering with sizes and )we can use the screenshot on the left and threshold it with otsu (using the same code seen previouslynow the result is perfect separation of the building region and the sky while some of the details have been smoothed overthe bright regions in the parking lot have also been smoothed over the result is an approximate outline of the sky without any artifacts by blurringwe got rid of the detail that didn' matter to the broad picture have look at the following screenshot