Image processing methods and apparatus for separable, general affine transformation of an image
First Claim
1. An image processing method of general, separable affine transformation of a source image, the method comprising the steps ofA. generating an intermediate image by affine transformation of the source image along a first axis relative to the source image in accord with a partial transformation matrix L, wherein the partial transformation matrix L is a left triangular matrix;
- B. generating a destination image by affine transformation of the intermediate image along a second axis relative to the source image in accord with a partial transformation matrix U, wherein the partial transformation U is a right triangular matrix;
C. where coordinates in the source image are related to coordinates in the destination image in accord with the relations;
where(xd,yd) represents a coordinate in the destination image;
(xs,ys) represents a coordinate in the source image;
(x0,y0) is an offset to be effected by the transformation;
e11, e12, e21, and e22 are elements of a general affine transformation matrix M; and
D. where L and U are decompositions of the transformation matrix M, such that M=L·
U and where the destination image represents a general affine transformation of the source image.
2 Assignments
0 Petitions
Accused Products
Abstract
A separable, general affine transformation according to the invention permits an image to be concurrently rotated, scaled, translated, skewed, sheared, or otherwise transformed via a sequence of one-dimensional transformations. A general affine transformation of an image in two dimensions is achieved by generating an “intermediate” image via affine transformation of the source along a first axis. The intermediate image is then subjected to affine transformation along a second axis, e.g., perpendicular to the first. The resultant image may be used in place of that which would be produced by a single two-dimensional transformation of the source image (e.g., in a single pass).
225 Citations
39 Claims
-
1. An image processing method of general, separable affine transformation of a source image, the method comprising the steps of
A. generating an intermediate image by affine transformation of the source image along a first axis relative to the source image in accord with a partial transformation matrix L, wherein the partial transformation matrix L is a left triangular matrix; -
B. generating a destination image by affine transformation of the intermediate image along a second axis relative to the source image in accord with a partial transformation matrix U, wherein the partial transformation U is a right triangular matrix;
C. where coordinates in the source image are related to coordinates in the destination image in accord with the relations;
where (xd,yd) represents a coordinate in the destination image;
(xs,ys) represents a coordinate in the source image;
(x0,y0) is an offset to be effected by the transformation;
e11, e12, e21, and e22 are elements of a general affine transformation matrix M; and
D. where L and U are decompositions of the transformation matrix M, such that M=L·
U andwhere the destination image represents a general affine transformation of the source image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
i. defining a mapping between coordinates in the intermediate image and those in the source image; - and
ii. determining a pixel intensity for at least a selected coordinate in the intermediate image as a function of intensities of one or more pixels in a vicinity of a coordinate in the source image to which the selected coordinate maps.
-
-
3. A method according to claim 2, wherein step (A)(i) comprises defining a mapping between locations in the intermediate image having two integer coordinates and those in the source image having at least one integer coordinate.
-
4. A method according to claim 2, wherein step (A)(ii) comprises determining a pixel intensity for the selected coordinate in the intermediate image by any of interpolation and extrapolation of the intensities of one or more pixels in the vicinity of the coordinate in the source image to which the selected coordinate maps.
-
5. A method according to claim 1, wherein step (B) comprises
i. defining a mapping between coordinates in the destination image and those in the intermediate image; - and
ii. determining a pixel intensity for at least a selected coordinate in the destination image as a function of intensities of one or more pixels in a vicinity of a coordinate in the intermediate image to which the selected coordinate maps.
- and
-
6. A method according to claim 5, wherein step (B)(i) comprises defining a mapping between locations in the destination image having two integer coordinates and those in the source image having at least one integer coordinate.
-
7. A method according to claim 5, wherein step (B)(ii) comprises determining a pixel intensity for the selected coordinate in the destination image by any of interpolation and extrapolation of the intensities of one or more pixels in the vicinity of the coordinate in the intermediate image to which the selected coordinate maps.
-
8. A method according to claim 1, wherein the first axis and the second axis are substantially perpendicular to one another.
-
9. A method according to claim 1, wherein the partial transformation matrix L is in accord with the relation
-
wherein l11, l21 and l22 are parameters of L and wherein l11=1.
-
-
10. A method according to claim 1, wherein the partial transformation matrix U is in accord with the relation
-
wherein u11, u12 and u22 are parameters of U and wherein u22=1.
-
-
11. An image processing method for general, separable affine transformation of a source image, the method comprising the steps of
A. generating an intermediate image by affine transformation of the source image along a first axis, such generating step including i. defining a mapping between coordinates in the intermediate image and coordinates in the source image, wherein said step of defining the mapping includes the steps of (1) selecting a plurality of coordinates for the intermediate image and (2) calculating for each of those selected coordinates a corresponding coordinate in the source image, ii. determining a pixel intensity for at least a selected coordinate in the intermediate image as a function of intensities of one or more pixels in a vicinity of a coordinate in the source image to which the selected coordinate maps, B. generating a destination image by affine transformation of the intermediate image along a second axis, such generating step including i. defining a mapping between coordinates in the destination image and those in the intermediate image in accord with the relations
-
17. An image processing system for carrying out a method for general, separable affine transformation of a source image, the method comprising the steps of
A. generating an intermediate image by affine transformation of the source image along a first axis relative to the source image in accord with partial transformation matrix L, wherein the partial transformation matrix L is a left triangular matrix, and B. generating a destination image by affine transformation of the intermediate image along a second axis relative to the source image in accord with a partial transformation matrix U, wherein the partial transformation matrix U is a right triangular matrix; -
C. where coordinates in the source image are related to coordinates in the destination image in accord with the relations;
where (xd, yd) represents a coordinate in the destination image;
(xs, ys) represents a coordinate in the source image;
(xo, yo) is an offset to be effected by the transformation;
e11, e12, e21, and e22 are elements of a general affine transformation matrix M, and D. where L and U are decompositions of a transformation matrix M, such that M=L·
U, andwhere the destination image represents a general affine transformation of the source image. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
i. defining a mapping between coordinates in the intermediate image and those in the source image; - and
ii. determining a pixel intensity for at least a selected coordinate in the intermediate image as a function of intensities of one or more pixels in a vicinity of a coordinate in the source image to which the selected coordinate maps.
-
-
19. A system according to claim 18, wherein step (A)(i) comprises defining a mapping between locations in the intermediate image having two integer coordinates and those in the source image having at least one integer coordinate.
-
20. A system according to claim 18, wherein step (A)(ii) comprises determining a pixel intensity for the selected coordinate in the intermediate image by any of interpolation and extrapolation of the intensities of one or more pixels in the vicinity of the coordinate in the source image to which the selected coordinate maps.
-
21. A system according to claim 17, wherein step (B) comprises
i. defining a mapping between coordinates in the destination image and those in the intermediate image; - and
ii. determining a pixel intensity for at least a selected coordinate in the destination image as a function of intensities of one or more pixels in a vicinity of a coordinate in the intermediate image to which the selected coordinate maps.
- and
-
22. A system according to claim 21, wherein step (B)(i) comprises defining a mapping between locations in the destination image having two integer coordinates and those in the source image having at least one integer coordinate.
-
23. A system according to claim 21, wherein step (B)(ii) comprises determining a pixel intensity for the selected coordinate in the destination image by any of interpolation and extrapolation of the intensities of one or more pixels in the vicinity of the coordinate in the intermediate image to which the selected coordinate maps.
-
24. A system according to claim 17, wherein the first axis and the second axis are substantially perpendicular to one another.
-
25. A system according to claim 24, wherein the first axis and the second axis are substantially aligned with respective axes of the destination image.
-
26. A system according to claim 17, wherein the partial transformation matrix L is in accord with the relation
-
wherein l11, l21 and l22 are parameters of L and wherein l11=1.
-
-
27. A system according to claim 17, wherein the partial transformation matrix U is in accord with the relation
-
wherein u11, u12 and u22 are parameters of U and wherein u22=1.
-
-
28. An image processing system for carrying out a method for general, separable affine transformation of a source image, the method comprising the steps of
A. generating an intermediate image by affine transformation of the source image along a first axis, such generating step including i. defining a mapping between coordinates in the intermediate image and those in the source image, wherein said step of defining the mapping includes the steps of (1) selecting a plurality of coordinates for the intermediate image and (2) calculating for each of those selected coordinates a corresponding coordinate in the source image; - and
ii. determining a pixel intensity for at least a selected coordinate in the intermediate image as a function of intensities of one or more pixels in a vicinity of a coordinate in the source image to which the selected coordinate maps, B. generating a destination image by affine transformation of the intermediate image along a second axis, such generating step including i. defining a mapping between coordinates in the destination image and those in the intermediate image in accord with the relations - View Dependent Claims (29, 30, 31, 32, 33)
- and
-
34. An image processing method for general, separable affine transformation of a source image, the method comprising the steps of
A. generating an intermediate image by affine transformation of the source image along a first axis, such generating step including i. defining a mapping between coordinates in the intermediate image and those in the source image in accord with the relations
-
37. An image processing system for carrying out a method for general, separable affine transformation of a source image, the method comprising the steps of
A. generating an intermediate image by affine transformation of the source image along a first axis, such generating step including i. defining a mapping between coordinates in the intermediate image and those in the source image in accord with the relations
Specification