IMAGE RECORDER HAVING AUTOMATIC ALIGNMENT METHOD AND APPARATUS

Abstract: The apparatus according to the present invention provides an alignment mask disposed in the CRT plane, and the CRT parameters are measured by observation of the light collected through the alignment mask from the CRT and processing the corresponding light intensity signals. The light sensing device provides a signal which is processed typically by a microprocessor controlled geometry engine to derive a set of correction data which is based on a prototype array of initialized data values. The parameters corrected by the apparatus and method according to the present invention include x and y position, focus and relative picture intensity over the surface of the screen (vignette). The above listed parameters are used alone and in combination to provide image centering, image scaling and pincushion correction, correction for non-orthogonality between the x and y deflection coils, image rotation and correction for nonlinear second and third order effects. The set of data can also be deliberately distorted to provide image precompensation such as keystone (trapezoid) and spherical corrections as well as vignette compensation such that, when the final image is projected or displayed, a true (nondistorted) image results.

Description: The present invention relates to image recorders and, in particular, image recorders providing an automatically aligned and adjusted image on a film plane from a CRT image. It also relates to methods of adjusting an image in such an image recorder. Previous image recorders providing film copies of CRT images require precise mechanical, optical and electronic adjustments to provide the optimum reproduction image quality. (e.g. DE-A-1134287). Furthermore, the adjustments, having been made, require constant attention and readjustment to maintain the performance of the image recorder apparatus. The individual adjustment parameters of the image recorder may either be adjusted independently or if necessary, adjusted in combination due to the interaction of the various signals in the image recorder apparatus. Moreover, the adjustment is further complicated by the two-dimensional nature of the image recorder, requiring the adjustments to be provided in both dimension. In spite of the extremely complex nature of the alignment apparatus and processes, a practical image recorder must maintain the alignment and provide for realignment with minimal interruption with the use of the image recorder. For various reasons, it is inappropriate to do all images at highest resolution. But, for pictures done with differing resolutions, e.g., 4000 and 2000 lines, the resulting color renditions do not match. Thus exact color matching of different resolutions is important. SUMMARY OF THE INVENTION The image recorder according to the present invention provides complete automatic alignment of the various parameters controlling the creation of an image on the plane of the film and precise color control and matching for images of different pixel densities. The apparatus and process according to the present invention provides the adjustment and alignment preceding use of the image recorder. Thereafter, the image recorder is available for use, having the parameters optimally adjusted. The CRT beam in the image recorder of the present invention is controlled by an array of numeric values. The entries in the array correspond to beam position, focus and intensity level. One difficulty in determining the exact value for each entry in the array is that the array entries only indirectly control the beam characteristics. In between the array of numbers or "mesh" and the CRT plane are system components which perform interpolations, filtering, and delay operations on the values. A "prototype" mesh is generated for an idealized system which models the image recorder characteristics. No model is perfect and there are errors and inaccuracies in the model used for the generation of the mesh. In addition, there will be manufacturing variations and tolerances. Because of these factors, it is necessary to "tune" the mesh for each individual image recorder. The present invention comprises a process of automatically adjusting the values of the "prototype" mesh to meet the acceptance criteria and limitations of the produced film image and will be referred to as mesh alignment. The apparatus according to the present invention can also modify the mesh values to "predistort" the resulting image in a controlled manner to obtain images which will be correct after projection. For instance, if a projector is angled upward at the screen, the image is distorted into a "keystone." The present invention permits the film image to be predistorted so that the projected image is rectilinear. Further, the modifications to the mesh can also create selected special effects. The modifications to the prototype mesh are generated by a set of measurements which characterize the specific image recorder. These measurements contain the information necessary to supply the parameters for all of the required operations on the prototype mesh. The apparatus according to the present invention performs the necessary measurements, and the corresponding mathematical operations in order to produce a corrected prototype mesh which meets the acceptance criteria. Thus, according to the present invention, the prototype mesh is stored in Read Only Memory (ROM) in the image recorder. The measurements and/or parameters may be stored in nonvolatile read/write memory. At power-up the alignment operations on the prototype mesh are computed and the resulting mesh used for imaging. BRIEF DESCRIPTION OF THE DRAWING These and other features according to the present invention will be better understood by reading the following detailed description, taken together with the drawing, wherein: Fig. 1 is a block diagram of one embodiment of the image recorder automatic alignment system according to the present invention; Fig. 1A shows an alternate embodiment of the alignment of the optical elements of the system of Fig. 1; Fig. 2 is a drawing showing the film plane coordinates and an example of 35 mm slide coordinates; Fig. 3 is a drawing showing one embodiment of the mask according to the present invention; Fig. 4 is a collection of beam intensity profiles considered in the process of focus adjustment; Fig. 5 is a drawing defining the terms used in the detailed description; Fig. 6 is a perspective view of a typical mesh array and control surface; Fig. 7 is a drawing showing the mesh array indices superimposed on a film image; Fig. 8 is a graph showing offset and scale of the focus mesh; Fig. 9 is a two-dimensional view of a focus mesh; Fig. 10 is a graph showing beam radius change; Fig. 11 is a graph showing measurements for computing beam radius deflections; Fig. 12 is an illustration of orthogonality errors; Fig. 13 is a drawing showing the amplitude of the orthogonality correction signals; Fig. 14 is a drawing showing the correction for mesh rotation errors; Fig. 15 is a drawing showing mesh interpolation according to the present invention. Fig. 16 is a block drawing showing one embodiment of the present invention wherein the CRT image is selectively adjusted according to removable, encoded film aperture plates; and Figs. 16A-D are four encoded aperture plates in more detail. DETAILED DESCRIPTION OF THE INVENTION A block diagram 50 in Fig. 1 of the apparatus according to the presentation includes a cathode ray tube (CRT) 82 which provides an image on an image plane, which for this embodiment is also a CRT plane 84 and is projected on the film plane 88 by a camera lens 86. The image on the CRT plane 84 is generated from scan data stored in a scan memory 74. The scan memory 74 provides 20 bits of digitized RGB video to digital-to-analog converter (DAC) 75, which provides an analog video output and four bits of control timing to the analog-to-digital converter (ADC) 96, the integrator reset circuit, and the sample and hold (S/H) circuit 95 which digitizes the photodetector 94 signal. The scan memory 74 addresses are provided by an address generator 76 synchronized by the geometry engine 52 so that the operation of the geometry engine corresponds to the image generated from the scan memory 74. The scan memory is controlled by a microprocessor, which may include the mesh adjusting microprocessor 77. The system is aligned according to an alignment mask 90 inserted at the CRT plane 84. A movable spot is provided on the CRT plane 84 of the CRT 82 and is selectively obscured by the pattern on the alignment mask 90 (shown in Fig. 3). More generally, the alignment mesh can be any device which comprises a variable density optical element which produces variations in the spot intensity in the photodetector optical path. The portion of the light which is not obscured is received by a photodetector 94. The alternate embodiments of the alignment mask 90 and photodetector 94 placement includes placing the mask 90 at the film plane at a focal point of the camera lens 86. When the mask 90 is operative at the film plane, the photographic film and the alignment mask are each in individual interchangeable modules (not shown) which are received in front of the CRT plane. Each such module also includes the necessary optics. Examples of further alternate embodiments in alignment mask position are shown in Fig. 1A. The alignment mask 90 can overlay the CRT on the CRT plane 84, and the photodetector 93 receives light directly or indirectly from a beamsplitting or movable mirror 87, from the CRT plane. The mask 90 may also be located at the film plane 88, such that light reflected from the mask is received by a rearward-looking photodetector 95, either directly or indirectly from a beam splitter 87 in the optical path. Moreover, a mirror 97 may be introduced at the film plane 88 to reflect light to the photodetector 95 from the transmissive portions of the alignment mask 90. A signal from the photodetector 94 is received by sample-and-hold 95 and converted to a digital number by an analog-to-digital converter (ADC) 96. The resulting digital signal is received by the microprocessor, discussed in detail below. The geometry engine is controlled to produce an image to coincide with an external signal, including a sync signal on lead 73. The geometry engine provides an x deflection signal which is received and converted to an analog signal by DAC 56. The analog signal is received and filtered by a low pass filter (LPF) 57 and amplified by an amplifier 58 and received by the deflection coils or other deflection device by the CRT. Similarly, the geometry engine 52 provides a y deflection signal which is converted by DAC 60 filtered by the LPF 61 and amplified at 62. The focus signal is also generated by the geometry engine 52 and converted to an analog signal by DAC 64, filtered by the LPF 65 and drives the appropriate CRT grid by amplifier 66. The above-described signals generated by the geometry engine 52 are adjusted or corrected by signals stored in the mesh random access memory (RAM) 54 and from interpolation between the stored signals, described below. The mesh signals in RAM 54 are based on a prototype mesh stored in nonvolatile memory (NVRAM or EPROM) 78. A mesh adjusting microprocessor 77 processes the prototype mesh 78 values according to the digitized intensity signal from ADC 96 and according to the processes described below, storing the results in the mesh RAM 54. An observed phenomenon in image recorders which record images from the face of the CRT is the variation in image brightness over the image plane of the CRT. Specifically, the image brightness is greater in the center of the CRT film plane and diminishes at the outward extremes. This phenomenon, termed "vignetting" hereinafter, is corrected by the apparatus of the present invention by scaling or multiplying the DAC 75 output signal with a signal multiplier 71 which also receives a variable vignette signal from the geometry engine 52. A contrast DAC 72 multiplies the video signal by a contrast signal. The vignette signal is converted to an analog signal by DAC 68, filtered by LPF 69 and amplified by amplifier 70 before being received by the multiplier 71. The geometry engine 52 provides the deflection signals to provide the necessary beam deflection to create an image according to the stored video signal in the scan memory 74. The aforementioned system parameters are adjusted by mesh signals in the mesh RAM 54 by the geometry engine 52 according to the present invention to provide corrections for various system errors discussed below. Photodetector 94 measurements provide the information required for tuning or adjustment of the prototype mesh in ROM 78. They are made by positioning the beam at a target point on the CRT and monitoring the light amplitude at the photodetector. Absolute XY position can be determined by inspecting the spot intensity as it is positioned near edges and corners of targets 100 on the alignment mask (90, Fig. 3). A profile of the spot (the brightness or energy of the spot as a function of a position along a line through the spot) can be obtained by measuring successive intensities as the spot is moved gradually past an opaque edge of the mask. There are numerous entities in the system for aligning the prototype mask, each entity with its specific coordinate system. To reduce confusion, and provide a foundation to the mathematical description of the process, it is necessary to relate the various coordinate systems to each other. First, there is obviously a physical coordinate system which specifies in "real world" space the dimensions and positions of things. The frame size of a 35 mm film image has an expected ratio of 2: 3 specified as 24 mm by 36 mm. The equations in this specification reflect the 2: 3 aspect ratio; other film formats are accommodated by varying the appropriate equations and calculations accordingly. It is convenient to establish a "normalized" coordinate system on the frame of the image, Fig. 2. The origin is at the center of the frame 102. The horizontal axis will be denoted "X" and extends from _ 1.0 at the left to + 1.0 at the right of the frame. The vertical "Y" Axis extends from _ 1.0 at the bottom to + 1.0 at the top of the frame or _ 2/3 and + 2/3 for a 35 mm slide. A prototype mesh (data in ROM 78) is formed which has several coordinate systems attached to it. The term prototype refers to the initial values of the system elements, and are subject to change by microprocessor 77 according to the self-adjusting process of the present invention. One coordinate system is the array indices of the mesh. These are integers, call them j and k, and they correspond to the sequence in which the geometry engine fetches the contents of the array. The organization is in rows and columns. A row can be considered to correspond to the horizontal scan of the CRT beam. Successive rows are accessed as the beam moves down the screen. Each beam control parameter (x and y position, focus and vignette) has its own two dimensional array. Since each element of the array holds a scalar value 112, the array can be viewed as samples of a surface 110 defined over the range of array indices in Fig. 6. Each beam parameter has its control surface 110. In Fig. 7, note that the array indices j,k map onto the X-Y image frame coordinates of Fig.2. That is, a row of the mesh represents points on a horizontal line in the image. A column corresponds exactly to a vertical line in the image. In practice, the mesh contains additional samples 114 beyond the frame 104 to implement retrace of the CRT beam. Because many of the operations for geometry alignment can be easily accomplished using complex numbers, a library of the fundamental vector operations is built which implement complex addition, multiplication, division, and conjugation. Focus and vignette are treated as scalars (or as a subset of complex numbers with imaginary part set to zero). The order in which the alignment corrections are applied to the prototype mesh is determined by the type of operation required. The three different operation types by their order of precedence are resampling, scaling (multiplicative), and offset correction (additive). The resampling operation can include both the residual distortion and the rotation corrections. The other two operation types can be combined into a single linear mapping step. Two types of corrections are made to a mesh control surface. First there are gain and offset type corrections. Second, there are corrections which require "resampling" the mesh surface. Resampling refers to the process where new mesh values are obtained by interpolation between the original mesh values which are at integer coordinates. The measurements, which contain all of the information required for the mesh corrections, are made by positioning the beam at a target point on the alignment mask and monitoring the light amplitude. The alignment mask contains targets in film image coordinates. The beam is controlled by points in the space of the control surfaces. The relationship between the control surface amplitudes and the image coordinates yield the information required for scaling and resampling. The locations of the targets 100 on the alignment mask are shown in Fig. 3. The measurements which are required for geometry corrections consist of the X and Y DAC values required to position the beam at the corner of the target. The positioning algorithm conducts a search for the corner of the opaque square 100 in each target. This search can first be carried out on a nonfocussed beam to get a "coarse" position of the target. The beam is then focussed and the search performed again so as to obtain an accurate position of the target. Finding the best focus is done by examining the horizontal 192 and vertical profiles 194 of the spot intensity, shown in Fig. 4, as the spot is brought out from behind an opaque edge. The respective derivatives 193, 195 of the intensity profile 192, 194 and the product 197 of the intensity derivatives 193, 195 is also shown. Another search is done over the range of focus voltage to find the "best" spot. This will be defined as the spot whose horizontal and vertical profile derivatives, when multiplied together, yield the maximum product. A selectively variable focus signal is then applied to the CRT 82 to control the CRT focus and adjusted for maximum product. It is also possible to find the focus value by monitoring the light intensity of the spot as the focus voltage is adjusted. For the nonmoving (static) spot, the best focus occurs at the minimum of the light output response. After the beam has been focussed and positioned, an intensity number should be obtained. This is the amplitude of the photodetector when viewing the spot for a fixed time period. This measurement will be used for establishing the vignette mesh. For each target on the alignment mask, then, it is possible to obtain the quadruple of numbers T x , T y , T f and T v . These numbers are integers which represent the DAC values at the target point (except for T v which is an ADC value from the photodetector). While they may be stored as integers, for the alignment operations that are described below, they will be treated as real, with the range _ 1 to + 1. The notation for the normalized measurements will use an uppercase T to indicate an alignment mask target, a subscript indicating the specific measurement, and a coordinate pair to specify the target location. Examples of this notation are: T x (1/2,0) X DAC number required to position at this target. T f (1, 2/3) Focus DAC number of best focus at upper right corner for 35 mm slide. T v ( _ 1,0) Intensity measurement at middle left edge. Sometimes the T x and T y numbers will be combined into a complex number. This will be indicated as: T xy (a,b) = T x (a,b) + iT y (a,b) The mesh indices form the u, v coordinate system, discussed further below. It is necessary to locate the origin of the mesh array. The actual physical indexing of the array is by row and column integers j, k. To locate the origin index (in integer space) the size, shape and horizontal and vertical offsets of the mesh must be known. This can be obtained from the data structure in which the mesh resides. The parameters of interest are defined in Fig. 5 and below: Res resolution of maximum image area. HMin location of first visible horizontal pixel. HMax location of last visible horizontal pixel. VMin location of first visible line (vertical pixel). VMax location of last visible line (vertical pixel). Box number of pixels between mesh elements. PStr number of pixels from first mesh element to the geometry engine synchronization signal. HOffset number of pixels from the pixel specified by PStr to first visible pixel. PMax number of pixels per row in the mesh = Box * (k max + 1). LStr number of lines (vertical pixels) from first mesh element to first visible line. LMax number of lines per column in the mesh = Box * (j max + 1). If the mesh array starts with element M[row, col] = M[0,0], then the elements of the first (top) visible line are at: J = LStr/Box The elements of the first visible pixels on the left hand edge are at: k =(PStr + HOffset)/Box Note that these may take fractional values, indicating that the starting pixels do not fall exactly on the mesh coordinates.The center of the entire image space is at Res/2, Res/2. The center of the mesh is at: j org = (Res/2 _ VMin + LStr)/Box k org = (Res/2 _ HMin + PStr + HOffset)/Box This alignment procedure uses a standard 35 mm frame format, so some of the above parameters are fixed: Hmin = 0 HMax = Res _ 1 HOffset = 0 Vmin = Res/6 VMax = 5 * Res/6 _ 1 Now that the mesh origin indices are known, the conversion to the normalized u, v coordinates is: u = 2Box (k _ k org )/Res v = 2Box (j org _ j)/Res Note that u is a function of column index only, and v is a negative function of row index in order to invert the axis direction to the normalized frame coordinate sense (increasing numbers toward the top). The retrace areas are not considered to be part of the imaging surface. This requires that the boundaries of the image be located in the mesh. The mesh elements just outside of the upper left corner are: j ul = Trunc(LStr/Box) k ul = Trunc(PStr + HOffset/Box) The mesh elements outside of the lower right corner are: j lr = Trunc(1 + (VMax _ VMin + LStr + 1)/Box) k lr = Trunc(1 + (HMax _ HMin + PStr + HOffset + 1)/Box) These are the boundaries of the image portion of the mesh. All indices within or at these locations are subject to mapping for resampling. The steps necessary to obtain the alignment factors which will operate on the prototype mesh are shown below. First, the center of the frame is measured. This is just T x (0,0) and T y (0,0). Create the complex center number: C = T x (0,0) + iT y (0,0) Second, the deflection gains and beam radii are obtained. Use T(1,0), T(1, 2/3), and T(0, 2/3) for 35 mm film format examples, to compute values for K x , K y , Z x and Z y . Correct each of the measurements for the frame center: T xy (a,b) = T xy (a,b) _ C Find the values for the X and Y deflection gains. Then solve for Z x , Z y : Four sets of numbers are found, one set for each quadrant of the image. The sets can be averaged in order to obtain a single set of equivalent deflection gains and beam radii or the deflection gain and beam radii can correct the geometry of each quadrant independently. Third, the inclination of the horizontal axis is determined. Transform the T x , T y measurements at ( _ 1,0), (1,0) to image frame coordinates. Use the two transform steps: T 1xy = T xy _ C Now compute the rotation angle and a correcting complex multiplier, R: ϑ rot =atan{(T 2y (1,0) _ T 2y ( _ 1,0))/T 2x (1,0) _ T 2x ( _ 1,0)) R = cos( _ ϑ rot ) + isin( _ ϑ rot ) Fourth, the orthogonality correction angle from the top and bottom edge targets T(0, 2/3) and T(0, _ 2,3) is calculated. These are then transformed to the rotation corrected image frame coordinates. First, T 2xy of these target measurements is computed as above, and then corrected for rotation: T 3xy = R( _ ϑ rot ) · T 2xy The orthogonality correction angle and the gradient correction as a function of vertical mesh index v are: Fifth, the complex constants used in the residual distortion mapping from the measurements at the corner targets T( _ 1, 2/3) and T(1, _ 2/3) are computed. Using the same transforms above, T 3xy is obtained for these targets. Then the orthogonality correction is applied to the x components of them to obtain T 4xy : T 4x = T 3x + H ortho (T 3y ) T 4y = T 3y The three constants required are: A = T 4xy ( _ 1, 2/3) T 4xy (1, _ 2/3) (2 _ 4/3 i) B = [T 4xy (1, _ 2/3) _ T 4xy ( _ 1, 2/3)] ( _ 1/3 + 2/9) i) C = (1 _ 2/3) i) T 4xy ( _ 1, 2/3) _ ( _ 1 + 2/3 i) T 4xy (1, _ 2/3) Sixth, the focus levels are measured. Seventh, the vignette factors are measured. Having computed the required alignment parameters, the prototype mesh is ready for alignment. The stages are: 1. Resample the mesh to remove residual distortion and rotation. 2. Make a linear correction to each element to correct for orthogonality, pincushion, centering, focus and vignette. In the first stage, the remapping of the mesh coordinates is formed from a combination of the residual distortion correction and the rotation correction. The steps required to compute the new coordinate locations are described now. The resampling process requires that for each index of the mesh array, a new index coordinate be computed, a surface interpolation performed, and the new mesh value deposited in the mesh at the (original) index. For all j, k within: j ul ≦ j ≦ j lr k ul ≦ k ≦ k lr do u = 2Box (k _ k org )/Res v = 2Box (j _ j org )/Res w = u + iv Z = R A w B + C w where A, B, C and R are the complex numbers obtained above. Now convert z back to mesh indices to find the interpolation boundaries: z = x + iy k new = Res x/(2Box) + k org j new = _ Res y/(2Box) + j org Interpolate between the bounding integer values around j new , k new in the prototype mesh to obtain the new mesh elements M x [j, k] and M y [j, k]. For the j, k outside of the range above, copy the prototype values: j < j ul ; j > j lr k < k ul ; k > k lr M x [j,k] = M protox [j,k] M y [j,k] = M protoy [j,k] In the second stage, with the beginnings of the new mesh obtained by resampling the prototype, a linear scaling will produce the final desired mesh: For all j,k do u = 2Box (k _ k org )/Res v = 2Box (j org _ j)/Res w = u + iv At this point the geometry alignment is completed. Focus and vignette remain. The focus mesh control surface is a parabola 120 of Fig. 8. The minima of the parabola must be set at the correct value for the center of the image. This is an offset operation. The rate of curvature for the surface must be determined by one other point. Once the best focus for that point is obtained, the surface 122 is scaled (keeping the minima fixed) to intersect the point. As an example of resampling, assume, that, for some reason, the center 134 of the film image did not correspond to the minima 132 of the focus surface, Fig. 9. This might occur if the optical axis of the camera (alignment fixture) was not the same as the beam axis of the CRT. To correct for this error, it is necessary to resample the focus surface such that the mesh origin at u′, v′ = [0,0] corresponds to the point on the surface where the film origin occurred. The mesh resampling should be performed on the portion of the mesh surface which contains the visible image. The vignette correction is done in the same way as the focus correction in that an offset and a scaling operation are performed, this time using the vignette measurements to determine the magnitude of the adjustment. The basic corrections to all of the mesh surfaces can be accomplished using these methods and variations of them. It is felt that the number of parameters required will be small, and that the measurements to obtain them few and easy to obtain. Additional details of the mesh correction process follow. Centering, which provides the correction for the X and Y meshes, consists of adding the appropriate constant to all elements in the mesh in order to bring the origin of the mesh (u,v = [0,0]) to the center of the image. Static centering refers to the code required in the mesh to position the (non-moving) beam at the center of the image. The prototype mesh assumed that the tube, yoke and deflection system was perfect and used the number 0 for this centering value (no offset). Dynamic centering refers to the effects of the mesh filters. It can be considered to be the time delay between when a value is fetched by the geometry engine and when its effect reaches the beam. The prototype uses the delay of the nominal filter. Any variance from this filter model may cause a shift in the actual delay and introduce centering error. Note that this is a horizontal effect only, since the vertical rate of change is well beyond the averaging effects of the filter. The addition of an appropriate constant to all values in the X mesh will correct for any dynamic centering errors. The measurement of the static center includes using a target on the alignment mask at the origin of the film coordinates, the beam is positioned by means of horizontal and vertical search methods to the center. The X and Y deflection control words are noted and saved. The dynamic centering process provides a horizontal line segment to locate the frame center while scanning the line at the normal imaging rate. This is done using a nearly completed mesh (the dynamic centering correction is the last to be applied). Moreover, it is also possible to measure the X deflection filter response directly, using one of the diagnostic A/D channels. The diagnostic A/D (not shown, connected to mesh adjusting microprocessor 77) is selectively connected to one of sixteen test points in the system, such as at the deflection yoke, the focus power supply and other CRT signal paths. Thus, by putting step or impulse function values into the deflection DAC′s (56, 60, 64, 68) and measuring the resulting analog circuit response through a loop-back measurement system, the system performance is monitored. This would yield a value for the time delay which could be compared to the nominal delay. The difference is then converted to the additive constant for the mesh. Scaling and pincushion correction are provided as follows. The prototype mesh has been computed for the nominal yoke position on the CRT. This involves use of the "beam radius", Z, which is the effective distance between the CRT face plate and the focal point of the deflection. The computation also includes a nominal value for the angular deflection gain, K, which specifies the sensitivity of the deflection angle to the mesh numeric values: Sin α = K · M where α is the deflection angle; M is the mesh value. In practice, each system will have different values for Z and K. There will also likely be different values for K in the horizontal and vertical directions. By measuring the true values for Z and K, it is possible to correct the mesh values for the new geometry. As shown in Fig. 10, the deflection angle, α, required to produce a given deflection d, is determined by: tan(α) = d/z To keep the deflection constant when the CRT beam radius Z CRT is different from the nominal radius Z nom , a new angle (145, Fig. 10) must be computed: α new = atan(d/Z CRT ) This correction must be done along both horizontal and vertical axes. The desired angles are: The positions x and y are not the quantities available at each mesh coordinate. The original angles are known, however, through the deflection gain. So the desired x and y, can be obtained: The new angles are therefore obtained from the prototype mesh values by: This can be simplified if Z CRT ≃ Z nom : This is an easy computation. All that is needed are values for K CRT and Z CRT K nom and Z nom are known (they are parameters used in generating the prototype mesh). To obtain the actual beam radius and deflection gains three measurements are required. As shown in Figs. 8 and 9, the location of the tube center 134, and two distinct deflections must be measured. The center point measurement was discussed above. Two other target locations on the alignment mask can be used to provide the known deflection distances d₁ and d₂ (known in film image coordinates). Using search techniques for positioning the static CRT spot, the required mesh values to position the spot over each target are obtained. From the deflection measurements, along with the center value M₁, M₂, and M₃, and according to the geometry of the problem: Z CRT = d₂ tan KM₁ = d₁ tan KM₂ To solve this for the deflection gain K, first write: To solve analytically, a simple numerical method can be employed. Let: Finding the value of K to make f(K) equal to zero, according to Newton's method, the derivative of f(K) is required: This technique converges very rapidly, and given a reasonable initial approximation for K(K nom is a good choice), only a few iterations of the algorithm are required. Once K CRT is computed, Z CRT is found by: Z CRT = d₂/tanK CRT M₂ Note that the distances and consequently Z CRT (144, Fig. 10), are in image frame coordinates. Since Z CRT and K CRT are used in ratios with Z nom (146, Fig. 10) and K nom , the actual dimensions used are arbitrary, so long as they are consistent. The beam radius and the deflection gain characterize the pincushion correction required to produce a rectilinear image. By making the measurements at the film plane in the alignment module, correction of the camera lens pincushion distortion occurs at the same time. The two sources of distortion (CRT and camera) combine at the film as an "effective" single distortion which can be corrected by an equivalent beam radius and deflection gain. This is what is actually computed by making the measurements and computations described above. This correction assumes that the magnification of the prototype mesh and the pincushion corrected mesh are the same. This entered into the correction equation by keeping the net deflection d, 142, the same (Fig. 10). If the tolerance on the camera position and/or lens focal lengths results in a change in magnification, the deflection distance must change in order to maintain a constant image size. This requires a correction which resamples the control surface in order to preserve the pincushion correction and at the same time create the desired image size. Since it is expected that the magnification errors will be small, it is suggested that they be corrected within the pincushion correction. The residual distortion should fall within the acceptance tolerances for pincushioning. The yoke will have some amount of nonorthogonality between the x and y coils. This can be compensated for by the mesh. The recommended method for accomplishing this is to manually align the horizontal deflection when the yoke is assembled onto the tube. This is an operation which is provided by accurate manufacturing of the yoke. Any remaining errors will be removed at a later stage, discussed below. As shown in Fig. 12, the y axis can now be measured and its orthogonality to X computed. The "shear" 162 of the Y axis can be removed by adding the correct constant 168 to each row in the X mesh, Fig. 13. The number will be different for each row. A linear correction is easily accomplished which adds zero at the origin and gradually increases in magnitude for rows closer to the top or bottom of the frame. Using targets (100, Fig. 3) at the center, right edge, and top edge 164 of the alignment frame, make position measurements M C , M r , M t . Compute angles ϑ x , and ϑ y : The orthogonality error angle 166 is the difference between the Y axis angle and the line which is perpendicular to the X axis: ϑ ortho = ϑ y _ (ϑ x + 90°) The gradient of the Y axis error is represented by this angle. The absolute amplitude is obtained from some additional. geometry, shown in Fig. 13. The distance H at the film plane can be computed from: H = (2/3) tanϑ ortho This is the maximum horizontal shift to be made. It occurs at the top row of the mesh, and also at the bottom row, though opposite in direction. The mesh constant, M ortho (H), that must be added is the angle required to produce H. This will be: K M ortho (H) = arctan(H/√(y² + Z²)) K ortho (H) = (1/K) arctan(H/√(y² + Z²)) where K is the deflection gain and Z is the beam radius as determined earlier. Because the error angle is small, the arctangent function may be approximated by its argument; and, since the correction will be a linear function of Y (and hence of the mesh coordinate V), the required constants to add to each row of the X mesh: Now that the Y axis of the image is orthogonal to the X axis, it is necessary to align the U axis of the mesh (row direction) with the horizontal (x) axis on the film. This cannot be done by a linear operation. Instead, the mesh coordinates must be rotated, and the control surface 172 resampled at the new array index locations 174 shown in Fig. 14. First, the amount of rotation required is measured. The data to determine this has already been obtained by previous alignment mask target measurements M r and M c . In fact, the rotation angle has already been computed as part of the orthogonality correction: In order to perform the resampling a new set of mesh index locations must be computed. These are obtained from the old locations by the transformation: u new = u old cos ϑ rot _ v old sin ϑ rot v new = u old sin ϑ rot + v old cos ϑ rot In general, the new locations will be different from the old coordinates. To compute the new mesh value an interpolation of the mesh surface is done. As an example of this linear interpolation on a surface, say that u new falls between old mesh coordinates u n and u n + 1 , shown in Fig. 15, and that v new lies between v m and v m + 1 . First compute the mesh values where v new intersects the vertical lines at u n and u n + 1 . They occur at (u n , v new ). Then interpolate between these two numbers to obtain the value at u new : M(u n′ v new )= v new _ v m v m + l _ v m ·(M(u n′ v m + l ) _ M(u n′ v m )) + M(u n′ v m ) M(u n + l′ v new )= v new _ v m v m + l _ v m ·(M(u n + l′ v m + l ) _ M(u n + l′ v m )) + M(u n + l′ v m ) M(u new′ v new )= u new _ u n u n + l _ u n ·(M(u n + l′ v new ) _ M(u n′ v new )) + M(u n′ v new ) The computation of u new , v new , and its new mesh value must be done for every element in the viewable portion of the mesh. To reduce the visual effects of any residual nonlinear second and third order effects distortions, a conformal mapping method is provided. The bilinear transform, in complex number theory, offers the opportunity to map three points in one (distorted) coordinate system to three corresponding points in the desired coordinate system. This type of correction is a resampling technique similar to the rotation correction just described. It involves the computation of new u, v numbers using a more complicated formula than the rotation correction however. The three mapping points will be the upper left, the center, and the lower right ends of the image frame. Since this line spans both axes, it is expected that the distortion correction will be fairly uniformly distributed over the frame. In addition, the transformation will guarantee that these points fall exactly on the desired locations in the final image. The procedure starts by obtaining measurements of the mapping points using targets on the alignment mask. Call these measurements M ul , M c , and M lr . The alignment corrections and the pincushioning must be "undone" in order to convert these numbers to image frame coordinates. This can be accomplished in stages using information already obtained. The sequence is: First, remove the centering correction. The centering correction to the prototype mesh consisted of adding the center measurement M c . This means that to obtain a prototype mesh value from a measured value, the center must be substrated: M₁ = M _ M c Second, undo the pincushion correction. This was initially performed in the prototype mesh generation. It must now be reversed to get back to image frame coordinates. The reverse operation is: M₂ = r(x,y) sin(K M₁) where K is the system's measured angular deflection gain, and r(x, y) is the distance from the beam focal point to the screen: r(x, y) = √(x² + y² + Z²) Z is the system's measured beam radius. Third, remove the orthogonality correction. Whereas M ortho (ϑ ortho , v) was added to each prototype mesh value (after pincushion correction), it must now be subtracted: M₃ = M₂ _ M ortho (ϑ ortho , v) Fourth, rotate the measurements back to their unaligned positions: M₄ = R rot ( _ ϑ rot )M₃ R rot is the rotation transformation (in vector notation) operating on the measurement vector M₂. The individual equations were described previously. M₄ represents the measurement in image frame coordinates. If there were no distortion remaining after the mesh corrections described, the measured coordinates would match the desired image coordinates. In general, only M 4c will be exactly correct (it is guaranteed to be zero). The technically "proper" thing to do with the measurements would be to perform the bilinear transform on the desired image frame coordinates and "predistort" them. This misshapened set of coordinates are then used as the starting points in the mesh generation procedure and a new prototype mesh created. This is followed by all of the alignment corrections previously determined and the best mesh producible by this method would result. Since generating a new prototype mesh from image coordinates is a lengthy and compute intensive task, this is not a practical solution. Instead, it will be assumed that the distortion corrections are small, and that by predistorting the mesh coordinates and resampling the mesh surface, an approximation to the true solution will result. The transformation to the mesh coordinates is specified by the M₄ measurements. What is desired is for the corners and center of the mesh to map into the M₄ locations. Referring to the u, v coordinates of the prototype mesh as w, and the x, y coordinates of the resampled mesh as z, the transformation requires: w ul → z ul = M 4ul w c → z c = M 4c w lr → z lr = M 4lr Since w c = z c = 0, the transformation simplifies to: The way this formula is used is to substitute the corner values of the mesh indices: w ul = [ _ 1, 2/3] w lr = [1, _ 2/3] and the values for the measured corners: M ul = M 4ul M lr = M 4lr The formula is in the complex number domain and represents a vector operation. It can be written as: where A, B, and C are complex numbers obtained from: A = M ul M lr (w lr _ w ul ) B = (M lr _ M ul ) w ul w lr C = w lr M ul _ w ul M lr The present invention also provides film images which are predistorted. The predistortion is provided by defining an image boundary which complements and corrects for the distortion and adjusting the mesh accordingly. For instance, a Keystone distortion would require adjusting and mest to form an inverted Keystone; projection on a sphere would require the mesh to be adjusted to provide severe pincushion predistortion, and so forth. The image parameters, such as image size and position are also altered according to the various formats of the films to be used. The present invention automatically accommodates a variety of film formats in a common enclosure 200 which is adapted to the particular film formats, such as 16 mm, 35 mm and 46 mm films with removable and interchangeable mechanical supports within the enclosure 200, Fig. 16. However, since the film aperture plates 202 define the image 204 size and position on the film 206, the particular film aperture plates 202A-D, Fig. 16A, used signal the mesh adjusting microprocessor 77 to adjust the image position and size parameters to the CRT 82. The aperture plates 202 (202 B-D, Fig. 16 B-D) are encoded with recesses 210, 212 which are read by switches 214, 216 and linkage pins 218, 220, respectively. Thus, for one of four apertures, two aperture positions provide sufficient encoding (2²) to indicate a unique film aperture to the mesh adjusting microprocessor 77, which provides the corresponding CRT image adjustment. Other aperture encoding methods, such as electrical or optical are also envisioned, and the encoded signal may be adjusted to accommodate a larger variety of aperture plates or other interchangeable enclosure 200 components. Another feature of the present invention, called Pixel Replication, is designed to eliminate the problem encountered by film recorders which support more than one resolution CRT image. When changing from a higher resolution to a lower resolution CRT image, one encounters the problem of trying to keep the film exposure constant so that the film density and color balance will remain the same. Other film recorders do this by either increasing the exposure time per pixel at the lower resolution or by increasing the CRT beam current. Both of these techniques introduce errors because the corrections are nonlinear and therefore require correction via compensation tables that must be changed for each resolution. The apparatus according to the present invention solves this problem by, in effect, always running at the higher resolution. When a reduced resolution picture is exposed (at either one half or one quarter of the highest resolution), the present invention automatically draws each pixel four or sixteen times as necessary (i.e., doubles or quadruples the pixel in both the X and Y direction). This is performed by the mesh adjusting processor 77 from image data in the scan memory 74, by repeating the appropriate memory 74 address. Thus, the nonlinear image problems are avoided and the film exposure remains constant. Moreover, while other film recorders modify the film exposure by controlling either the duration of each pixel (time modulation) or the brightness of each pixel (intensity modulation), the present invention uses a combination of both. Depending on the horizontal sweep speed, each pixel is divided into between 6 and 256 time slices. In each pixel, the present invention can set any number of the time slices to a full intensity setting, and one slice may be set to any of 4096 settings. This process gives a finer control of film exposure than the traditional techniques, and representative values of time and intensity are shown in Table 1, below. The table variables are defined as follows: Count _ number of time units (62.5 nsec each) of full amplitude video signal in a pixel. Partial _ Expressed as a value from 0 to 1 (non inclusive). It represents the fraction of full amplitude video signal used for 1 time unit following the count full amplitude time units. Slices _ Number of time units in each pixel. Slices ≧ count + 1 after drawing count + 1 time units, the remaining portion of a pixel (Slices-Count _ 1) is drawn at zero amplitude. Contrast _ A voltage level selected to produce a bright white as determined by film sensitivity; other parameters then adjusted for gray scale. In the following tables, slices = 16 Other embodiments and modifications of the present invention by one skilled in the art, such as alignment of a laser, rather than a CRT based image system, are within the scope of the present invention, which is not to be limited, except by the claims which follows:

