This paper constructs GIS component environmental supervision system, uses wireless sensors and other hardware devices to collect rural ecological environment related data, and completes the conversion of geographic information to data information. The mathematical morphology of corrosion, expansion and other operations are introduced to pre-process the collected data. Adaptive filtering algorithm is integrated to enhance the features of remote sensing image, retain the edge details and improve the image processing effect. The results show that in the quantitative comparison and ablation experiments of “ideal” and “non-ideal” remote sensing datasets, the peak signal-to-noise ratios of this paper’s method are greater than 40dB, and the structural similarity indices are greater than 0.9, which are better than the other nine image data processing methods. Methods. After processing the rural domestic waste images, the total amount of domestic waste in 15 counties can be projected, and the amount of compostable waste TN and TP generated in rural domestic waste is 30.3492*103t and 6.0575*103t, respectively. According to the results of the processing and analysis, corresponding optimization suggestions of the rural ecological environment and legal protection system are proposed.