an image smooth filter size 3 x 3 apply cell image round average cell surround cell ie average cell blue smooth if surround cell cell present consider average ie average cell red smootherGiven m x n integer matrix img represent grayscale image return image apply smooth cell Example 1input img 111101111output 000000000explanationfor point 00 02 20 22 floor34 floor075 0for point 01 10 12 21 floor56 floor083333333 0for point 11 floor89 floor088888889 0example 2input img 10020010020050200100200100output 137141137141138141137141137explanationfor point 00 02 20 22 floor100200200504 floor1375 137For point 01 10 12 21 floor200200502001001006 floor141666667 141for point 11 floor502002002002001001001001009 floor138888889 138 Constraintsm imglengthn imgilength1 m n 2000 imgij 255