Automatic scaling of objects based on depth map for image editing
First Claim
1. An apparatus for automatically scaling image objects being moved or copied from an original object to a target object, comprising:
- (a) a computer processor configured for receiving and processing images; and
(b) programming executable on the computer processor for performing steps comprising;
(i) receiving an original object selection in an image and a target location for the original object to be moved/copied as a target object at said target location;
(ii) obtaining or receiving a depth map for the image containing the original object and the target object location; and
(iii) determining interdependent scaling factor and positioning for the target object, in response to;
(iii)(A) determining a center of scaling for the target object;
(iii)(B) selecting a base location on the original object at which depth value is to be obtained at the target location for use in scaling; and
(iii)(C) scaling target object at target location about the center of scaling in response to a ratio between original object depth and target object depth and pasting pixels of said target object into said target location;
(iv) whereby the target object is shown in a proper size in relation to its surroundings.
1 Assignment
0 Petitions
Accused Products
Abstract
Automatic scaling of image objects being moved or copied to a target object location is presented. An original image and its depth map are received within which the user selects an original object and a target location for the object to be moved or copied. A center of scaling is found and a base location selected at which depth value is to be obtained at the target location for use in scaling. Target object is then scaled in response to a ratio between original object depth and target object depth. An occlusion check is made, after which non-occluded pixels are pasted to the target location to complete the move/copy which is in proper proportion and accounts for surrounding structures.
-
Citations
20 Claims
-
1. An apparatus for automatically scaling image objects being moved or copied from an original object to a target object, comprising:
-
(a) a computer processor configured for receiving and processing images; and (b) programming executable on the computer processor for performing steps comprising; (i) receiving an original object selection in an image and a target location for the original object to be moved/copied as a target object at said target location; (ii) obtaining or receiving a depth map for the image containing the original object and the target object location; and (iii) determining interdependent scaling factor and positioning for the target object, in response to; (iii)(A) determining a center of scaling for the target object; (iii)(B) selecting a base location on the original object at which depth value is to be obtained at the target location for use in scaling; and (iii)(C) scaling target object at target location about the center of scaling in response to a ratio between original object depth and target object depth and pasting pixels of said target object into said target location; (iv) whereby the target object is shown in a proper size in relation to its surroundings. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus for automatically scaling image objects being moved or copied from an original object to a target object, comprising:
-
(a) a computer processor configured for receiving and processing images; and (b) programming executable on the computer processor for performing steps comprising; (i) receiving an original object selection in an image and a target location for the original object to be moved/copied as a target object at said target location; (ii) obtaining or receiving a depth map for the image containing the original object and the target object location; and (iii) determining interdependent scaling factor and positioning for location of the target object, in response to; (iii)(A) determining a center of scaling for the target object; (iii)(B) selecting a base location on the original object at which depth value is to be obtained at the target location for use in scaling; and (iii)(C) scaling target object at target location about center of scaling in response to a ratio between original object depth and target object depth and pasting pixels of said target object into said target location; (iv) wherein determination of interdependent scaling factor and positioning for the target object includes determining two different depth values for any point P, as depth obtained from the depth map as D1(x), and as a computed depth assuming that object is scaled by a factor s(P)=x/b, wherein depth is Dc(x)=DB/s(P)=DB b/x, and determining value x as scaling factor, wherein value b is distance between object origin and its bottom; and (v) whereby the target object is shown in a proper size in relation to its surroundings. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A method of automatically scaling image objects being moved or copied from an original object to a target object, comprising:
-
(a) receiving an original object selection in an image and a target location for the original object to be moved/copied as a target object at said target location within an image processing device having a computer processor and programming executable on the computer processor; (b) obtaining or receiving a depth map for the image containing the original object and the target object location; and (c) determining interdependent scaling factor and positioning for the target object, in response to; (c)(i) determining a center of scaling for the target object; (c)(ii) selecting a base location on the original object at which depth value is to be obtained at the target location for use in scaling; and (c)(iii) scaling target object at target location about the center of scaling in response to a ratio between original object depth and target object depth and pasting pixels of said target object into said target location; (d) whereby the target object is shown in a proper size in relation to its surroundings.
-
Specification