Claims: 1. An image recorder providing a photographic copy of a Crt image at an image plane (84) onto a photographic film plane (88) comprising: lens means (86) for transforming light from the image plane (84) to the photographic film plane (88); an alignment mask (90) having a target image thereon interposed in the optical path between the image plane (84) and the photographic film plane (88); means to operate the CRT (82) according to at least one of a deflection signal and an intensity signal; photodetector means (94) positioned to receive the target image selectively illuminated by the CRT (82) and producing a target signal therefrom; characterized in that the CRT is scanned to illuminate the alignment mask and means are provided for storing data for adjusting at least one of said deflection signal and said intensity signal in response to the target signal, thereby at least partially to correct one of intensity, focus, image position, rotation, orthogonality, pincushion and size in a subsequent image-carrying operation of the CRT. 2. An image recorder according to claim I wherein the alignment mask (90) is located at the image plane (84). 3. An image recorder according to claim I wherein the alignment mask (90) is located at the photographic film plane (88). 4. An image recorder according to claim 3 wherein the photographic film is contained within a first removable module and the alignment mask is contained within a second removable module wherein the first and second removable modules are selectively interchangeable. 5. An image recorder according to claim 3 or claim 4 wherein the photographic film is displaced from the film plane (88) and the alignment mask (90) is substituted in the place of the film during adjustment by the means for adjusting. 6. An image recorder according to any one of the preceding claims wherein the optical path includes a mirror (97). 7. An image recorder according to any one of the preceding claims wherein the alignment mask (90) has one of an opaque, a transparent and a reflective target image thereon. 8. An image recorder according to any one of the preceding claims further including focus adjustment means responsive to said target signal to provide a focused image on said photographic film. 9. The image recorder according to claim 8 wherein said focus adjustment means comprises means for adjusting the focus of said CRT image. 10. The image recorder according to claim 9 wherein the alignment mask (90) comprises a clear plate with at least one opaque target thereon and said CRT image comprises a spot; said target signal corresponds to the intensity of the CRT image; and said means for adjusting the focus of said CRT provides a minimum target signal. 11. An image recorder according to claim 10 wherein said alignment mask (90) includes a plurality of said opaque targets distributed over the CRT image plane (84); said means for adjusting provides the corrections at the targets; and further includes interpolation means for providing said corrections adjacent to said targets. 12. An image recorder according to any one of the preceding claims wherein the alignment mask (90) comprises a clear plate with at least one opaque target thereon and said means for adjusting includes: means for detecting an edge of the opaque target; and means for determining the position of said CRT image according to the detected edge of said target. 13. An image recorder according to any one of the preceding claims wherein said means for selectively illuminating the alignment mask (90) includes means to provide a movable illuminated focused spot, and wherein said means for adjusting further includes means for determining the intensity profile of said spot; and means for adjusting the focus of said spot according to said intensity profile. 14. An image recorder according to any one of the preceding claims wherein said means for adjusting includes a prototype mesh for providing preliminary correction. 15. An image recorder according to claim 14 wherein said means for adjusting further includes a mesh correction processor (77) responsive to said prototype mesh and said sampled target signal, and providing a corrected mesh signal. 16. An image recorder according to claim 15, wherein said means for adjusting further includes a random access memory (54) for storing said corrected mesh signal. 17. An image recorder according to any one of the preceding claims wherein said means for adjusting includes at least one of: means for sampling the target signal; multiplication means (71) for providing scaling correction to at least one image characteristics including image position, rotation, orthogonality, pincushion, size and vignette according to the sampled target signal; and addition means for providing anoffset correction to at least one image characteristic including image position, rotation, orthogonality, pincushion, size and vignette according to the sampled target signal. 18. An image recorder according to any one of the preceding claims wherein said means for adjusting further includes a geometry engine (52) providing control signals to the CRT (82) including at least one of deflection, focus and vignette signals. 19. An image recorder according to any one of the preceding claims further including a film holder (200) comprising an aperture plate (202) having an aperture therein corresponding to a selected film format; means (210, 212; 214, 216) for providing an encoded signal corresponding to the selected format; wherein means are provided for adjusting the CRT image size and/or position according to the encoded signal. 20. An image recorder according to claim 19 wherein the means for providing the encoded signal comprises recesses (210, 212) in the aperture plate (202), and switches (214, 216) operative according to the presence of the recesses (210, 212). 21. An image recorder according to any one of the preceding claims wherein the CRT image may be provided at a plurality of resolutions by means of a corresponding plurality of pixel arrays each with a respective pixel density, and wherein means are provided for replicating a pixel array with a lower pixel density into a pixel array of higher pixel density, thereby to permit colour matching on the film. 22. An image recorder according to claim 21 wherein the replicating means provides an even multiple of each pixel in the pixel array of lower pixel density into the pixel array of higher pixel density. 23. A method of alignment of an image recorder having a CRT (82) and photographic film disposed on a film plane (88), comprising the steps of: providing an alignment mask (90) having a target image thereon; generating a deflection or intensity signal; scanning said alignment mask (90) with a point light source from the CRT, wherein the target image partially obscures said selective illumination to generate an image; detecting the image generated by the selective illumination of the alignment mask (90); characterised by calculating the intensity profile of the generated image; storing data for adjusting a display parameter of the point light source according to the intensity profile: and subsequently, operating the CRT carrying an image to be recorded in accordance with the adjustment data stored. 24. A method according to claim 23, further including the steps of: calculating the position of the point light source; comparing the calculated position of the point light source to a specified position and providing an error signal therefrom; and adjusting said expected position signal according to said error signal to provide correction for at least one of image position, image rotation, coordinate non-orthogonality, pincushion distortion and size distortion. 25. A method according to claim 24, wherein said step of adjusting said expected position signal includes the step of generating a prototype position. 26. A method according to claim 23 comprising the steps of: providing a prototype mesh having preliminary display parameters therein; correcting said prototype mesh as a result of the scanning; storing corrected mesh parameters; generating display parameters; correcting the display parameters by said corrected mesh parameters.

Inventors: GLASS, WILLIAM H., KRIZ, J. STANLEY, OLSON, THOR A.
Applicants: MANAGEMENT GRAPHICS, INC.
Application year: 1988
Main classification: H04N1
IPC codes: H04N1