Method and apparatus for generating representation of an image

Abstract: A method of generating a representation of an image comprises scanning a film (2) carrying an image to which the film has been exposed to obtain signals (4,5,6) representing the colour component content of the recorded image. During exposure of the image its appearance has been modified in accordance with a function characteristic of the film. The signals obtained are modified with a function (11,10,8) constituting the inverse of the film characteristic function to compensate.

Description: This invention relates to a method for generating a representation of an image, in particular where the input image is scanned from a film. When an image is captured on film with normal exposure there will be a difference in appearance between the actual scene and the image, caused by the characteristic response of film. The effect of this is generally an expansion of detail in the midtones and compression of detail in highlight and lowlight regions. For a normally exposed scene the distortion is not large and in most cases it will be considered a reasonable reproduction. However for images with high lowlight and highlight content, the distortion becomes obvious and requires correction. Similarly an incorrectly exposed image will suffer distortion which needs to be corrected. US-A-4849775 describes colour correction for a thermal printing system in which image data from a source, including from a document scanner, is corrected by deriving a correction curve. This is derived from the relationship between the gradations of the image data and optical density values from a grey scale chart. The derived curve is such that the optical density values and corrected gradations are linearly related. US-A-4866513 describes deriving a gamma value to correct RGB signals from the average, maximum and minimum values of each colour signal within a single frame according to the characteristic values detected. Rundfunktechnische Mitteilungen, Vol. 26, No 1, pp. 1-9, describes electronic adaptation of parameters for applying film in television including correction of transfer characteristic. In accordance with the present invention a method of generating a representation of an image comprises scanning a film carrying an image to which the film has been exposed, and wherein during exposure the appearance of the image has been modified in accordance with a characteristic function of the film; obtaining signals representing the colour component content of the image recorded on the film; modifying the signals with a function constituting the inverse of the characteristic function of the film to produce a compensated image; and subsequently applying a chosen film characteristic function to the compensated image. The application of an inverse film characteristic function to the image removes the effects of the film so that a more accurate representation of the original image is obtained. It is a simpler method than has previously been used, yet provides more exact compensation. This method is equally applicable to scanning colour and monocrome films. In the case of a colour film characteristic functions exists for each colour which may differ from each other, but in combination produce a characteristic function of the film. In accordance with a second aspect of the present invention, apparatus for generating a representation of an image comprises scanning means to scan a film carrying an image to obtain signals representing the colour component content of the image recorded on the film; modifying means to modify the signals with a function constituting the inverse of a film characteristic function to produce a compensated image; and means for subsequently applying a chosen film characteristic function to the compensated image. Preferably the modifying means comprise a log amplifier and the signals are converted to density signals. An example of a method of generating a representation of an image in accordance with the present invention will now be described with reference to the accompanying drawings in which: Figure 1 shows a density/exposure graph for a typical daylight colour film; Figure 2 is a graph showing the relationship of the density of the exposed film to the exposure of the original scene; Figure 3 shows a block diagram of the apparatus used in compensating the scanned image; Figure 4 shows graphically the effect of applying an inverse characteristic function; and Figure 5 is a graph relating density of the film after characteristic correction to exposure. When an image is read into an electronic scanning system, two points are chosen within the image that represent the reference white and black points. These are termed, enter white - EW and enter black - EB. These values are used to define the range of densities over which the information of interest is distributed. The reasons for this representation are firstly it is not always possible to reference the zero of the density axis to be the value of the EW point. This arises from being required to calibrate the measuring device initially with no film being present. When the film is introduced, the density of the substrate must be taken into account, resulting in an offset for the EW from the calibrated zero density. Secondly the dynamic range for various film categories may vary. This results in different separations for the EW and EB values for different film categories. Films may undergo different changes of density range in mid-tone and tail regions. If it is a common film, it results in an expansion of mid-tones and compression of highlight and lowlight details. The midtone region undergoes an expansion of density range while the lowlight and highlight regions are compressed. The Enter White and Enter Black points are the white and dark points in an image. These represent the range of exposure for a normal scene. Joining the EW and EB points (Figure 1) is a dashed line representing the film characteristic seen by scanners where no account of the shape of the film characteristic is made. The difference between the dashed line and the film characteristic curve is the distortion observed in an image when compared to the original scene. Where the image is incorrectly exposed there will be greater distortion effects. This is shown in Figure 2 where the exposure is varied in one stop steps either side of normal exposure. It can be seen that although the original scene exposures have equal increments and range, their respective film densities are irregular. Large distortions are introduced in the lowlight regions for under exposed images and similar distortions in the highlight regions of over exposed images. If the exposure is too extreme, density levels will merge with the extremes of the curve, and will not be recoverable subsequently. The dashed line indicates an example of this where some lowlight values are merged and information content lost. The effect of this is that there are problems in recovering information from images which are either incorrectly exposed or which contain important information near the EW and EB points. To compensate for these problems a system as shown in Figure 3 is used to apply an inverse characteristic to produce a linear output corresponding to the density profile of the original scene. A light source 1 illuminates a film transparency 2 carrying an image to enable a scanning system 3 of conventional form to scan the image on the transparency 2. The colour component content of the image is divided into red green and blue signals 4,5,6 by the scanning system 3 which are input to a log amplifier 7. The log amplifier 7 converts the signals from the imaging system 3 into density signals. The red, green and blue density signals address respective look-up tables 11,10,8 which store the inverse film characteristic function for each colour. Modified values representing compensated image are output 9 from the look-up table. It can be seen from Figure 4 that the original scene is substantially unaffected as a result of the film characteristic function because it has been compensated by the inverse film characteristic function. In Figure 5 the graph shows the effect of straightening the characteristic of the curve to a 45° line is to keep the input range and output range the same for all different exposures. Generally the method described substantially compensates for the effect of the film characteristic function, but in some cases where image information is at the extremes of the characteristic function (eg Figure 4) complete compensation is not achieved. In this Figure the extremes, which are flat, correspond to the film becoming completely clear at the highlight end and receiving less light than required to activate the film at the lowlight end. If the EW and/or EB points fall within the flattened regions, any density variation within the original scene would be recorded with the same density. It is not possible to recover the information subsequently that was in the original scene from these areas and there will therefore be some distortion. Once the effect of the film characteristic is removed, it is possible to apply any chosen film characteristic by application of a new film characteristic function to the compensated output. By adding an offset to the values any exposure may be introduced. Most films within a characteristic set have very similar characteristic functions. The curves in the preceding Figures are typical of all daylight colour films. Each of the three colour channels, red, green and blue have their own characteristic curve. Due to variations in the film from each batch produced, it is only possible to produce an average for these curves. The data for the shape of these curves is normally published by film manufactures, but may also be determined by performing some controlled exposure tests. A characteristic set for example, is a set of films that have "film characteristics" that are very similar. This occurs because films from different manufacturers use similar technology and also try to make specific films such that their responses are predictable under similar circumstances.

