Method of and apparatus for establishing highlight and shadow densities
First Claim
1. A method of establishing a gradation control density Xc employed as a highlight density or a shadow density on a gradation correction curve F(X) that is used in gradation correction of image data expressing density of each pixel in an image, the method comprising the steps of:
- (a) on the basis of said image data, generating a statistical curve Y=S(X) expressing a cumulative density distribution of said image, where said statistical curve Y=S(X) is defined on an X-Y coordinate plane having an X-axis representing density levels and a Y-axis representing a cumulative number of pixels in an arbitrary scale;
(b) providing a threshold density XTH on said X-axis;
(c) finding a terminal value Ym on said Y-axis at which said statistical curve Y=S(X) is terminated;
(d) providing a first reference value Y1R on said Y-axis;
(e) finding a terminal density Xm on said X-axis at which said statistical curve Y=S(X) reaches said terminal value Ym ;
(f) converting said first reference value Y1R through said statistical curve Y=S(X), to thereby obtain a first reference density X1R ;
(g) comparing said first reference density X1R with said threshold density XTH, to thereby designate said statistical curve Y=S(X) as a first type corresponding to an extraordinarily-bright image or an extraordinarily-dark image when said first reference density X1R is farther from said terminal density Xm than is said threshold density XTH, or as a second type corresponding to an ordinary image other than said extraordinarily-bright image or said extraordinarily-dark image when said first reference density X1R is closer to said terminal density Xm than is said threshold density XTH ;
(h) selecting a first procedure for setting said gradation control density Xc at a terminal reference density XTR predetermined between said terminal density Xm and said first reference density X1R when said statistical curve Y=S(X) is said first type, or selecting a second procedure other than said first procedure for setting said gradation control density Xc when said statistical curve Y=S(X) is said second type; and
(i) establishing said gradation control density Xc through said first procedure or said second procedure selected at said step (h).
1 Assignment
0 Petitions
Accused Products
Abstract
Highlight density (XH) (or shadow density) is established on the basis of a cumlative histogram (H(X)) of density of an original. Computed first are reference densities (XHR, XHL and XHl -XHn) associated with prescribed reference statistic values (YHR, YHL and YHl -YHn), respectively, and threshold values (WHl -WHn). Then, the reference density (XHR) is compared with a prescribed threshold density (XHS), and a difference (XHi) concerning the reference density (XHi) is compared with the threshold value (WHi) in a procedure, to thereby select one of procedures for establishing the highlight density.
42 Citations
11 Claims
-
1. A method of establishing a gradation control density Xc employed as a highlight density or a shadow density on a gradation correction curve F(X) that is used in gradation correction of image data expressing density of each pixel in an image, the method comprising the steps of:
-
(a) on the basis of said image data, generating a statistical curve Y=S(X) expressing a cumulative density distribution of said image, where said statistical curve Y=S(X) is defined on an X-Y coordinate plane having an X-axis representing density levels and a Y-axis representing a cumulative number of pixels in an arbitrary scale; (b) providing a threshold density XTH on said X-axis; (c) finding a terminal value Ym on said Y-axis at which said statistical curve Y=S(X) is terminated; (d) providing a first reference value Y1R on said Y-axis; (e) finding a terminal density Xm on said X-axis at which said statistical curve Y=S(X) reaches said terminal value Ym ; (f) converting said first reference value Y1R through said statistical curve Y=S(X), to thereby obtain a first reference density X1R ; (g) comparing said first reference density X1R with said threshold density XTH, to thereby designate said statistical curve Y=S(X) as a first type corresponding to an extraordinarily-bright image or an extraordinarily-dark image when said first reference density X1R is farther from said terminal density Xm than is said threshold density XTH, or as a second type corresponding to an ordinary image other than said extraordinarily-bright image or said extraordinarily-dark image when said first reference density X1R is closer to said terminal density Xm than is said threshold density XTH ; (h) selecting a first procedure for setting said gradation control density Xc at a terminal reference density XTR predetermined between said terminal density Xm and said first reference density X1R when said statistical curve Y=S(X) is said first type, or selecting a second procedure other than said first procedure for setting said gradation control density Xc when said statistical curve Y=S(X) is said second type; and (i) establishing said gradation control density Xc through said first procedure or said second procedure selected at said step (h). - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of establishing a gradation control density Xc employed as a highlight density or a shadow density on a gradation correction curve F(X) that is used in gradation correction of image data expressing density of each pixel in an image, the method comprising the steps of:
-
(a) on the basis of said image data, generating a statistical curve Y=S(X) expressing a cumulative density distribution of said image, where said statistical curve Y=S(X) is defined on an X-Y coordinate plane having an X-axis representing density levels and a Y-axis representing a cumulative number of pixels in an arbitrary scale; (b) finding a line approximate to an end portion of said statistical curve Y=S(X); (c) presetting a first difference D between said gradation control density Xc and a terminal density Xa of said gradation correction curve F(X); (d) finding a terminal value Ym on said Y-axis at which said statistical curve Y=S(X) is terminated; (e) computing a terminal density Xim of said line at which said line reaches said terminal value Ym ; and (f) establishing said gradation control density Xc so that said first difference D agrees within a prescribed error with a second difference Di between said gradation control density Xc and said terminal density Xim of said line. - View Dependent Claims (7, 8)
-
-
9. An apparatus for establishing a gradation control density Xc employed as a highlight density or a shadow density on a gradation correction curve F(X) that is used in gradation correction of image data expressing density of each pixel in an image, the apparatus comprising:
-
(a) a first processor means for generating a statistical curve Y=S(X) expressing a cumulative density distribution of said image on the basis of said image data, where said statistical curve Y=S(X) is defined on an X-Y coordinate plane having an X-axis representing density levels and a Y-axis representing a cumulative number of pixels in an arbitrary scale; (b) a second processor means for finding a terminal density Xm on said X-axis at which said statistical curve Y=S(X) is terminated; (c) a third processor means for computing a first reference density X1R by converting a prescribed first reference value Y1R on said Y-axis through said statistical curve Y=S(X); (d) a fourth processor means for comparing said first reference density X1R with a prescribed threshold density XTH, to thereby designate said statistical curve Y=S(X) as a first type corresponding to an extraordinarily-bright image or an extraordinarily-dark image when said first reference density XIR is farther from said terminal density Xm than is said threshold density XTH, or as a second type corresponding to an ordinary image other than said extraordinarily-bright image or said extraordinarily-dark image when said first reference density XIR is closer to said terminal density Xm than is said threshold density XTH ; and (e) a fifth processor means for establishing said gradation control density Xc through a first procedure for setting said gradation control density Xc at a terminal reference density XTR predetermined between said terminal density Xm and said first reference density X1R when said statistical curve Y=S(X) is said first type, or through a second procedure other than said first procedure for setting said gradation control density Xc when said statistical curve Y=S(X) is said second type. - View Dependent Claims (10)
-
-
11. An apparatus for establishing a gradation control density Xc employed as a highlight density or a shadow density on a gradation correction curve F(X) that is used in gradation correction of image data expressing density of each pixel in an image, the apparatus comprising:
-
(a) a first processor means for generating a statistical curve Y=S(X) expressing a cumulative density distribution of said image on the basis of said image data, where said statistical curve Y=S(X) is defined on an X-Y coordinate plane having an X-axis representing density levels and a Y-axis representing a cumulative number of pixels in an arbitrary scale; (b) a second processor means for finding a line approximate to an end portion of said statistical curve Y=S(X); (c) a third processor means for computing a terminal density Xim at which said line is terminated; and (d) a fourth processor means for establishing said gradation control density Xc so that a prescribed first difference D between said gradation control density Xc and a terminal density Xa of said gradation correction curve F(X) agrees within a prescribed error with a second difference Di between said gradation control density Xc and said terminal density Xim of said line.
-
Specification