摘要:
A method is provided for processing minimum coded units (MCUs) in a Joint Photographic Expert Group (JPEG) bit stream representing an image. A data structure is generated for storing MCU block numbers, corresponding MCU block coordinates, and corresponding MCU block editing lists. When an editing operation to the image is received, the editing operation is saved to a group of the MCU block editing lists of a group of the MCUs affected by the editing operation. Later the MCUs are retrieved from the JPEG bit stream one at a time and then processed according to the editing operations in the corresponding MCU blocking editing lists.
摘要:
A method for correcting a radial distortion in an image includes receiving a radial distortion parameter from the user and calculating new intensity values of points in the image to correct a radial exposure distortion in the image.
摘要:
A method for indexing minimum coded units (MCUs) in a Joint Photographic Expert Group (JPEG) bit stream includes (1) entropy decoding a first MCU to determine a bit offset of a second MCU and a DC coefficient of the first MCU, wherein the first MCU immediately precedes the second MCU in the bit stream, and (2) indexing the second MCU by storing the bit offset and the DC coefficient in an index. The method may further include (3) receiving a request for the second MCU, (4) reading the index to determine the bit offset of the second MCU and the DC coefficient of the first MCU, and (5) entropy decoding the second MCU starting at its bit offset in the bit stream, wherein the entropy decoding the second MCU includes determining a DC coefficient of the second MCU using the DC coefficient of the first MCU.
摘要:
A method for enhancing an image includes applying an auto-level transformation to an original image to form a first image, applying an auto-contrast transformation to the original image to form a second image, and applying an auto-brightness transformation to the original image to form a third image. The method further includes applying a color cast correction to the first, the second, and the third images to generate a first group of images, applying a gamma correction to the first group of images to generate a second group of images, applying a sharpening correction to the second group of images to generate a third group of images, and presenting the third group of images to a user to select a final result.
摘要:
A method includes (1) generating a first image pyramid of a first image, (2) generating a second image pyramid of a second image, (3) warping a first level image of the first image pyramid with a motion field, (4) determining a residual motion field from the warped first level image of the first image pyramid and a corresponding first level image of the second image pyramid, and (5) if the residual motion field is not less than a threshold, adding the residual motion field to the motion field and repeating steps (3) and (4).
摘要:
A method for generating texture includes (1) selecting a target patch to be filled in a image, (2) selecting a sample patch as a candidate for filling the target patch, (3) determining a first difference between a first area surrounding the target patch and a corresponding first area surrounding the sample patch, and a second difference between a second area surrounding the target patch and a corresponding second area surrounding the sample patch, (4) multiplying a larger of the first difference and the second difference with a first weight factor, and a smaller of the first difference and the second difference with a second weight factor, and (5) summing the weighted first difference and the weighted second difference as a distance between the target patch and the sample patch.
摘要:
A method is provided for processing minimum coded units (MCUs) in a Joint Photographic Expert Group (JPEG) bit stream representing an image. A data structure is generated for storing MCU block numbers, corresponding MCU block coordinates, and corresponding MCU block editing lists. When an editing operation to the image is received, the editing operation is saved to a group of the MCU block editing lists of a group of the MCUs affected by the editing operation. Later the MCUs are retrieved from the JPEG bit stream one at a time and then processed according to the editing operations in the corresponding MCU blocking editing lists.
摘要:
A method for correcting a nonlinear distortion in an image includes receiving an image of a calibration template comprising calibration patterns, detecting at least three points from the calibration patterns, calculating a distortion parameter from coordinates of the at least three points that should align along a straight line, and correcting the nonlinear distortion in the image using the distortion parameter. A method for correcting a radial distortion in an image includes receiving a radial distortion parameter from the user and calculating new intensity values of points in the image to correct a radial exposure distortion in the image.
摘要:
A method for improving image resolution includes (a) selecting a low-resolution pixel in a low-resolution image; (b) generating a vector that characterizes a low-resolution patch about the low-resolution pixel; (c) classifying the low-resolution patch into one of a plurality of possible patterns; (d) if said one pattern is one of a plurality of top ranking patterns having filters, applying a filter of said one of the top ranking patterns to the low-resolution patch to generate high-resolution pixels that correspond to the low-resolution pixel; (e) if said one pattern is not one of the plurality of top ranking patterns, applying an interpolation process to the low-resolution patch to generate the high-resolution pixels; (f) repeating steps (a) to (e) for additional low-resolution pixels to generate additional high-resolution pixels to form a high-resolution image.
摘要:
A method for generating texture includes (1) selecting a target patch to be filled in a image, (2) selecting a sample patch as a candidate for filling the target patch, (3) determining a first difference between a first area surrounding the target patch and a corresponding first area surrounding the sample patch, and a second difference between a second area surrounding the target patch and a corresponding second area surrounding the sample patch, (4) multiplying a larger of the first difference and the second difference with a first weight factor, and a smaller of the first difference and the second difference with a second weight factor, and (5) summing the weighted first difference and the weighted second difference as a distance between the target patch and the sample patch.