Claims: A method of generating a representation of an image, the method comprising scanning a film (2) carrying an image to which the film has been exposed, and wherein during exposure the appearance of the image has been modified in accordance with a characteristic function of the film; obtaining signals (4,5,6) representing the colour component content of the image recorded on the film; modifying the signals with a function (11,10,8) constituting the inverse of the characteristic function of the film to produce a compensated image; and subsequently applying a chosen film characteristic function to the compensated image. A method according to claim 1, wherein the scanned film (2) is a colour film. Apparatus for generating a representation of an image (2) comprising scanning means (3) to scan a film (2) carrying an image to obtain signals (4,5,6) representing the colour component content of the image recorded on the film; modifying means (7) to modify the signals with a function(11,10,8) constituting the inverse of a film characteristic function to produce a compensated image; and means for subsequently applying a chosen film characteristic function to the compensated image. Apparatus according to claim 3 wherein the modifying means comprise a log amplifier (7) and wherein the signals are converted to density signals.

Inventors: RAY ANDREW ROBERT EEYORE S PAT, RAY, ANDREW ROBERT, EEYORE'S PATCH
Applicants: CROSFIELD ELECTRONICS LTD, CROSFIELD ELECTRONICS LIMITED
Application year: 1991
Main classification: H04N1
IPC codes: G06T1, H04N1, G06T5