WO2004051987A1 - 撮像装置 - Google Patents

撮像装置 Download PDF

Info

Publication number
WO2004051987A1
WO2004051987A1 PCT/JP2003/015423 JP0315423W WO2004051987A1 WO 2004051987 A1 WO2004051987 A1 WO 2004051987A1 JP 0315423 W JP0315423 W JP 0315423W WO 2004051987 A1 WO2004051987 A1 WO 2004051987A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
image data
rule
filter
imaging device
Prior art date
Application number
PCT/JP2003/015423
Other languages
English (en)
French (fr)
Inventor
Nobuyuki Watanabe
Original Assignee
Olympus Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corporation filed Critical Olympus Corporation
Priority to JP2004556893A priority Critical patent/JP4445870B2/ja
Priority to EP03776025A priority patent/EP1569442A4/en
Publication of WO2004051987A1 publication Critical patent/WO2004051987A1/ja
Priority to US11/059,490 priority patent/US8040385B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/40Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled
    • H04N25/44Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled by partially reading an SSIS array
    • H04N25/445Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled by partially reading an SSIS array by skipping some contiguous pixels within the read portion of the array
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • H04N23/12Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths with one sensor only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/10Circuitry of solid-state image sensors [SSIS]; Control thereof for transforming different wavelengths into image signals
    • H04N25/11Arrangement of colour filter arrays [CFA]; Filter mosaics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/40Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled
    • H04N25/44Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled by partially reading an SSIS array
    • H04N25/447Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled by partially reading an SSIS array by preserving the colour pattern with or without loss of information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/40Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled
    • H04N25/46Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled by combining or binning pixels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • H04N25/61Noise processing, e.g. detecting, correcting, reducing or removing noise the noise originating only from the lens unit, e.g. flare, shading, vignetting or "cos4"
    • H04N25/611Correction of chromatic aberration

