Homography rectification
First Claim
Patent Images
1. A machine vision system comprising:
- a processor configured to run a computer program stored in memory that is configured to cause the processor to;
receive a distorted image and a homography matrix associated with the distorted image;
determine, using a homography decomposition module, a first transform and a second transform that collectively represent the homography matrix, wherein the first transform relates the distorted image to an intermediate image, and the second transform relates a transposed intermediate image to a transposed rectified image, wherein the distorted image, the intermediate image, the transposed intermediate image, and the transposed rectified image comprise at least a first dimension and a second dimension;
wherein;
the first transform is constrained to map pixels along the first dimension of the intermediate image to locations along the first dimension of the distorted image, and wherein the locations along the first dimension of the distorted image are constrained to be separated by a same distance from adjacent locations along the first dimension of the distorted image by constraining a rate of change of (1) the first dimension of the distorted image with respect to (2) the first dimension of the intermediate image; and
the second transform is constrained to map pixels along the first dimension of the transposed rectified image to locations along the first dimension of the transposed intermediate image, and wherein the locations along the first dimension of the transposed intermediate image are constrained to be separated by a same distance from adjacent locations along the first dimension of the transposed intermediate image by constraining a rate of change of (1) the first dimension of the transposed intermediate image with respect to (2) the first dimension of the transposed rectified image;
generate, using a homography removal module, the intermediate image by removing the first transform from the distorted image;
transpose, using the homography removal module, the intermediate image prior to removing the second transform from the intermediate image to generate the transposed intermediate image; and
generate, using the homography removal module, the transposed rectified image by removing the second transform from the transposed intermediate image.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a multi-stage image mapping mechanism for mapping a distorted image to a rectified image. For example, the multi-stage image mapping mechanism can remove homography from a distorted image to reconstruct a rectified image in two-stages: (1) a first stage in which distortion is partially removed from a distorted image to generate an intermediate image, and (2) a second stage in which residual distortion is removed from the intermediate image to recover the rectified image.
-
Citations
16 Claims
-
1. A machine vision system comprising:
-
a processor configured to run a computer program stored in memory that is configured to cause the processor to; receive a distorted image and a homography matrix associated with the distorted image; determine, using a homography decomposition module, a first transform and a second transform that collectively represent the homography matrix, wherein the first transform relates the distorted image to an intermediate image, and the second transform relates a transposed intermediate image to a transposed rectified image, wherein the distorted image, the intermediate image, the transposed intermediate image, and the transposed rectified image comprise at least a first dimension and a second dimension; wherein; the first transform is constrained to map pixels along the first dimension of the intermediate image to locations along the first dimension of the distorted image, and wherein the locations along the first dimension of the distorted image are constrained to be separated by a same distance from adjacent locations along the first dimension of the distorted image by constraining a rate of change of (1) the first dimension of the distorted image with respect to (2) the first dimension of the intermediate image; and the second transform is constrained to map pixels along the first dimension of the transposed rectified image to locations along the first dimension of the transposed intermediate image, and wherein the locations along the first dimension of the transposed intermediate image are constrained to be separated by a same distance from adjacent locations along the first dimension of the transposed intermediate image by constraining a rate of change of (1) the first dimension of the transposed intermediate image with respect to (2) the first dimension of the transposed rectified image; generate, using a homography removal module, the intermediate image by removing the first transform from the distorted image; transpose, using the homography removal module, the intermediate image prior to removing the second transform from the intermediate image to generate the transposed intermediate image; and generate, using the homography removal module, the transposed rectified image by removing the second transform from the transposed intermediate image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computerized method comprising:
-
receiving, at a homography decomposition module, a homography matrix associated with a distorted image; determining, using the homography decomposition module, a first transform and a second transform that collectively represent the homography matrix, wherein the first transform relates the distorted image to an intermediate image, and the second transform relates a transposed intermediate image to a transposed rectified image, wherein the distorted image, the intermediate image, the transposed intermediate image, and the transposed rectified image comprise at least a first dimension and a second dimension; wherein; the first transform is constrained to map pixels along the first dimension of the intermediate image to locations along the first dimension of the distorted image, and wherein the locations along the first dimension of the distorted image are constrained to be separated by a same distance from adjacent locations along the first dimension of the distorted image; and the second transform is constrained to map pixels along the first dimension of the transposed rectified image to locations along the first dimension of the transposed intermediate image, and wherein the locations along the first dimension of the transposed intermediate image are constrained to be separated by a same distance from adjacent locations along the first dimension of the transposed intermediate image; generating, using a homography removal module coupled to the homography decomposition module, the intermediate image by removing the first transform from the distorted image; transposing, using the homography removal module, the intermediate image using the homography removal module prior to removing the second transform from the intermediate image to generate the transposed intermediate image; and generating, using the homography removal module, the transposed rectified image by removing the second transform from the transposed intermediate image. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A non-transitory computer readable medium having executable instructions associated with a homography decomposition module and a homography removal module, operable to cause a machine vision system to:
-
receive a homography matrix associated with a distorted image; determine a first transform and a second transform that collectively represent the homography matrix, wherein the first transform relates the distorted image to an intermediate image, and the second transform relates a transposed intermediate image to a transposed rectified image, wherein the distorted image, the intermediate image, the transposed intermediate image, and the transposed rectified image comprise at least a first dimension and a second dimension; wherein; the first transform is constrained to map pixels along the first dimension of the intermediate image to locations along the first dimension of the distorted image, and wherein the locations along the first dimension of the distorted image are constrained to be separated by a same distance from adjacent locations along the first dimension of the distorted image; and the second transform is constrained to map pixels along the first dimension of the transposed rectified image to locations along the first dimension of the transposed intermediate image, and wherein the locations along the first dimension of the transposed intermediate image are constrained to be separated by a same distance from adjacent locations along the first dimension of the transposed intermediate image; generate the intermediate image by removing the first transform from the distorted image; transpose the intermediate image prior to removing the second transform from the intermediate image to generate the transposed intermediate image; and generate the transposed rectified image by removing the second transform from the transposed intermediate image.
-
Specification