In this paper we propose a method for making panoramas from video sequence taken by moving cameras.We mainly describe the case where the camera is moving and there are large-area non-rigid moving objects in the scene.But the method also works well when there are no moving objects in videos.Affine model is used to describe the camera motion.To calculate the parameters in affine model
we use feature points matching method.Correlation method is used to match feature points in frames
but correlation method can only give a coarse result which may include some bad matching.To ensure the precision of the motion parameters
RANSAC is used to pick out bad matching.Project frames with motion parameters
and the intersection of two subtraction results of neighbor frames will give the moving object area.Last we can calculate the panorama image.Results given by this method are provided in this paper
and we compare them with other people's results.It proves that our method can make panoramas with high quality.