A Digital Image Processing Method for Detecting Pollution in the Atmosphere from Camera Video