Image processing in transform domain is a much interesting area in recently because compressed image and video data are not only becoming widely available as the data format over MPEG or JPEG but also manipulating in transform domain require smaller data quantities, and lower computation complexity than in spatial domain. However, processing in compressed domain could be suffered form local effects such as blocking artifact. In this paper, image processing is performed by weighting coefficients in compressed domain, i.e., filtering coefficients are moderately selected according to the processing. Since we find the appropriate factors according to global image enhancement, blocking artifacts are reduced between inter-blocks. Experimental results show that the proposed technique has the advantages of simple computation and easy implementation.