Editing of digital images, including (but not limited to) highlighting and shadowing of image areas
First Claim
1. A circuitry-implemented method comprising image editing, the method comprising:
- (1) obtaining digital data representing image portions p1, p2, . . . , wherein for each image portion p (p=p1, p2, . . . ), the digital data define a brightness B(p) of the portion p;
(2) for each image portion pi of a plurality of the image portions p1, p2, . . . , obtaining a brightness B*(pi) of a modified image, such that;
B*(pi)=ƒ
(B(pi),Bavg(pi))wherein;
Bavg(pi) is a function of the brightness values B(v) of image portions p in an image region R(pi) containing a plurality of image portions including the portion pi; and
ƒ
is a predefined non-identity function such that for all i, the function ƒ
(B(pi),y) is strictly monotonic my for each B(pi), and for each Bavg(pi), the function ƒ
(x,Bavg(pi) is strictly increasing in x.
1 Assignment
0 Petitions
Accused Products
Abstract
In a digital image having pixels pi (i=1, 2, . . . ) and a brightness B(pi) at each pixel pi, the global dynamic range of an image is changed by replacing the brightness B(pi) with the brightness B*(pi)=B(pi)×(B0/Bavg(pi))ε, where B0 and ε are predefined constants, and Bavg(pi) is some average brightness value, e.g. the mean brightness over a region R(pi) containing the pixel pi. The local dynamic range is not changed significantly in some embodiments. The brightness of an image at a pixel can be defined so that multiplication of the brightness by a positive value k corresponds to multiplication of tristimulus values by k. In some embodiments, a color coordinate system is used with the brightness being one of the coordinates.
28 Citations
23 Claims
-
1. A circuitry-implemented method comprising image editing, the method comprising:
-
(1) obtaining digital data representing image portions p1, p2, . . . , wherein for each image portion p (p=p1, p2, . . . ), the digital data define a brightness B(p) of the portion p; (2) for each image portion pi of a plurality of the image portions p1, p2, . . . , obtaining a brightness B*(pi) of a modified image, such that;
B*(pi)=ƒ
(B(pi),Bavg(pi))wherein; Bavg(pi) is a function of the brightness values B(v) of image portions p in an image region R(pi) containing a plurality of image portions including the portion pi; and ƒ
is a predefined non-identity function such that for all i, the function ƒ
(B(pi),y) is strictly monotonic my for each B(pi), and for each Bavg(pi), the function ƒ
(x,Bavg(pi) is strictly increasing in x.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
for some function F.
-
-
5. The method of claim 4 wherein there exists a positive value B0 such that F(B0)=1.
-
6. The method of claim 5 wherein Bmin≦
- B0≦
Bmax, wherein Bmin is the minimum of the brightness values B(pi) and Bmax is the maximum of the brightness values B(pi).
- B0≦
-
7. The method of claim 5 wherein:
-
B*(pi)=B(pi)×
(B0/Bavg(pi))εwhere ε
is a non-zero constant.
-
-
8. The method of claim 7 wherein c is greater than −
- 1 and less than 1.
-
9. Circuitry for performing the method of claim 7.
-
10. One or more computer-readable mediums comprising one or more computer instructions to cause a computer system to perform the method of claim 7.
-
11. The method of claim 1 wherein the operation (2) is performed for a plurality of portions pt with each image region R(pi) having a predefined geometry with respect to the respective portion pi.
-
12. The method of claim 1 wherein Bavg(pi) is a weighted average of the brightness values of the image region R(pi), and the sum of the weights is equal to 1.
-
13. The method of claim 1 wherein Bavg is the mean of the brightness values in the image region R(pi).
-
14. The method of claim 1 wherein for each image portion p (p=p1, p2, . . . ), the digital data represent a color S(p) of the portion p, the color S(p) having tristimulus values T1(p), T2(p), T3(p) in a predefined color coordinate system, wherein for any color S having tristimulus values T1, T2, T3 in said predefined color coordinate system and having a brightness B, for any positive value k in a range of positive values, a color with tristimulus values kT1, kT2, kT3 has a brightness kB.
-
15. The method of claim 14 wherein
-
T 1 2 + g 22 T 2 2 + g 33 T 3 2 + g 12 T 1 T 2 + g 13 T 1 T 3 + g 23 T 2 T 3 wherein g11, g22, g33, g12, g13, g23 are predefined constants, and g11, g22, g33 are not equal to zero.
-
-
16. The method of claim 14 wherein:
-
for each image portion p (p=p1, p2, . . . ), the digital data represent coordinates of the color S(p) of the portion p in a first coordinate system, wherein for a color S having tristimulus values T1, T2, T3 in a second coordinate system which is said predefined coordinate system, the coordinates of the color S in the first coordinate system are coordinates S1, S2, S3, or a linear transformation of the coordinates S1, S2, S3, wherein; (A) the coordinate S1 is defined by B or (B) the coordinate S1 is defined by B and by a sign of a predefined function of one or more of T1, T2, T3.
-
-
17. The method of claim 16 wherein:
-
B=√
{square root over (α
12(T1,T2,T3)+α
22(T1,T2,T3)+α
32(T1,T2,T3))}{square root over (α
12(T1,T2,T3)+α
22(T1,T2,T3)+α
32(T1,T2,T3))}{square root over (α
12(T1,T2,T3)+α
22(T1,T2,T3)+α
32(T1,T2,T3))}
wherein
α
1(T1,T2,T3)=α
11×
T1+α
12×
T2+α
13×
T3
α
2(T1,T2,T3)=α
21×
T1+α
22×
T2+α
23×
T3
α
3(T1,T2,T3)=α
31×
T1+α
32×
T2+α
33×
T3wherein α
11, α
12, α
3, α
21, α
22, α
23, α
31, α
32, α
33 are predefined numbers such that the following matrix Λ
is non-degenerate;
-
-
18. The method of claim 17 wherein α
-
1(T1,T2,T3), α
2(T1,T2,T3), α
3(T1,T2,T3) are tristimulus values corresponding to 70%-orthonormal color matching functions.
-
1(T1,T2,T3), α
-
19. The method of claim 17 wherein:
-
the value T1 is one of values D, F, F, the value T2 is another one of D, F, F, and the value T3 is the third one of D, E, F, where where the matrix A has elements which, up to rounding, are as follows; where X Y, Z are the coordinates of the color S in the CIE 1931 XYZ color coordinate system for a 2°
field;wherein up to a constant multiple, Λ
is a 70%-orthonormal matrix.
-
-
20. Circuitry for performing the method of claim 1.
-
21. One or more computer-readable mediums comprising one or more computer instructions to cause a computer system to perform the method of claim 1.
-
22. A data transmission method comprising transmitting a computer program over a network link, wherein the computer program is operable to cause a computer system to perform the method of claim 1.
-
23. A data transmission method comprising transmitting a computer program over a network link, wherein the computer program is operable to cause a computer system to perform the method of claim 7.
Specification