A method for processing images, the method comprising: identifying a portion of a selected image in which a moving object is present, wherein the selected image is one of a sequence of images and the moving object moves with respect to a background in the selected image; identifying a plurality of pixels in a region of interest in the selected image; identifying first values for a first portion of the plurality of pixels using the sequence of images and first transformations, wherein the first portion of the plurality of pixels corresponds to the background in the selected image and wherein a first transformation in the first transformations is configured to align features of the background in one image in the sequence of images to the features of the background in the selected image; and identifying second values for a second portion of the plurality of pixels using the sequence of images and second transformations, wherein the second portion of the plurality of pixels corresponds to the moving object in the selected image and wherein a second transformation in the second transformations is configured to align features of the moving object in the one image in the sequence of images to the features of the moving object in the selected image; further comprising: generating object masks for the sequence of images, wherein an object mask in the object masks corresponds to an image in the sequence of images and wherein each pixel in the object mask has a value indicating that the each pixel corresponds to one of the background in the image and the moving object in the image; and identifying the second transformations using the object masks, the sequence of images, and a track for the moving object generated for one or more of the sequence of images;storing the sequence of images in an image buffer; storing the first transformations in a background transformation buffer; storing the object masks in an object mask buffer; storing the second transformations in an object transformation buffer; and individually recomputing the second transformations stored in the object transformation buffer each time a new image is added to the image buffer. identifying a portion of a selected image in which a moving object is present, wherein the selected image is one of a sequence of images and the moving object moves with respect to a background in the selected image; identifying a plurality of pixels in a region of interest in the selected image; identifying first values for a first portion of the plurality of pixels using the sequence of images and first transformations, wherein the first portion of the plurality of pixels corresponds to the background in the selected image and wherein a first transformation in the first transformations is configured to align features of the background in one image in the sequence of images to the features of the background in the selected image; and identifying second values for a second portion of the plurality of pixels using the sequence of images and second transformations, wherein the second portion of the plurality of pixels corresponds to the moving object in the selected image and wherein a second transformation in the second transformations is configured to align features of the moving object in the one image in the sequence of images to the features of the moving object in the selected image; further comprising: generating object masks for the sequence of images, wherein an object mask in the object masks corresponds to an image in the sequence of images and wherein each pixel in the object mask has a value indicating that the each pixel corresponds to one of the background in the image and the moving object in the image; and identifying the second transformations using the object masks, the sequence of images, and a track for the moving object generated for one or more of the sequence of images;storing the sequence of images in an image buffer; storing the first transformations in a background transformation buffer; storing the object masks in an object mask buffer; storing the second transformations in an object transformation buffer; and individually recomputing the second transformations stored in the object transformation buffer each time a new image is added to the image buffer. generating object masks for the sequence of images, wherein an object mask in the object masks corresponds to an image in the sequence of images and wherein each pixel in the object mask has a value indicating that the each pixel corresponds to one of the background in the image and the moving object in the image; and identifying the second transformations using the object masks, the sequence of images, and a track for the moving object generated for one or more of the sequence of images;storing the sequence of images in an image buffer; storing the first transformations in a background transformation buffer; storing the object masks in an object mask buffer; storing the second transformations in an object transformation buffer; and individually recomputing the second transformations stored in the object transformation buffer each time a new image is added to the image buffer.