Method of and apparatus for generating conversion curve employable for converting reproduction characteristic of image

Abstract: On an conversion plane of image data, first through third points ( Q H' Q S , Q D ) are provided. The first and second points are determined in accordance with highlight and shadow points of an original image, respectively, while the third point is determined in accordance with a dummy shadow point of the original image. A conversion curve ( C a , C b ) is so determined as to pass through the first and second points and to extend along a straight line ( L ) connecting the first and third points in the highlight region on the coordinate plane.

Description: The present invention relates to a method of and an apparatus for generating a conversion curve employable for converting a reproduction characteristic of an image, and more particularly to a technique suitable for automatic generation of the conversion curve in a process scanner and the like. The present invention may be applied to a method of systematically correcting color fogging caused only in a shadow part of a color original in a color image processor such as a color process scanner. EP-A-0 258 740 discloses a method of and an apparatus for generating a conversion curve employable for converting a reproduction characteristic of an image with the features of first part of claim 1. In a color process scanner and the like, an image of a color original is color-separated and thereafter each color component is converted into a halftone dot signal to record a reproduced image. When color fogging is present in the original, color separation conditions are corrected in the judgement of an operator so that gray balance is ensured in a recorded image. In a first conventional method for correcting the color separation conditions, different highlight and shadow density values are set for respective color components in a process for converting a density signal for each color component obtained by reading the original to fit a density range of a color separation device, that is, a normalization conversion process. In a second conventional method, highlight and shadow density values are set in common to each color component, and halftone dot percentage for each color block is corrected in the stage where the halftone dot signal for each color block: yellow (Y), magenta (M), cyan (C) and black (K) is determined. There are generally two problems in such conventional methods. One problem is that a skilled operator is required for proper correction, because the color separation conditions are corrected fundamentally based on a manual operation of an operator. This type of problem occurs not only in the correction of the color separation conditions but also in the normalization conversion in a monochrome image. The other is a problem inherent in obtaining the aforesaid gray balance. In the two conventional methods, improvement is recognized in the case where a color fogging is present in low and middle density regions due to a deviation in light-emission characteristic of a light source in photographing a subject for producing the original and in the case where the original is discolored as a whole. It is difficult however to carry out appropriate correction through the conventional methods in the case where a color fogging caused only in a shadow part results from a difference between respective maximum values of color components in expressible density on an original film. Since uniform correction is carried out over a whole range of density in the aforesaid respective conventional methods, the correction for removing the color fogging in the shadow part influences the low and middle density regions, and resultingly the gray balance in the low and middle density regions is lost. For removing the color fogging only on the high density side while preventing such states, UCA/UCR (Under Color Add/Removal) function in the color separation device should be used. By using this function, only the halftone dot percentage of gray component having high density is adjustable for each color printer in relation to the gray component. However, in the case of using the UCA/UCR function, the lower limit of the density range to be corrected must be set manually for each color printer. The decision of a correction amount is largely dependent on operator's sense because the correction amount is also based on the darkest part in the original. That is, the work of removing the color fogging by means of the UCA/UCR function is not objective and systematic but temporary. Thus the correction amount of the color fogging by means of the UCA/UCR function cannot be controlled systematically and quantitatively, which causes a hindrance to automatic determination of color separation conditions. In addition, since a UCA/UCR circuit is provided in the rear stage of a black-printer signal generation circuit in the color separation device, each circuit in the preceding stage of the UCA/UCR circuit must process a signal before gray balance correction, and establishment of the processing characteristic thereof is complicated. Furthermore, a technique which handles together gray balance correction in the case where the entire original is discolored and color fogging correction only in the shadow part has not been developed, and these corrections must be conducted separately in the conventional techniques. Accordingly, an object of the present invention is to provide a method of and apparatus for generating a conversion curve systematically executable without a skilled operator and particularly suitable for automation. Another object of the present invention is to generate a conversion curve applied to correction of color separation conditions for a color original and capable of controlling a correction amount of color fogging only in a shadow part systematically and quantitatively. Further another object of the present invention is to supply each circuit in a color separation device with a signal after gray balance correction to facilitate the establishment of processing characteristics in the circuits. Further another object of the present invention is to provide a technique capable of handling together gray balance correction in the case where the whole of an original is discolored and color fogging correction only in a shadow part and particularly suitable for automation of color separation conditions. Further another object of the present invention is to generate a conversion curve capable of particularly preventing density expressivity in an image after conversion from being affected largely by the density range of an original. According to the present invention, the method comprises the steps of claim 1. The present invention also provides an apparatus adapted for the above-indicated methods, which may be a color process scanner, with the features of claim 14. Preferred embodiments of the invention are subject matter of the subclaims. The term "density" in the present invention generally designates not only an optical density itself but also an amount expressing image gradation such as a signal level obtained by photoelectrically reading the optical density and a Munsell value. These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings. Fig. 1 is an external view of a color process scanner according to a first preferred embodiment of the present invention; Fig. 2 is a block diagram of the color process scanner; Figs. 3A and 3B are flow charts showing the operation of the first preferred embodiment; Fig. 4 shows conceptionally the procedure of data processings in the first preferred embodiment; Fig. 5 shows a frequency histogram of average density values; Fig. 6 shows a cumulative density histogram for each color component; Fig. 7 shows a cumulative relative frequency histogram; Fig. 8 shows a histogram for explaining processes of calculating an average color density value from parts of the histogram of Fig. 5; Fig. 9 is a graph illustrating an example of conversion curves generated according to the first preferred embodiment; Fig. 10 is a flow chart showing a part of the process of a second preferred embodiment of the present invention; Fig. 11 is a graph illustrating an example of conversion curves generated according to the second preferred embodiment; Fig. 12 is a graph showing dependence of a dummy shadow density value on a weight coefficient for calculating a weighted average; Fig. 13 is an external view showing another example of color process scanners according to the present invention; and Fig. 14 illustrates correction of a highlight density value depending on a subject in an original to be processed. DESCRIPTION OF PREFERRED EMBODIMENTS A. Overall Structure and Operation of First Preferred Embodiment Fig. 1 is an external view of a color process scanner according to a preferred embodiment of the present invention, and Fig. 2 is a block diagram showing an internal structure thereof. In Fig. 1, the process scanner 100 comprises a scanner unit 200 and a color separation auxiliary device 300 which are electrically connected to each other by a transmission cable 101. The scanner unit 200 consists of an input part 201 and an output part 202. The input part 201 comprises an original drum 2 and a pickup head 3. The output part 202 comprises a recording drum 11 and a recording head 10. In the example shown in Fig. 1, an operation panel 203 of the scanner unit 200 is provided on the side of the input part 202. The scanner unit 200 itself has no automatic function of setting color separation conditions, and the function is achieved by the color separation auxiliary device 300. The color separation auxiliary device 300 comprises a CRT 18 and a console 17 disposed on a device body 301. In Fig. 2, components of the scanner unit 200 are illustrated outside the broken line representative of the color separation auxiliary device 300. A positive color original film 1 is wound around the original drum 2. The pickup head 3 is provided in opposition to the original drum 2. Main scanning and subscanning of the original 1 are achieved by rotation of the drum 2 in the direction α and translation of the pickup head 3 in the direction β, respectively, whereby the pickup head 3 photoelectrically reads the image of the original 1 for each pixel in the order of scanning lines. Electronic signals representative of the image on the original is supplied to an input circuit 4 for each color component of blue (B), green (G) and red (R), which are converted into digital color density signals D B , D G and D R for B, G and R in the input circuit 4, respectively. In prescanning described later, these signals D B , D G and D R are stored in frame memories 13B, 13G and 13R for each pixel respectively. An data processor 14 is, for example, a microcomputer, is supplied with the signals D B , D G and D R from the frame memories 13B, 13G and 13R and generates conversion curves which are employable in converting a reproduction characteristic of the image for each color component. The conversion curves may be called as normalization curves, since the conversion includes an operation for normalizing the range of the color density signals into in accordance with a density range suitable for data processing for image recording. The details of this process are described later. A CPU 15 and a memory 16 are used in this process. The console 17 is provided for manually inputting various commands and data to the data processor 14. The conversion curves generated in the data processor 14 for respective components B, G and R are loaded as numerical data to lookup table memories (LUTs) 5B, 5G and 5R. Next, regular scanning of the original 1 is carried out for recording the image. The signals D B , D G and D R obtained at this time are subjected to normalization conversion using the conversion curves in the LUTs 5B, 5G and 5R to be converted into signals D NB' D NG and D NR , which are supplied to a color computation circuit 6 provided in the next stage. In the color computation circuit 6, color computation based on the signals D NB , D NG and D NR is executed so that respective color printer signals for Y, M, C and K are generated. These respective color printer signals are converted into Y, M, C and K halftone dot signals in a halftone dot converter 7. The halftone dot signals are combined by a selector 8 into a time-shared signal to be supplied to an output circuit 9 as a modulation signal. The recording head 10 contains a laser light source and ON/OFF-modulates a laser beam according to the modulation signal supplied from the output circuit 9. A photosensitive film 12 is wound around the recording drum 11. The laser beam exposes the photosensitive film 12 for each pixel in the order of scanning lines by the combination of the rotation of the drum 11 in the direction α and the translation of the recording head 10 in the direction β. Hereinafter considered is the case of positively recording respective color separation images of Y, M, C and K on the photosensitive film 12. B. Conversion Curve Generating Operation in First Preferred Embodiment Figs. 3A and 3B are flow charts showing the operation of the color process scanner 100. This operation is suited for correcting color fogging only in a shadow part. Fig. 4 shows conceptionally the processes of generating the conversion curves. The reference characters S1, S101, ··· and the like in Fig. 4 correspond to the step numbers in Figs. 3A and 3B. Outline arrows in Fig. 4 show flows of data. Hereinafter, the processes of generating the conversion curves are described in order. (B-1) Determination of Average Color Density Value First, in the process step S1 of Fig. 3A, the whole part of the original 1 to be reproduced is prescanned. The color density signals D B' D G and D R for each pixel (Fig. 2) are stored in the frame memories 13B, 13G and 13R, respectively. The color density values that the signals D B , D G and D R indicate are designated by the same reference characters D B , D G and D R hereinafter. When the original 1 is large in size, the storing operation of the color density values D B , D G and D R is carried out while skipping the pixels. The next process step S100 is a subroutine for obtaining highlight-side average color density values D HAB , D HAG and D HAR and shadow-side average color density values D SAB' D SAG and D SAR from the color density values D B , D G and D R . In Fig. 3B showing the details of the process step S100, an average density value: D M = (D B +D G +D R )/3 for each pixel is calculated in the first process step S101 from the density values D B' D G and D R which have been found in the process step S1. This calculation is executed on all prescanned pixels, and a frequency histogram of average density values is generated as shown in Fig. 5, in which the abscissa expresses ranks indicative of respective ranges of the average density value D M and the ordinate expresses the numbers of pixels N P belonging to respective ranks. In Fig. 5, the center values of respective ranks are represented by D Mi (i=1 to n). In the process step S102, the density values D B' D G and D R for each color component B, G and R of the respective pixels are cumulatively added in each rank of the frequency histogram of average density values. This process is executed for each rank independently. After this calculation, a cumulative density histogram for each color component is generated, as shown in Fig. 6, for example, in which the abscissa expresses rank values D Mi (i=1 to n) and the ordinate expresses cumulative density values ΣD B , ΣD G and ΣD R corresponding to the pixels included in the respective ranks. Such a cumulative density histogram is generated for each of X=B, G and R. As an example, the rank having a rank value of D Mi =1.0 and a rank width of 0.1 (0.95≦D M <1.05) is supposed. For convenience, it is assumed that the number of pixels included in this rank is taken as three, and the density data of the respective pixels are as follows: pixel 1: D B =1.10, D G =0.90, D R =0.95 (D M ≒0.98) pixel 2: D B =1.00, D G =1.10, D R =0.90 (D M ≒1.00) pixel 3: D B =1.00, D G =0.95, D R =0.95 (D M ≒0.97) When "X" is B (blue) in the cumulative density histogram shown in Fig. 6, the cumulative density value ΣD B in the rank (0.95≦D M <1.05) is calculated as follows: ΣD B = 1.10+1.00+1.00 = 3.10 The other cumulative density values ΣD G and ΣD R are similarly as follows: ΣD G = 0.90+1.10+0.95 = 2.95 ΣD R = 0.95+0.90+0.95 = 2.80 Such process is executed for each rank, so that the cumulative density histogram is obtained for each color component B, G and R. (See the block of process step S102 in Fig. 4. In Fig. 4, each histogram is drawn approximately by a curve. The process steps S101 and S102 are practically executed in parallel.) In the process step S103, a cumulative relative frequency histogram as shown in Fig. 7, in which the abscissa expresses the rank values D Mi (i=1 to n) and the ordinate expresses relative frequency RN (%) of pixels cumulatively added from the low density side, is generated from the frequency histogram average density values shown in Fig. 5. The histogram values increases from 0% to 100% in the range from a minimum density value D Mmin to a maximum density value D Mmax appearing on the original image. In Fig. 7, the cumulative relative frequency histogram is approximated by a curve on the condition that the rank width is sufficiently small. In the next process step S104, predetermined values of cumulative density occurrence rates RN H and RN S are applied to the cumulative relative frequency histogram shown in Fig. 7 to find a tentative highlight average density value D MH and a tentative shadow average density value D MS , respectively. The values of cumulative density occurrence rates RN H and RN S are previously obtained by an analysis of a large number of sample originals as values for statistically providing optimum highlight and shadow points, which are, for example, 1% and 98%, respectively. In the process step S105, noting the region of less than the tentative highlight average density value D MH on the highlight side (D Mmin ≦D M ≦D MH ) and the regions of more than the tentative shadow average density value D MS on the shadow side (D MS ≦D M ≦D Mmax ) as shown by oblique hatching of Fig. 8 in the cumulative density value histogram for each color component typically shown in Fig. 6, the cumulative density values ΣD B , ΣD G and ΣD R within these ranges are averaged for each color component using respective numbers of pixels belonging thereto. If the average per pixel on the highlight side is represented by <···> H and the average per pixel on the shadow side is represented by <···> S , the highlight-side average color density values D HAB' D HAG and D HAR and the shadow-side average color density values D SAB , D SAG and D SAR obtained through the above-indicated process step are as follows: D HAX = <ΣD X > H (X=B, G and R) D SAX = <ΣD X > S (X=B, G and R) For example, when "X" in Fig. 8 is "B" and the tentative highlight density value D MH is D M5 , D HAB = (D M1 +D M2 +D M3 +D M4 +D M5 )/(N P1 +N P2 +N P3 +N P4 +N P5 ) is obtained, where N Pi (i=1 to 5) is the number of pixels whose average density values D M belong to the rank D Mi and is found from the histogram of Fig. 5. Thus the highlight-side and shadow-side average color density values D HAX and D SAX (X=B, G and R) for each color component shown in Fig. 4 in the center can be obtained. This completes the subroutine corresponding to the process step S100, and the process is returned to the main routine of Fig. 3A. (B-2) Calculation of Reference Values and Amount of Correction In the process step S2 of the main routine, a highlight reference value D HO and a shadow reference value D SO which are common to the respective color components of B, G and R are found in accordance with the following equations (4) and (5): D HO = FH(D HAB , D HAG , D HAR ) D SO = FS(D SAB , D SAG , D SAR ) where functions FH and FS are defined as follows: FH(D HAB , D HAG , D HAR ) = r H ·MIN(D HAB , D HAG , D HAR )+(1-r H )D HF FS(D SAB , D SAG , D SAR ) = r S ·MAX(D SAB , D SAG , D SAR )+(1-r S )D SF where: MIN(···) is a calculation for selecting a minimum value therein, MAX(···) is a calculation for selecting a maximum value therein, D HF and D SF are predetermined standard highlight and shadow density values, and r H and r S are constants preselected in the ranges of 0<r H <1 and 0<r S <1. That is, the highlight reference value D HO is a weighted average of the minimum value of D HAX (X=B, G and R) and the standard value D HF , and the shadow reference value D SO is a weighted average of the maximum value of D SAX (X=B, G and R) and the standard value D SF . The functions FH and FS may be functions for obtaining averages of D HAX (X=B, G and R) and D SAX (X=B, G and R) respectively. In the process step S3, gray balance correction amounts ΔD HX (X=B, G and R) in the highlight part and gray balance correction amounts ΔD SX (X=B, G and R) in the shadow part are found in accordance with the following equations (7a) and (7b): ΔD HX = K H ·GH(D HAX -D HO ) (X=B, G and R) ΔD SX = K S ·GS(D SAX -D SO ) (X=B, G and R) where : K H and K S are experimentally predetermined positive constants. The functions GH and GS are defined, for example, by the following equations: GH(D HAX -D HO ) = (D HAX -D HO )/[1+{(D Hmax -D Hmin )/A H } m ] GS(D SAX -D SO ) = D SAX -D SO where: D Hmax = MAX(D HAB , D HAG , D HAR ) D Hmin = MIN(D HAB , D HAG , D HAR ) A H is a preselected positive constant, and m is a preselected positive constant (e.g., "3"). As is understood from the equations (6a) to (9), the correction amounts ΔD HX in the highlight part and the correction amounts ΔD SX in the shadow part are proportional to (D HAX -D HO ) and (D SAX -D SO ) respectively. The values (D HAX -D HO ) and (D SAX -D SO ) reflect color fogging amounts in the highlight part and in the shadow part respectively. When the gray balance correction amounts ΔD HX in the highlight part are noted, according to the equations (7), (8), (10a) and (10b), the larger the distribution width: ΔD Hm ≡ D Hmax - D Hmin of the average density values of the respective color components of B, G and R in the highlight part is, the smaller the gray balance correction amounts ΔD HX are. Consequently, when no highlight point is present in the original 1, the gray balance correction amounts in the highlight part can be prevented from growing more than necessary. The constant A H is a threshold in a judgement whether a highlight point is present or absent and the aforesaid suppression in correction is enhanced when the following condition is satisfied: ΔD Hm > A H (B-3) Calculation of Highlight Density Values, Shadow Density Values and Dummy Shadow Density Values In the process step S4, by the use of the reference values D HO and D SO and the correction amounts ΔD HX and ΔD SX (X=B, G and R), highlight density values D HX and shadow density values D SX (X=B G and R) are calculated according to the following equations (13) and (14): D HX = D HO + ΔD HX (X=B, G and R) D SX = D SO + ΔD SX (X=B, G and R) In the next process step S5, an operator judges whether or not the original 1 requires the color fogging correction only in the shadow part. Since it is not easy to directly judge the color fogging only in the shadow part through visual observation of the original image. Therefore, it is more practical that the operator judges whether the global discoloring of the original 1 is present or absent and considers that a color fogging only in the shadow part is present when no global discoloring is found. When it is judged that a color fogging only in the shadow part is present, the process step S6 is so conducted that dummy shadow density values D DSX (X=B, G and R) are set in a same value by the use of the shadow reference value D SO according to the following equation: D DSB = D DSG = D DSR = D SO On the other hand, when the original 1 is discolored globally, the dummy shadow density values D DSX (X=B G and R) are set to the same as the shadow density values D SX (X=B, G and R) of the corresponding color components as expressed by the following equation (the process step S7): D DSX = D SX (X=B, G and R) In the process step S7, the dummy shadow density values D DSX need not be completely equal to the shadow density values D SX , but may be set to the values approximate to D SX . (B-4) Generation of Conversion Curve In the process step S8, a conversion curve for each color component is specified by the use of the highlight density values D HX , the shadow density values D SX and the dummy shadow density values D DSX (X=B, G and R) obtained in the aforesaid manner. For this purpose, a nonlinear conversion function f defined by the following expressions (17) to (19) is predetermined and data expressing this function f is stored in the memory 16: D N = f(D:u,v,w) ≡ p+(p-q)ℓog₁₀[g₁+g₂] g₁ ≡ 10 -(D-u)/(v-u) g₂ ≡ 0.1-10 -(w-u)/(v-u) where: p and q are constants which are set in the vicinity of the lower and upper limits of a normalized density range before masking operation, respectively, D is a density value before conversion, D N is a density value after conversion, and u , v and w are parameters. The constants p and q are predetermined for each color component. The following parameter values u , v and w : u=D HX , v=D DSX , w=D SX (X=B, G and R) are substituted in the expressions (17) to (19) for each color component to specify the conversion characteristic of the function f for each color component. Fig. 9 illustrates the function f specified in this manner on a density conversion coordinate plane, where p X and q X are the constants p and q for the color components X. A subscript "X" is attached to the density variables D X and D NX to indicate the correspondence to the color components X. The characteristics of the function f are described later. Examples of the function f are shown in Fig. 9 as curves C a and C b . The difference between C a and C b is also described later. When the function f is specified for each color component, the CPU 15 generates numerical data expressive of the conversion characteristic of the function f , that is, data expressing numerically the curve C a of Fig. 9, for example. The data are loaded to the LUTs 5B, 5G and 5R of Fig. 2 for each color component. This completes the preparation steps of the image data conversion. In the process step S9 of Fig. 3A, a regular scanning of the original 1 is carried out for the purpose of practically reproducing the image. Since the operation in the regular scanning has been described, the description thereof is omitted, here. The conversion curves in the LUTs 5B, 5G and 5R generated in the above-mentioned manner are used for the conversion of the signals D B , D G and D R. (B-5) Characteristics of Conversion Curves The above-mentioned expressions (17) to (19) and Fig. 9 are again referred to. According to the expressions (17) to (19), it is found that the function f and accordingly conversion curves thereby generated have the following characteristics (i) to (iv): (i) The highlight density values D HX are much smaller than the shadow density values D SX and the dummy shadow density values D DSX . Therefore the following relation (21) holds in the expression (20): u << v, w Because the differences between the shadow density values D SX and the dummy shadow density values D DSX are relatively small, values v and w are nearly equal to each other. Accordingly, the amount: (w-u)/(v-u) existing on the right side of the expression (19) is approximately equal to "1", and the second term on the right side of the expression (19) for defining the amount g₂ is approximately equal to "0.1". As a result of the subtraction of the second term from the first term on the right side of the expression (19), the absolute value of the amount g₂ becomes very small or nearly zero. On the other hand, when the density value D (=D X ) is equal to the value of the parameter u (that is, the highlight density values D HX ), the exponent on the right side of the expression (18) is "0" and g₁ is "1". For these reasons, the dominant term of the sum (g₁+g₂) in the expression (17) is g₁, and accordingly, g₁ + g₂ ≃ 1 As a result, D N ≃ p (=p X ) That is, D=D HX is substantially converted into D N =P X by the function f . The conversion curves C a and C b in Fig. 9 substantially passes through a first point Q H defined by the two-dimensional coordinate values (D HX , p X ). (ii) Suppose that the following equation: D = D SX (shadow density value) holds in the expressions (17) to (19). Because the parameter w coincides with the shadow density values D SX according to the expression (20), the value g₁ in the expression (18) and the second term on the right side of the expression (19) are completely equal to each other. As a result, the value [···] inside of the logarithmic function of the expression (17) is "0.1" and accordingly: D N = q (=q X ) That is, D=D SX is converted into D N =q X by the function f , and the conversion curves C a and C b in Fig. 9 pass through a second point Q S defined by the two-dimensional coordinate values (D SX , q X ). Within two points Q S =Q Sa and Q S =Q Sb shown in Fig. 1, the former is the second point Q S in the case where the gray balance correction amount ΔD SX in the shadow part is a positive value ΔD SXa , and the latter is the second point Q S in the case where the correction amount ΔD SX is a negative value ΔD SXb . The density values D SX =D Sa and D Sb before conversion indicate the respective shadow density values in these two cases, and the conversion curves in these cases are shown by the curves C a and C b respectively. (iii) When the density value D is not just equal to the parameter u which is the highlight density values D HX , but is relatively approximate thereto, that is, in the highlight part, the absolute value of the exponent on the right side of the expression (18) approximates to "0". The value of g₁ accordingly approximates to "1" and is much larger than the value of g₂. Therefore the following expression holds: ℓog₁₀[g₁+g₂] ≃ ℓog₁₀[g₁] = -(D-u)/(v-u) Thus, the function f in the highlight part can be approximated to: D N ≃ p-(p-q)(D-u)/(v-u) The expression: D N = p-(p-q)(D-u)/(v-u) is an equation expressing a straight line L (see Fig. 9) which passes through the first point Q H determined in accordance with the highlight density value D HX (= u ) and a third point: Q D = (D DSX , q X ) determined in accordance with the dummy shadow density value D DSX (= v ). In the highlight part HLP of Fig. 9, the conversion curves C a and C b extend along the straight line L. On the other hand, as described in the section (ii), the conversion curves C a and C b pass through the second point Q S , and the position of the second point Q S is different from that of the third point Q D in the example shown in Fig. 9. The conversion curves C a and C b accordingly deviate from the straight line L in the shadow part SDP. The larger the density value D is, the larger the deviation amount is. The deviation amount in the middle density part MDP is larger than that in the highlight part HLP and is not so large as that in the shadow part SDP. Since the deviation amount in the shadow part SDP is set to a value corresponding to the color fogging amount only in the shadow part of the original 1, the conversion curves illustrated by the curves C a and C b of Fig. 9 in this preferred embodiment are the curves capable of eliminating the color fogging only in the shadow part without losing the gray balance in the low and middle density regions. (iv) As described above, the shadow density values D SX and the dummy shadow density values D DSX are set equally when the color fogging only in the shadow part is absent and, for example, the original 1 is globally discolored. A conversion curve at this time can be expressed by the same equation as the equation (29) by substituting v=w in the expressions (17) to (19). That is, the conversion curve at this time is a straight line passing through the first point Q H and the second point Q S (=Q Sa or Q Sb ). A straight line L O indicated in Fig. 9 corresponds to the case where the second point Q S is Q Sa′ . The normalization conversion characteristic represented by the straight line L O is such that the density of a specific color component is restrained in the highlight part HLP, the middle density part MDP and the shadow part SDP to ensure the gray balance among the respective color components, and accordingly, the global discoloring on the original 1 can be corrected. The nonlinear function f used in this preferred embodiment is effective for both color fogging correction only in the shadow part and correction of global discoloring on the original 1, thereby being useful for these various corrections. In the case where the original 1 has no color fogging and no discoloring, the shadow density values D SX and the dummy shadow density values D DSX are set equally to obtain the expression for the straight line from the function f . The function f is effective also for this case. C. Second Preferred Embodiment A second preferred embodiment of the present invention is executable regardless of color fogging correction. The basic structure of a color process scanner to which the second preferred embodiment is applied is similar to that of the scanner 100 shown in Figs. 1 and 2. The difference of the second preferred embodiment from the first preferred embodiment is only in conversion curves generated in the data processor 14. In the second preferred embodiment, the highlight density values D HX and the shadow density values D SX (X=B, G and R) for the original 1 to be reproduced are provided in the process steps S1 to S4 of Fig. 3A, and thereafter the process step S50 of Fig. 10 is carried out instead of the process steps S5 to S7. For execution of the process step S50, highlight density values D HFX and shadow density values D SFX for a standard original are previously specified. The standard original is an original having tone and gradation which are experientially considered to be standard. When a photograph and the like is employed as an original to be reproduced, a photograph previously confirmed that the same has been obtained under a proper exposure of an image is used as a standard original. Highlight and shadow density values for each color component which have been experientially found with respect to the standard original are taken as D HFX and D SFX respectively. In the process step S50, by the use of the thus determined standard highlight density values D HFX and standard shadow density values D SFX , dummy shadow density values D DSX (X=B, G and R) are determined according to the following expression (31): D DSX = K·D HX +K·ΔD FX +(1-K)·D SFX (X=B, G and R) where ΔD FX is determined by the following expression (32): ΔD FX ≡ D SFX - D HFX (X=B, G and R) and corresponds to the density range width for each color component in the standard original (hereinafter referred to as a "standard density range width"), and K is a predetermined constant which satisfies: 0 ≦ K ≦ 1 The expression (31) means that a value: K·ΔD FX +(1-K)·D SFX which is proportional to the standard density range width ΔD FX and a value: K·D HX which is proportional to the highlight density value D HX of the original 1 to be reproduced are added to determine the dummy shadow density values D DSX . From another viewpoint, the standard density range width ΔD FX and the standard shadow density value D SFX are weightedly averaged by using a weight coefficient K, and the values of the expression (34) thereby obtained are added to the values of the expression (35) to provide the dummy shadow density value D DSX . Advantages due to the determination of the dummy shadow density values D DSX in this manner are described later. When the process step S50 of Fig. 10 is completed, a conversion curve is generated for each color component in the process step S8 of Fig. 3A. While carrying out the normalization density conversion by the use of the conversion curve for each color component, the original 1 to be reproduced is regularly scanned in the process step S9 for image reproduction. The principle itself for recording a halftone dot image in the second preferred embodiment is similar to that in the first preferred embodiment. Fig. 11 shows two conversion curves C₁ and C₂ determined according to the second preferred embodiment. The first conversion curve C₁ is the curve in the case where the highlight density values D HX1 and the shadow density values D SX1 are small, and the second conversion curve C₂ is the curve in the case where the highlight density values D HX2 and the shadow density values D SX2 are large. That is, these two conversion curves C₁ and C₂ are the curves for two types of originals to be reproduced having different density ranges. Similarly to the first preferred embodiment, the nonlinear conversion function f defined by the expressions (17) to (19) is used, and thereby the first conversion curve C₁ extends along a straight line L₁ connecting a highlight point Q H1 and a dummy shadow point Q D1 in the highlight part HLP and the middle density part MDP. The curve C₁ passes through a shadow point Q S1 . Likewise, the second conversion curve C₂ extends along a straight line L₂ connecting a highlight point Q H2 and a dummy shadow point Q D2 in the highlight part HLP and the middle density part MDP. The curve C₂ deviates from the straight line L₂ to pass through a shadow point Q S2 in the shadow part SDP. The difference between the two highlight density values D HX1 and D HX2 is taken as ΔH X , the following equation (36) holds: ΔH X = D HX2 - D HX1 On the other hand, the equation (31) is applied to the first and second conversion curves C₁ and C₂ respectively, and thereby the following equations (37) and (38) are obtained: D DSX1 = K·D HX1 +K·ΔD FX +(1-K)·D SFX D DSX2 = K·D HX2 +K·ΔD FX +(1-K)·D SFX When the difference between the two dummy shadow density values D DSX1 and D DSX2 is taken as ΔD DSX , the following expression (39) is obtained from the equations (37) and (38): ΔD DSX ≡ D DSX2 - D DSX1 = K·(D HX2 -D HX1 ) By combining the expressions (36) and (39), such a proportional relation as the following equation (40) is obtained: ΔD DSX = K·ΔH X The following can be recognized from the equation (40). The mutual distance ΔD DSX between the dummy shadow points Q D1 and Q D2 is K times the mutual distance ΔH X between the two highlight points Q H1 and Q H2 . Especially when K=1, these mutual distances ΔD DSX and ΔH X are equal to each other, and accordingly the straight lines L₁ and L₂ are parallel to each other. This property holds independently of a mutual distance ΔS X between the two shadow points D SX1 and D SX2 . Suppose an arbitrary positive value ΔD T which is not so large is now considered. A density value obtained by converting by the first conversion curve C₁ a density value D₁ (see Fig. 11) which is larger than the first highlight density value D HX1 by the value ΔD T is represented by D NT . Because the straight lines L₁ and L₂ are parallel to each other as above-mentioned, a density value obtained by converting by the second conversion curve C₂ a density value D₂ which is larger than the second highlight density value D HX2 by the same value ΔD T results in being equal to D NT . Therefore if the normalization conversion according to this preferred embodiment is executed for a plurality of originals to be reproduced having different density ranges respectively, proper reproduced images can be constantly attained independently of the difference in density range. The condition that the conversion curves C₁ and C₂ pass through the respective inherent shadow points Q S1 and Q S2 in the shadow part SDP is satisfied, and thereby the normalization convertion having preferable property over the full range of the density values can be executed. When the constant K is smaller than "1", the straight lines L₁ and L₂ of Fig. 11 are not completely parallel but are approximately parallel. In this case, the density values D₁ and D₂ of Fig. 11 are converted into the values which are not completely equal to but are relatively approximate to each other by the normalization conversion. Fig. 12 is a graph in which a solid line shows the variation in the dummy shadow density values D DSX according to variation in the constant K . This graph is obtained from the equation (31). When K=0, the dummy shadow density value D DSX agrees with the standard shadow density value D SFX . Since the standard shadow density value D SFX is constant independently of the image of the original 1 to be reproduced, the dummy shadow density value D DSX which is common to all of the originals 1 to be reproduced is set. As the constant K increases, the dummy shadow density value D DSX increases linearly. When K=1, the dummy shadow density value D DSX is the sum of the highlight density value D HX and the standard density range width ΔD FX of the original 1 to be reproduced as described above. When the coefficient K is equal to "1" or is approximate thereto (e.g., 0.5 or more), the dummy shadow density value D DSX varies considerably in accordance with the highlight density value D HX of the original 1. When the coefficient K is 0.5 or less, the dummy shadow density value D DSX approximates to the standard shadow density value D SFX and the dependence on the highlight density value D HX of the original 1 is suppressed. By specifying the value of the coefficient K arbitrarily, the property of the conversion curves C₁ and C₂ can be changed. Thus the conversion curve which is experientially considered to be preferable can be generated automatically by the use of a small number of parameters. D. Modifications [1] Fig. 13 shows a color process scanner 400 into which a scanner unit and a color separation auxiliary device are integrated. The scanner 400 also comprises an input unit 401 and an output unit 402. An operation panel 403 is mounted on the input unit 401. Each circuit inside the color separation auxiliary device 300 of Fig. 1 is contained in the body of the input unit 401 in Fig. 13. A CRT 418 and an operation panel 417 of Fig. 13 correspond to the CRT 18 and the console 17 of Fig. 1, respectively. The function and operation of the scanner 400 are substantially similar to those of the scanner 100 of Fig. 1. The scanner 400, however, need not be provided with a color separation auxiliary device separately, hence being relatively compact. [2] For generation of the conversion curves, another nonlinear function than the above-mentioned function f is also usable. In general, when it is assumed that a function f₁(D) expresses a straight line L and a function f₂(D) is such a function as to increase or decrease monotonously with the variable D increasing and substantially satisfy the expressions: f₂(D HX ) = 0 f₁(D SX )+f₂(D SX ) = q X the following function: f₁(D)+f₂(D) which is obtained by combining the function f₁(D) the function f₂(D) meets the requirement of the present invention. The function f in the expression (17) corresponds to an expression obtained by substituting the following expressions in the equation (43): f₁(D) = p-(p-q)(D-u)/(v-u) f₂(D) = (p-q)ℓog₁₀[1+g₂/g₁] where g₁ and g₂ are functions defined by the expressions (18) and (19). [3] The normalization conversion is carried out by using the LUTs 5B, 5G and 5R in digital form in the aforesaid preferred embodiments. It may be, however, carried out in analog form by using a function generator. [4] Although it is preferred that the highlight density values D HX and the shadow density values D SX are determined by a statistical method using histograms and the like as described in the aforesaid preferred embodiments, an operator may specify these points, measure the color density thereof and adopt the measured values as D HX and D SX in the case where the highlight point and the shadow point are found in the original 1. [5] In generation of the conversion curves according to the present invention, correction in accordance with the type of a subject image in an original to be processed may be executed. For example, highlight density correction amounts Δd X (X=B, G and R) are predetermined in accordance with the subject image in the original to be processed, and values obtained by shifting the highlight density values D HX by the correction amounts Δd X may be taken as new highlight density values D HCX as shown in Fig. 14. In this method, a conversion curve C₁₀ before correction becomes a curve C₁₁ after the correction. [6] The above-mentioned first preferred embodiment is applied only to color originals. The second preferred embodiment is however applicable to both color and monochrome originals. In the case of a monochrome original, a single highlight density value, a single shadow density value and a single dummy shadow density value are determined, and a single conversion curve is obtained. [8] The present invention is applied not only to color process scanners, but also to other image processors for executing color separation and other processings on original images. E. CONCLUSION As described hereinabove, according to the present invention, a dummy shadow density value is determined in addition to a highlight density value and a shadow density value. The configuration of a conversion curve in the highlight part and the middle density part is determined by the highlight density value and the dummy shadow density value. The shadow density value is reflected only in the configuration thereof in the shadow part. Hence the configuration of the conversion curve in the respective density parts can be controlled together by relatively less parameters. A skilled operator is not required, therefore this method is suitable for automation. In the first preferred embodiment, in addition to a highlight density value and a shadow density value , a dummy shadow density value is obtained for each color component in accordance with color fogging amount only in the shadow part, thereby a conversion curve suitable for eliminating the color fogging only in the shadow part being systematically generated. Since the conversion curve is generated based on such an objectively graspable value, the correction amount of the color fogging can be quantitatively controlled. The color fogging is corrected at the time of the normalization conversion. The processing characteristics in other circuits in the color separation device is executed on the signal after the color fogging correction. Independently of the presence or absence of the color fogging in the original, the processing characteristics can be determined in these circuits without paying attention to color fogging in the original. According to the present invention, only change in parameters in a predetermined function enables the handling of color fogging elimination only in the shadow part and correction of global discoloring in an original. Therefore the present invention is suitable for automation of color separation conditions. According to the second preferred embodiment of the present invention, a dummy shadow density value is determined while reflecting the density range width of a standard original. Density values having the same differences from the highlight density value can be converted by the normalization conversion into substantially equal or relatively approximate density values in the highlight part and the middle density part independently of the density range of the original to be processed. This method is independent of whether or not it is for the color fogging correction and is applicable to both color and monochrome originals. A proper reproduction character can be always ensured in a reproduced image through the normalization conversion independently of the density range of the original to be processed. The dependence of the dummy shadow density value on the standard density range width can be arbitrarily changed by changing the weight coefficient in the weighted average, thereby flexibility thereof being improved. Although the present invention has been described and illustrated in detail, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation. The scope of the present invention should be limited only by the terms of the appended claims.

Claims: A method of generating a conversion curve (C) which is employable for converting first density values obtained by photoelectrically reading an object image for each pixel and defined in a first density range into second density values defined in a second density range and having a reproduction characteristic suitable for prescribed image processing, characterized by: (a) designating a highlight density value (D HX ) and a shadow density value (D SX ) within said first density range; (b) determining a dummy shadow density value (D DSX ) within said first density range according to a predetermined determination rule; and (c) generating said conversion curve (C) so as to satisfy both of the conditions that: said conversion curve (C) substantially passes through first and second points (Q H , Q S ) on a two-dimensional coordinate plane on which said conversion curve (C) is defined, where said first and second points (Q H , Q S ) are determined in accordance with said highlight density value (D HX ) and said shadow density value (D SX ), respectively; and on said two-dimensional coordinate plane, said conversion curve (C) extends along a line in a highlight density region which is defined around said highlight density value (D HX ), where said line is so defined as to pass through said first point (Q H ) and a third point (Q D ) determined in accordance with said dummy shadow density value (D DSX ). The method of claim 1, wherein said object image is a color image; and said method further comprises the step of: (d) conducting the steps (a) through (c) for each color component to obtain said conversion curve (C) for each color component. The method of claim 2, wherein the step (b) comprises the steps of: (b-1) determining whether or not there is a fogging only in a shadow part on said color image; and (b-2) when there is said fogging only in said shadow part, determining said dummy shadow density value (D DSX ) for each color component such that said dummy shadow density value (D DSX ) is different from said shadow density value (D SX ) by a value representing an amount of said fogging in each color component. The method of claim 3, wherein the step (b) further comprises the steps of: (b-3) when there is said fogging in the whole of said color image, executing the step of: (b-3-1) determining said dummy shadow density value (D DSX ) for each color component such that said dummy shadow density value (D DSX ) is substantially equal to said shadow density value (D SX ). The method of claim 4, wherein the step (a) comprises the steps of: obtaining shadow average density values (D SAX ) representative of average densities in a shadow portion of said color image for respective color components; obtaining a shadow reference density value (D SO ) as a function of said shadow average value D SAX for respective color components; obtaining a value (ΔD SX ) for each color component as a function of a difference (D SAX - D SO ) between said shadow average values (D SAX ) and said shadow reference density value (D SO ); and determining said shadow density value (D SX ) by adding said value (ΔD SX ) to said shadow reference density value (D SO ) for each color component to obtain said shadow density value (D SX ); and the step (b-2) comprises the steps of: determining said dummy shadow density value (D DSX ) for each color component by said shadow reference density value (D SO ). The method of claim 4, further comprising the step of: (d) determining a mathematical function having a variable and first through third parameters and satisfying the conditions that: said mathematical function becomes a non-linear function of said variable when a value of said second parameter is different from a value of said third parameter; and said mathematical function becomes a linear function of said.variable when said value of said second parameter is identical to said value of said third parameter; wherein the step (c) comprises the step of: (c-1) substituting said highlight density value (D HX ), said dummy shadow density value (D DSX ) and said shadow density value (D SX ) for respective values of first through third parameters in said mathematical function for each color component, respectively, to obtain said conversion curve (C) for each color component. The method of claim 6, wherein: the step (d) comprises the step of: determining a logarithmic function as said mathematical function. The method of claim 7, wherein: said mathematical function is defined as: :f(D:u, v, w) = p+(p - q)ℓog₁₀(g₁+g₂) where g₁ and g₂ are defined such that: g₁ = 10 -(D-u)/(v-u) g₂ = 0.1-10 -(w-u)/(v-u) and p and q are constants, D is said variable, and u, v and w are said first through third parameters, respectively. The method of claim 1, wherein: the step (b) comprises the steps of: (b-1) determining a first value proportional to a width of a density range in a reference image; (b-2) determining a second value proportional to said highlight density value (D HX ); and (b-3) summing said first and second values to obtain said dummy shadow density value (D DSX ). The method of claim 9, wherein: the step (b-1) comprises the step of: (b-1-1) taking a weighted average of a shadow density value (D SX ) of said reference image and a value representative of said width of said density range in said reference image to determine said first value. The method of claim 10, wherein: the step (b-3) comprises the step of: calculating said dummy shadow density value (D DSX ) through the equation: D DSX = K·D HX +K·ΔD FX +(1-K)·D SFX where D DSX is said dummy shadow density value, D HX is said highlight density value, ΔD FX is said value representative of said width of said density range in said reference image, D SFX is said shadow density value of said reference image, and K is a constant selected in the range of 0 ≦ K ≦ 1. The method of claim 11, wherein: the step (b-3) comprises the step of selecting said constant K in the range of 0.5 ≦ K ≦ 1. The method of claim 12, further comprising the steps of: (e) determining a type of a subject appearing in said object image; and (f) shifting said highlight density value (D HX ) in said conversion curve (C) by an amount which is previously determined for each type of said subject, to thereby modify said conversion curve (C). An apparatus for generating a conversion curve (C) which is employable for converting first density values obtained by photoelectrically reading an object image for each pixel and defined in a first density range into second density values defined in a second density range and having a reproduction characteristic suitable for prescribed image processing, characterized by: (a) means for statistically analysing said object image to determine a highlight density value (D HX ) and a shadow density value (D SX ) within said first density range; (b) means for determining a dummy shadow density value (D DSX ) within said first density range according to a predetermined determination rule; and (c) means for generating said conversion curve (C), said means comprising: means for determining first and second points (Q H , Q S ) in accordance with said highlight density value (D HX ) and said shadow density value (D SX ), means for determining a third point (Q D ) in accordance with said dummy shadow density value (D DSX ) and generating a line which passes through said first and third points (Q H , Q D ), and means for generating a curve (C) which extends along said line in a highlight density region, which curve passes through said first and second points (Q H , Q S ) and determining said curve (C) as said conversion curve The apparatus of claim 14, wherein said object image is a color image; and said apparatus further comprises: (d) means for enabling said means (a) through (c) to obtain said conversion curve (C) for each color component. The apparatus of claim 15, wherein said means (b) comprises: (b-1) means for determining a correction value proportional to an amount of a fogging in a shadow part on said color image for each color component when it is indicated that said fogging exists only in said shadow part on said color image, and (b-2) means for shifting said shadow density value (D SX ) by said correction value to obtain said dummy shadow density value (D DSX ) for each color component. The apparatus of claim 16, wherein said means (b) further comprises: (b-3) means for determining said dummy shadow density value (D DSX ) for each color component such that said dummy shadow density value (D DSX ) is substantially equal to said shadow density value (D SX ) when it is indicated that said fogging exists in the whole of said color image. The apparatus of claim 14, wherein said means (b) comprises: (b-1) means for determining a first value proportional to a width of a density range in a reference image; (b-2) means for determining a second value proportional to said highlight density value (D HX ); and (b-3) means for summing said first and second values to obtain said dummy shadow density value (D DSX ). The apparatus of claim 18, wherein: said means (b-1) comprises: (b-1-1) means for obtaining a weighted average (D SFX ) of a shadow density value (D SO ) of said reference image and a value representative of said width of said density range in said reference image to determine said first value. A process scanner system comprising: (a) means for photoelectrically reading an original image; (b) means for enabling said means (a) to obtain a first image data; characterized by (c) means for statistically analysing said first image data to determine a highlight density value (D HX ) and a shadow density value (D SX ) within a density range of said original image; (d) means for determining a dummy shadow density value (D DSX ) within said density range of said original image according to a predetermined determination rule; (e) means for generating a curve (C), said means comprising: means for determining first and second points (Q H , Q S ) in accordance with said highlight density value (D HX ) and said shadow density value (D SX ), means for determining a third point (Q D ) in accordance with said dummy shadow density value (D DSX ) and generating a line which passes through said first and third points (Q H , Q D ), and means for generating a curve (C) which extends along said line in a highlight density region, which curve passes through said first and second points (Q H , Q S ) and determining said curve (C) as said conversion curve (C); (f) means for storing said curve (C) in the form of a table memory; (g) means for enabling said means (a) again to obtain a second image data; (h) means for converting said second image data through said table memory to obtain a converted image data; and (i) means for recording a halftone dot image on a photosensitive material in accordance with said converted image data.

Inventors: ASADA SHINJI C O DAINIPPON SCR, YONEZAWA YASUHARU DAINIPPON SC, ASADA, SHINJI, C/O DAINIPPON SCREEN MFG. CO., LTD., YONEZAWA, YASUHARU, DAINIPPON SCREEN MFG. CO. LTD.
Applicants: DAINIPPON SCREEN MFG, DAINIPPON SCREEN MFG. CO., LTD.
Application year: 1990
Main classification: H04N1
IPC codes: H04N1