Abstract:
In printing color films, a color negative film has to be evaluated to determine the amount of exposure. A color balance adjusting apparatus has hitherto been used for appraisal. In the prior art, however, as all the picture images of a color negative film are displayed on a monitor TV for appraisal, it has a demerit in that a speedy inspection cannot be carried out. In addition, as the film picture images are displayed through CRT images of a monitor TV, it is hard on the eyes compared with that by direct visual observation and, therefore, presents a drawback in processing capacity. Accordingly, this invention aims at providing a method which greatly improves the processing capacity of inspecting the color films.

Description:
BACKGROUND OF THE INVENTION 
     This invention relates to an inspection method during printing of a color film of an elongated or disk type. 
     In printing color films, a color negative film has to be evaluated to determine the amount of exposure needed. A color balance adjusting apparatus as shown in FIG. 1 has hitherto been used for appraisal, wherein the light from lamps 11 to 13 in a light source unit 10 irradiates a color negative film 1 which is being fed in, for example, the direction N on the light source 10; the light transmitted through the negative film 1 is received by a color TV camera 2, and picture images of the negative film 1 are successively monitored by a monitor TV 3 to appraise the negative images. The luminance of the lamps 11 to 13 are respectively adjusted by a dimmer 4 and a potentiometer 5 connected thereto, and resolution/color filters 14, 15 and 16 for red (R), green (G) and blue (B) are placed between the lamps 11 to 13, respectively, and the color negative film 1 which is being fed above the lamps 11 to 13. Therefore, the luminance of R, G and B can be changed in accordance with the luminance adjustment for the lamps 11 to 13, whereby an operator can obtain an appropriate quality of the picture on the monitor TV 3. 
     In ordinary cases the color negative film 1 is printed on color photosensitive paper. However, when a color negative film 1 is judged for the color density balance, the negative film should be judged as it is. Since the negative image can easily be inverted to a positive one by using an electric circuit in the color TV camera 2, the operator can easily observe the color positive image by the monitor TV 3. The above mentioned structure makes the adjustment simple. 
     In the prior art inspection method for a color film, since all of the picture images of a color negative film are displayed on a monitor TV for appraisal, it has a disadvantage in that a speedy inspection cannot be carried out. In addition, since the film picture images are displayed through CRT images of a monitor TV, it is hard on the eyes as compared with a direct visual observation and, therefore, presents a drawback in processing capacity. 
     SUMMARY OF THE INVENTION 
     Accordingly, an object of this invention is to provide a method which greatly improves the processing capacity of inspecting color films. 
     Another object of this invention is to provide a speedy inspection procedure by determining similar picture images and grouping the images instead of separately appraising all of the images of the color films. 
     The nature, principle and utility of the invention will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     In the accompanying drawings: 
     FIG. 1 is a schematic view of the inspection apparatus for a color film in prior art; 
     FIG. 2 is an explanatory view of the method of determining the similarity which is applicable to this invention; and 
     FIG. 3 is a block diagram of an embodiment of the apparatus which is used for the method. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     This invention concerns a color film inspection method in printing a color film of an elongated or disk type which comprises displaying picture images of the color film on a display unit (for instance a CRT display), evaluating the color and the density thereof and correcting them. The inspection method particularly aims at raising the processing capability in the color film inspection by judging the similarity of the picture images of the color film, and grouping similar picture images, and automatically displaying only a limited number of the picture images within a group thereof for evaluation. 
     The similarity of picture images in a color film can be determined in accordance with the method, for instance, disclosed in Japanese Laid-open No. 26729/1979 (which is described hereinafter) wherein a frame of picture images is and compared with the preceding frame by using a video signal from a color TV camera. 
     The following method of determination may also be used. An example is given in FIG. 2 for successively determining images A to D of the negative film 20 to facilitate understanding. The first frame A is set as a reference image and a similarity to the following frame A&#39; is evaluated according to a formula which is described hereinafter, and these determination signals, for example, of 5 steps, i.e. S1, S2, S3, S4 and S5 are outputted. Frames A and A&#39; are regarded as similar (or identical) if the signals S1 to S5 exceed a prescribed value (for example S3), and the mean characteristic data of frames A and A&#39; are set as a new reference image 21. The value can either be the mean of the 2 frames or the weighted mean corresponding to the number of the frames. Then similarity based on the comparison between this newly established reference image 21 and the next frame B is obtained. When its determination signal is S2 or less, the picture image of this frame B is stored as another reference image 22. Then a similarity to the subsequent frame A&#34; is calculated by comparing it to the previously stored reference images 21 and 22, respectively. Since the frame A&#34; is similar to the reference image 21, the mean value of frame A&#34; and the reference image 21 is obtained by an averaging process to form a new reference image 23 for memory. 
     A next step is the calculation of a similarity of frame C to the previously obtained reference images 21 to 23. Since the determination signal of frame C is below S2 with respect to the reference images 21 to 23, the image is stored as a new reference image 24. The same procedure is carried out for the images of frames A&#34; and D to form new reference images 25 and 26 in this example. When a plural number of reference images are determined to be as similar, the picture image of the highest similarity of all is acknowledged as the similar image and a new reference image is formed. 
     The following are considered as characteristic amounts for determining the similarity of images: the maximum density of image D max , the minimum density D min , the difference between red and green densities (D R  -D G ), the difference between green and blue densities (D G  -D B ), the mean density D of the total and divided picture images, contrast, histogram of hue or density, spatial frequency distribution, the shape of the image converted into an N value, etc. 
     Similarity X is calculated according to the following equation: ##EQU1## This is the mean value of the density difference of the adjoining measurement points which indicates an average contrast of the whole image. The reference letters LATD.sub.(N), LATD.sub.(R), LATD.sub.(G) and LATD.sub.(B) denote the large area transmittance densities for neutral gray, red, green and blue, respectively; D min  and D max  denote the minimum and the maximum densities for neutral gray, respectively; and DC, DF, DU, DL, DRI and DLF denote the mean densities for central, peripheral, upper, lower, right side and left side parts of the image plane, respectively. The characteristic values with an apostrophe represent those of the preceding frame or of a reference image. The values without an apostrophe denote a frame subject to a determination as to whether it is identical to the preceding frame or the reference image. 
     When a determination signal S exceeds a prescribed value α (signal S3 in the above example) in the determination equation (1) mentioned above, the preceding and the subject frames are regarded as similar. This can be illustrated by the following relationship: ##EQU2## 
     Both the predetermined value α and the degree of similarity for determination signals may be arbitrarily selected. 
     Stated in other terms, one roll of negative film generally includes plural frames of similar scenes. Those similar scenes should preferably be printed at the same density. They are usually similar in place, incident, object and background but different in angle, or details such as the position or size of objects or arrangement of the scene. Most of the similar frames are taken by a photographer successively but sometimes they are interposed with an entirely different frame. 
     Similarity can be determined by comparing adjacent frames. The method of the present invention can certainly contribute to an improvement in the determination precision. But the similarity cannot effectively be determined by comparing images of adjacent frames macroscopically (e.g. in terms of average density of the frame) nor microscopically (e.g. in terms of density in pixels). The experimental result indicates that such similarity can sufficiently be determined in terms of the color and structure of images. The image colors of different frames can be determined in terms of their difference on color coordinates. More specifically, it is assumed that the difference of colors on color coordinates having the red density--green density and green density--blue density as coordinate axes can be expressed simply as (|ΔRG|+|ΔGB|). The value becomes zero in comparison of the same images but becomes large in comparison of the image frame of blue sky with the image frame of snow scene. 
     There are several factors for expressing the structure of images; the difference in average density between the upper half and the lower half of a frame (UL), the difference in average density between the left half and the right half of a frame (RL), the value which expresses a frame is predominantly of shadow portion or of highlight portion ##EQU3## or DB which shows whether the frame includes an area of low contrast, e.g. sky, sea, wall etc. or an area of high contrast, e.g. the picture taken with strobe light or woods. In order to enhance precision in the determination, the number of factors expressing the structure of images should increase. The factors are, for example, neutral colors, the areas of read, green and blue in images, the density of central area or the density of peripheral areas. These values indicate the structure of images. Even if the angle of a camera is slightly shifted, the value will not change widely. In order to compare two images, absolute value of the difference between values of two images such as |ΔUL|, |ΔRL|, |ΔCP|, |ΔDB|, etc. should be checked. The similarity can be determined by comparing such absolute values and if there is at least one factor which exceeds the value of another frame, the frames are determined to be dissimilar. But if a slight variation is to be ignored, these values should be evaluated comprehensively. For instance, if the angle of the camera is shifted up or down very slightly, the absolute value |ΔUL| will increase by a large margin. 
     For higher precision in the similarity determination, a primary expression combining the value expressing the difference in color of two images and the value expressing the difference in structure of two images is used as a discriminant expression. The discriminant expression can be obtained by discriminant analysis which is a statistical means for multivariate analysis. According to the discriminant analysis, coefficients of the expression (1) which discriminate images are similar as follows: 
     
         K.sub.1 =-0.506, K.sub.2 =4,700, K.sub.3 =3.217, K.sub.4 =4.939, K.sub.5 =20.515 
    
     The coefficients of the expression (1) which discriminate that images are not similar are as follows: 
     
         K.sub.1 =-1.765, K.sub.2 =6.639, K.sub.3 =7.014, K.sub.4 =8.300, K.sub.5 =36.328 
    
     The values are analyzed according to the above coefficients and images are determined to be in either category having the higher value. Alternatively, instead of calculating by the above two expressions, the difference of the two expressions is obtained so as to have the result by only one expression. The coefficients thus obtained are: 
     
         K.sub.1 =1.259, K.sub.2 =-1.939, K.sub.3 =-3.797, K.sub.4 =-3.361, K.sub.5 =-15.813, α=0.0 
    
     By lowering the value α, it becomes possible to discriminate between images of high similarity and by increasing the value α, it becomes possible to discriminate between images of low similarity, too. 
     The coefficients K 1  through K 5  are constants. They may assume different values depending on the sample population in discriminant analysis. The determination of similarity or dissimilarity, the determination of density (i.e. signal values in proportion to optical density thereof instead, spectral sensitivity characteristics of the optical system linearity of measured value, etc), but once the device to be used is determined, they can be treated as constants. The expression (1) can obviously be modified in a great number of ways. For instance, [|ΔRG|+|ΔGB|] can be divided into separate terms, |ΔRG| and |ΔGB|, and [|ΔUL|+|ΔRL|] into |ΔUL| and |ΔRL|. Either one of |ΔRG| and |ΔGB| may be replaced with |ΔRB| to thereby modify the expression to |(LATD&#39;.sub.(R) -LATD&#39;.sub.(B) -(LATD.sub.(R) -LATD.sub.(G))|. This invention is by no means limited to the expression (1). 
     As mentioned briefly in the embodiment of this invention, this method can be realized by storing the values representing the colors of images of a preceding frame in a memory and the values representing the structure thereof, and comparing the values of the frame in question with the above values for discrimination, and storing the values of the frame in question in memory, and displaying or rejecting the values, and proceeding to the next frame. Alternatively, if the values of the frame in question are determined to be similar to the preceding frame, the mean value of the values of similar images may be stored in a memory for the same purpose. As mentioned in relation to the embodiment of this invention, this method is not limited to an adjacent frame but is expanded to include other different frames. 
     FIG. 3 illustrates a device to embody the method according to the present invention wherein the characteristic detected at a picture image detecting section 30 is inputted to a similarity calculating section 31 as image data PD to be compared with the reference image data previously stored in a memory 34, whereby the similarity is calculated according to the aforementioned equation. Then, the signal S, indicating the degree of the similarity of both images and calculated by the similarity calculating section 31, is inputted to a comparing/determining section 32 where the signal S is compared with a prescribed value α, and the result RS of the comparison is outputted. In the case where the signal S is larger than the prescribed value α, a correction signal CR is transmitted to the reference image correcting section 33 where a correction for the reference image is performed. When the signal S is smaller than the prescribed value α, they are judged not similar and the image value is stored in the memory 34 as a reference image. 
     On the multiple picture images of an elongated or disk type color film, similar images and different images are separated into groups as mentioned above and the frames regarded as similar are left out of the display process to a display unit (that is, the appraisal process). Even though one frame is omitted from the display, the display and appraisal of another frame of a similar image will sufficiently achieve the expected effect since they are already determined to be similar. In the case where multiple similar frames exist, a portion thereof may be indicated on a display in the interim. 
     The frame determined to be similar has its color and density corrected in a manner identical to the similar frame displayed on the display. In such an instance, the left half of the similar display can be used for displaying a reference image while the right half is used for an image to be corrected. If the display unit is provided with a color film automatic operation section (e.g.--Japanese Laid-open Pat. No. 62243/1981), the color and density of a frame may be automatically calculated in accordance with its similarity to the preceding frame as cited in Japanese Laid-open Pat. No. 153334/1981. When the color and density are corrected based on the appraisal of the image on the display, the same complementary amount in identical color and density is given to similar frames. 
     As described in the foregoing, according to the film inspection method for an elongated or disk type color film, when a film is printed, similar picture images of the color film are grouped and only a limited number of picture images within a group is displayed on a display, whereby the amount of display on the display unit is remarkably reduced and the processing capacity in the film inspection is drastically raised. For instance, when 10,000 frames of a color negative films were inspected by using the equation disclosed in Japanese Laid-open Pat. No. 26729/1979, 2,023 types of similar groups and 1,632 types of non-similar groups were obtained. This example shows that the number of picture images which should be subjected to the display for appraisal is reduced to one third of the original number of images, thereby increasing the processing capability by three-fold.