Change detection using difference picture has been used to detect the location of moving targets and to track them. This method needs the assumption of static camera, and the global motion compensation is required in case of a moving camera. In this paper, we suggest a method for finding minimum bounding rectangles(MBRs) of moving targets in the image sequences using moving region detection, especially with a moving camera. If the global motion parameter is inaccurately estimated, the estimated locations of targets will not be accurate either. To alleviate this problem, we introduce the concept of the confidence measure and achieve more accurate estimation of global motion. With a moving camera, the new global motion estimation algorithm performs more precisely and it reduces the background compensation errors for change detection. Experimental results show that the proposed method successfully removes background region and extracts MBRs of the targets.