Definitions

  • the present invention relates to a digital imaging device, and more particularly to a digital imaging device that generates an image having a smaller number of pixels than the number of pixels of an imaging device mounted on the imaging device at high speed and with high image quality.
  • the number of pixels of the image sensor is important in determining the resolution of a captured image. For this reason, some child still cameras with a large number of pixels of more than 500,000 pixels have been commercialized. However, for all 3 ⁇ 5 ( ⁇ _ do, it is not always necessary to have 500,000 pixels, but on the contrary, the image displayed on the web of the Internet is rather a pixel. In many cases, the smaller one is used.
  • the number of pixels of the output image is smaller than the number of pixels of the image sensor, the number of pixels to be used is limited in advance to reduce the number of data transferred from the image sensor to the memory. Memory One transfer speed can be improved.
  • Figure 15 shows how to generate a reduced image in rehable color by sampling bilinear interpolation from the Bayer array.
  • the final color data at point ABCD is calculated from the RGB data of the nearby 12 points. Specifically, at point A, the full power
  • Figure 16 shows a method of generating a full-color reduced image from a Bayer array by sampling with bicubic interpolation.o
  • full power It is obtained from the RGB data of 48 points near the point.
  • the full color data at point B is R 61 R 63 R 65 R 67
  • the official gazette of 141 discloses a high-speed image reduction method using this method.
  • Japanese Patent Application Laid-Open No. 2000-01016441 discloses a device for thinning out data in a limited resolution type! 3 ⁇ 4! ⁇ * and further correcting data distortion. Is disclosed. This document describes that, in the embodiment, a device having a resolution of 600 dp ⁇
  • the method disclosed in Japanese Patent Application Laid-Open No. 2001-245510 is effective in reducing a reduction rate of about 20% or less, but it is effective for a large reduction rate (about 40% or more).
  • averaging by integration alone does not eliminate image distortion due to pixel positions protruding 57 degrees. do not come. Therefore, it is difficult to form a high-quality image while changing the size for a wide range of reduction ratios.
  • the data corresponding to 400 dpi is created by performing interpolation using all of the 600 dpi data obtained by scanning.
  • the data of y basic resolution Japanese Patent Laid-Open No.
  • the imaging device of the present invention has an imaging device.
  • the imaging device includes a photoelectric conversion element that photoelectrically converts an optical image to obtain image data, and a readout control unit that reads out the image data obtained by the light conversion element by thinning out pixels as necessary.
  • the imaging apparatus further includes: an area setting unit that sets an area of an output image of the imaging device; and a reading rule selection unit that selects a pixel thinning-out reading rule of a reading control unit according to the area set by the area setting unit.
  • a distortion correction unit that corrects the distortion of the photoelectric conversion element and the image by the extraction control unit.
  • the distortion correction section has a filter processing section for filtering the image data read out from the photoelectric conversion element based on the pixel reading-out rule selected by the reading-out rule selection section.
  • FIG. 1 shows the configuration of the imaging device according to the first embodiment of the present invention.
  • FIG. 2 shows an example in which a vertical conversion of 14/16 is performed on an image of the RGZGB Bayer array.
  • FIG. 3 shows a state in which the data of the eighth pixel and the data of the ninth pixel from the top of the 16 pixels before the conversion are omitted in the conversion shown in FIG.
  • FIG. 4 shows an example in which two pixels out of 16 pixels are thinned out and read out in both the horizontal and vertical directions.
  • FIG. 5 shows how distortion correction is performed on the vertical data in the first column on the left in the pixel data that is decimated and read according to the example of FIG.
  • FIG. 6 shows a configuration of a filter processing unit for a photoelectric conversion element composed of a single-chip color imaging element.
  • FIG. 7 shows the configuration of a filter processing unit for a photoelectric conversion element composed of a monochromatic monochromatic image sensor or a multi-plate color image sensor.
  • Figure 8 shows the flow of the distortion correction process.
  • FIG. 9 shows an example in which two pixels out of eight pixels are thinned out and read out in both the horizontal and vertical directions.
  • FIG. 10 shows the configuration of the imaging device according to the second embodiment of the present invention.
  • Fig. 11 shows that the read start position of the read range is photoelectric conversion in reading by repeating 6/8 thinning-out reading.
  • the read range of the frame that matches the upper left pixel of the pixel array shown in FIG.
  • Fig. 12 shows that the I-jump by the repetition 1 of the 6Z8 thinning-out readout is fc 3 ⁇ 4 and the 5jj ui, and the read end position of the range matches the lower right pixel of the pixel array of the photoelectric conversion element. This indicates the range of frames that are read.
  • Fig. 13 shows a moving image obtained by performing averaging processing between consecutive frames after performing thinning-out reading of 2 pixels out of 14 pixels (6/7 size change).
  • Figure 14 shows the average between successive frames after performing thinning-out reading of 2 pixels out of 14 pixels (changing the size of 6Z7) and performing distortion correction (pixel-to-pixel interpolation). This shows a moving image obtained by performing the conversion process.
  • Figure 15 shows how to generate a full-color reduced image from a bi-linear interpolation sampling from a Payer array.
  • Figure 16 shows a full-color reduction with a bi-cubic interpolation sampling from a Payer array. Insufficient cow method to generate images.
  • FIG. 17 shows the configuration of the imaging apparatus according to the third embodiment of the present invention.
  • FIG. 1 shows a configuration of an imaging apparatus according to a first embodiment of the present invention.
  • An imaging apparatus 100 is an imaging optical system that forms an optical image of a subject.
  • the optical system includes a system 110 and an imaging device 120 that outputs an image signal of a predetermined region of an optical image formed by the imaging optical system 110.
  • the imaging device 120 is an area-shaped photoelectric conversion element that photoelectrically converts an optical image formed by the imaging optical system 110 to obtain digital image data (a set of pixel data).
  • (Imaging element) 122 and a readout control unit 124 that reads out image data obtained by the photoelectric conversion element 122 by thinning out the pixels as necessary.
  • the image capturing apparatus 100 further sets an area of the image to be output (displayed) (that is, the above-described predetermined area) (that is, specifies the size and position of the image to be displayed), In the area setting section 1 3 2
  • a distortion correction unit 140 that corrects the distortion of the digital image data deviated five times from 122.
  • Crop control unit 1 2 4 (3, 3 ⁇ 4t 1 1 4) Based on the pixel thinning readout rule selected by the rule selection unit 1 3 4
  • Pixel data in the corresponding range in the pixel array in 1 2 2 is extracted.
  • the image data thinned out from the image device 120 is output o
  • the distortion correction section 140 includes a filter control section 1442 for filtering digital image data 17C extracted from the photoelectric conversion element 122 by the readout control section 124, and a readout rule selection section. In accordance with the pixel thinning-out reading rule selected in A filter coefficient setting unit 144 for setting a filter coefficient used for the filter processing of the filter processing unit 142.
  • the filter coefficient setting section 144 includes a LUT storage section 144 that stores a look-up table (LUT) including a plurality of filter coefficients, and a filter from a look-up table stored in the LUT storage section 146. And a filter coefficient selection unit 148 for selecting a coefficient.
  • LUT look-up table
  • the filter coefficient setting section 1 4 4 is not necessarily the UT storage section 1
  • the finole coefficient setting unit 144 using ⁇ T requires a lot of memos to store TT, but the computational load is small.
  • the filter coefficient setting unit 144, which does not use U ⁇ , does not require a large amount of memory, although the computational load is large.
  • the m-image device 100 further performs a predetermined process (of white balance or tone conversion ⁇ edge enhancement) on the image 15 1 output from the distortion correction unit 140 and corrected for correctness.
  • a predetermined process of white balance or tone conversion ⁇ edge enhancement
  • the imaging device 100 has an image recording unit 156 that records an image in accordance with the image signal output from the image signal processing unit 152. are doing.
  • the imaging device 100 displays the image obtained by the photoelectric conversion element ⁇ 22 on the image display unit 154 as it is. That is, all pixel data of the image data is displayed. Therefore, the image display section 15
  • the area setting section 13 2 is composed of a Darafil user interface (GUi) for the screen of the image display section 15 4. On the displayed image, operate the buttons, mouse, etc. to keep the desired display area for ⁇ days / £.
  • GUI Darafil user interface
  • the thinning-out readout operation is performed by the thinning-out readout operation.
  • the imaging device 120 0 sets the pixels in a specific area on the photoelectric conversion element 122 to all the pixels. Reading can be performed within a shorter time than reading.
  • the imaging device 120 designates a readout position using a shift in both the horizontal direction and the vertical direction. Comes out.
  • the i-th element of the j-line is assumed to be C (i, j)), and the pixels in the horizontal direction from there are c (+1) and C (i), respectively.
  • the photoelectric conversion elements 122 are CCD.
  • CCD shifts the charge in the horizontal direction and shifts the charge to PJ9, so the image device 120 can read out all pixels ⁇ ⁇ lij in the horizontal direction and thinned out in the vertical direction.
  • the distortion correction unit 140 interpolates the missing information and performs the filtering process of the magnification conversion on the digital image data thinned and read in this manner. That is, in this specification, the distortion correction means that “interpolation j” and “magnification conversion J are performed at l.
  • FIG. 2 shows an example in which a 14/16 small B conversion is performed in the horizontal direction on an image of an RG / GB bay array.
  • the upper part shows a one-dimensional data array of pixels after the reduced conversion
  • the lower part shows a one-dimensional data array of pixels after the reduced conversion.
  • R i 2p and G i 2p + 1 (P is an integer of 0 or more and less than 7) are pixel data of pixels that are continuously arranged in the horizontal direction in the photoelectric conversion element 122. , And have consecutive subscripts corresponding to the positions of the pixels arranged in the horizontal direction.
  • R c 2q and G c 2 q + 1 (where q is an integer of 0 or more and less than 6) represent pixel data after conversion, and are consecutive subscripts corresponding to the positions of pixels arranged in the horizontal direction. have.
  • R c 2 after the conversion is expressed by the following equation (2) using R i 2 and R'4.
  • FIG. 3 shows a state in which the data of the eighth pixel and the data of the ninth pixel from the left of the 16 pixels before the conversion are omitted in the conversion shown in FIG.
  • slipping off the pixel de Isseki R ig and G ig was, in each have use pixel data R i 6 and R '10 and the pixel data G i 9 and G i [pi adjacent the same channel, the following equation ( Linear interpolation should be performed according to 3).
  • Figure 4 shows an example in which two out of 16 pixels are thinned out and read out in both the horizontal and vertical directions.
  • the 8th and 9th pixels are thinned out in both the horizontal and vertical directions.
  • FIG. 5 shows the state of the conversion of the first column on the left in the pixel data read out thinned out according to the example of FIG. 4 * o.
  • the pixel data that is deviated by 5 at 5 o'clock is vertically represented by Ri 0, Gi 1, Ri 2, Gi 3, Ri 4, G ′ 5, R'6,
  • R i12, G i13, R'14, and G ⁇ 15 i.e., 14 pieces.
  • Equation (7) shows that the 14th pixel T, which is obtained by thinning out the 8th (8th line) and 9th (9th line) pixel data, is
  • the pixel data used when obtaining the pixel data Rc 8 is the same as the pixel data used when obtaining the pixel data Rc 6. That is, the pixel data used to obtain the pixel data R c 8 are offset it to a differs from the sequence of pixel data used to obtain the pixel data R ci R c 6 (ie phase ). Even with the pixel data G c 7 and G c 9 it says the same thing.
  • R i 0 G, R i 2 G ⁇ 3 R ⁇ 4 G i 5 R i 6 G '7 R i 10 G ⁇ R ⁇ 12 G ⁇ 13 R i 14 G ⁇ is 14.
  • R j () and G ji R j 2 G j 3 R j 4 G j 5 R ' ⁇ 6 G j 7 R j 8 G j 9 R j 10 G j 11 j 12> G j 13 deep . That is,
  • R′2 and G′2p + 1 (P is an integer of 0 or more and less than 7) represent pixel data of pixels arranged in the horizontal direction in the photoelectric conversion element 122 as described above.
  • the part where the subscript is skipped is
  • R j 2r and G j 2r + 1 (r is an integer of 0 or more and less than 6) represent pixel data actually read out by pixel thinning-out reading, and correspond to the order in which gJC is extracted. Have consecutive subscripts.
  • A is a transformation matrix that performs one-dimensional distortion compensation (that is, in the above example, 2 pixels out of 16 pixels are thinned out.
  • B is an n- by-1 matrix representing pixel data before distortion compensation, and
  • C is an n-by-1 matrix representing pixel data after distortion compensation.
  • the read data in Fig. 4 is represented by the following matrix D j.
  • equation (1 2) a line is drawn at the skipped part.
  • D (j) the uniform array of ⁇ 4 X 14 pixels
  • the conversion to correct the distortion in the vertical direction after correcting the distortion in the horizontal direction can be obtained by using A in equation (11).
  • o canceller and, c AT is representing the transposed matrix of A
  • Fig. 6 shows a pipeline of the conversion expressed by equation (7) for a photoelectric conversion element 122 composed of a single-chip color imager with a power FO filter array (CFA) arranged on the front. It shows the configuration of a filter processing unit that performs processing.
  • CFA power FO filter array
  • the fill-in processing unit selects a shift register 162 into which the image signal read from the single-chip color image sensor is input, and a read position for reading the image signal from the shift register 162.
  • the distortion of image information read from a single-chip color image sensor is corrected by pipeline processing in which the number of input data and the number of output data are equal.
  • ⁇ h 0) of k j 1 of the matrix
  • Shift register selected by 6 4 and 1 6 6 This represents a selection criterion for the position.
  • P ij and Q i j + 1 are the ⁇ th and i + 1st pixel data before distortion correction, respectively
  • P cj and Q c ⁇ + ⁇ are the pixel data after correction, respectively
  • bi and j are Represents the elements of the distortion correction transformation matrix (positive ⁇ fear 'positive coefficient)
  • a j and j are expressed by the following equation (23).
  • D represents the number of pixels decimated by ⁇ from the i-th image of n pixels read by m consecutive pixel blocks on the imager.
  • F is the largest integer (F ⁇ 0) not exceeding W i defined by the following equation (20).
  • aj and j are the coefficients of an n-by-m matrix in the transformation performed by one-dimensional interpolation to change the size by n / m (n ⁇ m), expressed by the following equation (23).
  • P ij and Q i i +1 are the ith and i + 1 pixel data before the size change, respectively
  • P oj and Q oj + 1 are the pixel data after the change, respectively
  • Wi ' Wi-F ". (25)
  • W i is defined by equation (20), and F is the largest integer not exceeding W i (F ⁇ 0).
  • Fig. 7 shows a filter process in which the conversion expressed by equation (7) is performed by pipeline processing on a photoelectric conversion element 122 composed of a single-color monochrome image sensor or a multi-color image sensor. 2 shows the configuration of the unit.
  • the filter processing section selects a shift register 182 to which an image signal read from a monochrome image sensor or a multi-color image sensor is input, and a read position for reading an image signal from the shift register 182. Shift register by two selectors 1 84 and 1 86 and selectors 1 84 and 1 86 E2 Two multipliers 194 and 196 for multiplying the image signal read from 182 by the correction coefficients k1 and k2, respectively, and two multipliers. And an adder 198 for adding the calculation result of the image data.
  • ⁇ h 0-(26)
  • k ⁇ is the leftmost non-zero element in the ⁇ th row of the matrix (bj
  • h 0 indicates that all the elements below the hth in the ith row are 0.)
  • ki2 1-kjl-(27) kj 2 is the residual of kj in matrix 1
  • the number of selectors is increased in accordance with the shift amount (i-1h) of the five deviations (FIG. 7 shows the case where the shift amount is one pixel).
  • the subscript i is based on the filter one processing unit in FIG. It represents the sequence number of the pipeline processing, and kj
  • P ij represents the i-th pixel data before distortion correction
  • P cj represents pixel data after correction
  • b j, j represent elements (distortion correction coefficients) of the distortion correction conversion matrix.
  • a j and j are expressed by the following equation (35).
  • D represents the number of pixels decimated until the i-th pixel of the n pixels read by the m successive pixel blocks on the imager is read.
  • F is the largest integer (F ⁇ 0) not exceeding W i defined by the following equation (32).
  • bjj--D-F 0.5 (3 ⁇ 4 ⁇ + 1)
  • b .D-F + l 1-bi, i-D-2F
  • bjj 0, j ⁇ i-D-F, iDF + 1 a, ⁇ , j is expressed by the following equation (35), and is expressed by the one-dimensional interpolation of n / m (n ⁇ m). These are the coefficients of an n-by-m matrix in the transform that changes the size.
  • P ij is the ith pixel data before the size change
  • P 0 j is the pixel data after the change
  • a j and j are the elements of the transformation matrix (primary interpolation coefficients of the size change).
  • Wi ' Wi-F-(37)
  • w i is defined by Eq. (3 2)
  • F is the largest integer (F ⁇ 0) that cannot in W 0
  • Figure 8 shows the flow of the distortion correction process.
  • the image signal has information S1 of the intensity of the photoelectric conversion and, in the case of a raster scan, time-series information S2, and the pixel position can be calculated from the time-series information (S4).
  • the period of ⁇ extraction that is decimated for size change is at most 30 pixels.
  • the target is determined from the information of the decimated position and pixel position in the ' ⁇
  • m means the remainder of dividing the number N by the number X.
  • Fig. 9 shows an example in which two of eight images are thinned out and read in both the horizontal and vertical directions. Here, as an example, consider reading out the first row with horizontal thinning.
  • the pipeline processing is performed by the filter processing unit shown in FIG.
  • the shift register 162 shifts the held image data to the right according to the clock for each operation.
  • the selector 164 is in the s1 state. According to the above, one of the five adjacent pixels stored in the shift register 16 2 is selected. According to the state of the above, select one of the third and the fifth of the five adjacent pixel data held in the shift register
  • the multiplier 17 4 multiplies the output d 1 of the selector ⁇ 6 4 by a weighting addition coefficient k 1, and the multiplier 17 6 forms the selector 1 16
  • the output d 2 of 6 is multiplied by a coefficient k 2 of weighted addition, and an adder 1
  • Table 1 shows the operation (state transition) of the pipeline processing of the file processing unit shown in Fig. 6.
  • C 3 When 1 is 0, C 3 is selected (therefore, d 1-C 3). On the other hand, the selector 1666 selects C 3 when s 2 is 1 and yd selects C 3.
  • Outk 1 Xd 1 + k 2 X d 2 is output from 1 7 8
  • Table 1 the shift of the sequential data, the switching of the selector according to the states of s1 and s2, and the output of the weighting coefficients k1 and k2 according to the decimation rule shown in equation (7)
  • pipeline processing including the pixel phase operation (selector replacement) is performed.
  • color information on a single image sensor such as a monochrome or three-color image sensor, other than CFA (Color Filter Arrays), such as a Payer array or an array of complementary color filters, is used.
  • CFA Color Filter Arrays
  • the thinning method is also as described above. It is not necessary to keep two pixels in a row in order to match the phase of the same color signal in order to keep the reading order constant (R, G, R, G, ).
  • PC2 aPi-i + (1 ⁇ a) Pi2 (39)
  • P c is the pixel data after conversion
  • P i is the pixel data of the conversion source.
  • the pipeline processing is performed by the filter processing unit shown in FIG. Shift register 18 2 is clocked. 4 For each of the following operations, shift the held image table to the right.
  • the selector 184 selects one of the first and second of the three adjacent pixel data according to the state of s 1.
  • the selector 186 selects one of the first and third pixel data among the three adjacent pixel data according to the state of s 2.
  • the multiplier 194 multiplies the output d 1 of the selector 184 by a coefficient k 1 for weighted addition, and the multiplier 196 multiplies the output d 1 of the selector 184.
  • the image data obtained by the light conversion element is thinned out at least in the vertical direction, preferably ⁇ in both the vertical and horizontal directions. Therefore, the imaging device according to the present embodiment has a shorter time lag than a normal imaging device that softly thins out after reading all the image data of the photoelectric conversion elements. Further, the image data can be ⁇ -jumped.
  • the thinned pixel data is linearly interpolated and set in the set area. Correction is performed to reduce the size. Therefore,-the imaging device of the present embodiment forms a high-quality image.
  • the present embodiment is directed to an imaging device that is particularly suitable for capturing moving images. Have been.
  • FIG. 10 does not show the configuration of the imaging device according to the first embodiment of the present invention.
  • the elements indicated by the same reference numerals as the elements of the imaging device 100 of the first embodiment are the same elements y, and the detailed description thereof will be continued to avoid duplication. Omitted in the description.
  • the imaging device 200 of the present embodiment includes an image forming optical system 110 for forming an optical image of a subject and an image signal of a predetermined area of the optical image formed by the image optical system 110.
  • Ffll image device 220 that continuously outputs That is, the image 15 output from the imaging device 220 is a moving image signal, which is composed of image data of a plurality of frames that are continuous in time series.
  • the imaging device 220 is a lens that obtains a digital image data (a set of pixel data) by photoelectrically converting the optical image formed by the imaging optical system 110.
  • a digital image data a set of pixel data
  • the image pickup device 200 further sets an area of an image to be output.
  • the area setting section 132 and the 57E inspection control section 224 select the pixel readout rule of the 57E inspection rule selection section. 2 3 4 and a distortion correction section 140 that corrects the distortion of the image data that has been deviated 5 times from the imaging device 220.o
  • the details of the correction section 140 are This is as described in the embodiment.
  • the readout control unit 222 The read phase control unit 230 that changes the reference position of the image data range (read range) read from the conversion element 222 for each frame, and is set for each frame by the read phase control unit 230
  • An image range selection processing unit 240 selects a range common to all frames of the image data corrected by the distortion correction unit 140 based on the reference position of the read range.
  • the reading phase control unit 230 changes the reference position of the reading range for each frame, and the reading is performed in response to the image range selection processing unit 240 selecting a range common to all frames.
  • the rule selection unit 234 sets a pixel thinning-out reading rule so that the readout control unit 224 reads out image data over a wider area than the image area set by the area setting unit 132. select.
  • the read control unit 224 in the imaging device 220 sets the read rule selected by the read rule selection unit 134 and the reference position of the read range set by the read phase control unit 230. Based on this, the corresponding range of image data (pixel data for one frame) in the pixel array in the photoelectric conversion element 222 is continuously read. As a result, the imaging device 220 outputs a moving image signal composed of image data of a plurality of frames continuous in time series.
  • the imaging device 200 further comprises three cyclic frame memories 252, 254, 254, and 352, which temporarily store image data of a plurality of frames.
  • the interlacing operation interpolates the missing pixel data between the two fields so that the interlacing operation is performed between the two consecutive frames. Interpolate the existing pixel data.
  • the shift area is preferably about 4 to 8 pixels.
  • pixel data at a specific position in the photoelectric conversion element 222 that is missing due to thinning-out reading in a specific frame image frame is included in another frame image frame. It becomes like. In other words, it is possible to avoid that pixel data at a specific position of the photoelectric conversion element 222 is always missing from the image signal output from the imaging device 222.
  • the inter-frame operation processing unit 260 rewrites the frame memory to the frame memories 25 2, 25 4, and 25 6. ⁇ ⁇ Performs processing to interpolate the missing pixel data on the image data of the consecutive frames that have been obtained. For example, add 12: 1/2 to the image data of two consecutive frames. O Or, add 1/4 • 1/2: 1 to the image data of three consecutive frames. /
  • Fig. 11 and Fig. 12 schematically show the shift of the reading range from the ⁇ u position to the ⁇ c position by the repeated pulling out of 6/8.
  • [X, y] represents the pixel position (X, y) of the pixel array of the photoelectric conversion element 122
  • o represents the pixel array of the readout range.
  • the number of pixels of the light conversion element 122 is k pixels in the horizontal direction and 1 pixel in the vertical direction. Accordingly, the position of the upper left pixel of the photoelectric conversion element 122 can be expressed as [0, 0], and the position of the lower right pixel can be expressed as [k, I].
  • the number of pixels in the readout range is m pixels in the horizontal direction and n pixels in the vertical direction. Therefore, the read start position at the upper left of the frame can be expressed as (0, 0), and the read end position at the lower right can be expressed as (m, n).
  • the reading range of the frame in Fig. 12 is shifted by +2 pixels in the horizontal direction and +2 pixels in the vertical direction with respect to the reading range of the frame in Fig. 11.
  • the upper left read start position (0, 0) coincides with the upper left pixel position [0, 0] of the photoelectric conversion element 122. That is,
  • the image range selection processing section 240 selects a range common to the frame in FIG. 11 and the frame in FIG. That is, the image range selection processing unit 240 selects a rectangular range having (2, 2) and (m, n) as diagonal vertices for the frame of FIG. For the frame shown in Fig. 12, select a rectangular range from (0, 0) to (m-2, n1-2) on the diagonal vertices.
  • the range selected by the image range selection processing section 240 always has (m-2) X (n_2) pixel data.
  • the image range selection processing unit 240 changes the range of the clip based on the information on the read start position.
  • All of the frame memories 25 2, 25 4, and 25 6 are memory units of a FIFO (First In First Out), and the inter-frame arithmetic processing unit 260 is used for those frames.
  • An output image is generated using the pixels at the same position in the frame memories 25 2, 25 4 and 25 6.
  • i and j represent pixel positions
  • I (k, i, j) is the intensity of the image signal at pixel positions i and j of the k-th frame.
  • both the horizontal and vertical directions are thinned out.
  • the image of the root may be generated by performing interpolation synthesis with the same configuration as in FIG.
  • Fig. 13 shows a moving image obtained by performing averaging processing between consecutive frames after performing thinning-out reading of 2 pixels out of 14 pixels (sizing change of 6Z7).
  • Fig. 14 Performs averaging between consecutive frames after performing thinning readout (changing the size of 6Z7) in addition to correctness correction (pixel data interpolation) in 2 pixels out of 14 images. Comparing the persons who show the obtained moving images, it can be seen that the image of FIG. 14 has reduced edge distortion compared to the image of FIG. 13 0
  • the imaging device of the present embodiment has the same occupation as the advantages of the imaging device of the first embodiment.
  • the imaging apparatus in the moving image capturing, changes the five-deflection rule for each frame and extracts the image data by ⁇ , thereby specifying the inside of the power conversion element. Therefore, the image capturing apparatus of the present embodiment can form a fine moving image with little distortion.
  • the imaging device interpolates missing pixel data based on image data of continuous frames, thereby reducing the number of frames. This avoids the loss of true pixel data.o This allows the imaging apparatus of the present embodiment to form a high-definition moving image with less distortion and moiré.
  • FIG. 17 shows the configuration of the imaging device according to the-embodiment of the present invention.
  • O FIG. 17 1 Elements indicated by the same reference numerals as those of the imaging device 100 of the first embodiment. Are equivalent elements, and a detailed description thereof will be omitted in the description that follows to avoid duplication.
  • An imaging device 300 of the present embodiment includes an imaging optical system 110 for imaging an optical image of a subject, and a predetermined region of an optical image formed by the imaging optical system 110.
  • An imaging device 220 for continuously outputting image signals. That is, the image signal output from the imaging platform 220 is a moving image, which is composed of image data of a plurality of frames that are continuous in time series.
  • the imaging device 220 is an area-type photoelectric conversion device that photoelectrically converts an optical image formed by the imaging optical system 110 to obtain digital image data (a set of pixel data). It has a device 222 and a deviating control unit 224 that continuously thins out the image data obtained by the photoelectric conversion device 222 as necessary. .
  • the imaging device 300 also outputs the AS of the output image.
  • ⁇ .00 indicates that the readout control section 224 synchronizes the readout rule of the image data read out from the photoelectric conversion element 222 with the evening imaging generator 304, and the readout rule modulation section 306. This modulates the readout rule for each frame. In the read rule modulator 306, a different read arrangement is generated for each frame, but the total number of read pixels is not changed.
  • the distortion correction unit 140 is used by the read-out rule modulation unit 5 Generate / Create 5 Filter coefficients used for filter processing in filter processing section 14 2 and filter processing section 14 2 that perform final processing in accordance with the deviating rule The coefficient has a coefficient of 1/4.
  • the image data which is extracted between a plurality of frames according to a simple 57-out rule and subjected to a distortion correction fill process is processed by a frame-to-frame arithmetic unit 308.
  • the embodiments of the present invention have been described with reference to the drawing ⁇ ⁇ until the data is output to a subsequent processing system (not shown) after the inter-frame operation is performed.
  • the present invention is not limited to these embodiments, and various modifications and changes may be made in IB without departing from the gist of the invention.
  • an imaging apparatus capable of forming a fine image with a short time required for reading out an imager from the imaging element at a short time ⁇ with little distortion due to size change.

Abstract

撮像装置(100)は、結像光学系(110)により結像された光学像を光電変換して画像データを取得する光電変換素子(122)と、光電変換素子(122)で取得された画像データを必要に応じて画素間引きして読み出す読み出し制御部(124)と、出力画像の領域を設定する領域設定部(132)と、読み出し制御部(124)の画素間引き読み出し規則を選択する読み出し規則選択部(134)と、光電変換素子(122)から読み出された画像データの歪みを補正する歪み補正部(140)とを有している。歪み補正部(140)は、画像データをフィルター処理するフィルター処理部(142)と、画素間引き読み出し規則に応じてフィルター処理部(142)のフィルター係数を設定するフィルター係数設定部(144)とを有している。

Description

明 細
撮像装置
技術分野
本発明は、 デジタル撮像装置に ¾ レ 、 特に、 撮像装置が実 装している撮像デバイスの画素数よ り ち小さい画素数の画像 を高速に高画質で生成するデジ夕ル撮像装置に関する o
背景技術
近年 、 パーソナルコ ンピュー夕 —の急速な普及によ y 、 画 像入力機器と してのデンタルカメラの需要が拡大している o また、 動画の記録機器と してデシ夕ルビデ才などの问画質記 録装置が広く用いられている。
上記電子スチルカメラの画質を決定する要素は幾 か ¾>る が 、 その中でも撮像素子の画素数は撮影像の解像度を決定す る大き 要 でめる。 そのため 取近は 5 0 0万画素以上の 多く の画素数を持った 子スチルカメラも幾つか商口化され ている 。 しかしながら 全ての用 3^5 (<_ doいて、 5 0 0万画素 の丁一夕が必ずしも必要なわけではなく 、 逆にィ ン夕一ネッ 卜の W e b上に表示する画像は 、 むしろ画素サイズを小さ < した方を使用する場合が多い。
さ らに、 現状のデジ夕ルカメラにおいては、 撮像素子から、 画像メモリ ーへのフラッシングの時間がネック になつてお y 、 画素数が大きい機種で ¾速な連写撮影が出来るちのが少な い o よた、 デジタル力メラにおいても、 付加機能と して動画 の撮影の要求があるため 、 やは 、 メモ リ ーへの転送は问 に行なわなければならず 、 予め扱ぅデー夕量を少な < する とが好ましい。
出力画像の画素数が、 撮像素子の画素数に比ベて少ない場 合には、 予め、 使用する画素数を制限することによ て、 撮 像素子からメモリ ーに転送されるデータ稟 減ら し メモリ 一転送の速度を向上できる。
一方、 線形補間によるサイズ縮小では 、 全ての画素を使用 して、 大きいサィズの画像を作成し、 線形補間によつて小さ いサイズの画像を作成する。
図 1 5 はべィヤー配列から双一次補間のサンプ ングによ リ フメレカラーの縮小画像を生成する様子を示している 。 図 1
5 に示される双一次補間においては、 点 A B C Dのフ ノレ力ラーデータは近傍の 1 2点の R G Bの丁 ―夕から計 算して求められる。 具体的には、 点 Aのフル力ラ一テ一夕は、
R 43 R 45 R 63 R 65 B 34 B 36 B 54 B 56 G 44
G 53 G 55 G 64 の線形結合によって求められる o 『。J様 1 点 Bのフルカラ一データは、 R 03 R 05 R 23 R 25 B 14
B 16 B 34 B 36 G 15 G 24 G 26 G 35 の線形結合に よって求められる。 点 C と点 D について ¾ l。J でめる o
図 1 6 はべィャ一配列から双三次補間のサンプリ ングでフ ルカラーの縮小画像を生成する手法を示している o 図 1 6 に 示される双三次補間においては、 フル力ラーデ ―夕はその点 の近く の 4 8点の R G Bのデータから求められる 。 例え ば、 点 Bのフルカラ一データは、 R 61 R 63 R 65 R 67
R OK R 03 R 05 R 07 R 2K R 23 R 25 R 27 R 4U
R 43, R 45 R 47 B 72 B 74 B 76 B 70 B 12 B 14 B 16、 B 10、 Β 32、 Β 34、 Β 36、 Β 30、 Β 52、 Β 54、 B 56、
B 50、 G 75、 G 04、 G 06、 G 13, G 15、 G 17、 G 22、 G 24、
G 26、 G 20、 G 33、 G 35、 G 37、 G 44、 G 46v G 55 の線形 糸口口によつて求められる o
このような 、 線形補間による リサイズは、 画質の面では良 好であるが、 全画素のデータを取リ込んで線形補間を行なう ために演算里が多く 、 上述した連写機能や動画撮影には適し ていない o
メモ U み しのデータ量を減らす手法と しては 、 m像 素子に積分機能を付けて、 平均化した少数のデータを gjCみ出 し、 縮小画像を生成する方法がある。 特開 2 0 0 1 — 2 4 5
1 4 1 公報は、 この方法を利用 した高速な画像の縮小方法 を開示している
特開 2 0 0 1 一 0 1 6 4 4 1 号公報は、 解像度の種類が限 定されている !¾! Η*に 、 データの間引きを行ない、 さ らにデー 夕の歪みを補正する装置を開示している。 同文献は、 実施の 形態において 、 6 0 0 d p ί の解像度を持つ装置による 4 0
0 d p i 相当のデータの作成を開示している。 6 0 0 d p i のデ一夕をそのまま間引いたのではデータの歪みが生じるた め、 位置の歪みを補償する画素デ —夕を 6 0 0 d p i のデー 夕から線形補間によつて生成している。
特開 2 0 0 1 - 2 4 5 1 4 1 号公報の方法は、 2 0 %程度 以下の縮小率の縮小においては効果的であるが、 ( 4 0 %程 度以上の ) 大きい縮小率の縮小においては積分による平均化 だけでは 57Πみ出した画素位置による像の歪みを除く ことは出 来ない。 従って、 広い範囲の縮小倍率に対して、 サイズ変更 を行ないながら高画質な画像を形成することが難しい。
特開 2 0 0 1 一 1 6 4 4 1 号公報の装置では、 走査して得 た 6 0 0 d p i のデ ―夕の全てを用いて補間 し、 4 0 0 d p i 相当のデータを作 ている。 これに対して本発明は、 読み 出し時間の制限によ y基本解像度のデータ (特開 2 0 0 1 一
1 6 4 4 1 号公報では走査して得られる 6 0 0 d p i のデー 夕) を全て読むことが出来ないことに対応する間引き走査に 関する新技術でめ o 例えば、 特開 2 0 0 1 — 1 6 4 4 1 号 公報の図 6 ( b ) に示されるような間引かれたデータ列から 歪みの少ないデ一夕列を作成するものである。
発明の開示
本発明の撮像装置は 、 撮像デバイスを有している。 撮像デ バイスは、 光学像を光電変換して画像データを取得する光電 変換素子と、 光 換素子で取得された画像データを必要に 応じて画素間引さ して読み出す読み出し制御部とを有してい る。 撮像装置は 、 さ らに、 撮像デバイスの出力画像の領域を 設定する領域設定部と 、 領域設定部で設定された領域に応じ て読み出し制御部の画素間引き読み出し規則を選択する読み 出し規則選択部と、 み出し制御部によって光電変換素子か み出 れ/こ画像丁一夕の歪みを補正する歪み補正部とを 有している。 歪み 1½正部は、 読み出し規則選択部で選択され た画素間引き読 し規則に基づいて光電変換素子から読み 出された画像デ -夕をフィルター処理するフィルター処理部 を有している。 図面の簡単な説明
図 1 は、 本発明の第一実施形態の撮像装置の構成を示して いる。
図 2 は、 R G Z G Bのべィヤー配列の画像に対して、 垂直 で 1 4 / 1 6 の縮小変換を行なう例を示している。
図 3 は、 図 2 に示した変換において、 変換前の 1 6画素の うち上から 8番目の画素のデータと 9番目の画素のデータが 抜け落ちた様子を示している。
図 4 は、 水平方向 · 垂直方向共に 1 6画素のう ち 2画素を 間引き して読み出す例を示している。
図 5 は、 図 4 の例に従って間引き して読み出される画素デ 一夕のうち左の 1 列目の垂直方向のデータに関して歪み補正 の変換の様子を示している。
図 6 は、 単板カラー撮像素子で構成される光電変換素子用 のフィルター処理部の構成を示している。
図 7 は、 単色モノ ク ロ撮像素子または多板カラー撮像素子 で構成される光電変換素子用のフィルター処理部の構成を示 している。
図 8 は、 歪み補正の処理の流れを示している。
図 9 は、 水平方向 · 垂直方向共に 8画素のうち 2画素を間 引き して読み出す例を示している。
図 1 0 は、 本発明の第二実施形態の撮像装置の構成を示し ている。
図 1 1 は、 6 / 8 の間引き読み出しの繰り返しによる読み 出しにおける、 読み出し範囲の読み出し開始位置が光電変換 の画素配列の左上の画素に合つているフ レ一厶の読み出 し範囲を示している。
図 1 2 は、 6 Z 8 の間引き読み出しの繰リ返し 1 よる I冗み 出しに fc ¾ 、 5冗み uiし範囲の読み出し終了位置が光電変換 素子の画素配列の右下の画素に合つているフ レ一厶の読み i し範囲を示している。
図 1 3 は、 1 4画素中 2画素の間引き読み出し ( 6 / 7 の サイズ変更) を行なつた後に、 連続するフ レ一厶間で平均化 処理を行なって得られた動画像を示している o
図 1 4 は、 1 4画素中 2画素の間引き読み出し ( 6 Z 7 の サイズ変更) に加えて 、 歪み補正 (画素デ一夕補間) を行な つた後に、 連続するフ レ一厶間で平均化処理を行なって得ら れた動画像を示している。
図 1 5 は、 ペイヤー配列から双一次補間のサンプリ ングに よ り フルカラーの縮小画像を生成する様子を示している ο 図 1 6 は、 ペイヤー配列から双三次補間のサンプリ ングで フル力ラーの縮小画像を生成する牛法を不している。
図 1 7 は、 本発明の第三実施形態の撮像装置の構成を示し ている 0
発明を実施するための最良の形態
以下 、 図面を参照しながら本発明の実施の形態について説 明する o
第一実施形態
図 1 は本発明の第一実施形態の撮像装置の構成を示してい る o 撮像装置 1 0 0 は 、 被写体の光学像を結像する結像光学 系 1 1 0 と、 結像光学系 1 1 0 により結像された光学像の所 定の領域の画像信号を出力する撮像デバイス 1 2 0 とを有し ている。 撮像デバイス 1 2 0 は、 結像光学系 1 1 0 によ り結 像された光学像を光電変換してデジタル画像データ (画素デ 一夕の集合) を取得するエ リ ア状の光電変換素子 (撮像素 子) 1 2 2 と、 光電変換素子 1 2 2 で取得きれた画像データ を必要に応じて画素間引き して読み出す読み出し制御部 1 2 4 とを有している。
撮像装置 1 0 0 はさ ら に、 出力 (表示) する画像の領域 (すなわち前述した所定の領域) を設定する (すなわち表示 する画像のサィズと位置を特定する) 領域設定部 1 3 2 と、 領域設定部 1 3 2で an.
SX.疋された領域に )心して ¾cみ出し制御部
1 2 4の画素間引さ Βπみ出し規則を選択する読み出し規則選 択部 1 3 4 と 、 n 出し制御部 1 2 4 によって光電変換素子
1 2 2 から 5冗み出されたデジ夕ゾレ画像データの歪みを補正す る歪み補正部 1 4 0 とを有している。
山し制御部 1 2 4 (3、 ¾tみ 1I4し規則選択部 1 3 4で選 択された画素間引き読み出し規則に基づいて、 光電変換素子
1 2 2 内の画素配列中の対応する範囲の画素データを み出 す 。 その結果 、 ¾¾像デバイス 1 2 0 から間引きされた画像デ 一夕が出力される o
歪み補正部 1 4 0 は、 読み出し制御部 1 2 4 によつて光電 変換素子 1 2 2 から 17Cみ出されたデジタル画像データをフィ ルター処理するフィル夕一処理部 1 4 2 と、 読み出し規則選 択部 1 3 4で 択された画素間引き読み出し規則に応じてフ ィルタ一処理部 1 4 2 のフィルタ一処理に使用するフィルタ 一係数を設定するフィルター係数設定部 1 4 4 とを有してい る。
フィルター係数設定部 1 4 4 は 複数のフィルタ一係数を 含むルックアツプテーブル ( L U T ) を記憶する L U T記憶 部 1 4 6 と、 L U T記憶部 1 4 6 に記憶されているルックァ ップテ一ブルからフィ ルター係数を選択するフィルター係数 選択部 1 4 8 とを有している。
フィルター係数設定部 1 4 4 は 、 必ずしも し U T記憶部 1
4 6 とフイリレタ一係数選択部 1 4 8 とを有している必要はな ヽ 、 πΤΕみ出し規則選択部 1 3 4 が選択した画素間引き読み出 し規則に Jibし 7こ演算を行なってフィルター係数を算出しても よい。
し υ Tを使用するフィノレ夕一係数設定部 1 4 4 は 、 し U T を記憶しておく ために多く のメモ 一を必要とするが、 演算 に掛かる負担が少な < て済む 。 一 0 し U Τを使用 しないフ ィルター係数設定部 1 4 4 は 、 演算に掛かる負担は大さいが 多く のメモリ ーを必要と しないで済む。
m像装置 1 0 0 はさ らに、 歪み補正部 1 4 0から出力され o 正み補正された画像 15 1こ対して (ホフィ 卜バランスや階 調変換ゃエッジ強調の ) 所定の処理を行なラ画像信 処理部
1 5 2 と、 画像信巧処理部 1 5 2 から出力される画像信号に 従つて画像を表示する画像表示部 1 5 4 とを有している 。 加 えて 、 撮像装置 1 0 0 は、 画像信号処理部 1 5 2 から出力さ れる画像信号に従つて画像を記録する画像記録部 1 5 6 を有 している。
撮像装置 1 0 0 は、 領域設定部 1 3 2 で領域が設定されて いない場合 、 光電変換素子 〗 2 2 で取得された画像テ一夕を そのまま画像表示部 1 5 4 に表示する。 つま り 、 画像データ のすベての画素デ一夕を表示する。 従って、 画像表示部 1 5
4 には、 結像光学系 1 1 0で結像された光学像と同様の画像 が表示される
領域設定部 1 3 2 は、 例えぱ 、 画像表示部 1 5 4 の画面に 対するダラフィ 力ルユーザーィ ンターフェ一ス ( G U i ) で 構成される ¾Eつて、 ユーザーは、 画像表示部 1 5 4 の画面 に表示されている画像上において、 ボタン、 マウス等の操作 によ り、 表示を希望する範囲を ί日 / £し ί守る 。
撮像デバィス 1 2 0 は、 間引き読み出し動作が可台 B £匕である 間引き読み出し動作によ り、 撮像デバイス 1 2 0 は 光電変 換素子 1 2 2上の特定の領域の画素を、 全画素を読み出 ^ ½ 合よ り も短い時間内で読み出すことが出来る。
例えば、 光電変換素子 1 2 2が C Μ 0 S を用いた 像素子 である場合 、 ¾χ像デバイス 1 2 0 は、 水平方向 , 垂直方向共 にシフ 卜レンス夕 用いて読み出し位置を指定する « とが出 来る。
すなわち 、 j ライ ン i 番目の素子を C ( i , j )) とと しし、、 そそ こから水平方向の画素をそれぞれ c ( + 1 ) 、 C ( i
+ 2 , j ) 、 C ( i + 3 , j ) 、 C ( + 4 ) 、 C ( i
+ 5 , j ) 、 C ( ί + 6 , j ) 、 C ( + 7 ) 、 C ( i + 8 , j ) …とすると、 例えば、 C ( + 1 ) 、 C ( i + 2, j ) 、 C ( i + 3, j ) C ( i + 4 j ) 、 C ( i
+ 7, j ) 、 C ( i + 8 , j ) …というよう に 任 の水平 方向の位置を間引いて読み出すことが出来る
垂直方向についても同様で、 j ライ ン、 j + Ί ラィ ン、 j
+ 2 ライ ン…とライ ン方向に並んでいる画素に対して 、 任思 のラインを間引いて読み出すことが出来る。
また、 光電変換素子 1 2 2 が C C Dであるナ Ξ
口 、 C C Dは 水平方向に電荷をシフ 卜しながら P HJ 9 ため 像デバィ ス 1 2 0 は、 水平方向には全画素 πΤΠ lijし 、 垂直方向では 間引いて読み出すことが出来る
歪み補正部 1 4 0 は、 このよラ に間引き読み出しされたデ ジタル画像データに対して、 欠落している情報を補間すると 共に倍率変換のフィルター処理を行なう。 つま 、 本明細書 において、 歪み補正とは、 「補間 j と 「倍率変換 J を l。J時に 行なう ことを意味している。
前述の双一次補間 (図 1 5 ) に関して、 倍率 換を有理数
(整数比) に制限し、 一次補間を二回繰り返す様にすると、 アルゴリズムは単純化される。 図 2 は、 R G / G Bのべィャ 一配列の画像に対して、 水平方向で 1 4 / 1 6 の B小変換を 行なう例を示している。 図 2 において、 上段は縮小変換 の 画素の一次元データ配列を示し 、 下段は縮小変換後の画素の 一次元データ配列を示している。
次の式 ( 1 ) はこの変換の行列表現である。
Figure imgf000012_0001
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o ° t\- o o o o o o o o o I o ° 0 o o o o o o o O O ^ I CD o IO o o o
Figure imgf000012_0002
o o o o o ^ I Oi o I Oi o o o o o o o o o o n o ^ I - i o o o o o o o o o o o cx> o o o o o o o o o o ^ I co o ^ I <o o o o o o o o o o
O ^ I ΓΟ O ^ I ° o o o o o o o o o
o o o o o o o o o o o o o o o o o o o o o o o o o
o o o o o o o o o o o o o
、 ノ
Figure imgf000012_0003
L L
£ZPSlO/£OOZdF/lJd ■86IS0請 OAV 式 ( 1 ) において、 R i 2p と G i 2p + 1 ( P は 0 以上 7 未 満の整数) は、 光電変換素子 1 2 2 内における水平方向に連 続して並んでいる画素の画素データを表しており、 水平方向 に並ぶ画素の位置に対応して連続する添字を有している。 ま た、 R c 2q と G c 2q + 1 ( q は 0以上 6 未満の整数) は、 変 換後の画素データを表しており、 水平方向に並ぶ画素の位置 に対応して連続する添字を有している。
例えば変換後の R c 2 は R i 2 と R ' 4 を使って次の式 ( 2 ) で表される。
Rc2=^ i2 + ^;Ri4 … ) 前述の式 ( 1 ) は、 各画素がこのよう に変換される 〗 6画 素から 1 4画素への変換をまとめて表現している。
図 3 は、 図 2 に示した変換において、 変換前の 1 6 画素の う ち左から 8番目の画素のデータと 9番目の画素のデータが 抜け落ちた様子を示している。 この場合、 抜け落ちた画素デ 一夕 R i g と G i g は、 それぞれ同じチャ ンネルの隣接する 画素データ R i 6 と R ' 10と画素データ G i 9 と G i π を用 いて、 次の式 ( 3 ) に従って線形補間されるとよい。
Ri8 =¾÷¾0> Gi9=¾^U … )
式 ( 1 ) 中の R i 8 と G i 9 を式 ( 3 ) に従って置き換え ると式 ( 4 ) の様になる。
Figure imgf000015_0001
Figure imgf000015_0002
εひ ο/εοουτ/ェ:) d .86TS0/1-00Z OAV Ί 5 ( 4 ) の右辺の 1 6個のデータ列 R i o、 G i 1、 …、 R 、 G i 1 5 は、
Figure imgf000017_0001
o o o o o o o 0 0 0 0 0 0 0 0
o o o o o o o o o o o o o o o
o o o o o o o 0 0 0 0 0 0 o o
O O O O O O O 0 0 0 0 0 "* 0 0 0
o o o o o o 。 o o o o o o o o
o o o o o o o o o o o o o o o
o o o o o o o o o o o o o
o o o o o orol -»· o -»· o o o o o o o
o o o o o o o o o o o o o
o o o o - oro| -»· o o o o o o o o o
o o o o o o o o o o o o o o o
o o o o o o o o o o o o o o o
o - o o o o o o o o o o o o o o
o o o o o o o o o o o o o o o.
O 3D O J Q go
Z'
ΟΊ 03 N O -sj 05 oi ^ co ro ュ, o
9 L
£Zt^lO/£OOZd£/lDd ム 86IS0請 OAV と表現できる。 これを式 ( 4 ) に代入すると、
Figure imgf000019_0001
~
o o o o o o
o |ωθ
■ o
03
O ^ ^ O
O ^ O
Figure imgf000019_0002
o or I o o o o o o
O -»■ O N) I -»-0 O O O O O
-»· oro I -»■ o o o o o o o
o
Figure imgf000019_0003
2 L
£Zt^lO/£OOZd£/lDd ム 86IS0請 OAV となり、 式 ( 6 ) の行列の積を計算すると、 次の式 ( 7 ) が 得られる。
Figure imgf000021_0001
o 0 0 0 0 0 0 0 0 0 0 0 o 0 0 0 0 0 0 0 0 0 0
o 0 0 0 0 0 0 0 0 0 | o 〇 o 0 0 0 0 0 0 0 0 I o ^ I -j-o o o o o o o o o ^ I o 0 1 o o
Figure imgf000021_0002
o o o o ω o I二 0 | o o o o 0 0 0o 0o Κ ¾||ααιι oo Kl|^ oo ^lc o o o o o o o o ^ o l CO 0 0 0 o o o o o ≤| o ¾| ¾ o ト o o o o o o o o | r O |5 0 0 0 0 0 0 0 o o o
O O O O O O O O o o o
O O O O O O O O O O o o o CO 0 0 0 0 0 0 0 0 0 0 o o o
Figure imgf000021_0003
0 z
εひ s蒙 oozdf/ェ: w ん861 OOZ OAV これは、 1 4個の画素データの入力に対して 1 4個の画素 データの出力を持つ、 式 ( 4 ) と等価な変換である。 言い換 えれば、 画素データ R i g と G i g を除く 1 4個の画素デー 夕から、 1 4 Z 1 6 の縮小変換後の 1 4個の画素データを求 める変換である。
図 4 は水平方向 · 垂直方向共に 1 6画素のう ち 2画素を間 引き して読み出す例を示している。 この例では水平方向 · 垂 直方向共に 8番目の画素と 9 番目の画素が間引きされている。
図 5 は、 図 4 の例に従つて間引き して読み出される画素デ 一夕のうち左の 1 列目の変換の様子を示してい *o 。 図 5 に示 c£れるよ に、 5 際に 5冗み出される画素デ一夕は、 垂直方向 に、 R i 0、 G i 1、 R i 2、 G i 3、 R i 4、 G ' 5、 R ' 6、
G i 7、 R i lOv G i iト . R i 12、 G ί 13、 R ' 14 、 G ί 15 の 1 4個である。
式 ( 7 ) は、 8番目 ( 8行目) と 9番目 ( 9 行目 ) の画素 データを間引き して読み出した 1 4個の画素 T一夕から、 1
4 / Ί 6 の縮小変換後の 1 4個の画素データを求める変換と 価 'め 。
式 ( 7 ) の行列表現による線形演算の式を見て分かるよう に、 画素間引きを行なつているため、 歪み補正後の異なる位 置の画素データ R C 6 と R e g は、 元の画素丁一夕 R i 6 と
R i 10の重み付き線形和 11 3
Rc« =— RIR +— Rhn
0 14 D 14
3 11
Rc« =—— Rifi +— Rhn
0 14 D 14 1U となっており 、 画素データ R c 8 を求める際に用いる画素デ 一夕が、 画素データ R c 6 を求める際に用いる画素データ と 同じになっている。 すなわち、 画素データ R c 8 を求める際 に用いる画素データは、 それまでの画素データ R c i R c 6 を求める際に用いる画素データの順序と相違している (すな わち位相がずれている) 。 画素データ G c 7 と G c 9 につい ても同様のことが言える。
図 5 に示されるよう に、 実際に読み出される画素データは
R i 0 G 、 R i 2 G ί 3 R ί 4 G i 5 R i 6 G ' 7 R i 10 G ί R ί 12 G ί 13 R i 14 G ί is の 1 4 個である。 これらを、 それぞれ、 R j ()、 G j i R j 2 G j 3 R j 4 G j 5 R 」· 6 G j 7 R j 8 G j 9 R j 10 G j 11 j 12> G j 13 とおく 。 すなわち、
i
Figure imgf000024_0001
とお <。
R ' 2 と G ' 2p+1 ( P は 0 以上 7未満の整数 ) は、 前述 したよう に、 光電変換素子 1 2 2 内の水平方向に並んでいる 画素の画素データを表しておリ 、 添字が飛んでいる部分は、
SZ 出しの際に間引さされていることを示している o ― Λ
R j 2r と G j 2r + 1 ( r は 0 以上 6 未満の整数) は、 画素間 引き読み出しによつて 、 実際に読み出される画素データを表 してね リ 、 gJCみ出される順番に対応して連続する添字を有し ている。
式 ( 9 ) を式 ( 7 ) に代入すると、 次の式 ( 1 0 ) が得ら れる o
Figure imgf000025_0001
o o o o o o o o o o o o o o o o o o o o o
o o o o o o o o o o o
O O O O O O O O O O 二 O
0 0 0 0 0 0 0 。
O O O O O O O O ^ CD O ^ I CO o 0 0
o o ^ I c o !^l o I o o o o o o o o οο|ϋΐ o oo|!^ o ^| JI o o o 0 0 o o o ^|·ί^ ^|c o o o o 0 0 o o ^ 100 o I o ¾| --si 0 0 0 0 0 0 0 o I ro o I o o o o o o o o o 0o 0o
o i o o o o o o o o o oo oo o o o o o o o o o o o 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0
Figure imgf000025_0002
Figure imgf000025_0003
P z
εひ s蒙 oozdf/ェ:) d ■86Ϊ 00Z OAV これは、 画素間引き読み出しによ り実際に順番に読み出さ れる 1 4個の画素データから 1 4 Z 1 6縮小変換後の 1 4個 の画素テ一夕を求める歪み補正変換である。
以上の一次元歪み補正を二次元の配列に拡張すると以下の よう になる o
式 ( 1 0 ) を c = A B …(川 と表す。 こ こで、 Aは一次元の歪み補償を行なう変換行列 (すなわち上述の例では 1 6 画素中 2 画素の間引きを行なつ ている 1 4個の画素データに対する歪み補償) 、 Bは歪み補 償前の画素データを表す n行 1 列の行列、 Cは歪み補償後の 画素データを表す n行 1 列の行列である。 ここで、 図 4 の読 み出しデータを以下のような行列 D j で表す。
( R'o,o Gi。,1 R'0,2 G'0,3 R'0,4 G'0,5 R'0,6 Gi。,7 Ri。'10 G'0,11 R'0,12 Gi。,13 R'0,14 Gi0,15、
G'1,0 Bil,l G'1,2 ΒΪ1.3 Gil,4 Bil,5 G'1,6 B"1,7 GH.10 Bil,11 Gh,12 BH,13 G'1,14 B'1,15
R'2,0 G'2,1 R'2,2 Gi2,3 R'2,4 Gi2,5 R'2,6 Gi2,7 R'2,10 G'2,11 R'2,12 Gi2,13 R'2,14 G'2,15
Gi3,0 Bi¾1 G'3,2 B'3,3 Gi 4 Bi3,5 G'3,6 Bi3,7 G'3,10 Bi3,11 G'3,12 B'3,13 G'3,14 B'3,15
R'4,0 Gi4,1 R'4,2 G'4,3 R'4,4 Gi4,5 R'4,6 Gi4,7 R'4,10 Gj4,11 R>4,12 G'4,13 R'4,14 Gi4,15
G'5,0 B"5,1 G'5,2 ΒΪ5.3 G'5,4 Bi5,5 G'5,6 Bi5,7 G'5,10 Bi5,11 G'5,12 B'5,13 Gi5,14 B'5,15
R'6,0 Gi6,1 R'6,2 G'6,3 R'6,4 G'6,5 R'6,6 Gi6,7 R'6,10 G'6,11 R'6,12 Gi6,13 R'6,14 Gi6,15
G'7,0 Bi7,1 Gi7,2 Bi7,3 G'7,4 Bi7,5 Gi7,6 Bi7,7 G'7,10 Bi7,11 G'7,12 B'7,13 G'7,14 Bi7,15
R'10,0 G'10,1 R'10,2 Gi10,3 R'10,4 G'10,5 R'10,6 G'10,7 Ri10,10 G'10,11 Ri10,12 G'10,13 Ri10,14 Gi10,15
G'11,0 BH 1,1 G'11,2 Bh l,3 Gi",4 BH 1,5 Gil 1,6 Bi",7 Gin,10 Bi",11 G'11,12 Bi11,13 Gi",14 B'11,15
R"12,0 G'12,1 R'12,2 G'12,3 R'12,4 G'12,5 R'12,6 G'12,7 Ri12,10 Gi12,11 Ri12,12 G'12,13 R'12,14 Gi12,15
Gil3'0 B'13,1 Gil3,2 ΒΪ13,3 G'13,4 B'13,5 Gil3,6 ΒΪ13,7 G'13,10 B'13,11 G'13,12 Bi13,13 G'13,14 B'13,15
R'14,0 Gi14,1 R'14,2 G'14,3 R'14,4 Gi14,5 Ri"l4,6 Gi14,7 Ri14,10 G'14,11 Ri14,12 Gi14,13 Ri14,14 Gi14,15
G'15,0 Bi'15,1 G'15,2 B'15,3 Gil5,4 Bil5,5 Gi"l5,6 Bil5,7 G'15,10 G'15,12 B'15,13 G'15,14 B'15,15 ,
式 ( 1 2 ) では読み飛ばしている部分に線を引いている。 均等な 〗 4 X 1 4画素の配列を D (j とすると、 水平方向の歪 み補正後に垂直方向の歪み補正を行なう変換は、 式 ( 1 1 ) の Aを用いて、
Figure imgf000028_0001
と せられる o し 、 A Tは Aの転置行列を表している c
―次元の歪み変換、 式 ( 4 ) から式 ( 7 ) への変形は以下 の様に考えることもできる o
( Ί ) 位 IS Xの画素デ一夕が読み出され、 位置 X + 2 の画 素ァ一夕も S冗み出される場合は、 画素デ一夕の重み係数には 式 ( 4 ) の係数をそのまま用いる。
( 2 ) Xの画素デ ―夕が読み出され、 位置 X + 2 の画 素丁一夕が み出されない場合は、 代わり に位置 X + 4の画 素丁一夕を読 :み出す。 位置 Xの画素デ - -夕の重み係数 X を
X = 0 . 5 ( X + 1 ) に変更し、 位置 X + 4 の画素デー夕 の重み係数は 、 変更した係数 X ' の 1 に対する残差すなわち
1 ― X とす ό 。
( 3 ) Xの画素デ一夕が読み出されず、 位置 X + 2 の 画素丁一夕が 冗み出される場合は、 位置 Xの読み出しの位置 を 2 つ前にずら し X — 2 とする。 また、 位置 X — 2 の画素ァ 一夕の重み係数 X を X , = 0 . 5 X に変更し、 位置 X + 2 の 画素丁 ―夕の重み係数は 、 変更した係数の 1 に対する残差す なわち 1 ― X ' とする。 従って、 ルックアップテーブル ( L U T ) を使い、 画素の
5冗み出し位置と補正係数を対応づけて歪み補正を行なう代わ り に、 C P U等の演算処理機能を使用 して 5冗み出し規則から 歪み補正の係数を直接算出することも出来る
単板カラー撮像素子用の一般化
図 6 は、 力 フーフィルターア レイ ( C F A ) が前面に配置 された単板力 ラー撮像素子で構成された光電変換素子 1 2 2 に対して、 式 ( 7 ) で表現された変換をパイプライ ン処理に よ リ行なう フィルター処理部の構成を示している。
このフィル夕一処理部は、 単板カラー撮像素子から読み出 した画像信巧が入力されるシフ 卜 レジスタ 1 6 2 と、 シフ ト レジスタ 1 6 2 から画像信号を読み出す読み出 し位置を選択 する二つのセ レクタ一 1 6 4 と 1 6 6 と、 セ レクタ一 1 6 4 と 1 6 6 によつてシフ 卜 レジス夕 1 6 2 から読み出された画 像 m τ=3 にス して補正係数 k 1 と k 2 をそれぞれ乗算する二つ の乗算器 1 7 4 と 1 7 6 と、 二つの乗算器 1 7 4 と 1 7 6 の 演算結果を加算する加算器 1 7 8 とを有してお り 、 入力デー 夕と出力デ一夕の数が等しいパイプライン処理によって単板 カ ラー撮像素子から読 <7^* |jjした画像情報の歪みを補正する。
図 6 において、 歪み補正係数 k 1 、 k 2 と、 セ レクタ一の 選択制御信 s 1 、 s 2 は、 後述する式 ( 1 8 ) で定義され る変換行列の要素 b j, j を用いて、 以下の様に表される。
Figure imgf000029_0001
( 1 4 ) k M は行列の i 行目の中で、 非 0 の左端の要素 ( b j I I I Iく h = 0 は i 行目で h 番目以下の要素が全て 0 であるこ とを表 す。 )
ki2 = i-kii (15) は行列の k j 1 の に対する残差 if(i==hibi|j|<h=0)
(16) s1 = s2 = 0 i と h が等しければ、 読み出しのシフ 卜なし、
elseif (i ==h-1| bj|||く h = 0)
(17) s1 = s2 = 1 i と h ― 2 が等しければ、 読み出しの 2画素シフ ト、 s 1 = s 2 = 1 と して 図 6 における読み出しを切り換える。
以下 、 読み出しのシフ 卜里 ( i h ) に応じてセレクタ一 を増やす (図 6 ではシフ 卜里が 2画素の場合を示している) ¾5十 i は図 6 のフィノレ夕一処理部によるパイプライ ン処理 のシーケンス番号を表し、 k i l は i 番目のシ一ゲンスでの 係数を表している。 添字 i と添字 j の差分は、 セ レク夕一 1
6 4 と 1 6 6が選択するシフ 卜 レジス夕 1 6 2 かり読み出す 位置に関する選択基準を表している。
b j , j は、 次の式 ( 1 8 ) によ り定義される。
( c^ 、 r (i bl,2 bl,3 b1,4 ··· ··· ·• 、 , PH )
QC2 b 1 b2,3 b¾4 b2,5 … . Qi2
PC3 ··. ··. . · i3
QC4 bi,1 bi,i一 1 bi,i bi,i+1 bi,i+2 bi,i+3 bi,i+4 * Q14
: bj+1,1 bi+1,i— 1 bi+1,i bi+1,i+1 bi+l,i+2 bi+1,i+3 bj+1,i+4 ' ··
: ...
Pcn-1 bn - 1,n- 3 bn - 1,n_2 bn- 1'n- 1 bn-1,n ·· bn_i,n Pin - 1
、 Qcn j 、bn'1 bn-1,n-2 bn,n-1 bn,n bn,n+1 · ·· bnn 、 Qin J
で P i j と Q i j+1 はそれぞれ歪み補正前の ί 番目 と i + 1 番目の画素デ一夕、 P c j と Q c ί+ι はそれぞれ補正 後の画素ァ一夕、 b i, j は歪み補正変換行列の要素 (正 <^怖' 正係数 ) を表している
力ラ一フィルタ一アレイ ( C F A ) が前面に配置された単 板カラ ―撮像素子においては、 画像データはべィヤー配列力 ラーであ り、 P と Q ( P ί と Q ί 、 P c と Q c ) は、 P ≠ Q
( P i ≠ Q ί 、 P c ≠ Q c ) であ り 、 それぞれ R G Bチャン ネ レのいずれかであ リ、 読み出 しの連続性を以下の様に 口 分けされる
( 1 ) P i 卜 Q ' i + P ' i+2 、 Q i j + 3 が連続したデ 一夕の 口
bi,i-D-2F = aリー 2F, by—D— 2F+2 = 1― bj,i-D-2F
bi+1,i-D-2F = ai,i— 2F, 一 D—2F+2 = 1 - bj+l,i— D- 2F
by = 0, j≠i-D-2F, i-D-2F + 2
bi+i,j=0, j≠i-D-2F + 1, i-D-2F + 3
し で 、 a j, j は後述する式 ( 2 3 ) で表される。 また、 Dはイメージャ上の連続する m個の画素プロ ックで読み出し た n個の画素の i 番目の画 を Βπみ出すまでに間引き した画 素の数を表している 。 Fは 、 次の式 ( 2 0 ) で定義される W i を超えない最大の整数 ( F≤ 0 ) である。
(m— η) .
η— ^ -I
Wi = ^ ~~ -(20) ( 2 ) P i j、 Q i j+i が間引いた画素の前の 2 個の場合
bU-D-2F = 0.5(aj—2F + 1) bj'j—。― 2F+2 = 1 - bj,j一 D— 2F
bj+1,j— D— 2F = 0.5(ai+ )j_2F+1 + 1) bj+1,j—D— 2F+3 = 1一 bj+l,i— D—2F
bj,j=0, j≠i-D-2F, i-D-2F + 2 "·(21 bj+ij = 0, j≠i-D-2F + 1, i-D-2F + 3
( 3 ) P i 卜 Q i j+i が間引いた画素の後の 2 個の場合
bi,i-D-2F = 0.5aj,j一 2F, bjj_D-2F+2 = 1― bリー D— 2F
bi+1,i-D-2F = 0-5ai+j_2F+1, bi+1,j_D2F+3 = 1 - bj+ij— D_2F
by =: 0, j≠i-D-2F, i - D— 2F + 2 "" (22 bj+ij = 0, j≠i-D-2F + 1, i-D-2F + 3
a j , j は、 次の式 ( 2 3 ) で表現される、 一次元補間で n / m ( n < m ) のサイズ変更を行なう変換における n行 m列 の行列の係数である。
' Po ai,2 a1,3 ai,4 … … … · · · · ·· ai,m 、 Qi2
Qo2 a2,1 32,2 ¾2,3 a2,5 … … · · · · Pi3
P03 '· ■· ' · • · · .·· ' Q14
Q04 ai,1 ai,i aj,i+l aj,i+2 aU+3 ai,i+4 '·
(23) aj+l,i ai+l,i+l ai+1,i+2 ai+l'i+3 ai+1,i+4
… … :
Pon-1 an - 1'1 an— 1,n - 1 an-1,n … . ·· an-1,m
ノ I …
, Qon an,1 an,n-1 an,n an,n+1 · ·· an,m ノ P'm-1
ここで、 P i j と Q i i +1 はそれぞれサイズ変更前の i 番 目 と i + 1 番目の画素データ、 P o j と Q o j+1 はそれぞれ 変更後の画素データ、 a j ,」· は変換行列の要素 (サイズ変更 の一次補間係数) である。
a j, j は、 次の式 ( 2 4 ) で定義される。 ai,i-F = W, 3,^+1=1- Wf, ajj=0 j≠i-F, i-F + 1 -.. (24) ここで、 W i ' は次の式 ( 2 5 ) で定義される。
Wi' = Wi-F ".(25) 前述したよう に、 W i は式 ( 2 0 ) で定義され、 Fは W i を 超えない最大の整数 ( F≤ 0 ) である。
単色モノク ロ撮像素子または多板カラー撮像素子用の一般 化
図 7 は、 単色モノ ク ロ撮像素子または多板カラー撮像素子 で構成された光電変換素子 1 2 2 に対して、 式 ( 7 ) で表現 された変換をパイプライ ン処理によ り行なう フィ ルター処理 部の構成を示している。
このフィルター処理部は、 単色モノクロ撮像素子または多 板カラー撮像素子から読み出した画像信号が入力されるシフ ト レジス夕 1 8 2 と、 シフ ト レジスタ 1 8 2 から画像信号を 読み出す読み出し位置を選択する二つのセレクタ一 1 8 4 と 1 8 6 と、 セレクタ一 1 8 4 と 1 8 6 によってシフ 卜 レジス 夕 1 8 2 から読み出された画像信号に対して補正係数 k 1 と k 2 をそれぞれ乗算する二つの乗算器 1 9 4 と 1 9 6 と、 二 つの乗算器.1 9 4 と 1 9 6 の演算結果を加算する加算器 1 9 8 とを有しており、 入力データ と出力データの数が等しいパ ィプライ ン処理によって単色モノクロ撮像素子または多板力 ラー撮像素子から読み出した画像情報の歪みを補正する。
図 7 において、 歪み補正係数 k 1 、 k 2 と、 セ レクタ一の 選択制御信号 s 1 、 s 2 は、 後述する式 ( 3 0 ) で定義され る変換行列の要素 b j, j を用いて、 以下の様に表される。 ki1=bihibi|j|<h=0 - (26)
k π は行列の ί 行目の中で、 非 0 の左端の要素 ( b j | | | |く h = 0 は i 行目で h 番目 以下の要素が全て 0 であるこ とを表 す。 ) ki2=1-kjl -(27) k j 2 は行列の k j の 1 に対する残差
'f(' = hjbj|j|<h=0)
(28) = s2 = 0 i と h が等しければ、 読み出しのシフ トなし、 s 1 = s 2 =
0 3 elseif (i == h - 11 bj|||<h = 0)
(29) s1 = s2 = 1 i と h ― 1 が等しければ、 読み出しの 1 画素シフ 卜 s 1 = s 2 = 1 と して 、 図 7 における読み出しを切り換える。
以下 、 5冗み出しのシフ ト量 ( i 一 h ) に応じてセレクタ一 を増やす (図 7 ではシフ 卜量が 1 画素の場合を示している) 添字 i は図 7 のフィルタ一処理部によるパイプラィ ン処理 のシーケンス番号を表し、 k j | は ί 番目のシ ―ケンスでの 係数を表している。 添字 i と添字 j の差分は、 セ レク夕一 1
8 4 と 1 8 6 が選択するシフ ト レジスタ 1 8 2 から み出す 位置に関する選択基準を表している。 b i, j は . 次の式 ( 3 0 ) によ り定義される ,
• b1(n 、 ( Ph )
Pi2
Pi3
Pi4
·· bn— i,n P'n-1
·· bnn ノ I Pin
Figure imgf000039_0001
J
ここで、 P i j はそれぞれ歪み補正前の i 番目の画素デ一 夕、 P c j は補正後の画素データ、 b j, j は歪み補正変換行 列の要素 (歪み補正係数) を表している。
単色モノ ク ロ撮像素子または多板カラー撮像素子において は、 読み出しの連続性を以下の様に場合分けされる。
( 1 ) P i j、 P i j +1 が連続したデータの場合 bi'i—D- F = aj,i_F, bリ— DF+1 = 1 - by— D一 F
by = 0, j≠i一 D一 F, i-D-F + 1 ".(31)
ここで、 a j, j は後述する式 ( 3 5 ) で表される。 また、 Dはイメージャ上の連続する m個の画素プロ ックで読み出し た n個の画素の i 番目の画素を読み出すまでに間引き した画 素の数を表している。 Fは、 次の式 ( 3 2 ) で定義される W i を超えない最大の整数 ( F≤ 0 ) である。
.... n - (m - n)i
Wi = ~ ^ し ... 32) n
( 2 ) P i j が間引いた画素の前の場合
bjj—D一 F = 0.5(¾ ρ + 1) b .D-F+l = 1一 bi,i-D-2F
by = 0, j≠i - D - F, i-D-F + 1 .■■、 )
( 3 ) P i j が間引いた画素の後の場合 bi,i- D - F = 0.5aj,j一 F, bj,j_D一 F+1 = 1 - bjj-D-F
(34) bjj=0, j≠ i - D - F, i-D-F + 1 a ,· , j は、 次の式 ( 3 5 ) で表現される、 一次元補間で n / m ( n < m ) のサイズ変更を行なう変換における n行 m列 の行列の係数である。
' Ρο-ι r ¾1,1 ¾1,2 ai,3 ai4 ··· ··· … . ·· a1>m Pi2
Ρθ2 32,1 &2,2 a2,3 32,4 ¾2,5 ··· ··· · i3
P03 '· ' · , '·. ' Pi4
P04 aU aU ai,i+1 aii+2 aU+3 ai,i+4
(35) ai+1,1 ai+1,i &i+1i+1 ai+1j+2 ai+1'i+3 ai+1,i+4 -
Pon— 1 an - 11 ··· ··· an-1,n-1 an-1,n … . ·· an-1,m
p°n an1 ··· ··· an,n-1 an,n an,n+1 • an,m P'm-1
ここで、 P i j はサイズ変更前の i 番目の画素データ、 P 0 j は変更後の画素データ、 a j , j は変換行列の要素 (サイ ズ変更の一次補間係数) である。
a j, j は、 次の式 ( 3 6 ) で定義される。 ai,i-F = wi. ai(i_F+i = 1 - W, ajj = 0 J≠ I-I-, i-F + 1 ."(36) こで、 W ί ' は次の式 ( 3 7 ) で疋我され Ό。
Wi' = Wi-F -(37) 前述したよう に、 w i は式 ( 3 2 ) で定義され、 Fは W i を inえない最大の整数 ( F ≤ 0 ) である 0
歪み補正の処理の流れ
図 8 は歪み補正の処理の流れを示している 。 画像信号は光 電変換の強度の情報 S 1 と、 ラス夕スキャ ンの場合、 時系列 の情報 S 2 を持っており、 時系列情報から画素位置を算出す ることが出来る ( S 4 ) 。 上述のよ οにスケ一ル変換に対応 する読み出し規則は周期的であ り 例えば 大で 9 3 %程度 のサイズ変更 (電子ズーム) を行なう場 2 8 / 3 0 = 0 .
9 3 3 となるので、 サイズ変更のための間引さ ιπみ出しの周 期は多く とも 3 0画 禾王度 C 'め o Βπみ出し規則における間 引き位置と、 画素位置の情報から 対象と している画素が周 期内の何処の位置にあるかを算出できる ο 例えば 1 2 画素周 期の処理の場合水平スター 卜位置から 2 6 1 番目の画素は m 1 2 ) = 9 画素目の位相である。 ここで、 m は数値 Nを数値 Xで除算した剰余を意味して いる 。 この様に、 S 4で算出した画素位置の情報と S 4 の 冗 出 し規則の周期、 間引 き位置の情報か ら 、 前述の式
( 7 ) に示した重み付き加算演算の係数 ( S 5 ) および加算 演算を行なう画素の位相操作の情報 ( S 6 ) を得る < とが出 来る 。 S 7 では位相に応じて使用する画像信号の切 換えを 行なう。 この様に、 位相情報によって指定された画素と加算 の重み付け係数を用いて加算演算を行ない ( S 8 ) 、 正み 正の出力画素とする。
光電変換読み出し部の画像信号をそのままメモ 'J一に保存 し、 ァ ド レス指定で演算すれば上述した位相の問題は回避で きるが、 ここではよ り高速なパイプライ ン処理について述べ る。
図 9 は水平方向 · 垂直方向共に 8 画 のつち 2画 を間引 き して読み出す例を示している。 ここでは、 ―例と して 、 水 平方向の間引きを伴う一行目の読み出しについて考える 。 図
9 の左上を基準とすると読み出 した画素位置は、 R i' o、 G i ] , R i 2 - G i 3 R i i、 G i R R i G i ? となり、 以下同 じ規則の繰り 返しになる。 この例における歪み補正 (変換) の行列表現は
Figure imgf000045_0001
となる 0
そのパイプラィ ン処理は 図 6 に示したフ ィ ルター処理部 によつて行なわれる。 シフ 卜 レジス夕 1 6 2 は、 クロ ック に 従ラ一回の動作毎に、 保持している画像データを右方向にひ と シフ 卜する o セ レクタ一 1 6 4 は、 s 1 の状態に従つて、 シフ 卜 レジスタ 1 6 2 に保持されている隣接している五つの 画素テ一夕のうちの一番目 と ―番目のいずれかを選択する 0 また セ レクタ一 1 6 6 は s 2 の状態に従って 、 シフ 卜 レ ジス夕 1 6 2 に保持されている隣接している五つの画素デ ― 夕のうちの三番巨 と五番目のいずれかを選択する o
乗算器 1 7 4 は 、 セ レク夕一 Ί 6 4 の出力 d 1 に重み付け 加算の係数 k 1 を乗算し、 乗算器 1 7 6 は、 セ レクタ一 1 6
6 の出力 d 2 に重み付け加算の係数 k 2 を乗算し 、 加算器 1
7 8 は 、 乗算器 1 9 4 の出力と乗算器 1 9 6 の出力とを加算 する o
表 1 は図 6 に示したフィル夕一処理部のパイプライ ン処理 の動作 (状態遷移 ) を表している 0 表 1
Figure imgf000046_0001
ンフ 卜 レンスタ 1 6 2 に供給され ^画 丁一タ 列 ( I 0 、 i 1 、 1 2 、 … は 、 c 1 = i 0 、 C 2 I 1 、 C 3 = i 2
…を初期状能と して 、 ク □ッ ク に従 フ ―回の動作毎に右方向 にシフ 卜 してい < これに伴い 、 セ レク タ一 1 6 4 は 、 s 1 が 1 の と ぎは C 1 を選択 し (従 oて d 1 = C 1 と な り ) 、 s
1 が 0 のと さは C 3 を選択する (従つて d 1 ― C 3 と なる) 一方 、 セ レク タ一 1 6 6 は 、 s 2 が 1 の と さは C 3 を yd択 し
(従 て d 2 ― C 3 と な ) 、 s 2 が 0 の と さは C 5 を選択 する (従 て d 2 = C 5 と なる ) また 、 ク P ック に ]pj期 し てフ ィ ルタ一係数設定部 1 4 4 内のメ モ U一から係数 k 1 が 乗算 1 7 4 に 、 係数 k 2 が乗算 1 7 6 に供給される 。 加
1 7 8 か ら は o u t k 1 X d 1 + k 2 X d 2 が出力 さ れる 表 1 から分かるよう に、 逐次データのシフ ト、 s 1 と s 2 の状態に従ったセ レクタ一の切り換え、 式 ( 7 ) に示した間 引き規則に応じた重み付け係数 k 1 と 2 の出力、 重み付け 加算演算を同期 して行なう こ と によ っ て、 画素の位相操作 (セレクタ一切 り換え) を含めたパイプライ ン処理が行なわ れる。
また、 撮像素子がペイヤー配列や補色フィ ルターの配列の ような C F A ( Color Fi l ter Arrays) 以外の、 モノ ク ロや 三板カラーの撮像素子の様に、 単一の撮像素子上の色情報が 一種類である場合には、 ベィャ一配列の C F Aのよう に歪み 補正をする際に同一色の画素を扱うために一画素の間隔を空 ける必要はなく 、 また、 間引きの方法も上述の様に同一色の 信号の位相を合わせるために ( R 、 G、 R、 G、 …というよ う に読み出しの順序を一定にするために) 二画素連続で空け る必要はない。
単色の撮像素子では、 隣接した画素の重み付け加算をデー タを選択しながら行なうので、 歪み補正 (変換) は、 次の式 ( 3 9 ) で表される。
PC2 = aPi-i + (1 - a)Pi2 ■■■ (39) ここで、 P c は変換後の画素データ、 P i は変換元の画素デ 一夕である。
そのパイプライ ン処理は、 図 7 に示したフィルター処理部 によって行なわれる。 シフ ト レジスタ 1 8 2 は、 クロ ックに 4 従う一回の動作毎に、 保持している画像テー夕を右方向にひ とつシフ 卜する 。 セレクタ一 1 8 4 は 、 s 1 の状態に従って 隣接する三つの画素データのう ちの一番目 と二番目の一方を 選択する。 また 、 セレクタ一 1 8 6 は s 2 の状態に従って 隣接する三つの画素データのうちの一番目 と三番目の一方を 選択する。
乗算器 1 9 4 は、 セ レク夕一 1 8 4 の出力 d 1 に重み付け 加算の係数 k 1 を乗算し、 乗算器 1 9 6 は、 セ レク夕一 1 8
6 の出力 d 2 に重み付け加算の係数 k 2 を乗 し、 加算器 1
7 8 は、 乗算器 1 9 4 の出力と乗算益 1 9 6 の出力とを加算 する。 動作のシ —ケンスは図 6 と |pj様である 0
本実施形態の撮像装置では、 光 換素子で取得された画 像データを、 少なく とも垂直方向について、 好まし < は垂直 方向と水平方向の両方について 、 八 ―ド的に間引さ して!" み 出している。 従つて、 本実施形態の 像装置は、 光電変換素 子の全ての画像データを読み した後にソフ 卜的に間引 く通 常の撮像装置と比較して短時間のラちに画像データを δ冗み 111 し得る。
さ らに、 本実施形態の撮像装 では 、 画素間引さ して 5冗み 出された画像デ一夕に対して、 間引かれた画素データを線形 補間すると共に設定された領域に )心じて縮小変換する正み補 正を行なっている。 従って -、 本実施形態の撮像装置は 、 良質 な画像を形成し ¼ 。
第二実施形態
本実施形態は 、 特に動画の撮影に好迴な撮像装置に向けら れている。
図 1 0 は本発明の第一実施形態の撮像装置の構成を不して いる。 図 1 0 において 、 第一実施形態の 像装置 1 0 0 の要 素と同一の参照符号で指摘される要素は同等の要素であ y 、 その詳しい説明は記載の重複を避けて続 < 目 ii述において省略 する。
本実施形態の撮像装置 2 0 0 は、 被写体の光学像を結像す る結像光学系 1 1 0 と 像光学系 1 1 0 によ リ結像された 光学像の所定の領域の画像信号を連続的に出力する ffll像デバ イス 2 2 0 とを有している 。 つま り 、 撮像デバイス 2 2 0 か ら出力される画像 15 は動画信号であり これは時系列的に 連続する複数のフ レ _厶の画像データで構成されている。
撮像デノ、'イス 2 2 0 は、 結像光学系 1 1 0 によ り結像され た光学像を光電変換してデジ夕ル画像デ ―夕 (画素データの 集合) を取得するェ ァ状の光電変換素子 2 2 2 と、 光電変 換素子 2 2 2 で取 ί ί曰
守された画像デ一夕を必要に応じて画素間
=±·
引き して連続的に SJZ 出す ¾cみ出し制御部 2 2 4 とを有して いる。
撮像装置 2 0 0 はさ ら に、 出力する画像の領域を設定する 領域設定部 1 3 2 と 、 57Eみ し制御部 2 2 4 の画素間引き読 み出し規則を選択する 57Cみ し規則選択部 2 3 4 と、 撮像デ バイス 2 2 0から 5冗み出された画像デー夕の歪みを補正する 歪み補正部 1 4 0 とを有している o 正 み補正部 1 4 0 の詳細 は第一実施形態で説明した通りである。
さ らに、 撮像装置 2 0 0 は、 読み出し制御部 2 2 4が光電 変換素子 2 2 2 から読み出す画像データの範囲 (読み出し範 囲) の基準位置をフ レーム毎に変更する読み出し位相制御部 2 3 0 と、 読み出し位相制御部 2 3 0でフ レーム毎に設定さ れる読み出し範囲の基準位置に基づいて歪み補正部 1 4 0で 補正された画像データの全てのフ レームに共通する範囲を選 択する画像範囲選択処理部 2 4 0 とを有している。
読み出し位相制御部 2 3 0が読み出し範囲の基準位置をフ レーム毎に変更し、 画像範囲選択処理部 2 4 0が全てのフ レ ー厶に共通する範囲を選択することに対応して、 読み出し規 則選択部 2 3 4 は、 領域設定部 1 3 2 で設定された画像の領 域より も広い範囲に渡って読み出し制御部 2 2 4が画像デー 夕を読み出すよう に、 画素間引き読み出し規則を選択する。
撮像デバイス 2 2 0 内の読み出し制御部 2 2 4 は、 読み出 し規則選択部 1 3 4で選択される読み出し規則と、 読み出し 位相制御部 2 3 0で設定される読み出し範囲の基準位置とに 基づいて、 光電変換素子 2 2 2 内の画素配列中の対応する範 囲の画像データ ( 1 フ レーム分の画素データ) を連続的に読 み出す。 その結果と して、 撮像デバイス 2 2 0 は、 時系列的 に連続する複数のフ レームの画像デ一夕で構成される動画信 号を出力する。
撮像装置 2 0 0 は、 好ましく はさ らに、 複数のフレームの 画像データを一時的に記憶する三つの巡回型フ レームメモリ 一 2 5 2 と 2 5 4 と 2 5 6 と、 フ レームメモ リ 一 2 5 2 と 2 5 4 と 2 5 6 に記憶された複数のフ レームの画像データに対 して演算処理を行なって新たな画像データを生成するフ レー 厶間演算処理部 2 6 0 とを有している 0
従来のビデオシステムの動画の撮影においては 2 フィ一ル ド = 1 フ レームになるようなイ ンタ ―レース走査方式が良く 用いられている o これは 、 一般の 1 / 3 0のフ レ一厶レ一 卜 においてはイ ン夕一レ ―ス操作による画像のちらつさは目立 たないとされ、 むしろィ ンターレ一ス操作によつて 、 全 作と同一の時間内でよ 広い領域の画像情報を得、 フィ ール ド間で補間して向速に问精細な画像を得る効果がある o
また 、 前述の式 ( 7 ) に示される不
正み補正を行なつてち、
5冗 出されていない画素データは復元され得ない。
本実施形態の撮像装置 2 0 0では、 イ ンター レース操作が 二つのフィ ール ド間で互いの欠落している画素データを補間 するよう に、 連続する二つのフ レーム間で互いの欠落してい る画素テー夕を補間する。
このため 、 み出し位相制御部 2 3 0 1よ 、 g?cみ piし制御部
2 2 4が光電変換素子 2 2 2 から画素間引き して読み出す画 素データの m囲 (読み出し範囲) の基準位置をフ レー厶毎に 変更させる よ U詳しく は、 読み出し位相制御部 2 3 0 は、 ΐπみ出し ¾1囲の基準位置を、 一定の規則に従って周期的に、 フ レーム毎に変更させる。
=± - 例えば、 5冗み出し位相制御部 2 3 0 は、 連続する複数のフ レームの画像丁 ―夕がそれら全体で欠落した画素デ一夕を持 たないよう に み出し制御部 2 2 4が読み出す画素データ の範囲の基隹位置をシフ 卜させる。 より好ましく は 、 み ϋ_ι し位相制御部 2 3 0 は、 連続する二つのフ レームの画像デー 夕が共通に欠落した画素テ一夕を持たないよ 1— =±·
フ に 、 5冗み出し 範囲の基準位置をシフ 卜させる。 シフ 卜里は 4 〜 8画素程度 が好ま しい。
その結果、 特定のフ レームの画像テ一夕において間引き読 み出しのために欠落した光電変換素子 2 2 2 内の特定の位置 の画素データは、 他のフ レームの画像デ一夕に含まれるよう になる。 つま り、 撮像デバイス 2 2 0から出力される画像信 号から、 光電変換素子 2 2 2 の特定の位置の画素データが常 に欠落することが避けられる。
さ らに、 フ レーム間演算処理部 2 6 0 は フ レームメモ リ 一 2 5 2 と 2 5 4 と 2 5 6 に §己'! ¾ eれた連続するフ レー厶の 画像データ に対して 、 欠落している画素ァ ―夕を補間する処 理を行なう。 例えば 連続する二つのフ レ ―厶の画像データ に対して 1 2 : 1 / 2 の加算を行なう o あるいは、 連続す る三つフ レームの画像データに対して 1 / 4 • 1 / 2 : 1 /
4 の加算を行なって よい。
図 1 1 と図 1 2 は 6 / 8の間引 み出しの繰リ返しに よる ¾cみ出しにおける読み出し範囲の基隹位 のシフ 卜の様 子を模式的に示している。 これらの図において 、 [ X , y ] は光電変換素子 1 2 2 の画素配列の画素位置 ( X , y ) は 読み出し範囲の画素丁一夕配列を表している o
図 1 1 と図 1 2 に示されるよう に 、 光 変換素子 1 2 2 の 画素数は水平方向に k画素、 垂直方向に 1 画素である 。 従つ て、 光電変換素子 1 2 2 の左上の画素の位 は [ 0 , 0 ] 、 右下の画素の位置は [ k , I ] と表せる o また 、 1 フ レーム の読み出し範囲の画素数は水平方向に m画素、 垂直方向に n 画素である。 従って、 フ レームの左上の読み出し開始位置は ( 0 , 0 ) 、 右下の読み出し終了位置は ( m , n ) と表せる。 図 1 2 のフ レームの読み出し範囲は、 図 1 1 のフ レームの読 み出し範囲に対して、 水平方向に + 2画素、 垂直方向に + 2 画素シフ 卜 している。
図 1 1 のフ レームでは、 左上の読み出 し開始位置 ( 0 , 0 ) は、 光電変換素子 1 2 2 の左上の画素位置 [ 0 , 0 ] に 一致している。 つま り 、
(0,0) = [0,0] - (40) である。 また、 読み出し終了位置 ( m, n ) は、
(m,n)=[k— 2,1— 2] - (41 ) である。 一方、 図 1 2 のフ レームでは、 左上の読み出し開始 位置は、
(0,0) =[2, 2] (42) である。 また、 読み出しの終了位置は、
(m, n)=[k, I] - (43) である 画像範囲選択処理部 2 4 0 は、 図 1 1 のフ レームと図 1 2 のフ レームに共通する範囲を選択する。 つま り 、 画像範囲選 択処理部 2 4 0 は、 図 1 1 のフ レームに対 しては、 ( 2 , 2 ) と ( m, n ) を対角の頂点とする矩形の範囲を選択し、 図 1 2 のフ レームに対しては、 ( 0 , 0 ) から ( m— 2 , n 一 2 ) を対角の頂点とする矩形の範囲を選択する。 画像範囲 選択処理部 2 4 0 で選択された範囲は、 常に ( m— 2 ) X ( n _ 2 ) 個の画素データを有している。
また、 予めク ロ ップする領域を考慮すると、 光電変換素子 2 2 2 から読み出す画像の総数は出力の画像サイズと位相シ フ 卜分を考慮する必要がある。 画像範囲選択処理部 2 4 0 は、 読み出し開始位置の情報に基づいて、 ク ロ ップの範囲を変更 する。
フ レームメモ リ ー 2 5 2 と 2 5 4 と 2 5 6 はいずれも F I F O (First In Fi rst Out) のメモリ 一となってぉリ、 フ レ ー厶間演算処理部 2 6 0 はそれらのフ レームメモリ ー 2 5 2 と 2 5 4 と 2 5 6 の同一位置の画素を用いて出力画像を生成 する。
例えば、 2 フ レームの場合、 合成画像 0 u t ( i , j ) は、 out(i, j) = 0.5l(k, i, j) + 0.5l(k一 1, i, j) 〜(44) である。 こ こで、 i , j は画素位置を表し、 I ( k , i , j ) は k番目のフ レームの画素位置 i , j の画像信号の強度 である。 また、 3 フ レームの場合、 合成画像 o u t ( i , j ) は、 加重配分を用いて、 out(i, j) = 0.25l(k, ί, j) + 0.5l(k - 1, i, j) + 0.25l(k - 2, i, j) - ( 45 ) での フ レ一厶間補間を行なう ことによって、 歪み補正の 効果に加えて 、 ロ ーパスによる高画質化の効果が得られる。
また、 本実施形態では、 水平方向 · 垂直方向ともに間引き
5冗み出しを行ない、 一次元の歪み補正を水平 · 垂直ともにパ ィプラィ ン処理で行なう例を示している。 C C Dの場合は、 垂直転送 -→水平転送の動作を行なう撮像素子では、 原理上水 平方向に間引いて読み出す事が出来ないので、 水平方向につ いては式 ( 1 ) と同様に全画素を読み出し、 一次補間による サイズ変更を行なう必要がある。 垂直方向について前述の式
( 7 ) で示したよう に、 間引いて読み出して歪み補正を前述 と 様に行なラ。
また、 像時間の短縮を図るために 、 従来の ビデオシステ 厶の様に垂直方向には補間を前提と した複数のイ ンタ一レ一 スフィ一ル 読み出しを行ない、 水平方向には前述の間引き み出しと不
正み補正を行なってもよい 。 歪み補正後の各フィ
―ル ドの画像は、 図 1 0 と同様な構成によ り補間的な合成を 行なつて画像を生成すればよい。
図 1 3 は 、 1 4画素中 2函素の間引き読み出し ( 6 Z 7 の サィズ変更 ) を行なった後に、 連続するフ レーム間で平均化 処理を行な て得られた動画像を示している。 また、 図 1 4 は、 1 4画 中 2画素の間引き読み出し ( 6 Z 7 のサイズ変 更) に加えて 正み補正 (画素データ補間 ) を行なった後に、 連続するフ レ ―厶間で平均化処理を行なつて得られた動画像 を示している o 者を比較することによ り 、 図 1 4 の画像は、 図 1 3 の画像と比較して、 エッ ジ部分の歪みが低減されてい ることが分かる 0
本実施形態の 像装置は、 第一実施形態の撮像装置の利点 と同様の利占を有している。
これに加えて 本実施形態の撮像装置は 、 動画像撮影にお いて 、 フ レーム毎に 5冗み出し規則を変 て画像テ一タを Ιπみ 出すことによ り 允電変換素子内の特定の位置の画素デ一夕 が欠落することを避けてい Ό o れによ り 、 本実施形態の撮 像装置は 、 歪みの少ない 问精細な動画像を形成し得る。
本実施形態の ¾¾像装置は 、 よ り好ま しく は、 連続するフ レ 一厶の画像デー夕に基づいて欠落している画素データを補間 することによ り 、 フ レ一厶によつては本当の画素データが欠 落する とを避けている o これによ り、 本実施形態の撮像装 置は 、 さ らに歪みやモァ レの少ない高精細な動画像を形成し
½る o
第三実施形態
図 1 7 は、 本発明の第 ―実施形態の撮像装置の構成を示し ている o 図 1 7 1 ¾οいて 第一実施形態の撮像装置 1 0 0 の 要素と同一の参照符 で指摘される要素は同等の要素であり、 その詳しい説明は記載の重複を避けて続く記述において省略 する o 本実施形態の撮像装置 3 0 0 は、 被写体の光学像を結像す る結像光学系 1 1 0 と 、 結像光学系 1 1 0 によ リ結像された 光学像の所定の領域の画像信号を連続的に出力する撮像デバ イス 2 2 0 とを有している。 つま り、 撮像丁 イス 2 2 0 か ら出力される画像信号は動画像であり、 れは時系列的に連 続する複数のフ レームの画像デ —夕で構成されている。
撮像デバィス 2 2 0 は、 結像光学系 1 1 0 によ り結像され た光学像を光電変換してデジ夕ル画像デ一タ (画素データの 集合) を取得するエリ ァ状の光電変換素子 2 2 2 と、 光電変 換素子 2 2 2で取得された画像データを必要に応じて画素間 引き して連続的に an:み出す 冗み出し制御部 2 2 4 とを有して いる。
撮像装置 3 0 0 はさ らに、 出力する画像の AS
m域を設定する 領域設定部 1 3 2 と、 S7Cみ出し制御部 2 2 4 の画素間引き読 み出し規則を 択する 571;み出し規則選択部 3 0 2 と、 撮像デ バイス 2 2 0 か ■D ¾Cみ出された画像デー夕の正みを補正する 歪み補正部 1 4 0 とを有している。 歪み補正部 1 4 0 の詳細 は第一実施形態で説明した通リ 1ある。
さ らに、 撮像壮 3SE要 o
β. 0 0 は、 読み出し制御部 2 2 4が光電 変換素子 2 2 2 から読み出す画像デ一夕の読み出し規則を夕 イ ミ ングジェネレーター 3 0 4 と同期して、 読み出し規則変 調部 3 0 6 によってフ レーム毎の読み出し規則を変調してい る。 この読み出し規則変調部 3 0 6 ではフ レーム毎に異なる 読み出し配置を生成するが、 読み出し画素の総数は変更して いない。 歪み補正部 1 4 0 は、 読み出し規則変調部 3 0 6 で 5 生成し/こ 5冗み出し規則に従つてフィノレ夕ー処理するフィ ル夕 ー処理部 1 4 2 と、 フィル夕一処理部 1 4 2 のフィルター処 理に使用するフィルター係数を δ 疋 フィ ル夕一係数 部 1 4 4 とを有している。
さ らに、 複数のフ レーム間で 9¾な 57 出し規則で ¾み出 され 、 歪み補正のフィル夕一処理を行なつた画像デ一夕は、 フ レ一厶間演算部 3 0 8でフ レ一厶間演算が行なわれ、 図示 しない後続の処理系にデー夕を出力する ο しれまで、 図面 ¾:参照しなが 本発明の実施の形態を述ベ たが 、 本発明は 、 <—れらの実 の形態に限定されるものでは なく 、 その要旨を逸脱しない IB囲において様 な変形や変更 が施されてもよい。
産業上の利用可能性
本発明によれば、 撮像素子からの画像ァ一夕の読み出しに 要する時間が短 <、 サイズ変更に対して歪みの少な » 问精細 な画像を形成し得る撮像装置が提供される 0

Claims

求 の 範 囲
1 . 被写体の画像を出力する撮像装置であ y
光学像を光電 換して画像データを取得する光 変換素子 と 、 前記光電変換素子で取得された刖 匿己画像デ一夕を必要に 応じて画素間引さ し 乙 iTCみ tL| 9 5冗み出し制御部とを有してい る撮像デバィスと 、
前言己撮像デバィスの出力画像の領域を設定する領域設定部
刖 画 5領域設定部で SX疋された領域に応じて 記 17C ¾ tLlし制 御部の画素間引き読み出し規則を選択する n冗み出し規則選択 部と、
刖記読み出し制御部によつて前記光電 換素子力 ら目壳み ι ι された前記画像デ一夕の正みを補正する不
正み補正部であつて、 則 し S7Cみ出し規則選択部で選択された則記画素間引き ¾cみ出 し規則に基づいて前 =± - a己允 変換素子から 5冗み出された前記画 像デー夕をフィノレ夕ー処理するフイ レタ一処理部を有する JE み補正部とを有している fex像
2 . 請求項 1 において > 刖記歪み補正部は 、 記フィル 夕一処理に使用するフイ レタ一係数を設定するフィル夕一係 数選択部をさ らに有し、 刖記フィ ルタ一係数 ΘΧ疋部は、 刖記 フィル夕 ―係数を含むノレックァップテ一ブルを記 する言? '1 部と 記 5冗み ιϋし規則選択部が選択した前記画素間引 ci S7C
み udし規則に応じて m記 §己憶部に目し '1¼されている則記ルック ァップテ一プルから刖雲 5フ ィル夕 —係数を選択するフィ ル夕 一係数選択部とを有している m像装置。
3 . 請求項 2 において、 Bリ §ヒフイリレ夕一係数のルックァ
、ンプテ一ブルは前記読み出し規則に応じて 疋されている、 撮像装置。
4 . 請求項 1 または請求項 2 において 、 夕ィ ミ ンク ンェ ネレ一ターと、 前記読み出し規則選択部からの み U4し規則 を則目 ύタイ ミ ングジエネレ一ターと同期して 、 フレ一厶毎の み | jし規則を変調する出し規則変調部とをさ らに有し、 前記歪み補正部は、 前記 s¾み し規則変調部で生成された
=±■
5冗み出し規則に従ってフィルター処理する 撮像装置 o
5 . 請求項 1 において 、 刖目己歪み補正部は 刖 idフィル 夕一処理に使用するフィルター係数を設定するフィ ルター係 数 sn. 部をさ らに有し、 前記フィルター係数 sn.定部は 、 刖目己 み ΐτάし規則選択部が設定した Βリ記画素間引さ =dtr
み山し規則 に応じた演算を行なって前記フィ ルター係数を算出す 、 撮 像 s壮 a. o
6 . 請求項 1 において 、 前記光電変換素子から出力され る画像信号は、 時系列的に 一 9 る複数のフ レ ―厶の画像デ
―夕で構成される動画信号であ リ
刖目己読み出し制御部が前 S [光 ¾変換素子から 5冗み £ί|す画像 丁一夕読み出し範囲の基準位置を前記複数のフ レ一厶のフ レ ーム毎に変更する読み出し位相制御部と、
前記読み出し位相制御部で前記フ レーム毎に設定される読 み出し範囲の基準位置に応じて前記歪み補正部で補正された 画像データのうち前記複数のフ レームに共通する領域を範囲 選択する画像範囲選択処理部と、 前 Icl画像範囲選択処理部で範囲選択された領域の画像信号を 出力する画像信号処理部とを有する、 撮像装置。
7 S 求項 1 において、 前記光電変換素子から出力され る画像信号は、 時系列的に連続する複数のフ レームの画像デ
―夕で構成される動画信号であ り、 前記複数のフ レ一厶のフ レ一厶毎に前記読み出し規則を異ならせ、 育リ記フィルター処 理部はそれぞれの前記読み出し規則に応じた 3Ε «^· ffl1正を行な ラ 撮像装
8 5
• m求項 7 において、 前記歪み補正部から出力された 画像 In 対して所定の処理を行なう画像処理部を有する、 像 1¾ 眞 。
9 E 求項 6 または請求項 8 において 、 刖目己撮像装置は 刖記複数のフ レームの画像データを一時的に記憶する複数の 記 Ίβ部と、 前記複数の記憶部に記憶された前記複数のフ レ一 厶の画像デ —夕に対して演算処理を行なつて新たな画像丁一 タを生成するフ レーム間演算処理部とを有しており 、 m記画 像信号処理部は前記フ レーム間演算処理部で形成された画像 の画像信号を出力する、 撮像装置。
1 0 . 請求項 6 または請求項 8 において 、 刖言己撮像装置 は 、 刖記複数のフ レームの画像データに対して演算処理を行 な て新たな画像データを生成するフ レー厶間演算処理部と を有しており 、 前記画像信号処理部は前記フ レーム間演算処 理部で形成された画像の画像信号を出力する 、 m像装置 0
1 1 . 請求項 9 または請求項 1 0 において、 前記複数の フ レー厶の画像データに対する演算処理が加算平均である、 撮像装置。
1 2 求項 1 において 、 前記光電変換素子は力フ一フ ィル夕一ァ レィ ( C F A ) が目リ面に配置された単板力ラ一 像素子であり 、 刖記フィルタ一処理部は 刖言 5単板力ラ ― m 像素子か ,、 み した画像信号を一時的に保持する'シフ 卜 レ ンス夕と 、 則記シフ 卜 レジス夕から前記画像信号のう ち同色 の信巧を nTCみ出す 5冗 出し位置を選択する二つのセ レク夕一 と 、 刖記二 のセレク夕一によって前記シフ 卜 レジス夕から み出された画像 1口 に対して補正係数をそれぞれ乗算する
―つの乗算器と、 前記一つの乗算器の演算結果を加算する加 算器とを有してお 、 入カデ一夕と出力丁一夕の数が等しい パィプラィ ン処理によつて前言己単板力ラ一撮像素子から a7Zみ 出した画像情報の歪みを補正する、 撮像装置。
1 3 . 請求項 1 において、 前記光電変換素子は単色モノ ク 口撮像素子または多板力ラ一撮像素子であ り 、 前記フィル 夕一処理部は、 前記単色モノ ク ロ撮像素子または前記多板力 ラ一 像素子から読み出した画像信号を一時的に保持するシ フ 卜 レジス夕と、 目 1』言己シフ 卜 レジス夕から画像信号を読み出 み出し位置を選択する一つのセ レクタ一と、 前記二つの セ レク夕一によってシフ 卜 レジス夕から読み出された画像信 号に対して補正係数をそれぞれ乗算する二つの乗算器と、 前 記二つの乗算器の演算結果を加算する加算器とを有しており 、 入力ァ —夕と出力データの数が等しいパイプライ ン処理によ つて 記単色モノク ロ撮像素子または前記多板カラー撮像素 子から読み出した画像情報の歪みを補正する、 撮像装置。
1 4 . 請求項 1 2 または請求項 1 3 において、 刖 己 -C レ クタ 出し規則選択部が選択した前記画素間引 さ 。冗み出し規則に基づいて前記シフ 卜 レジスタから画像信 を み山 ^ じ 出し位置を選択する、 撮像装置。
1 5 . 光学像を光電変換して画像データを取得する光電 変換素子と、 前記光電変換素子で取得された画像データを必 要に応じて画素間引き して読み出す読み出し制御部とを有し ている撮像デバィスとを有する撮像装置の信号処理方法でめ つて 、
前記撮像デバイスの出力画像の領域を設定する工程と、
、 前 5己 疋 ±れた νή域に応じて画素間引き読み出し規則を 択する工程と、
前記選択された画素間引き読み出し規則に応じ HU 固し 冗み 出し制御部で制御されて前記光電変換素子から画像データを 画素間引き して読み出す工程と、
前記選択された画素間引き読み出し規則に応じてフィル夕
―係数を設定し、 前記光電変換素子から読み出された画像 τ 夕をフィルター処理して画像データの歪みを補正するェ程
刖記歪み補正された画像信号に対して所定の処理を行なラ ェ程とを有している 、 撮像装置の信号処理方法。
Ί 6 . 光学像を光電変換して画像データを取得する光 変換素子を有している撮像デバイスを有する撮像装置の信 処理方法であって、
、 '
刖記撮像デバィスの出力画像の領域を設定する工程と、 前記設定された領域に応じて画素間引き読み出し規則を選 択する工程と、
前記選択された画素間引き読み出し規則 Iこ づいて刖 α 光 電変換素子から画像デー夕を読み出すェ程と
前記読み出された画像データをフィル夕ー処理して画像デ 一夕の歪みを補正するェ程とを有している 、 m像装 idの ik 処理方法。
1 7 . 請求項 1 6 において、 前記画像テ―夕の不
正みを補 正する工程は、 前記選択された画素間引き み出し規則に it、 じてフィルター係数を設定し、 前記光電変換素子から み ΰ された画像データをフィ ルター処理する is 処理方法 ο
、 '
1 8 . 請求項 〗 5 または請求項 1 7 において 刖記フィ ルター係数は、 複数のフィルター係数を含むルククァソプテ 一ブルから、 前記選択された画素間引き み出し規則に }心し て前記フィルタ一係数を 択す。、 信 処理方法 o
1 9 . 請求項 1 5 または請求項 1 7 において 、 前記選択 された画素間引き読み出し規則に応じた演算を行なつて刖 フィルター係数を算出する、 信号処理方法 o
、 '
2 0 . 請求項 1 5 または請求項 1 6 において 、 則記 hi像 デバイスから時系列的に連続する複数のフ レ一厶の画像丁 ― 夕で構成される動画信号を出力 し、
前記撮像デバイスから読み出す画像デ ―夕の み出し範囲 をフ レーム毎に設定し、 刖言 Sフ レー厶毎に される み出 し範囲の基準位置に応じて前記歪み補正を行ない 、
前記歪み補正された画像データのう ち複数のフ レ一厶に共 通する領域を範囲選択し、
前記範囲選択された領域の画像信号を出力する、 信号処理 方法。
PCT/JP2003/015423 2002-12-02 2003-12-02 撮像装置 WO2004051987A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2004556893A JP4445870B2 (ja) 2002-12-02 2003-12-02 撮像装置
EP03776025A EP1569442A4 (en) 2002-12-02 2003-12-02 VIEWING DEVICE
US11/059,490 US8040385B2 (en) 2002-12-02 2005-02-15 Image pickup apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002-349968 2002-12-02
JP2002349968 2002-12-02

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/059,490 Continuation US8040385B2 (en) 2002-12-02 2005-02-15 Image pickup apparatus

Publications (1)

Publication Number Publication Date
WO2004051987A1 true WO2004051987A1 (ja) 2004-06-17

Family

ID=32463059

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2003/015423 WO2004051987A1 (ja) 2002-12-02 2003-12-02 撮像装置

Country Status (5)

Country Link
EP (1) EP1569442A4 (ja)
JP (1) JP4445870B2 (ja)
KR (1) KR100695396B1 (ja)
CN (1) CN100350794C (ja)
WO (1) WO2004051987A1 (ja)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006049950A (ja) * 2004-07-30 2006-02-16 Sony Corp 動画像変換装置、動画像復元装置、および方法、並びにコンピュータ・プログラム
EP1653730A2 (en) * 2004-10-20 2006-05-03 Nikon Corporation Electronic camera
JP2008005137A (ja) * 2006-06-21 2008-01-10 Matsushita Electric Ind Co Ltd 固体撮像装置および撮像システム
JP2008060893A (ja) * 2006-08-31 2008-03-13 Dainippon Printing Co Ltd 補間演算装置
JP2009010923A (ja) * 2007-02-27 2009-01-15 Phase One As デジタル画像のカラービニング
US7580622B2 (en) 2004-10-29 2009-08-25 Olympus Corporation Imaging apparatus
CN102427506A (zh) * 2011-10-17 2012-04-25 天津天地伟业数码科技有限公司 帧数据的滤波降噪系统及滤波降噪方法
CN102595026A (zh) * 2012-03-16 2012-07-18 天津天地伟业数码科技有限公司 视频数据的滤波降噪系统及滤波降噪方法

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4626482B2 (ja) 2004-11-10 2011-02-09 株式会社ニコン 電子カメラ
DE602005007989D1 (de) * 2004-11-10 2008-08-21 Nippon Kogaku Kk Elektronische Kamera
TWI377521B (en) 2008-05-27 2012-11-21 Novatek Microelectronics Corp Image processing apparatus and method
CN102625031A (zh) * 2012-03-21 2012-08-01 天津天地伟业数码科技有限公司 视频数据的中值滤波降噪系统及滤波降噪方法
JP6917803B2 (ja) * 2017-06-27 2021-08-11 キヤノン株式会社 撮像装置、制御方法、及びプログラム
WO2019153327A1 (zh) * 2018-02-12 2019-08-15 深圳市汇顶科技股份有限公司 图像获取方法和装置
CN110597164B (zh) * 2019-08-26 2021-04-13 南通深南电路有限公司 芯板熔合的控制方法及其控制系统、熔合机以及存储装置
CN115278190A (zh) * 2021-04-30 2022-11-01 卡莱特云科技股份有限公司 一种视频数据显示色彩的校准方法、校准设备及校准系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09233394A (ja) * 1996-02-28 1997-09-05 Canon Inc 撮像装置
JP2001016441A (ja) * 1999-07-02 2001-01-19 Ricoh Co Ltd 画像処理装置
JP2002112096A (ja) * 2000-09-29 2002-04-12 Sony Corp カメラ装置及びカメラ機能調整方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3787927B2 (ja) * 1996-11-18 2006-06-21 ソニー株式会社 撮像装置及びカラー画像信号の処理方法
JP3472479B2 (ja) * 1998-05-22 2003-12-02 シャープ株式会社 画像処理装置
EP1164781A1 (en) * 1999-03-15 2001-12-19 Matsushita Electric Industrial Co., Ltd. Image processing device, image processing method, and recorded medium
JP4136255B2 (ja) * 2000-02-29 2008-08-20 キヤノン株式会社 画像処理装置及びその方法
JP2002135793A (ja) * 2000-10-20 2002-05-10 Victor Co Of Japan Ltd カラー撮像装置
US7088392B2 (en) * 2001-08-27 2006-08-08 Ramakrishna Kakarala Digital image system and method for implementing an adaptive demosaicing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09233394A (ja) * 1996-02-28 1997-09-05 Canon Inc 撮像装置
JP2001016441A (ja) * 1999-07-02 2001-01-19 Ricoh Co Ltd 画像処理装置
JP2002112096A (ja) * 2000-09-29 2002-04-12 Sony Corp カメラ装置及びカメラ機能調整方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1569442A4 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006049950A (ja) * 2004-07-30 2006-02-16 Sony Corp 動画像変換装置、動画像復元装置、および方法、並びにコンピュータ・プログラム
EP1653730A2 (en) * 2004-10-20 2006-05-03 Nikon Corporation Electronic camera
EP1653730A3 (en) * 2004-10-20 2008-03-26 Nikon Corporation Electronic camera
US7418153B2 (en) 2004-10-20 2008-08-26 Nikon Corporation Electronic camera
US7580622B2 (en) 2004-10-29 2009-08-25 Olympus Corporation Imaging apparatus
JP2008005137A (ja) * 2006-06-21 2008-01-10 Matsushita Electric Ind Co Ltd 固体撮像装置および撮像システム
JP2008060893A (ja) * 2006-08-31 2008-03-13 Dainippon Printing Co Ltd 補間演算装置
JP2009010923A (ja) * 2007-02-27 2009-01-15 Phase One As デジタル画像のカラービニング
CN102427506A (zh) * 2011-10-17 2012-04-25 天津天地伟业数码科技有限公司 帧数据的滤波降噪系统及滤波降噪方法
CN102595026A (zh) * 2012-03-16 2012-07-18 天津天地伟业数码科技有限公司 视频数据的滤波降噪系统及滤波降噪方法

Also Published As

Publication number Publication date
EP1569442A4 (en) 2009-08-12
JPWO2004051987A1 (ja) 2006-04-06
JP4445870B2 (ja) 2010-04-07
CN1720720A (zh) 2006-01-11
EP1569442A1 (en) 2005-08-31
CN100350794C (zh) 2007-11-21
KR20050054966A (ko) 2005-06-10
KR100695396B1 (ko) 2007-03-16

Similar Documents

Publication Publication Date Title
US8040385B2 (en) Image pickup apparatus
US7561195B2 (en) Image sensing apparatus
WO2004051987A1 (ja) 撮像装置
US7948543B2 (en) Imaging apparatus provided with image scaling function and image data thinning-out readout function
CN100571326C (zh) 匹配于数据提供速度调整图像大小的图像处理装置和方法
JP2005044098A (ja) 画像処理装置及び画像処理方法
JP5108802B2 (ja) 撮像装置及びそのスルー画像表示方法
US8041152B2 (en) Image resolution increasing method and apparatus
WO2004109597A1 (ja) 画像処理装置
JP2004362069A (ja) 画像処理装置
JPH10336494A (ja) ズーム表示機能付デジタルカメラ
KR100719988B1 (ko) 화상 신호 처리 장치
US20060237630A1 (en) Imaging apparatus
KR100318747B1 (ko) 디지털 스틸 카메라의 고화질 이미지 생성방법및 그 장치
JPWO2015083502A1 (ja) 画像処理装置、該方法および該プログラム
JP2006262382A (ja) 画像処理装置
JP5202225B2 (ja) 撮像装置およびその制御方法
JP2012142676A (ja) 撮像装置及び画像生成方法
JP3857829B2 (ja) 画像圧縮装置および画像伸張装置
JP3134513B2 (ja) 水平ライン補間機能付き撮像装置
JP2006054583A (ja) 撮像装置
JP6012167B2 (ja) 画像処理装置、画像処理方法およびコンピュータプログラム
JP4478934B2 (ja) 画像信号処理装置
JP2005175571A (ja) 撮像装置
WO2005064924A1 (ja) 撮像装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2004556893

Country of ref document: JP

AK Designated states

Kind code of ref document: A1

Designated state(s): CN JP KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 11059490

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2003776025

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 1020057005189

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 20038A47880

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 1020057005189

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 2003776025

Country of ref document: EP