[go: up one dir, main page]

WO2012150660A1 - Image capture device - Google Patents

Image capture device Download PDF

Info

Publication number
WO2012150660A1
WO2012150660A1 PCT/JP2012/002890 JP2012002890W WO2012150660A1 WO 2012150660 A1 WO2012150660 A1 WO 2012150660A1 JP 2012002890 W JP2012002890 W JP 2012002890W WO 2012150660 A1 WO2012150660 A1 WO 2012150660A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel
interpolation
inflection point
pixels
value
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/JP2012/002890
Other languages
French (fr)
Japanese (ja)
Inventor
片桐 哲也
掃部 幸一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Advanced Layers Inc
Original Assignee
Konica Minolta Advanced Layers Inc
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 Konica Minolta Advanced Layers Inc filed Critical Konica Minolta Advanced Layers Inc
Publication of WO2012150660A1 publication Critical patent/WO2012150660A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • 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/68Noise processing, e.g. detecting, correcting, reducing or removing noise applied to defects

Definitions

  • the present invention relates to an image pickup apparatus including an image pickup element including a plurality of pixels having different photoelectric conversion characteristics at an inflection point.
  • linear characteristics linear photoelectric conversion characteristics
  • log characteristics logarithmic photoelectric conversion characteristics
  • Patent Document 1 stores in advance first correction data that stores in advance address information of a single defective pixel in which no defective pixel exists in the peripheral pixels, and address information of defective pixels in which defective pixels exist in the periphery. And correcting the single defective pixel using the first correction data, and then correcting the defective pixel using the second correction data.
  • Patent Document 2 in an imaging apparatus having pixels with linear log characteristics, when a pixel whose inflection point pixel value is higher than a predetermined inflection point threshold value outputs a pixel value higher than the predetermined pixel threshold value, Is an inflection point defective pixel, and the inflection point defective pixel is interpolated using peripheral pixels other than the inflection point defect pixel.
  • Patent Document 3 in an imaging device having pixels with linear log characteristics, when a pixel whose inflection point has a pixel value lower than a predetermined inflection point threshold outputs a pixel value lower than the predetermined pixel threshold, Is a technique for interpolating an inflection point defective pixel using peripheral pixels other than the inflection point defect pixel.
  • the pixels stored in the first correction data and the second correction data are uniformly specified as pixels to be interpolated. It is not specified whether or not. Therefore, there is a problem that the number of pixels to be interpolated increases.
  • a defect interpolation unit that interpolates defective pixels using peripheral pixels and an inflection point interpolation unit that interpolates inflection point defective pixels. It is arranged on the upstream side. Therefore, there is a problem that the inflection point defective pixel is interpolated using the pixel value of the defective pixel after interpolation.
  • JP 2005-333620 A Japanese Patent No. 4586942 Japanese Patent No. 4586941
  • An object of the present invention is to provide an imaging device that interpolates an interpolation target pixel in consideration of whether or not the pixel adjacent to the interpolation target pixel is a defective pixel as well as whether or not the pixel is an inflection point defective pixel. is there.
  • An imaging device includes an imaging element including a plurality of pixels having different photoelectric conversion characteristics with an inflection point as a boundary, and defective pixel information indicating a position of a defective pixel among pixels constituting the imaging element.
  • a defective pixel information storage unit that stores in advance, an inflection point information storage unit that stores inflection point information indicating an inflection point pixel value that is a pixel value of an inflection point of each pixel, and a subject for each pixel.
  • An interpolation determination unit that determines whether the pixel is an inflection point defective pixel based on the pixel value at the time of imaging and the inflection point pixel value, and the inflection point defective pixel and the defective pixel are set as interpolation target pixels. And a pixel interpolation unit that interpolates the interpolation target pixel using normal pixels other than the inflection point defective pixel and normal pixels other than the defective pixel.
  • FIG. 1 is a block diagram of an imaging apparatus according to an embodiment of the present invention.
  • FIG. 2 is a block diagram illustrating a detailed configuration of an image processing unit illustrated in FIG. 1. It is the graph which showed the photoelectric conversion characteristic of a certain pixel which constitutes an image sensor. It is the figure which showed an example of the lookup table.
  • (A) shows the case where the inflection point pixel value S at the inflection point P1 is equal to or larger than a predetermined inflection point threshold Sth1
  • (B) shows the change.
  • the case where the inflection point pixel value S of the inflection point P1 is equal to or less than a predetermined inflection point threshold value Sth2 is shown.
  • FIG. 1 is a block diagram of an imaging apparatus according to an embodiment of the present invention.
  • the imaging apparatus 1 includes, for example, a digital camera, and includes a lens unit 2, an imaging sensor 3 (an example of an imaging element), an amplifier 4, an A / D conversion unit 5, an image processing unit 6, and an image memory 7. , A control unit 8, a monitor unit 9, and an operation unit 10.
  • the lens unit 2 includes an optical lens system that captures an optical image of a subject and guides it to the image sensor 3.
  • the optical lens system for example, a zoom lens, a focus lens, other fixed lens blocks, and the like arranged in series along the optical axis L of the optical image of the subject can be employed.
  • the lens unit 2 includes a diaphragm (not shown) for adjusting the amount of transmitted light, a shutter (not shown), and the like, and the driving of the diaphragm and the shutter is controlled under the control of the control unit 8.
  • the imaging sensor 3 includes a plurality of pixels arranged in a matrix of predetermined rows ⁇ predetermined columns and having different photoelectric conversion characteristics at an inflection point, and photoelectrically converts a light image formed in the lens unit 2.
  • Image data composed of pixel values of R (red), G (green), and B (blue) color components having a level corresponding to the amount of light is generated and output to the amplifier 4.
  • an image sensor such as a CMOS image sensor, a VMIS (Threshold Voltage Modulation Image Sensor) image sensor, or a CCD image sensor may be employed.
  • an imaging sensor 3 that captures a monochrome image may be used. Then, the imaging sensor 3 sequentially outputs pixel values read by each pixel so as to perform raster scanning from the upper left pixel toward the lower right pixel, for example.
  • each pixel has a low luminance side photoelectric conversion characteristic as a linear characteristic and a high luminance side photoelectric conversion characteristic as a log characteristic.
  • FIG. 3 is a graph showing the photoelectric conversion characteristics of a certain pixel constituting the image sensor 3.
  • shaft of FIG. 3 has shown the pixel value
  • the horizontal axis has shown the luminance logarithmically.
  • the low luminance side linear range 51 shows linear characteristics
  • the high luminance side log range 52 shows log characteristics.
  • the boundary between the linear range 51 and the log range 52 is the inflection point P1.
  • the graph G1 draws a curve
  • the graph G1 draws a straight line because the horizontal axis is a logarithmic axis.
  • the slope of the graph G1 in the log range 52 becomes smaller than the slope of the graph G1 in the linear range 51.
  • the photoelectric conversion characteristic changes as in the graph L1. Therefore, the luminance with respect to the saturated pixel value is higher in the graph G1 than in the graph L1.
  • the dynamic range DL can be widened by adopting the linear log characteristics.
  • the pixel value of the inflection point P1 is described as the inflection point pixel value S.
  • the amplifier 4 includes, for example, an AGC (auto gain control) circuit, a CDS (correlated double sampling) circuit, and the like, removes noise components from the image data output from the image sensor 3, and removes noise components.
  • the removed image data is amplified.
  • the A / D converter 5 converts the R, G, and B color image data amplified by the amplifier 4 into R, G, and B digital image data.
  • the pixel value of the pixel received by each pixel of the image sensor 3 is converted into a pixel value having a 12-bit gradation value, for example.
  • the image processing unit 6 performs image processing as will be described later.
  • the image memory 7 is composed of, for example, a RAM (Random Access Memory), and stores image data subjected to image processing by the image processing unit 6.
  • the control unit 8 includes a ROM that stores various control programs, a RAM that temporarily stores data, a central processing unit (CPU) that reads and executes control programs from the ROM, and the like. To manage.
  • the monitor unit 9 employs, for example, a color liquid crystal display disposed on the back surface of the housing of the imaging apparatus, and displays on the monitor an image taken by the imaging sensor 3 or an image stored in the image memory 7.
  • the operation unit 10 includes various operation switch groups such as a power switch, a release switch, a mode setting switch for setting various shooting modes, and a menu selection switch.
  • a power switch When the release switch is pressed, a light image of the subject is picked up by the image pickup sensor 3, image data of the subject is acquired, predetermined image processing is performed on the acquired image data, and the image data is recorded in the image memory 7 or the like. Is done.
  • the image data may be output as a digital signal from the image processing unit 6 without being recorded in the image memory 7, or may be D / A converted and output as an analog signal such as NTSC.
  • FIG. 2 is a block diagram showing a detailed configuration of the image processing unit 6 shown in FIG.
  • the image processing unit 6 includes a black variation correction unit 61, a characteristic conversion unit 62, a pixel interpolation unit 63, a gradation conversion unit 64, a Bayer interpolation unit 65, and a tone curve correction unit 66.
  • the black variation correction unit 61 corrects the variation in the black level of each pixel constituting the image sensor 3.
  • the characteristic conversion unit 62 includes an inflection point variation correction unit 621, an interpolation determination unit 622, and a memory unit 623, and converts the photoelectric conversion characteristic of each pixel into a predetermined reference photoelectric conversion characteristic.
  • the black variation correcting unit 61 outputs one piece of image data in which R, G, and B color components are arranged in, for example, a Bayer array.
  • linear characteristics are adopted as the reference photoelectric conversion characteristics, and the log characteristics are converted into linear characteristics.
  • the inflection point variation correcting unit 621 performs a predetermined characteristic conversion process on the pixel value d of the pixel read by each pixel, thereby unifying the photoelectric conversion characteristics of each pixel to a linear characteristic common to all pixels.
  • the inflection point variation correcting unit 621 compares the pixel value d output from each pixel with the inflection point pixel value S of each pixel, so that the pixel value d belongs to the linear range 51. Or the pixel value of the log characteristic belonging to the log range 52 is determined. When the inflection point variation correcting unit 621 determines that the pixel value d has linear characteristics, the inflection point variation correcting unit 621 outputs the pixel value d as the pixel value d ′ to the pixel interpolating unit 63 as it is.
  • the inflection point variation correcting unit 621 determines that the pixel value d has log characteristics
  • the inflection point variation correcting unit 621 performs a characteristic conversion process on the pixel value d and converts the pixel value d into a linear characteristic pixel value d ′.
  • the pixel value d ′ is output to the pixel interpolation unit 63.
  • the inflection point variation correction unit 621 identifies the inflection point pixel value S of each pixel by referring to the memory unit 623. do it.
  • the inflection point variation correcting unit 621 determines that the pixel value d is a linear characteristic, and d ⁇ S. In this case, the pixel value d is determined to be log characteristics.
  • the inflection point variation correcting unit 621 uses a look-up table in which a correspondence relationship when the pixel value d of the log characteristic is converted into the pixel value d ′ of the linear characteristic is used to determine the pixel value of the log characteristic. What is necessary is just to convert d into the pixel value d 'of a linear characteristic.
  • FIG. 4 is a diagram showing an example of the lookup table T.
  • the lookup table T is a lookup table common to all pixels.
  • the look-up table T is composed of n (n is an integer) cells each having addresses “0” to “n ⁇ 1”. Each address corresponds to a relative value of the pixel value d with respect to the inflection point pixel value S, that is, dS.
  • Each cell stores pixel values d1 to dn after conversion when a value obtained by subtracting the inflection point pixel value S from the pixel value d of log characteristics is converted into linear characteristics.
  • the lookup table T stores values obtained by converting each pixel value d of the log characteristics shown in FIG. 3 so as to be on the graph L1.
  • the inflection point variation correcting unit 621 is stored at the address d ⁇ S, which is a value obtained by subtracting the inflection point pixel value S from the pixel value d.
  • the log characteristic is converted to a linear characteristic by outputting a value obtained by adding the inflection point pixel value S of the pixel to the value of the lookup table T as the converted pixel value d ′.
  • each address of the lookup table T is made to correspond to dS is because the variation of the inflection point pixel value S of each pixel is taken into consideration. That is, in the present embodiment, it is assumed that the log characteristics of each pixel have substantially the same waveform although the inflection point pixel value S varies. Therefore, by making each address of the lookup table T correspond to dS instead of d, this lookup table T can be applied to all pixels.
  • the inflection point variation correcting unit 621 specifies the position of the pixel value d input from this order because the pixel value d of each pixel constituting one piece of image data is input in a predetermined order. Thus, a predetermined inflection point pixel value S can be specified for each pixel.
  • the interpolation determination unit 622 sequentially receives the pixel value d of the target pixel from the black variation correction unit 61, determines whether the target pixel is an inflection point defective pixel, and performs pixel interpolation on the determination result. Notification to the unit 63. That is, the interpolation determination unit 622 determines whether or not the target pixel is an inflection point defective pixel using the pixel value d of the target pixel that has not been subjected to the characteristic conversion processing by the inflection point variation correction unit 621.
  • the interpolation determination unit 622 refers to the inflection point information stored in the memory unit 623 and specifies the inflection point pixel value S of the target pixel. Then, the interpolation determination unit 622 determines whether or not the inflection point pixel value S of the target pixel is equal to or greater than a predetermined inflection point threshold value Sth1 (an example of a first inflection point threshold value).
  • the interpolation determination unit 622 determines that the inflection point pixel value S of the target pixel is equal to or greater than the inflection point threshold value Sth1 (S ⁇ Sth1), the pixel value d of the target pixel is further set to a predetermined pixel threshold value Dth1 (first threshold value). It is determined whether or not it is an example of one pixel threshold.
  • the interpolation determining unit 622 determines that the pixel of interest is an inflection point defective pixel when the pixel value d of the pixel of interest is determined to be greater than or equal to the pixel threshold Dth1 (d ⁇ Dth1). That is, the interpolation determination unit 622 determines that the pixel of interest is an inflection point defective pixel when the target pixel satisfies the condition 1 of S ⁇ Sth1 and d ⁇ Dth1.
  • the interpolation determination unit 622 determines whether or not the inflection point pixel value S of the target pixel is equal to or less than a predetermined inflection point threshold value Sth2 (an example of a second inflection point threshold value).
  • a predetermined inflection point threshold value Sth2 an example of a second inflection point threshold value.
  • the pixel value d of the target pixel is further set to a predetermined pixel threshold value Dth2 (first threshold value).
  • Dth2 first threshold value
  • the interpolation determination unit 622 determines the target pixel as an inflection point defective pixel. That is, the interpolation determination unit 622 determines that the pixel of interest is an inflection point defective pixel when the target pixel satisfies the condition 2 of S ⁇ Sth2 and d ⁇ Dth2.
  • the interpolation determining unit 622 determines that the pixel of interest satisfies the condition 1 or the condition 2 as an inflection point defective pixel. Further, the interpolation determining unit 622 determines that the pixel of interest is not an inflection point defective pixel if the pixel of interest does not satisfy the conditions 1 and 2.
  • FIG. 5 is a graph showing photoelectric conversion characteristics of pixels having different inflection points P1, and FIG. 5A shows a case where the inflection point pixel value S at the inflection point P1 is equal to or greater than a predetermined inflection point threshold Sth1.
  • FIG. 5B shows a case where the inflection point pixel value S of the inflection point P1 is equal to or less than a predetermined inflection point threshold Sth2.
  • the vertical axis represents the pixel value d
  • the horizontal axis represents the luminance in logarithm.
  • this pixel value d When the pixel value d is greater than or equal to the pixel threshold value Dth1 in the pixel having the inflection point pixel value S or greater than the inflection point threshold value Sth1, this pixel value d can be regarded as saturated, and it is not preferable to employ it.
  • the inflection point pixel value S is a pixel equal to or greater than the inflection point threshold value Sth1
  • the pixel value d is less than the pixel threshold value Dth1
  • the pixel value d is not saturated, and therefore it may be adopted. There is no.
  • the vertical axis represents the pixel value d
  • the horizontal axis represents the luminance in logarithm.
  • the actual photoelectric conversion characteristic is assumed to be the characteristic indicated by the solid line in the figure.
  • the photoelectric conversion characteristic becomes the characteristic indicated by the wavy line in the figure, and a correction error occurs. Therefore, since the pixel value d deviates from the assumed photoelectric conversion characteristic, it is not preferable to use the pixel value d.
  • the inflection point pixel value S is a pixel equal to or smaller than the inflection point threshold value Sth2
  • the pixel value d is larger than the pixel threshold value Dth2
  • the pixel value d does not deviate from the assumed photoelectric conversion characteristics. There is no problem even if the value d is adopted.
  • the interpolation determination unit 622 determines the inflection point defective pixel by performing the above processing.
  • the pixel threshold value Dth1 may be a value near the saturation level and a value at which deterioration of image reproducibility starts.
  • the inflection point threshold value Sth1 an average value of the inflection point pixel values S of all the pixels constituting the image sensor 3 may be adopted, or the upper number of distribution of the inflection point pixel values S of all the pixels. A value such that% (for example, 10%) pixels exceed the inflection point threshold value Sth1 may be adopted.
  • the inflection point threshold value Sth2 a value at least higher than the inflection point pixel value S of the pixel having the inflection point pixel value S that is the maximum among the pixels having the minus value of the inflection point pixel value S is adopted. do it.
  • pixel threshold value Dth2 a value about the start level of the shift of the pixel having the maximum start level of the photoelectric conversion characteristic shift among the pixels having the negative inflection point pixel value S may be adopted.
  • the memory unit 623 is configured by a nonvolatile recording medium such as an EEPROM, for example, and stores defective pixel information and inflection point information (an example of a defective pixel information storage unit and an inflection point information storage unit).
  • the defective pixel information is information indicating the position of the defective pixel among the pixels constituting the imaging sensor 3.
  • a defective pixel is a pixel that has become defective in the semiconductor manufacturing process and is not sensitive to light.
  • information indicating the position horizontal and vertical coordinates are employed.
  • the inflection point information is information indicating the inflection point pixel value S of each pixel constituting the imaging sensor 3. Specifically, the inflection point information is information in which information indicating the position and the inflection point pixel value S are associated with each pixel. Note that the inflection point information includes the inflection point pixel value S for the defective pixel.
  • the pixel circuit of CMOS that constitutes each pixel includes a photodiode that accumulates signal charges according to received light, a floating diffusion that converts signal charges accumulated in the photodiodes into voltage signals, and signal charges that are accumulated in the photodiodes. Is transferred to the floating diffusion.
  • the inflection point pixel value S is determined by the opening degree of the gate of the transfer transistor. Therefore, the inflection point pixel value S is dominated by the gate voltage of the transfer transistor, the characteristics of the transfer transistor, and the like.
  • the defective pixel only the photodiode has no sensitivity, and other circuit elements may be normal. Therefore, even in the case of a defective pixel, an inflection point pixel value S may be obtained as in the case of a normal pixel if current is injected from a current source and the photoelectric conversion characteristics are measured. Therefore, even a defective pixel may have an inflection point pixel value S.
  • the memory unit 623 stores inflection point threshold values Sth1, Sth2, pixel threshold values Dth1, Dth2, and a lookup table T.
  • the inflection point threshold values Sth1, Sth2 and the pixel threshold values Dth1, Dth2 are values common to all pixels.
  • the pixel interpolation unit 63 uses the inflection point defective pixel and the defective pixel as an interpolation target pixel, and interpolates the target interpolation target pixel using normal pixels other than the inflection point defective pixel and the defective pixel among the peripheral pixels of the interpolation target pixel. To do.
  • the target interpolation target pixel indicates one interpolation target pixel among the interpolation target pixels.
  • the pixel interpolation unit 63 sequentially determines each interpolation target pixel as a target interpolation target pixel in accordance with, for example, the order of raster scanning.
  • the pixel interpolation unit 63 generates interpolation pixel arrangement information indicating the position of the interpolation target pixel, and extracts a plurality of normal pixels in order of increasing distance from the target interpolation target pixel with reference to the interpolation pixel arrangement information. Then, the target interpolation target pixel is interpolated using the extracted normal pixel. Then, the pixel interpolation unit 63 outputs the pixel value of the interpolated pixel as d ′′ to the gradation conversion unit 64. Note that the pixel interpolation unit 63 outputs the pixel value d ′ output from the inflection point variation correction unit 621 to the gradation conversion unit 64 as the pixel value d ′′ for pixels that have not been interpolated.
  • FIG. 6 is an explanatory diagram of processing in which the pixel interpolation unit 63 generates interpolation pixel arrangement information.
  • FIG. 6 shows a case where the image sensor 3 is monochrome.
  • the arrangement information MA an example of the first arrangement information
  • the arrangement information MB an example of the second arrangement information
  • the interpolation pixel arrangement information MC are information about each pixel in one column in the horizontal direction of the imaging sensor 3, respectively.
  • a buffer for storing, and one field stores information on one pixel.
  • the pixel interpolation unit 63 labels 1 for pixels determined to be inflection point defective pixels, 0 for other pixels, and displays each field of the arrangement information MA according to the determination result output from the interpolation determination unit 622.
  • the 1 or 0 label is stored sequentially. In the example of FIG. 6, 1 is stored in the field with the “X” mark, and 0 is stored in the other fields.
  • a determination result as to whether or not it is a defective pixel is stored.
  • the pixel interpolation unit 63 refers to defective pixel information each time a determination result is input from the interpolation determination unit 622, determines whether or not the pixel corresponding to the determination result is a defective pixel, and determines that it is a defective pixel Stores a label of 1 in the field of the arrangement information MB corresponding to the pixel, and stores a label of 0 in the field of the arrangement information MB corresponding to the pixel when it is not determined as a missing pixel.
  • the interpolated pixel arrangement information MC stores a logical sum (or) of the label stored in each field of the arrangement information MA and the label stored in each field of the arrangement information.
  • the pixel interpolation unit 63 stores the labels stored in the fields of the placement information MA and the fields of the placement information MB. The logical sum with the obtained label is obtained, and the obtained result is stored in each field of the interpolation pixel arrangement information MC.
  • a label of 1 is stored in at least one of the arrangement information MA and MB fields. Therefore, in the interpolation pixel arrangement information MC, 1 label is stored in each field of the pixels P ( ⁇ 2) to P (3).
  • the pixel interpolation unit 63 extracts two normal pixels located closest to each other on one side and the other side in the horizontal direction with respect to the target interpolation target pixel with reference to the interpolation pixel arrangement information MC, and extracts the two The target interpolation target pixel is interpolated using normal pixels.
  • the pixel interpolation unit 63 assigns a higher weight value to a normal pixel that is closer to the target interpolation target pixel, and interpolates the target interpolation target pixel by weighted addition of the pixel values of the extracted normal pixels.
  • Pixel P (0) is the target interpolation target pixel.
  • the pixel P ( ⁇ 3) is a normal pixel that is closest to the pixel P (0) on one side (left side) in the horizontal direction.
  • the pixel P (4) is a normal pixel that is closest to the pixel P (0) on the other side (right side) in the horizontal direction.
  • the pixel interpolation unit 63 sets a weight value of 4/7 for the pixel P ( ⁇ 3) and sets a weight value of 3/7 for the pixel P (0). That is, the pixel interpolation unit 63 sets the weight value of the pixel P ( ⁇ 3) to the distance l2 / (distance l1 + distance l2), and sets the weight value of the pixel P (4) to the distance l1 / (distance l1 + distance l2). ). Thereby, a higher weight value is set for a normal pixel that is closer to the target interpolation target pixel.
  • the pixel value of the pixel P ( ⁇ 3) is d ′ ( ⁇ 3)
  • the pixel value of the pixel P (4) is d ′ (4)
  • the pixel value of the pixel P (0) is d ′′ (0).
  • the pixel value d (0) is obtained by the following equation, and the pixel P (0) is interpolated.
  • d ′′ (0) (4/7) ⁇ d ′ ( ⁇ 3) + (3/4) ⁇ d ′ (4)
  • the normal pixels located at the shortest distances on the left side and the right side are used.
  • the present invention is not limited to this, and the target interpolation target pixel is determined using a plurality of normal pixels on each of the left side and the right side. Interpolation may be performed. Alternatively, interpolation may be performed using only one normal pixel, for example, the normal pixel P ( ⁇ 3) closest to the target interpolation target pixel P (0).
  • the pixel interpolation unit 63 may further add the pixel P ( ⁇ 4) to interpolate the target interpolation target pixel. If the pixel P (5) is also a normal pixel, the pixel P (5) may be further added to interpolate the target interpolation target pixel.
  • FIG. 6 shows the case where the image sensor 3 is monochrome, but in the case of color, the following mode may be adopted.
  • FIG. 7 is an explanatory diagram of a process in which the pixel interpolation unit 63 generates the interpolation pixel arrangement information MC when the image sensor 3 is color.
  • the pixel interpolation unit 63 may interpolate the target interpolation target pixel using the normal pixel of the same color pixel located at the shortest distance on each of the left side and the right side with respect to the target interpolation target pixel.
  • the pixel interpolation unit 63 generates the array information MA and MB in the same manner as in the monochrome case. Further, the pixel interpolation unit 63 prepares interpolation pixel arrangement information MC for each of R, G, and B colors. If the target interpolation target pixel is R, a logical sum of labels of the R pixel field in the arrangement information MA and the R pixel field in the arrangement information MB is obtained in the R interpolation pixel arrangement information MC. , R interpolation pixel arrangement information MC is generated.
  • the pixel interpolation unit 63 uses the normal pixel that is the same color as the target interpolation target pixel and is located at the shortest distance in the left and right sides in the R interpolation pixel arrangement information MC, and performs the target interpolation.
  • the target pixel is corrected.
  • the pixels P ( ⁇ 3), P ( ⁇ 1), P (1), and P (3) are labeled with 0 in the interpolation pixel arrangement information MC, but are different from the target interpolation target pixel. Therefore, it is not used for interpolation.
  • the pixel P ( ⁇ 4) is a normal pixel of the same color located at the shortest distance on the left side with respect to the target interpolation target pixel, and the pixel P (4) is the same color positioned at the shortest distance on the right side with respect to the target interpolation target pixel. Normal pixel. Therefore, the pixel interpolation unit 63 sets weight values for the pixel P ( ⁇ 4) and the pixel P (4) and interpolates the target interpolation target pixel, as in the case of monochrome.
  • the pixel interpolation unit 63 has two normal pixels located closest to each other on the left side and the right side with respect to the target interpolation target pixel, and one side (upper side) and the other side (lower side) in the vertical direction. May be extracted with reference to the interpolation pixel arrangement information, and the target interpolation target pixel may be interpolated using the extracted four normal pixels.
  • the pixel interpolation unit 63 may adopt a unit that stores information about all the pixels of the image sensor 3 as the arrangement information MA and MB and the interpolation pixel arrangement information MC. Thereby, normal pixels in the vertical direction can be searched.
  • the pixel interpolation unit 63 may obtain the weight value of each normal pixel using the above-described method so that the normal value closer to the target interpolation target pixel has a higher weight value.
  • the pixel interpolation unit 63 may interpolate the target interpolation target pixel using a plurality of normal pixels instead of one normal pixel in each of the upper, lower, left, and right directions.
  • the pixel interpolation unit 63 also includes a distance lH between the normal pixel PL that is the shortest distance on the left side of the target interpolation target pixel and the normal pixel PR that is the shortest distance on the right side of the target interpolation target pixel, and the target interpolation. Comparing the distance LV between the normal pixel PU that is the shortest distance above the target pixel and the normal pixel PD that is the shortest distance below the target interpolation target pixel, The target interpolation target pixel may be interpolated using the pixel.
  • the pixel interpolation unit 63 interpolates the target interpolation target pixel using two normal pixels PU and PD in the vertical direction, and the distance 1H is longer than the distance 1V. If it is short, the target interpolation target pixel may be interpolated using the two normal pixels PL and PR in the horizontal direction.
  • the gradation conversion unit 64 performs a histogram equalization process, a dynamic range compression process, and the like on the pixel value d ′′ output from the pixel interpolation unit 63.
  • the histogram equalization process is a process for uniformly distributing the gray level distribution in the image. Thereby, the contrast of an image can be clarified.
  • the dynamic range compression processing for example, the technique described in Masami Ogata “Image Dynamic Range Compression Technology”, Nihon Kogyo Shuppan, Image Lab, 2004, June issue can be employed.
  • the Bayer interpolation unit 65 executes Bayer interpolation, which is an interpolation process for interpolating missing pixels in each color component that occurs because each pixel constituting the imaging sensor 3 has a Bayer array. As a result, image data representing one image is represented by three image data corresponding to the three color components R, G, and B. If the image sensor 3 is a monochrome image sensor, the Bayer interpolation unit 65 may be omitted.
  • the tone curve correction unit 66 performs gamma correction on the image value output from the Bayer interpolation unit 65.
  • the pixel value output from the tone curve correction unit 66 is stored in the image memory 7 shown in FIG.
  • the operation unit 10 receives an imaging command from the user, the image data captured by the imaging sensor 3 is amplified to a predetermined level by the amplifier 4 and A / D conversion is performed by the A / D conversion unit 5. Input to the image processing unit 6.
  • the pixel value input to the image processing unit 6 is corrected in black level by the black variation correcting unit 61, and sequentially supplied to the inflection point variation correcting unit 621 and the interpolation determining unit 622 as the pixel value d.
  • the pixel value d supplied to the inflection point variation correcting unit 621 has the photoelectric conversion characteristic unified to a linear characteristic common to all pixels, and is supplied to the pixel interpolating unit 63 as a pixel value d ′.
  • the interpolation determination unit 622 determines whether or not the pixel value d is an inflection point defective pixel. Then, the determination result is supplied to the pixel interpolation unit 63.
  • the pixel interpolation unit 63 stores a 1 or 0 label in each field of the placement information MB shown in FIG. 6 according to the determination result by the interpolation determination unit 622, and at the same time, 1 or 0 in each field of the placement information MA according to the defective pixel information. Stores the label.
  • the pixel interpolation unit 63 When the pixel interpolation unit 63 stores labels for one column in the horizontal direction in the arrangement information MA and the arrangement information MB, the pixel interpolation unit 63 obtains a logical sum of the arrangement information MA and the arrangement information MB, and generates the interpolation pixel arrangement information MC. To do. Then, the pixel interpolation unit 63 sequentially sets the pixels in which the label of 1 is stored in the interpolation pixel arrangement information MC as the target interpolation target pixel, and positions the normal pixel located at the shortest distance on the left side and the shortest distance on the right side. The target pixel to be interpolated is interpolated using the normal pixel. In the interpolation pixel arrangement information MC, the pixel value d ′ before interpolation of the interpolation target pixel is updated to the pixel value d ′′ after interpolation.
  • the pixel interpolation unit 63 supplies each pixel value stored in each field of the interpolation pixel arrangement information MC to the gradation conversion unit 64 as a pixel value d ′′.
  • the pixel value d ′′ is subjected to histogram equalization processing and dynamic range compression processing by the gradation conversion unit 64, Bayer interpolation is performed by the Bayer interpolation unit 65, and gamma correction is performed by the tone curve correction unit 66. It is supplied to the memory 7 and the like. The above processing is repeated, and one piece of image data is stored in the image memory 7.
  • FIG. 8 is a graph showing problems in interpolation processing when only inflection point defective pixels are set as interpolation target pixels without considering defective pixels.
  • the vertical axis indicates the pixel value
  • the horizontal axis indicates the pixel value of one column in the horizontal direction.
  • pixels G (1), G (2), G (4), G (7) are inflection point defective pixels, and pixels G (3), G (5), G (6) are defective. Pixel. Pixels G ′ (1) to G ′ (7) are pixels after interpolation.
  • pixels G (1), G (2), and G (7) do not have defective pixels in the periphery, interpolation using defective pixels is not performed. Therefore, the interpolated pixels G ′ (1), G ′ (2), and G ′ (7) are not significantly different from the pixel values of the surrounding pixels, and the interpolation is successful.
  • the pixel G (4) includes pixels G (3) and G (5) which are defective pixels, the pixel G ′ (3) or the pixel G (3) and the pixel G ′ (5) are present.
  • interpolation is performed using the pixel G (5).
  • the pixel G (4) is dragged by the defective pixel, the pixel value is greatly reduced as compared with the surrounding pixels, and the interpolation fails.
  • interpolation target pixels are interpolated without using inflection point defective pixels and defective pixels. Therefore, the interpolation target pixel is interpolated using only normal pixels, so that accurate interpolation can be realized.
  • FIG. 9 is a screen diagram showing the effect of the interpolation processing by the imaging apparatus 1 according to the embodiment of the present invention.
  • FIG. 9A shows a case where interpolation is performed without considering defective pixels
  • FIG. 9B shows a case where interpolation is performed according to this embodiment.
  • the normal pixels are extracted in consideration of the horizontal direction or the vertical direction with respect to the interpolation target pixel.
  • the present invention is not limited to this, and the normal pixels may be extracted in consideration of the oblique direction. Good.
  • the interpolation target pixel may be interpolated.
  • the interpolation target pixels may be interpolated using a predetermined number (for example, two) of normal pixels in order of increasing distance among normal pixels located at the shortest distance in each of the eight directions.
  • the normal pixel PU with the shortest distance in the upward direction the normal pixel PD with the shortest distance in the downward direction
  • the normal pixel PL with the shortest distance in the left direction the normal pixel PR with the shortest distance in the right direction
  • the normal pixel with the shortest distance in the upper left direction the normal pixel PU with the shortest distance in the upward direction
  • the normal pixel PD with the shortest distance in the downward direction the normal pixel PL with the shortest distance in the left direction
  • the normal pixel PR with the shortest distance in the right direction the normal pixel with the shortest distance in the upper left direction.
  • the interpolation target pixel may be interpolated using two normal pixels having the smallest distance among the distance l2, the distance l3 between the normal pixels PA and PD, and the distance l4 between the normal pixels PB and PC.
  • An imaging device includes an imaging device including a plurality of pixels having different photoelectric conversion characteristics at an inflection point, and a defective pixel indicating a position of a defective pixel among pixels constituting the imaging device.
  • a defective pixel information storage unit that stores information in advance
  • an inflection point information storage unit that stores inflection point information indicating an inflection point pixel value that is a pixel value of an inflection point of each pixel
  • An interpolation determination unit that determines whether or not the pixel is an inflection point defective pixel based on the pixel value when the subject is imaged and the inflection point pixel value, and the inflection point defective pixel and the defective pixel are to be interpolated
  • a pixel interpolation unit that interpolates the interpolation target pixel using a normal pixel other than the inflection point defective pixel and a normal pixel other than the defective pixel.
  • the interpolation target pixel is interpolated using not only the inflection point defective pixel but also normal pixels other than the defective pixel. Therefore, the pixel value after interpolation is prevented from being greatly affected by the pixel value of the defective pixel, and the interpolation accuracy can be increased.
  • the pixel interpolation unit generates interpolation pixel arrangement information indicating the position of the interpolation target pixel, extracts normal pixels in the vicinity of the interpolation target pixel with reference to the interpolation pixel arrangement information, and extracts the extracted normal It is preferable to interpolate the interpolation target pixel using a pixel.
  • the interpolation pixel arrangement information indicating the position of the interpolation target pixel is generated, and the normal pixel located in the vicinity of the interpolation target pixel is searched based on the generated information. Therefore, the normal pixel can be searched with high accuracy. it can.
  • the pixel interpolation unit generates first arrangement information indicating the arrangement of the inflection point defective pixels based on the determination result of the interpolation determination unit, and based on the defective pixel information, It is preferable that second arrangement information indicating arrangement is generated, and the interpolation pixel arrangement information is generated from a logical sum of the first arrangement information and the second arrangement information.
  • the interpolation pixel arrangement information is calculated using the logical sum of the first arrangement information and the second arrangement information, the interpolation pixel arrangement information can be calculated quickly and accurately.
  • the pixel interpolation unit extracts and extracts the normal pixels located close to each other on one side and the other side in the horizontal direction with respect to the interpolation target pixel with reference to the interpolation pixel arrangement information It is preferable that the interpolation target pixel is interpolated using at least the normal pixel.
  • interpolation processing can be performed if interpolation pixel arrangement information for one column in the horizontal direction is obtained without waiting for interpolation pixel arrangement information for all pixels to be obtained. Therefore, interpolation processing can be performed at high speed.
  • the pixel interpolating unit is close to the normal pixel located on each of one side and the other side in the horizontal direction and on one side and the other side in the vertical direction with respect to the interpolation target pixel. It is preferable that the normal pixels located are extracted with reference to the interpolation pixel arrangement information, and the interpolation target pixel is interpolated using at least one of the extracted normal pixels.
  • the pixel interpolation unit compares the distance between the normal pixels extracted in the horizontal direction with the distance between the normal pixels extracted in the vertical direction, and uses at least the normal pixels in a short distance direction. It is preferable to interpolate the interpolation target pixel.
  • the distance between the normal pixels searched in the horizontal direction and the distance between the normal pixels searched in the vertical direction are compared, and interpolation processing is performed using at least normal pixels in a direction closer to the distance. Interpolation accuracy can be improved.
  • the pixel interpolation unit When interpolating the interpolation target pixel using the extracted normal pixel, the pixel interpolation unit preferably interpolates the interpolation target pixel using an average value of pixel values of the extracted normal pixels. .
  • the pixel interpolation unit assigns a higher weight value to the normal pixel that is closer to the interpolation target pixel, and extracts the normal pixel It is preferable to interpolate the pixel to be interpolated by weighting and adding the pixel values.
  • the normal value closer to the interpolation target pixel has a higher weight value, so that the interpolation accuracy can be further increased.
  • the interpolation determination unit converts the inflection point pixel value to the inflection point. It is preferable to determine as a point defect pixel.
  • the pixel is adopted as a normal pixel.
  • the number of interpolation target pixels can be reduced and the resolution can be increased.
  • the interpolation determination unit converts the inflection point pixel value to the inflection point. It is preferable to determine as a point defect pixel.
  • the pixel is adopted as a normal pixel.
  • the number of interpolation target pixels can be reduced and the resolution can be increased.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

By executing a prescribed feature conversion process on pixel values (d) of pixels which are read with a plurality of pixels, an inflection point scattering correction unit (621) unifies photoelectric conversion features of each pixel with linear features common to all pixels. An interpolation assessment unit (622) receives sequential input of the pixel values (d) of the pixels from a black scattering correction unit (61), assesses whether each pixel is an inflection point defective pixel, and notifies a pixel interpolation unit (63) of the result of the assessment. The pixel interpolation unit (63) treats the inflection point defective pixels and the defective pixels as pixels to be interpolated, and interpolates the pixels to be interpolated, employing, in the interpolation, peripheral pixels of the pixels to be interpolated which are regular pixels other than the inflection point defective pixels and the defective pixels.

Description

撮像装置Imaging device

 本発明は、変曲点を境に異なる光電変換特性を有する複数の画素からなる撮像素子を備える撮像装置に関するものである。 The present invention relates to an image pickup apparatus including an image pickup element including a plurality of pixels having different photoelectric conversion characteristics at an inflection point.

 近年、ダイナミックレンジの拡大を図るために、変曲点を境に異なる光電変換特性を有する複数の画素からなる撮像素子が知られている。このような撮像素子としては、例えば、変曲点よりも低輝度側は線形の光電変換特性(以下、「リニア特性」という)、高輝度側は対数の光電変換特性(以下、ログ特性と言う)を有するものがある。なお、リニア特性とログ特性とからなる光電変換特性をリニアログ特性という。 In recent years, in order to expand the dynamic range, an image sensor composed of a plurality of pixels having different photoelectric conversion characteristics at an inflection point is known. As such an image pickup device, for example, the lower luminance side than the inflection point is linear photoelectric conversion characteristics (hereinafter referred to as “linear characteristics”), and the higher luminance side is logarithmic photoelectric conversion characteristics (hereinafter referred to as log characteristics). ). A photoelectric conversion characteristic composed of a linear characteristic and a log characteristic is called a linear log characteristic.

 撮像素子には画素欠陥が存在しており、この画素欠陥を持つ画素は欠陥画素と呼ばれている。また、リニアログ特性を有する撮像素子では、変曲点が所定値よりも高いと高輝度側で画素値が飽和してしまう場合がある。また、変曲点が所定値よりも低いと低輝度側で画素値がマイナスになってしまう場合がある。このような異常な画素値を持つ画素を、ここでは変曲点欠陥画素と呼ぶ。 A pixel defect exists in the image sensor, and a pixel having this pixel defect is called a defective pixel. Further, in an image sensor having a linear log characteristic, if the inflection point is higher than a predetermined value, the pixel value may be saturated on the high luminance side. Further, if the inflection point is lower than a predetermined value, the pixel value may become negative on the low luminance side. A pixel having such an abnormal pixel value is referred to herein as an inflection point defective pixel.

 例えば、特許文献1には、周辺画素に欠陥画素が存在しない単独欠陥画素のアドレス情報を予め記憶する第1の補正用データと、周辺に欠陥画素が存在する欠陥画素のアドレス情報を予め記憶する第2の補正用データとを備え、第1の補正用データを用いて単独欠陥画素を補正した後、第2の補正用データを用いて欠陥画素を補正することが開示されている。 For example, Patent Document 1 stores in advance first correction data that stores in advance address information of a single defective pixel in which no defective pixel exists in the peripheral pixels, and address information of defective pixels in which defective pixels exist in the periphery. And correcting the single defective pixel using the first correction data, and then correcting the defective pixel using the second correction data.

 特許文献2には、リニアログ特性の画素を持つ撮像装置において、変曲点の画素値が所定の変曲点閾値より高い画素が、所定の画素閾値よりも高い画素値を出力した場合、当該画素を変曲点欠陥画素とし、変曲点欠陥画素以外の周辺画素を用いて変曲点欠陥画素を補間することが開示されている。 In Patent Document 2, in an imaging apparatus having pixels with linear log characteristics, when a pixel whose inflection point pixel value is higher than a predetermined inflection point threshold value outputs a pixel value higher than the predetermined pixel threshold value, Is an inflection point defective pixel, and the inflection point defective pixel is interpolated using peripheral pixels other than the inflection point defect pixel.

 特許文献3には、リニアログ特性の画素を持つ撮像装置において、変曲点の画素値が所定の変曲点閾値より低い画素が、所定の画素閾値よりも低い画素値を出力した場合、当該画素を変曲点欠陥画素とし、変曲点欠陥画素以外の周辺画素を用いて変曲点欠陥画素を補間する技術が開示されている。 In Patent Document 3, in an imaging device having pixels with linear log characteristics, when a pixel whose inflection point has a pixel value lower than a predetermined inflection point threshold outputs a pixel value lower than the predetermined pixel threshold, Is a technique for interpolating an inflection point defective pixel using peripheral pixels other than the inflection point defect pixel.

 しかしながら、特許文献1の手法では、第1の補正用データ及び第2の補正用データに記憶された画素が一律に補間対象の画素として特定されており、画素値に応じて補間対象にするか否かを特定することは行われていない。そのため、補間対象となる画素が増大するという問題がある。 However, in the method of Patent Document 1, the pixels stored in the first correction data and the second correction data are uniformly specified as pixels to be interpolated. It is not specified whether or not. Therefore, there is a problem that the number of pixels to be interpolated increases.

 また、特許文献2の第2図、特許文献3の第2図に示されるように欠陥画素を周辺画素を用いて補間する欠陥補間部が、変曲点欠陥画素を補間する変曲点補間部よりも上流側に配置されている。したがって、変曲点欠陥画素が補間後の欠陥画素の画素値を用いて補間されるという問題がある。 Further, as shown in FIG. 2 of Patent Document 2 and FIG. 2 of Patent Document 3, a defect interpolation unit that interpolates defective pixels using peripheral pixels, and an inflection point interpolation unit that interpolates inflection point defective pixels. It is arranged on the upstream side. Therefore, there is a problem that the inflection point defective pixel is interpolated using the pixel value of the defective pixel after interpolation.

特開2005-333620号公報JP 2005-333620 A 特許第4586942号公報Japanese Patent No. 4586942 特許第4586941号公報Japanese Patent No. 4586941

 本発明の目的は、補間対象画素に隣接する画素が変曲点欠陥画素である場合のみならず欠陥画素であるか否かを考慮に入れて補間対象画素を補間する撮像装置を提供することである。 An object of the present invention is to provide an imaging device that interpolates an interpolation target pixel in consideration of whether or not the pixel adjacent to the interpolation target pixel is a defective pixel as well as whether or not the pixel is an inflection point defective pixel. is there.

 本発明の一態様による撮像装置は、変曲点を境に異なる光電変換特性を持つ複数の画素を備える撮像素子と、前記撮像素子を構成する画素のうち欠陥画素の位置を示す欠陥画素情報を予め記憶する欠陥画素情報記憶部と、各画素の変曲点の画素値である変曲点画素値を示す変曲点情報を予め記憶する変曲点情報記憶部と、各画素につき、被写体を撮像したときの画素値と前記変曲点画素値とに基づいて、変曲点欠陥画素であるか否かを判定する補間判定部と、前記変曲点欠陥画素及び欠陥画素を補間対象画素とし、前記補間対象画素を前記変曲点欠陥画素以外の正常画素と前記欠陥画素以外の正常画素とを用いて補間する画素補間部とを備える。 An imaging device according to one embodiment of the present invention includes an imaging element including a plurality of pixels having different photoelectric conversion characteristics with an inflection point as a boundary, and defective pixel information indicating a position of a defective pixel among pixels constituting the imaging element. A defective pixel information storage unit that stores in advance, an inflection point information storage unit that stores inflection point information indicating an inflection point pixel value that is a pixel value of an inflection point of each pixel, and a subject for each pixel. An interpolation determination unit that determines whether the pixel is an inflection point defective pixel based on the pixel value at the time of imaging and the inflection point pixel value, and the inflection point defective pixel and the defective pixel are set as interpolation target pixels. And a pixel interpolation unit that interpolates the interpolation target pixel using normal pixels other than the inflection point defective pixel and normal pixels other than the defective pixel.

本発明の実施の形態による撮像装置のブロック図である。1 is a block diagram of an imaging apparatus according to an embodiment of the present invention. 図1に示す画像処理部の詳細な構成を示すブロック図である。FIG. 2 is a block diagram illustrating a detailed configuration of an image processing unit illustrated in FIG. 1. 撮像センサを構成するある画素の光電変換特性を示したグラフである。It is the graph which showed the photoelectric conversion characteristic of a certain pixel which constitutes an image sensor. ルックアップテーブルの一例を示した図である。It is the figure which showed an example of the lookup table. 変曲点が異なる画素の光電変換特性を示したグラフで、(A)は変曲点P1の変曲点画素値Sが所定の変曲点閾値Sth1以上の場合を示し、(B)は変曲点P1の変曲点画素値Sが所定の変曲点閾値Sth2以下の場合を示している。In the graph showing the photoelectric conversion characteristics of pixels having different inflection points, (A) shows the case where the inflection point pixel value S at the inflection point P1 is equal to or larger than a predetermined inflection point threshold Sth1, and (B) shows the change. The case where the inflection point pixel value S of the inflection point P1 is equal to or less than a predetermined inflection point threshold value Sth2 is shown. 画素補間部が補間画素配置情報を生成する処理の説明図である。It is explanatory drawing of the process in which a pixel interpolation part produces | generates interpolation pixel arrangement | positioning information. 撮像センサがカラーの場合において、画素補間部が補間画素配置情報を生成する処理の説明図である。It is explanatory drawing of the process in which a pixel interpolation part produces | generates interpolation pixel arrangement | positioning information, when an imaging sensor is a color. 欠陥画素を考慮することなく変曲点欠陥画素のみを補間対象画素とした場合における補間処理の問題点を示したグラフである。It is the graph which showed the problem of the interpolation process in case only an inflection point defective pixel is made into an interpolation object pixel, without considering a defective pixel. 本発明の実施の形態による撮像装置による補間処理の効果を示す画面図である。It is a screen figure which shows the effect of the interpolation process by the imaging device by embodiment of this invention.

 図1は、本発明の実施の形態による撮像装置のブロック図である。図1に示すように撮像装置1は、例えばデジタルカメラから構成され、レンズ部2、撮像センサ3(撮像素子の一例)、アンプ4、A/D変換部5、画像処理部6、画像メモリ7、制御部8、モニタ部9、及び操作部10を備えている。 FIG. 1 is a block diagram of an imaging apparatus according to an embodiment of the present invention. As shown in FIG. 1, the imaging apparatus 1 includes, for example, a digital camera, and includes a lens unit 2, an imaging sensor 3 (an example of an imaging element), an amplifier 4, an A / D conversion unit 5, an image processing unit 6, and an image memory 7. , A control unit 8, a monitor unit 9, and an operation unit 10.

 レンズ部2は、被写体の光像を取り込み、撮像センサ3へ導く光学レンズ系から構成される。光学レンズ系としては、被写体の光像の光軸Lに沿って直列的に配置される例えばズームレンズやフォーカスレンズ、その他の固定レンズブロック等を採用することができる。また、レンズ部2は、透過光量を調節するための絞り(図略)、シャッタ(図略)等を備え、制御部8の制御の下、絞り及びシャッタの駆動が制御される。 The lens unit 2 includes an optical lens system that captures an optical image of a subject and guides it to the image sensor 3. As the optical lens system, for example, a zoom lens, a focus lens, other fixed lens blocks, and the like arranged in series along the optical axis L of the optical image of the subject can be employed. The lens unit 2 includes a diaphragm (not shown) for adjusting the amount of transmitted light, a shutter (not shown), and the like, and the driving of the diaphragm and the shutter is controlled under the control of the control unit 8.

 撮像センサ3は、所定行×所定列でマトリックス状に配列され、変曲点を境に異なる光電変換特性を有する複数の画素を備え、レンズ部2において結像された光像を光電変換して、光量に応じたレベルを有するR(赤)、G(緑)、B(青)の各色成分の画素値からなる画像データを生成し、アンプ4へ出力する。 The imaging sensor 3 includes a plurality of pixels arranged in a matrix of predetermined rows × predetermined columns and having different photoelectric conversion characteristics at an inflection point, and photoelectrically converts a light image formed in the lens unit 2. Image data composed of pixel values of R (red), G (green), and B (blue) color components having a level corresponding to the amount of light is generated and output to the amplifier 4.

 ここで、撮像センサ3としては、CMOSイメージセンサ、VMIS(Threshold Voltage Modulation Image Sensor)イメージセンサ、又はCCDイメージセンサ等の撮像センサを採用してもよい。 Here, as the image sensor 3, an image sensor such as a CMOS image sensor, a VMIS (Threshold Voltage Modulation Image Sensor) image sensor, or a CCD image sensor may be employed.

 なお、これは一例であり、モノクロ画像を撮像する撮像センサ3を用いてもよい。そして、撮像センサ3は、例えば、左上端の画素から右下端の画素に向けてラスタ走査するように、各画素で読み取られた画素値を順次に出力する。 Note that this is an example, and an imaging sensor 3 that captures a monochrome image may be used. Then, the imaging sensor 3 sequentially outputs pixel values read by each pixel so as to perform raster scanning from the upper left pixel toward the lower right pixel, for example.

 また、本実施の形態では、図3に示すように、各画素は、低輝度側の光電変換特性がリニア特性であり、高輝度側の光電変換特性がログ特性となっている。図3は、撮像センサ3を構成するある画素の光電変換特性を示したグラフである。なお、図3の縦軸は画素値を示し、横軸は輝度を対数で示している。 Further, in this embodiment, as shown in FIG. 3, each pixel has a low luminance side photoelectric conversion characteristic as a linear characteristic and a high luminance side photoelectric conversion characteristic as a log characteristic. FIG. 3 is a graph showing the photoelectric conversion characteristics of a certain pixel constituting the image sensor 3. In addition, the vertical axis | shaft of FIG. 3 has shown the pixel value, and the horizontal axis has shown the luminance logarithmically.

 グラフG1において、低輝度側のリニア範囲51がリニア特性を示し、高輝度側のログ範囲52がログ特性を示している。リニア範囲51とログ範囲52との境界が変曲点P1である。なお、リニア範囲51において、グラフG1が曲線を描き、ログ範囲52において、グラフG1が直線を描いているのは、横軸が対数軸だからである。 In the graph G1, the low luminance side linear range 51 shows linear characteristics, and the high luminance side log range 52 shows log characteristics. The boundary between the linear range 51 and the log range 52 is the inflection point P1. In the linear range 51, the graph G1 draws a curve, and in the log range 52, the graph G1 draws a straight line because the horizontal axis is a logarithmic axis.

 このように、高輝度側をログ特性にすることで、ログ範囲52におけるグラフG1の傾きがリニア範囲51におけるグラフG1の傾きよりも小さくなる。一方、画素がリニア特性しか持たない場合、光電変換特性はグラフL1のように変化する。よって、飽和画素値に対する輝度が、グラフL1に比べてグラフG1の方が高くなる。その結果、リニアログ特性を採用することで、ダイナミックレンジDLを広くすることができるのである。以下、変曲点P1の画素値を変曲点画素値Sと記述する。 Thus, by setting the high luminance side to the log characteristic, the slope of the graph G1 in the log range 52 becomes smaller than the slope of the graph G1 in the linear range 51. On the other hand, when the pixel has only a linear characteristic, the photoelectric conversion characteristic changes as in the graph L1. Therefore, the luminance with respect to the saturated pixel value is higher in the graph G1 than in the graph L1. As a result, the dynamic range DL can be widened by adopting the linear log characteristics. Hereinafter, the pixel value of the inflection point P1 is described as the inflection point pixel value S.

 図1に戻り、アンプ4は、例えばAGC(オートゲインコントロール)回路、及びCDS(相関二重サンプリング)回路等を含み、撮像センサ3から出力された画像データからノイズ成分を除去し、ノイズ成分を除去した画像データを増幅する。A/D変換部5は、アンプ4により増幅されたR,G,B各色の画像データをR,G,B各色のデジタルの画像データに変換する。本実施の形態では、撮像センサ3の各画素で受光された画素の画素値は、例えば12ビットの階調値を有する画素値に変換される。 Returning to FIG. 1, the amplifier 4 includes, for example, an AGC (auto gain control) circuit, a CDS (correlated double sampling) circuit, and the like, removes noise components from the image data output from the image sensor 3, and removes noise components. The removed image data is amplified. The A / D converter 5 converts the R, G, and B color image data amplified by the amplifier 4 into R, G, and B digital image data. In the present embodiment, the pixel value of the pixel received by each pixel of the image sensor 3 is converted into a pixel value having a 12-bit gradation value, for example.

 画像処理部6は、後述するような画像処理を実行する。画像メモリ7は、例えばRAM(Random Access Memory)から構成され、画像処理部6で画像処理が施された画像データ等を保存する。 The image processing unit 6 performs image processing as will be described later. The image memory 7 is composed of, for example, a RAM (Random Access Memory), and stores image data subjected to image processing by the image processing unit 6.

 制御部8は、各種制御プログラム等を記憶するROM、一時的にデータを格納するRAM及び制御プログラム等をROMから読み出して実行する中央演算処理装置(CPU)等を備え、撮像装置全体の動作制御を司る。 The control unit 8 includes a ROM that stores various control programs, a RAM that temporarily stores data, a central processing unit (CPU) that reads and executes control programs from the ROM, and the like. To manage.

 モニタ部9は、例えば撮像装置のハウジングの背面に配設されたカラー液晶表示器が採用され、撮像センサ3で撮影された画像或いは画像メモリ7に保存されていた画像等をモニタ表示する。 The monitor unit 9 employs, for example, a color liquid crystal display disposed on the back surface of the housing of the imaging apparatus, and displays on the monitor an image taken by the imaging sensor 3 or an image stored in the image memory 7.

 操作部10は、電源スイッチ、レリーズスイッチ、各種撮影モードを設定するモード設定スイッチ、メニュー選択スイッチ等の各種の操作スイッチ群等を含む。レリーズスイッチが押されることで、撮像センサ3により被写体の光像が撮像されて、被写体の画像データが取得され、取得された画像データ対して所定の画像処理が施され、画像メモリ7等に記録される。なお、画像データを画像メモリ7に記録させず、画像処理部6からデジタル信号として出力させたり、D/A変換してNTSC等のアナログ信号として出力させたりしてもよい。 The operation unit 10 includes various operation switch groups such as a power switch, a release switch, a mode setting switch for setting various shooting modes, and a menu selection switch. When the release switch is pressed, a light image of the subject is picked up by the image pickup sensor 3, image data of the subject is acquired, predetermined image processing is performed on the acquired image data, and the image data is recorded in the image memory 7 or the like. Is done. The image data may be output as a digital signal from the image processing unit 6 without being recorded in the image memory 7, or may be D / A converted and output as an analog signal such as NTSC.

 図2は、図1に示す画像処理部6の詳細な構成を示すブロック図である。画像処理部6は、黒バラツキ補正部61、特性変換部62、画素補間部63、階調変換部64、ベイヤー補間部65、及びトーンカーブ補正部66を備えている。黒バラツキ補正部61は、撮像センサ3を構成する各画素の黒レベルのばらつきを補正する。 FIG. 2 is a block diagram showing a detailed configuration of the image processing unit 6 shown in FIG. The image processing unit 6 includes a black variation correction unit 61, a characteristic conversion unit 62, a pixel interpolation unit 63, a gradation conversion unit 64, a Bayer interpolation unit 65, and a tone curve correction unit 66. The black variation correction unit 61 corrects the variation in the black level of each pixel constituting the image sensor 3.

 特性変換部62は、変曲点バラツキ補正部621、補間判定部622、及びメモリ部623を備え、各画素の光電変換特性を所定の基準光電変換特性に変換する。なお、黒バラツキ補正部61からはR,G,Bの色成分が例えばベイヤー配列で配列された1枚の画像データが出力される。 The characteristic conversion unit 62 includes an inflection point variation correction unit 621, an interpolation determination unit 622, and a memory unit 623, and converts the photoelectric conversion characteristic of each pixel into a predetermined reference photoelectric conversion characteristic. The black variation correcting unit 61 outputs one piece of image data in which R, G, and B color components are arranged in, for example, a Bayer array.

 本実施の形態では、基準光電変換特性としてリニア特性を採用し、ログ特性をリニア特性に変換する。 In this embodiment, linear characteristics are adopted as the reference photoelectric conversion characteristics, and the log characteristics are converted into linear characteristics.

 変曲点バラツキ補正部621は、各画素で読み取られた画素の画素値dに所定の特性変換処理を実行することで、各画素の光電変換特性を全画素共通のリニア特性に統一させる。 The inflection point variation correcting unit 621 performs a predetermined characteristic conversion process on the pixel value d of the pixel read by each pixel, thereby unifying the photoelectric conversion characteristics of each pixel to a linear characteristic common to all pixels.

 ここで、変曲点バラツキ補正部621は、各画素から出力された画素値dを、各画素の変曲点画素値Sと比較することで、当該画素値dがリニア範囲51に属するリニア特性の画素値か、ログ範囲52に属するログ特性の画素値かを判定する。そして、変曲点バラツキ補正部621は、画素値dがリニア特性であると判定した場合は、画素値dを画素値d´としてそのまま画素補間部63に出力する。 Here, the inflection point variation correcting unit 621 compares the pixel value d output from each pixel with the inflection point pixel value S of each pixel, so that the pixel value d belongs to the linear range 51. Or the pixel value of the log characteristic belonging to the log range 52 is determined. When the inflection point variation correcting unit 621 determines that the pixel value d has linear characteristics, the inflection point variation correcting unit 621 outputs the pixel value d as the pixel value d ′ to the pixel interpolating unit 63 as it is.

 一方、変曲点バラツキ補正部621は、画素値dがログ特性であると判定した場合は、画素値dに特性変換処理を実行し、画素値dをリニア特性の画素値d´に変換し、画素値d´を画素補間部63に出力する。 On the other hand, when the inflection point variation correcting unit 621 determines that the pixel value d has log characteristics, the inflection point variation correcting unit 621 performs a characteristic conversion process on the pixel value d and converts the pixel value d into a linear characteristic pixel value d ′. The pixel value d ′ is output to the pixel interpolation unit 63.

 なお、各画素の変曲点画素値Sはメモリ部623に予め記憶されているため、変曲点バラツキ補正部621はメモリ部623を参照することで各画素の変曲点画素値Sを特定すればよい。 Since the inflection point pixel value S of each pixel is stored in advance in the memory unit 623, the inflection point variation correction unit 621 identifies the inflection point pixel value S of each pixel by referring to the memory unit 623. do it.

 具体的には、変曲点バラツキ補正部621は、黒バラツキ補正部61から出力された画素値dがd<Sの場合、この画素値dはリニア特性であると判定し、d≧Sの場合、この画素値dはログ特性であると判定する。 Specifically, when the pixel value d output from the black variation correcting unit 61 is d <S, the inflection point variation correcting unit 621 determines that the pixel value d is a linear characteristic, and d ≧ S. In this case, the pixel value d is determined to be log characteristics.

 ここで、変曲点バラツキ補正部621は、ログ特性の画素値dをリニア特性の画素値d´に変換した場合の対応関係が予め定められたルックアップテーブルを用いて、ログ特性の画素値dをリニア特性の画素値d´に変換すればよい。図4は、ルックアップテーブルTの一例を示した図である。 Here, the inflection point variation correcting unit 621 uses a look-up table in which a correspondence relationship when the pixel value d of the log characteristic is converted into the pixel value d ′ of the linear characteristic is used to determine the pixel value of the log characteristic. What is necessary is just to convert d into the pixel value d 'of a linear characteristic. FIG. 4 is a diagram showing an example of the lookup table T.

 ここで、ルックアップテーブルTは全画素共通のルックアップテーブルである。図4に示すようにルックアップテーブルTは、それぞれ、「0」~「n-1」のアドレスが付されたn(nは整数)個のセルにより構成されている。各アドレスは、変曲点画素値Sに対する画素値dの相対値、すなわちd-Sに対応している。各セルには、ログ特性の画素値dから変曲点画素値Sを減じた値をリニア特性に変換したときの変換後の画素値d1~dnが格納されている。 Here, the lookup table T is a lookup table common to all pixels. As shown in FIG. 4, the look-up table T is composed of n (n is an integer) cells each having addresses “0” to “n−1”. Each address corresponds to a relative value of the pixel value d with respect to the inflection point pixel value S, that is, dS. Each cell stores pixel values d1 to dn after conversion when a value obtained by subtracting the inflection point pixel value S from the pixel value d of log characteristics is converted into linear characteristics.

 つまり、ルックアップテーブルTには、図3に示すログ特性の各画素値dがグラフL1上に乗るように変換したときの値が格納されている。 That is, the lookup table T stores values obtained by converting each pixel value d of the log characteristics shown in FIG. 3 so as to be on the graph L1.

 したがって、変曲点バラツキ補正部621は、入力された画素値dがログ特性である場合、画素値dから変曲点画素値Sを減じた値である、d-Sのアドレスに格納されたルックアップテーブルTの値にその画素の変曲点画素値Sを加算した値を、変換後の画素値d´として出力することで、ログ特性をリニア特性に変換する。 Therefore, when the input pixel value d has a log characteristic, the inflection point variation correcting unit 621 is stored at the address d−S, which is a value obtained by subtracting the inflection point pixel value S from the pixel value d. The log characteristic is converted to a linear characteristic by outputting a value obtained by adding the inflection point pixel value S of the pixel to the value of the lookup table T as the converted pixel value d ′.

 ここで、ルックアップテーブルTの各アドレスをd-Sに対応させているのは、各画素の変曲点画素値Sのばらつきを考慮したからである。つまり、本実施の形態では、各画素のログ特性は、変曲点画素値Sはばらついているが、波形はほぼ同じであると想定している。そのため、ルックアップテーブルTの各アドレスをdではなく、d-Sに対応させることで、このルックアップテーブルTを全画素に適用させることができる。 Here, the reason why each address of the lookup table T is made to correspond to dS is because the variation of the inflection point pixel value S of each pixel is taken into consideration. That is, in the present embodiment, it is assumed that the log characteristics of each pixel have substantially the same waveform although the inflection point pixel value S varies. Therefore, by making each address of the lookup table T correspond to dS instead of d, this lookup table T can be applied to all pixels.

 また、変曲点バラツキ補正部621は、1枚の画像データを構成する各画素の画素値dが所定の順序で入力されるため、この順序から入力された画素値dの位置を特定することができ、これにより、各画素に対して予め定められた変曲点画素値Sを特定することができる。 The inflection point variation correcting unit 621 specifies the position of the pixel value d input from this order because the pixel value d of each pixel constituting one piece of image data is input in a predetermined order. Thus, a predetermined inflection point pixel value S can be specified for each pixel.

 図2に戻り、補間判定部622は、黒バラツキ補正部61から注目画素の画素値dが順次入力され、注目画素が変曲点欠陥画素であるか否かを判定し、判定結果を画素補間部63に通知する。つまり、補間判定部622は、変曲点バラツキ補正部621により特性変換処理が行われていない注目画素の画素値dを用いて注目画素が変曲点欠陥画素であるか否かを判定する。 Returning to FIG. 2, the interpolation determination unit 622 sequentially receives the pixel value d of the target pixel from the black variation correction unit 61, determines whether the target pixel is an inflection point defective pixel, and performs pixel interpolation on the determination result. Notification to the unit 63. That is, the interpolation determination unit 622 determines whether or not the target pixel is an inflection point defective pixel using the pixel value d of the target pixel that has not been subjected to the characteristic conversion processing by the inflection point variation correction unit 621.

 まず、補間判定部622は、注目画素の画素値dが入力されると、メモリ部623に記憶された変曲点情報を参照し、注目画素の変曲点画素値Sを特定する。そして、補間判定部622は、注目画素の変曲点画素値Sが所定の変曲点閾値Sth1(第1変曲点閾値の一例)以上であるか否かを判定する。 First, when the pixel value d of the target pixel is input, the interpolation determination unit 622 refers to the inflection point information stored in the memory unit 623 and specifies the inflection point pixel value S of the target pixel. Then, the interpolation determination unit 622 determines whether or not the inflection point pixel value S of the target pixel is equal to or greater than a predetermined inflection point threshold value Sth1 (an example of a first inflection point threshold value).

 そして、補間判定部622は、注目画素の変曲点画素値Sが変曲点閾値Sth1以上(S≧Sth1)と判定した場合、更に、注目画素の画素値dが所定の画素閾値Dth1(第1画素閾値の一例)以上であるか否かを判定する。 When the interpolation determination unit 622 determines that the inflection point pixel value S of the target pixel is equal to or greater than the inflection point threshold value Sth1 (S ≧ Sth1), the pixel value d of the target pixel is further set to a predetermined pixel threshold value Dth1 (first threshold value). It is determined whether or not it is an example of one pixel threshold.

 そして、補間判定部622は、注目画素の画素値dが画素閾値Dth1以上(d≧Dth1)と判定した場合、注目画素を変曲点欠陥画素と判定する。つまり、補間判定部622は、注目画素がS≧Sth1、かつ、d≧Dth1の条件1を満たす場合、変曲点欠陥画素と判定する。 Then, the interpolation determining unit 622 determines that the pixel of interest is an inflection point defective pixel when the pixel value d of the pixel of interest is determined to be greater than or equal to the pixel threshold Dth1 (d ≧ Dth1). That is, the interpolation determination unit 622 determines that the pixel of interest is an inflection point defective pixel when the target pixel satisfies the condition 1 of S ≧ Sth1 and d ≧ Dth1.

 また、補間判定部622は、注目画素の変曲点画素値Sが所定の変曲点閾値Sth2(第2変曲点閾値の一例)以下であるか否かを判定する。そして、補間判定部622は、注目画素の変曲点画素値Sが変曲点閾値Sth2以下(S≦Sth2)と判定した場合、更に、注目画素の画素値dが所定の画素閾値Dth2(第2画素閾値の一例)以下であるか否かを判定する。 Further, the interpolation determination unit 622 determines whether or not the inflection point pixel value S of the target pixel is equal to or less than a predetermined inflection point threshold value Sth2 (an example of a second inflection point threshold value). When the interpolation determination unit 622 determines that the inflection point pixel value S of the target pixel is equal to or less than the inflection point threshold value Sth2 (S ≦ Sth2), the pixel value d of the target pixel is further set to a predetermined pixel threshold value Dth2 (first threshold value). An example of a two-pixel threshold value) It is determined whether or not it is equal to or less.

 そして、補間判定部622は、注目画素の画素値dが画素閾値Dth2以下(d≦Dth2)と判定した場合、注目画素を変曲点欠陥画素と判定する。つまり、補間判定部622は、注目画素がS≦Sth2、かつ、d≦Dth2の条件2を満たす場合、変曲点欠陥画素と判定する。 Then, when the pixel value d of the target pixel is determined to be equal to or less than the pixel threshold Dth2 (d ≦ Dth2), the interpolation determination unit 622 determines the target pixel as an inflection point defective pixel. That is, the interpolation determination unit 622 determines that the pixel of interest is an inflection point defective pixel when the target pixel satisfies the condition 2 of S ≦ Sth2 and d ≦ Dth2.

 このように、補間判定部622は、注目画素が条件1又は条件2を満たせば、変曲点欠陥画素と判定する。また、補間判定部622は、注目画素が条件1及び条件2を満たさなければ、変曲点欠陥画素でないと判定する。 As described above, the interpolation determining unit 622 determines that the pixel of interest satisfies the condition 1 or the condition 2 as an inflection point defective pixel. Further, the interpolation determining unit 622 determines that the pixel of interest is not an inflection point defective pixel if the pixel of interest does not satisfy the conditions 1 and 2.

 図5は、変曲点P1が異なる画素の光電変換特性を示したグラフで、図5(A)は変曲点P1の変曲点画素値Sが所定の変曲点閾値Sth1以上の場合を示し、図5(B)は変曲点P1の変曲点画素値Sが所定の変曲点閾値Sth2以下の場合を示している。図5(A)において縦軸は画素値dを示し、横軸は輝度を対数で示している。 FIG. 5 is a graph showing photoelectric conversion characteristics of pixels having different inflection points P1, and FIG. 5A shows a case where the inflection point pixel value S at the inflection point P1 is equal to or greater than a predetermined inflection point threshold Sth1. FIG. 5B shows a case where the inflection point pixel value S of the inflection point P1 is equal to or less than a predetermined inflection point threshold Sth2. In FIG. 5A, the vertical axis represents the pixel value d, and the horizontal axis represents the luminance in logarithm.

 変曲点画素値Sが変曲点閾値Sth1以上の画素において、画素値dが画素閾値Dth1以上である場合、この画素値dは飽和したものとみなせるため、採用するのは好ましくない。 When the pixel value d is greater than or equal to the pixel threshold value Dth1 in the pixel having the inflection point pixel value S or greater than the inflection point threshold value Sth1, this pixel value d can be regarded as saturated, and it is not preferable to employ it.

 但し、変曲点画素値Sが変曲点閾値Sth1以上の画素であっても、画素値dが画素閾値Dth1未満である場合、この画素値dは飽和していないため、採用しても問題はない。 However, even if the inflection point pixel value S is a pixel equal to or greater than the inflection point threshold value Sth1, if the pixel value d is less than the pixel threshold value Dth1, the pixel value d is not saturated, and therefore it may be adopted. There is no.

 また、図5(B)において縦軸は画素値dを示し、横軸は輝度を対数で示している。変曲点画素値Sが変曲点閾値Sth2以下の画素において、画素値dが画素閾値Dth2未満である場合、実際の光電変換特性が図に実線で示した特性であるのに、想定される光電変換特性が図に波線で示した特性となり、補正誤差が発生する。従って、この画素値dが想定する光電変換特性からずれるため、この画素値dを採用するのは好ましくない。 In FIG. 5B, the vertical axis represents the pixel value d, and the horizontal axis represents the luminance in logarithm. In a pixel where the inflection point pixel value S is equal to or less than the inflection point threshold value Sth2, if the pixel value d is less than the pixel threshold value Dth2, the actual photoelectric conversion characteristic is assumed to be the characteristic indicated by the solid line in the figure. The photoelectric conversion characteristic becomes the characteristic indicated by the wavy line in the figure, and a correction error occurs. Therefore, since the pixel value d deviates from the assumed photoelectric conversion characteristic, it is not preferable to use the pixel value d.

 但し、変曲点画素値Sが変曲点閾値Sth2以下の画素であっても、画素値dが画素閾値Dth2より大きい場合、この画素値dは想定する光電変換特性からずれないため、この画素値dを採用しても問題はない。 However, even if the inflection point pixel value S is a pixel equal to or smaller than the inflection point threshold value Sth2, if the pixel value d is larger than the pixel threshold value Dth2, the pixel value d does not deviate from the assumed photoelectric conversion characteristics. There is no problem even if the value d is adopted.

 そこで、補間判定部622は、上記の処理を行い変曲点欠陥画素を判定しているのである。なお、画素閾値Dth1としては、飽和レベル付近の値であって、画像再現性の悪化が開始する値を採用すればよい。 Therefore, the interpolation determination unit 622 determines the inflection point defective pixel by performing the above processing. The pixel threshold value Dth1 may be a value near the saturation level and a value at which deterioration of image reproducibility starts.

 また、変曲点閾値Sth1としては、撮像センサ3を構成する全画素の変曲点画素値Sの平均値を採用してもよいし、全画素の変曲点画素値Sの分布の上位数%(例えば10%)の画素が変曲点閾値Sth1を超えるような値を採用してもよい。 Further, as the inflection point threshold value Sth1, an average value of the inflection point pixel values S of all the pixels constituting the image sensor 3 may be adopted, or the upper number of distribution of the inflection point pixel values S of all the pixels. A value such that% (for example, 10%) pixels exceed the inflection point threshold value Sth1 may be adopted.

 また、変曲点閾値Sth2としては、変曲点画素値Sがマイナスの値となる画素のうち、変曲点画素値Sが最大の画素の変曲点画素値Sよりも少なくとも高い値を採用すればよい。 As the inflection point threshold value Sth2, a value at least higher than the inflection point pixel value S of the pixel having the inflection point pixel value S that is the maximum among the pixels having the minus value of the inflection point pixel value S is adopted. do it.

 また、画素閾値Dth2としては、変曲点画素値Sがマイナスの値となる画素のうち、光電変換特性のずれの開始レベルが最大の画素のずれの開始レベル程度の値を採用すればよい。 Further, as the pixel threshold value Dth2, a value about the start level of the shift of the pixel having the maximum start level of the photoelectric conversion characteristic shift among the pixels having the negative inflection point pixel value S may be adopted.

 メモリ部623は、例えばEEPROM等の不揮発性の記録媒体により構成され、欠陥画素情報及び変曲点情報を記憶する(欠陥画素情報記憶部及び変曲点情報記憶部の一例)。欠陥画素情報は、撮像センサ3を構成する各画素のうち、欠陥画素の位置を示す情報である。ここで、欠陥画素は、半導体の製造プロセスにおいて製造不良となった画素であり、光に対して感度を持たない画素である。また、位置を示す情報としては、水平方向及び垂直方向の座標が採用されている。 The memory unit 623 is configured by a nonvolatile recording medium such as an EEPROM, for example, and stores defective pixel information and inflection point information (an example of a defective pixel information storage unit and an inflection point information storage unit). The defective pixel information is information indicating the position of the defective pixel among the pixels constituting the imaging sensor 3. Here, a defective pixel is a pixel that has become defective in the semiconductor manufacturing process and is not sensitive to light. As information indicating the position, horizontal and vertical coordinates are employed.

 変曲点情報は、撮像センサ3を構成する各画素の変曲点画素値Sを示す情報である。具体的には、変曲点情報は、各画素につき、位置を示す情報及び変曲点画素値Sが対応付けられた情報である。なお、変曲点情報には欠陥画素についての変曲点画素値Sも含まれている。 The inflection point information is information indicating the inflection point pixel value S of each pixel constituting the imaging sensor 3. Specifically, the inflection point information is information in which information indicating the position and the inflection point pixel value S are associated with each pixel. Note that the inflection point information includes the inflection point pixel value S for the defective pixel.

 各画素を構成するCMOSの画素回路は、受光した光に応じた信号電荷を蓄積するフォトダイオード、フォトダイオードで蓄積された信号電荷を電圧信号に変換するフローティングディフュージョン、フォトダイオードで蓄積された信号電荷をフローティングディフュージョンに転送する転送トランジスタ等を備えている。 The pixel circuit of CMOS that constitutes each pixel includes a photodiode that accumulates signal charges according to received light, a floating diffusion that converts signal charges accumulated in the photodiodes into voltage signals, and signal charges that are accumulated in the photodiodes. Is transferred to the floating diffusion.

 そして、変曲点画素値Sは、転送トランジスタのゲートの開度により決定される。そのため、変曲点画素値Sは、転送トランジスタのゲート電圧及び転送トランジスタの特性等が支配的になる。一方、欠陥画素はフォトダイオードが感度を持っていないだけであり、他の回路素子は正常である場合もある。そのため、欠陥画素であっても、電流源から電流を注入して光電変換特性を測定すれば、正常画素と同様、変曲点画素値Sが得られる場合もある。したがって、欠陥画素であっても変曲点画素値Sを持つ場合もある。 The inflection point pixel value S is determined by the opening degree of the gate of the transfer transistor. Therefore, the inflection point pixel value S is dominated by the gate voltage of the transfer transistor, the characteristics of the transfer transistor, and the like. On the other hand, in the defective pixel, only the photodiode has no sensitivity, and other circuit elements may be normal. Therefore, even in the case of a defective pixel, an inflection point pixel value S may be obtained as in the case of a normal pixel if current is injected from a current source and the photoelectric conversion characteristics are measured. Therefore, even a defective pixel may have an inflection point pixel value S.

 また、メモリ部623は、変曲点閾値Sth1,Sth2及び画素閾値Dth1,Dth2、ルックアップテーブルTを記憶する。ここで、変曲点閾値Sth1,Sth2及び画素閾値Dth1,Dth2は、全画素共通の値である。 Also, the memory unit 623 stores inflection point threshold values Sth1, Sth2, pixel threshold values Dth1, Dth2, and a lookup table T. Here, the inflection point threshold values Sth1, Sth2 and the pixel threshold values Dth1, Dth2 are values common to all pixels.

 画素補間部63は、変曲点欠陥画素及び欠陥画素を補間対象画素とし、補間対象画素の周辺画素のうち、変曲点欠陥画素及び欠陥画素以外の正常画素を用いて注目補間対象画素を補間する。注目補間対象画素は、補間対象画素のうち、ある1つの補間対象画素を示す。画素補間部63は、各補間対象画素を例えばラスタ走査の順番に従って、順次に注目補間対象画素として決定する。 The pixel interpolation unit 63 uses the inflection point defective pixel and the defective pixel as an interpolation target pixel, and interpolates the target interpolation target pixel using normal pixels other than the inflection point defective pixel and the defective pixel among the peripheral pixels of the interpolation target pixel. To do. The target interpolation target pixel indicates one interpolation target pixel among the interpolation target pixels. The pixel interpolation unit 63 sequentially determines each interpolation target pixel as a target interpolation target pixel in accordance with, for example, the order of raster scanning.

 具体的には、画素補間部63は、補間対象画素の位置を示す補間画素配置情報を生成し、注目補間対象画素から距離が近い順に複数の正常画素を、補間画素配置情報を参照して抽出し、抽出した正常画素を用いて注目補間対象画素を補間する。そして、画素補間部63は、補間した画素の画素値をd´´として階調変換部64に出力する。なお、画素補間部63は、補間しなかった画素については、変曲点バラツキ補正部621から出力された画素値d´を画素値d´´として階調変換部64に出力する。 Specifically, the pixel interpolation unit 63 generates interpolation pixel arrangement information indicating the position of the interpolation target pixel, and extracts a plurality of normal pixels in order of increasing distance from the target interpolation target pixel with reference to the interpolation pixel arrangement information. Then, the target interpolation target pixel is interpolated using the extracted normal pixel. Then, the pixel interpolation unit 63 outputs the pixel value of the interpolated pixel as d ″ to the gradation conversion unit 64. Note that the pixel interpolation unit 63 outputs the pixel value d ′ output from the inflection point variation correction unit 621 to the gradation conversion unit 64 as the pixel value d ″ for pixels that have not been interpolated.

 図6は、画素補間部63が補間画素配置情報を生成する処理の説明図である。図6では、撮像センサ3がモノクロである場合を示している。配置情報MA(第1配置情報の一例)、配置情報MB(第2配置情報の一例)、及び補間画素配置情報MCは、それぞれ、撮像センサ3の水平方向の1列の各画素についての情報を格納するバッファであり、1つのフィールドが1つの画素についての情報を記憶する。 FIG. 6 is an explanatory diagram of processing in which the pixel interpolation unit 63 generates interpolation pixel arrangement information. FIG. 6 shows a case where the image sensor 3 is monochrome. The arrangement information MA (an example of the first arrangement information), the arrangement information MB (an example of the second arrangement information), and the interpolation pixel arrangement information MC are information about each pixel in one column in the horizontal direction of the imaging sensor 3, respectively. A buffer for storing, and one field stores information on one pixel.

 配置情報MAには、補間判定部622による判定結果が格納される。画素補間部63は、変曲点欠陥画素と判定された画素には1、それ以外の画素には0をラベリングし、補間判定部622から出力される判定結果にしたがって配置情報MAの各フィールドに1又は0のラベルを順次に格納していく。図6の例では、“X”マークが付されたフィールドには1が格納され、それ以外のフィールドには0が格納されている。 In the arrangement information MA, a determination result by the interpolation determination unit 622 is stored. The pixel interpolation unit 63 labels 1 for pixels determined to be inflection point defective pixels, 0 for other pixels, and displays each field of the arrangement information MA according to the determination result output from the interpolation determination unit 622. The 1 or 0 label is stored sequentially. In the example of FIG. 6, 1 is stored in the field with the “X” mark, and 0 is stored in the other fields.

 配置情報MBには、欠陥画素であるか否かの判定結果が格納される。画素補間部63は、補間判定部622から判定結果が入力される都度、欠陥画素情報を参照し、判定結果に対応する画素が欠陥画素であるか否かを判定し、欠陥画素と判定した場合は、当該画素に対応する配置情報MBのフィールドに1のラベルを格納し、欠落画素と判定しなかった場合、当該画素に対応する配置情報MBのフィールドに0のラベルを格納する。 In the arrangement information MB, a determination result as to whether or not it is a defective pixel is stored. When the pixel interpolation unit 63 refers to defective pixel information each time a determination result is input from the interpolation determination unit 622, determines whether or not the pixel corresponding to the determination result is a defective pixel, and determines that it is a defective pixel Stores a label of 1 in the field of the arrangement information MB corresponding to the pixel, and stores a label of 0 in the field of the arrangement information MB corresponding to the pixel when it is not determined as a missing pixel.

 補間画素配置情報MCには、配置情報MAの各フィールドに格納されたラベルと、配置情報の各フィールドに格納されたラベルとの論理和(or)が格納される。 The interpolated pixel arrangement information MC stores a logical sum (or) of the label stored in each field of the arrangement information MA and the label stored in each field of the arrangement information.

 画素補間部63は、水平方向の1列の全画素の情報が配置情報MA,MBに格納されると、配置情報MAの各フィールドに格納されたラベルと、配置情報MBの各フィールドに格納されたラベルとの論理和を求め、得られた結果を補間画素配置情報MCの各フィールドに格納する。 When the information of all pixels in one column in the horizontal direction is stored in the placement information MA and MB, the pixel interpolation unit 63 stores the labels stored in the fields of the placement information MA and the fields of the placement information MB. The logical sum with the obtained label is obtained, and the obtained result is stored in each field of the interpolation pixel arrangement information MC.

 図6の例では、画素P(-2)~画素P(3)は、配置情報MA、MBの少なくともいずれか一方のフィールドに1のラベルが格納されている。そのため、補間画素配置情報MCにおいて、画素P(-2)~P(3)の各フィールドには1のラベルが格納されている。 In the example of FIG. 6, for the pixels P (-2) to P (3), a label of 1 is stored in at least one of the arrangement information MA and MB fields. Therefore, in the interpolation pixel arrangement information MC, 1 label is stored in each field of the pixels P (−2) to P (3).

 画素補間部63は、注目補間対象画素に対して、水平方向の一方側及び他方側のそれぞれにおいて最も近くに位置する2つの正常画素を補間画素配置情報MCを参照して抽出し、これら2つの正常画素を用いて注目補間対象画素を補間する。 The pixel interpolation unit 63 extracts two normal pixels located closest to each other on one side and the other side in the horizontal direction with respect to the target interpolation target pixel with reference to the interpolation pixel arrangement information MC, and extracts the two The target interpolation target pixel is interpolated using normal pixels.

 ここで、画素補間部63は、注目補間対象画素に対する距離が近い正常画素ほど高い重み値を付与し、抽出した正常画素の画素値を重み付け加算することで、注目補間対象画素を補間する。 Here, the pixel interpolation unit 63 assigns a higher weight value to a normal pixel that is closer to the target interpolation target pixel, and interpolates the target interpolation target pixel by weighted addition of the pixel values of the extracted normal pixels.

 図6の補間画素配置情報MCを用いて具体的に説明する。画素P(0)は注目補間対象画素である。画素P(-3)は、画素P(0)に対し、水平方向の一方側(左側)において最も距離が近い正常画素である。画素P(4)は、画素P(0)に対し、水平方向の他方側(右側)において最も距離が近い正常画素である。 This will be specifically described using the interpolation pixel arrangement information MC in FIG. Pixel P (0) is the target interpolation target pixel. The pixel P (−3) is a normal pixel that is closest to the pixel P (0) on one side (left side) in the horizontal direction. The pixel P (4) is a normal pixel that is closest to the pixel P (0) on the other side (right side) in the horizontal direction.

 画素P(-3)と画素P(0)との距離l1は3であり、画素P(4)と画素P(0)との距離l2は4である。よって、画素補間部63は、画素P(-3)に、4/7の重み値を設定し、画素P(0)に、3/7の重み値を設定する。つまり、画素補間部63は、画素P(-3)の重み値を、距離l2/(距離l1+距離l2)に設定し、画素P(4)の重み値を、距離l1/(距離l1+距離l2)に設定する。これにより、注目補間対象画素に対して距離が近い正常画素ほど高い重み値が設定される。 The distance l1 between the pixel P (-3) and the pixel P (0) is 3, and the distance l2 between the pixel P (4) and the pixel P (0) is 4. Therefore, the pixel interpolation unit 63 sets a weight value of 4/7 for the pixel P (−3) and sets a weight value of 3/7 for the pixel P (0). That is, the pixel interpolation unit 63 sets the weight value of the pixel P (−3) to the distance l2 / (distance l1 + distance l2), and sets the weight value of the pixel P (4) to the distance l1 / (distance l1 + distance l2). ). Thereby, a higher weight value is set for a normal pixel that is closer to the target interpolation target pixel.

 そして、画素P(-3)の画素値をd´(-3)、画素P(4)の画素値をd´(4)、画素P(0)の画素値をd´´(0)とすると、下式により画素値d(0)が求められ、画素P(0)が補間される。
 d´´(0)=(4/7)・d´(-3)+(3/4)・d´(4)
The pixel value of the pixel P (−3) is d ′ (− 3), the pixel value of the pixel P (4) is d ′ (4), and the pixel value of the pixel P (0) is d ″ (0). Then, the pixel value d (0) is obtained by the following equation, and the pixel P (0) is interpolated.
d ″ (0) = (4/7) · d ′ (− 3) + (3/4) · d ′ (4)

 なお、図6の例では、左側、右側のそれぞれの最短距離に位置する正常画素を用いたが、これに限定されず、左側、右側のそれぞれにおいて複数の正常画素を用いて注目補間対象画素を補間してもよい。また、1つの正常画素、例えば、注目補間対象画素P(0)の最も近くにある正常画素P(-3)のみを用いて補間してもよい。 In the example of FIG. 6, the normal pixels located at the shortest distances on the left side and the right side are used. However, the present invention is not limited to this, and the target interpolation target pixel is determined using a plurality of normal pixels on each of the left side and the right side. Interpolation may be performed. Alternatively, interpolation may be performed using only one normal pixel, for example, the normal pixel P (−3) closest to the target interpolation target pixel P (0).

 例えば、図6において、画素P(-3)の左側に隣接する画素P(-4)も正常画素である。よって、画素補間部63は、画素P(-4)を更に加えて注目補間対象画素を補間しても良い。また、画素P(5)も正常画素であれば、画素P(5)を更に加えて注目補間対象画素を補間してもよい。 For example, in FIG. 6, the pixel P (-4) adjacent to the left side of the pixel P (-3) is also a normal pixel. Therefore, the pixel interpolation unit 63 may further add the pixel P (−4) to interpolate the target interpolation target pixel. If the pixel P (5) is also a normal pixel, the pixel P (5) may be further added to interpolate the target interpolation target pixel.

 図6は撮像センサ3がモノクロの場合を示したが、カラーの場合は下記の態様を採用すればよい。図7は、撮像センサ3がカラーの場合において、画素補間部63が補間画素配置情報MCを生成する処理の説明図である。この場合、画素補間部63は、注目補間対象画素に対し、左側及び右側のそれぞれにおいて最短距離に位置する同色の画素の正常画素を用いて注目補間対象画素を補間すればよい。 FIG. 6 shows the case where the image sensor 3 is monochrome, but in the case of color, the following mode may be adopted. FIG. 7 is an explanatory diagram of a process in which the pixel interpolation unit 63 generates the interpolation pixel arrangement information MC when the image sensor 3 is color. In this case, the pixel interpolation unit 63 may interpolate the target interpolation target pixel using the normal pixel of the same color pixel located at the shortest distance on each of the left side and the right side with respect to the target interpolation target pixel.

 具体的には、画素補間部63は、モノクロの場合と同様にして配列情報MA,MBを生成する。また、画素補間部63は、R,G,Bの色別に補間画素配置情報MCを用意する。注目補間対象画素がRであれば、Rの補間画素配置情報MCに、配置情報MAのうちRの画素のフィールドと、配置情報MBのうちRの画素のフィールドとのラベル同士の論理和を求め、Rの補間画素配置情報MCを生成する。 Specifically, the pixel interpolation unit 63 generates the array information MA and MB in the same manner as in the monochrome case. Further, the pixel interpolation unit 63 prepares interpolation pixel arrangement information MC for each of R, G, and B colors. If the target interpolation target pixel is R, a logical sum of labels of the R pixel field in the arrangement information MA and the R pixel field in the arrangement information MB is obtained in the R interpolation pixel arrangement information MC. , R interpolation pixel arrangement information MC is generated.

 そして、画素補間部63は、Rの補間画素配置情報MCにおいて、注目補間対象画素と同色の正常画素であって、左右両側のそれぞれの方向に最短距離に位置する正常画素を用いて、注目補間対象画素を補正する。 Then, the pixel interpolation unit 63 uses the normal pixel that is the same color as the target interpolation target pixel and is located at the shortest distance in the left and right sides in the R interpolation pixel arrangement information MC, and performs the target interpolation. The target pixel is corrected.

 図7の例では、画素P(-3),P(-1),P(1),P(3)は補間画素配置情報MCには0がラベリングされているが、注目補間対象画素と異色であるため、補間には使用されない。 In the example of FIG. 7, the pixels P (−3), P (−1), P (1), and P (3) are labeled with 0 in the interpolation pixel arrangement information MC, but are different from the target interpolation target pixel. Therefore, it is not used for interpolation.

 画素P(-4)は注目補間対象画素に対して左側の最短距離に位置する同色の正常画素であり、画素P(4)は注目補間対象画素に対して右側の最短距離に位置する同色の正常画素である。よって、画素補間部63は、モノクロの場合と同様、画素P(-4)と画素P(4)とに対して重み値を設定し、注目補間対象画素を補間する。 The pixel P (−4) is a normal pixel of the same color located at the shortest distance on the left side with respect to the target interpolation target pixel, and the pixel P (4) is the same color positioned at the shortest distance on the right side with respect to the target interpolation target pixel. Normal pixel. Therefore, the pixel interpolation unit 63 sets weight values for the pixel P (−4) and the pixel P (4) and interpolates the target interpolation target pixel, as in the case of monochrome.

 また、画素補間部63は、注目補間対象画素に対して、左側及び右側のそれぞれにおいて最も近くに位置する2つの正常画素と、垂直方向の一方側(上側)及び他方側(下側)のそれぞれにおいて最も近くに位置する2つの正常画素とを補間画素配置情報を参照して抽出し、抽出した4つの正常画素を用いて注目補間対象画素を補間してもよい。 In addition, the pixel interpolation unit 63 has two normal pixels located closest to each other on the left side and the right side with respect to the target interpolation target pixel, and one side (upper side) and the other side (lower side) in the vertical direction. May be extracted with reference to the interpolation pixel arrangement information, and the target interpolation target pixel may be interpolated using the extracted four normal pixels.

 この場合、画素補間部63は、配置情報MA,MB及び補間画素配置情報MCとして、撮像センサ3の全画素についての情報を記憶するものを採用すればよい。これにより、上下方向における正常画素を探索することができる。 In this case, the pixel interpolation unit 63 may adopt a unit that stores information about all the pixels of the image sensor 3 as the arrangement information MA and MB and the interpolation pixel arrangement information MC. Thereby, normal pixels in the vertical direction can be searched.

 そして、この場合、画素補間部63は、注目補間対象画素に対して距離が近い正常画素ほど重み値が高くなるように、上述した手法を用いて各正常画素の重み値を求めればよい。 In this case, the pixel interpolation unit 63 may obtain the weight value of each normal pixel using the above-described method so that the normal value closer to the target interpolation target pixel has a higher weight value.

 また、この場合、画素補間部63は、上下左右のそれぞれにおいて、1つの正常画素ではなく複数の正常画素を用いて注目補間対象画素を補間してもよい。 In this case, the pixel interpolation unit 63 may interpolate the target interpolation target pixel using a plurality of normal pixels instead of one normal pixel in each of the upper, lower, left, and right directions.

 また、画素補間部63は、注目補間対象画素に対して左側の最短距離にある正常画素PLと、注目補間対象画素に対して右側の最短距離にある正常画素PRとの距離lHと、注目補間対象画素に対して上側の最短距離にある正常画素PUと、注目補間対象画素に対して下側の最短距離にある正常画素PDとの距離lVとを比較し、距離が短い方向の2つの正常画素を用いて注目補間対象画素を補間してもよい。 The pixel interpolation unit 63 also includes a distance lH between the normal pixel PL that is the shortest distance on the left side of the target interpolation target pixel and the normal pixel PR that is the shortest distance on the right side of the target interpolation target pixel, and the target interpolation. Comparing the distance LV between the normal pixel PU that is the shortest distance above the target pixel and the normal pixel PD that is the shortest distance below the target interpolation target pixel, The target interpolation target pixel may be interpolated using the pixel.

 例えば、画素補間部63は、距離lVの方が距離lHよりも短ければ、垂直方向の2つの正常画素PU,PDを用いて注目補間対象画素を補間し、距離lHの方が距離lVよりも短ければ、水平方向の2つの正常画素PL,PRを用いて注目補間対象画素を補間すればよい。 For example, if the distance 1V is shorter than the distance 1H, the pixel interpolation unit 63 interpolates the target interpolation target pixel using two normal pixels PU and PD in the vertical direction, and the distance 1H is longer than the distance 1V. If it is short, the target interpolation target pixel may be interpolated using the two normal pixels PL and PR in the horizontal direction.

 また、画素補間部63は、正常画素に重み値を設定することなく、正常画素の画素値を加算平均することで、注目補間対象画素を補間してもよい。例えば図6の例においては、下式のようになる。
 d´´(0)=(d´(-3)+d´(4))/2
Further, the pixel interpolation unit 63 may interpolate the target interpolation target pixel by adding and averaging the pixel values of the normal pixels without setting a weight value for the normal pixels. For example, in the example of FIG.
d ″ (0) = (d ′ (− 3) + d ′ (4)) / 2

 図2に戻り、階調変換部64は、画素補間部63から出力された画素値d´´に対して、ヒストグラム均等化処理や、ダイナミックレンジ圧縮処理等を行う。ヒストグラム均等化処理は、画像中のグレーレベルの分布を一様に分布させる処理である。これにより画像のコントラストを明確にすることができる。ダイナミックレンジ圧縮処理としては、例えば、緒形昌美「画像のダイナミックレンジ圧縮技術」日本工業出版、画像ラボ、2004年、6月号に記載の技術を採用することができる。 2, the gradation conversion unit 64 performs a histogram equalization process, a dynamic range compression process, and the like on the pixel value d ″ output from the pixel interpolation unit 63. The histogram equalization process is a process for uniformly distributing the gray level distribution in the image. Thereby, the contrast of an image can be clarified. As the dynamic range compression processing, for example, the technique described in Masami Ogata “Image Dynamic Range Compression Technology”, Nihon Kogyo Shuppan, Image Lab, 2004, June issue can be employed.

 ベイヤー補間部65は、撮像センサ3を構成する各画素がベイヤー配列であるために生じる各色成分における欠落画素を補間するための補間処理であるベイヤー補間を実行する。これにより、1枚の画像を表す画像データは、R,G,Bの3つの色成分に対応する3枚の画像データにより表されることになる。なお、撮像センサ3がモノクロの撮像センサである場合はベイヤー補間部65を省略すればよい。 The Bayer interpolation unit 65 executes Bayer interpolation, which is an interpolation process for interpolating missing pixels in each color component that occurs because each pixel constituting the imaging sensor 3 has a Bayer array. As a result, image data representing one image is represented by three image data corresponding to the three color components R, G, and B. If the image sensor 3 is a monochrome image sensor, the Bayer interpolation unit 65 may be omitted.

 トーンカーブ補正部66は、ベイヤー補間部65から出力された画像値をガンマ補正する。なお、トーンカーブ補正部66から出力された画素値は図1に示す画像メモリ7に格納される。 The tone curve correction unit 66 performs gamma correction on the image value output from the Bayer interpolation unit 65. The pixel value output from the tone curve correction unit 66 is stored in the image memory 7 shown in FIG.

 次に、モノクロの場合を例に挙げて本実施の形態による撮像装置の動作の概要について説明する。まず、操作部10がユーザからの撮像指令を受け付けると、撮像センサ3により撮像された画像データはアンプ4により所定レベルに増幅され、A/D変換部5によりA/D変換がなされた後、画像処理部6に入力される。 Next, an outline of the operation of the imaging apparatus according to the present embodiment will be described by taking a monochrome case as an example. First, when the operation unit 10 receives an imaging command from the user, the image data captured by the imaging sensor 3 is amplified to a predetermined level by the amplifier 4 and A / D conversion is performed by the A / D conversion unit 5. Input to the image processing unit 6.

 画像処理部6に入力された画素値は、黒バラツキ補正部61により黒レベルが補正され、画素値dとして変曲点バラツキ補正部621及び補間判定部622に順次に供給される。変曲点バラツキ補正部621に供給された画素値dは、光電変換特性が全画素共通のリニア特性に統一され、画素値d´とされて画素補間部63に供給される。 The pixel value input to the image processing unit 6 is corrected in black level by the black variation correcting unit 61, and sequentially supplied to the inflection point variation correcting unit 621 and the interpolation determining unit 622 as the pixel value d. The pixel value d supplied to the inflection point variation correcting unit 621 has the photoelectric conversion characteristic unified to a linear characteristic common to all pixels, and is supplied to the pixel interpolating unit 63 as a pixel value d ′.

 一方、画素値dは補間判定部622により変曲点欠陥画素であるか否かが判定される。そして、この判定結果が画素補間部63に供給される。 On the other hand, whether or not the pixel value d is an inflection point defective pixel is determined by the interpolation determination unit 622. Then, the determination result is supplied to the pixel interpolation unit 63.

 画素補間部63は、補間判定部622による判定結果に従って、図6に示す配置情報MBの各フィールドに1又は0のラベルを格納すると同時に、欠陥画素情報に従って配置情報MAの各フィールドに1又は0のラベルを格納する。 The pixel interpolation unit 63 stores a 1 or 0 label in each field of the placement information MB shown in FIG. 6 according to the determination result by the interpolation determination unit 622, and at the same time, 1 or 0 in each field of the placement information MA according to the defective pixel information. Stores the label.

 そして、画素補間部63は、配置情報MAと配置情報MBとに水平方向に1列分のラベルを格納すると、配置情報MAと配置情報MBとの論理和を求め、補間画素配置情報MCを生成する。そして、画素補間部63は、補間画素配置情報MCにおいて1のラベルが格納された画素を順次、注目補間対象画素として設定し、左側の最短距離に位置する正常画素と、右側の最短距離に位置する正常画素とを用いて、注目補間対象画素を補間する。なお、補間画素配置情報MCにおいて、補間対象画素の補間前の画素値d´は補間後の画素値d´´に更新される。 When the pixel interpolation unit 63 stores labels for one column in the horizontal direction in the arrangement information MA and the arrangement information MB, the pixel interpolation unit 63 obtains a logical sum of the arrangement information MA and the arrangement information MB, and generates the interpolation pixel arrangement information MC. To do. Then, the pixel interpolation unit 63 sequentially sets the pixels in which the label of 1 is stored in the interpolation pixel arrangement information MC as the target interpolation target pixel, and positions the normal pixel located at the shortest distance on the left side and the shortest distance on the right side. The target pixel to be interpolated is interpolated using the normal pixel. In the interpolation pixel arrangement information MC, the pixel value d ′ before interpolation of the interpolation target pixel is updated to the pixel value d ″ after interpolation.

 そして、画素補間部63は、水平方向の1列に対する処理が終了すると、補間画素配置情報MCの各フィールドに格納された各画素値を画素値d´´として階調変換部64に供給する。 Then, when the processing for one column in the horizontal direction is completed, the pixel interpolation unit 63 supplies each pixel value stored in each field of the interpolation pixel arrangement information MC to the gradation conversion unit 64 as a pixel value d ″.

 画素値d´´は、階調変換部64によりヒストグラム均等化処理及びダイナミックレンジ圧縮処理が行われ、ベイヤー補間部65によりベイヤー補間が行われ、トーンカーブ補正部66によりガンマ補正が行われ、画像メモリ7等に供給される。以上の処理が繰り返され、1枚の画像データが画像メモリ7に記憶される。 The pixel value d ″ is subjected to histogram equalization processing and dynamic range compression processing by the gradation conversion unit 64, Bayer interpolation is performed by the Bayer interpolation unit 65, and gamma correction is performed by the tone curve correction unit 66. It is supplied to the memory 7 and the like. The above processing is repeated, and one piece of image data is stored in the image memory 7.

 図8は、欠陥画素を考慮することなく変曲点欠陥画素のみを補間対象画素とした場合における補間処理の問題点を示したグラフである。縦軸は、画素値を示し、横軸は水平方向のある1列の画素値を示している。 FIG. 8 is a graph showing problems in interpolation processing when only inflection point defective pixels are set as interpolation target pixels without considering defective pixels. The vertical axis indicates the pixel value, and the horizontal axis indicates the pixel value of one column in the horizontal direction.

 図8において、画素G(1),G(2),G(4),G(7)は変曲点欠陥画素であり、画素G(3),G(5),G(6)は欠陥画素である。画素G´(1)~G´(7)は補間後の画素である。 In FIG. 8, pixels G (1), G (2), G (4), G (7) are inflection point defective pixels, and pixels G (3), G (5), G (6) are defective. Pixel. Pixels G ′ (1) to G ′ (7) are pixels after interpolation.

 画素G(1),G(2),G(7)は周辺に欠陥画素が存在していないため、欠陥画素を用いた補間が行われていない。従って、補間後の画素G´(1),G´(2),G´(7)は画素値が周囲の画素の画素値と大差がなく、補間が成功している。 Since pixels G (1), G (2), and G (7) do not have defective pixels in the periphery, interpolation using defective pixels is not performed. Therefore, the interpolated pixels G ′ (1), G ′ (2), and G ′ (7) are not significantly different from the pixel values of the surrounding pixels, and the interpolation is successful.

 一方、画素G(4)は周囲に欠陥画素である画素G(3),G(5)が存在しているため、画素G´(3)又は画素G(3)及び画素G´(5)又は画素G(5)を用いて補間が行われている。そのため、画素G(4)は欠陥画素に引きずられて、周辺画素に比べて画素値が大きく低下し、補間が失敗している。 On the other hand, since the pixel G (4) includes pixels G (3) and G (5) which are defective pixels, the pixel G ′ (3) or the pixel G (3) and the pixel G ′ (5) are present. Alternatively, interpolation is performed using the pixel G (5). For this reason, the pixel G (4) is dragged by the defective pixel, the pixel value is greatly reduced as compared with the surrounding pixels, and the interpolation fails.

 このように、欠陥画素を考慮せずに補間対象画素を補間すると、補間後の画素値が欠陥画素の画素値の影響を大きく受け、精度の良い補間を行うことができないという問題があった。 As described above, when the interpolation target pixel is interpolated without considering the defective pixel, there is a problem that the pixel value after the interpolation is greatly influenced by the pixel value of the defective pixel, and accurate interpolation cannot be performed.

 一方、本実施の形態では、変曲点欠陥画素及び欠陥画素を用いることなく補間対象画素を補間している。そのため、補間対象画素は正常画素のみを用いて補間される結果、精度の良い補間を実現することができる。 On the other hand, in this embodiment, interpolation target pixels are interpolated without using inflection point defective pixels and defective pixels. Therefore, the interpolation target pixel is interpolated using only normal pixels, so that accurate interpolation can be realized.

 図9は、本発明の実施の形態による撮像装置1による補間処理の効果を示す画面図である。図9(A)は欠陥画素を考慮せずに補間を行った場合を示し、図9(B)は本実施の形態により補間を行った場合を示している。 FIG. 9 is a screen diagram showing the effect of the interpolation processing by the imaging apparatus 1 according to the embodiment of the present invention. FIG. 9A shows a case where interpolation is performed without considering defective pixels, and FIG. 9B shows a case where interpolation is performed according to this embodiment.

 図9(A)に示すように、欠陥画素を用いて補間を行うと、補間対象画素が欠陥画素の影響を受け、無数のノイズが現れていることが分かる。一方、本実施の形態によれば、欠陥画素を用いた補間が行われないため、ノイズがほとんど現れていないことが分かる。 As shown in FIG. 9A, when interpolation is performed using a defective pixel, it can be seen that the interpolation target pixel is affected by the defective pixel and numerous noises appear. On the other hand, according to this embodiment, since interpolation using defective pixels is not performed, it can be seen that almost no noise appears.

 なお、上記実施の形態では、補間対象画素に対して水平方向又は垂直方向を考慮して正常画素を抽出したが、これに限定されず、斜め方向も考慮に入れて正常画素を抽出してもよい。 In the above embodiment, the normal pixels are extracted in consideration of the horizontal direction or the vertical direction with respect to the interpolation target pixel. However, the present invention is not limited to this, and the normal pixels may be extracted in consideration of the oblique direction. Good.

 例えば、補間対象画素を中心として、上、下、左、右、左上、右上、左下、右下の8方向において正常画素を探索し、それぞれの方向で最短距離に位置する正常画素を用いて、補間対象画素を補間してもよい。また、8方向のそれぞれの方向で最短距離に位置する正常画素のうち、距離が近い順に所定個数(例えば2個)の正常画素を用いて補間対象画素を補間してもよい。 For example, searching for normal pixels in the eight directions of the upper, lower, left, right, upper left, upper right, lower left, and lower right with the pixel to be interpolated as the center, and using the normal pixels located at the shortest distance in each direction, The interpolation target pixel may be interpolated. Alternatively, the interpolation target pixels may be interpolated using a predetermined number (for example, two) of normal pixels in order of increasing distance among normal pixels located at the shortest distance in each of the eight directions.

 また、上方向の最短距離の正常画素PU、下方向の最短距離の正常画素PD、左方向の最短距離の正常画素PL、右方向の最短距離の正常画素PR、左上方向の最短距離の正常画素PA、右上方向の最短距離の正常画素PB、左下方向の最短距離の正常画素PC、右下方向の最短距離の正常画素PDのうち、正常画素PD,PDの距離l1、正常画素PL,PRの距離l2、正常画素PA,PDの距離l3、正常画素PB,PCの距離l4のうち、距離が最小の方向の2つの正常画素を用いて補間対象画素を補間してもよい。 Also, the normal pixel PU with the shortest distance in the upward direction, the normal pixel PD with the shortest distance in the downward direction, the normal pixel PL with the shortest distance in the left direction, the normal pixel PR with the shortest distance in the right direction, and the normal pixel with the shortest distance in the upper left direction. Of the normal pixel PB having the shortest distance in the upper right direction, the normal pixel PC having the shortest distance in the lower left direction, and the normal pixel PD having the shortest distance in the lower right direction, the distance 11 of the normal pixels PD and the normal pixels PL and PR The interpolation target pixel may be interpolated using two normal pixels having the smallest distance among the distance l2, the distance l3 between the normal pixels PA and PD, and the distance l4 between the normal pixels PB and PC.

 (本実施の形態の纏め)
 (1)本実施の形態による撮像装置は、変曲点を境に異なる光電変換特性を持つ複数の画素を備える撮像素子と、前記撮像素子を構成する画素のうち欠陥画素の位置を示す欠陥画素情報を予め記憶する欠陥画素情報記憶部と、各画素の変曲点の画素値である変曲点画素値を示す変曲点情報を予め記憶する変曲点情報記憶部と、各画素につき、被写体を撮像したときの画素値と前記変曲点画素値とに基づいて、変曲点欠陥画素であるか否かを判定する補間判定部と、前記変曲点欠陥画素及び欠陥画素を補間対象画素とし、前記補間対象画素を前記変曲点欠陥画素以外の正常画素と前記欠陥画素以外の正常画素とを用いて補間する画素補間部とを備える。
(Summary of this embodiment)
(1) An imaging device according to the present embodiment includes an imaging device including a plurality of pixels having different photoelectric conversion characteristics at an inflection point, and a defective pixel indicating a position of a defective pixel among pixels constituting the imaging device. For each pixel, a defective pixel information storage unit that stores information in advance, an inflection point information storage unit that stores inflection point information indicating an inflection point pixel value that is a pixel value of an inflection point of each pixel, and An interpolation determination unit that determines whether or not the pixel is an inflection point defective pixel based on the pixel value when the subject is imaged and the inflection point pixel value, and the inflection point defective pixel and the defective pixel are to be interpolated A pixel interpolation unit that interpolates the interpolation target pixel using a normal pixel other than the inflection point defective pixel and a normal pixel other than the defective pixel.

 この構成によれば、変曲点欠陥画素のみならず欠陥画素以外の正常画素を用いて補間対象画素が補間される。よって、補間後の画素値が欠陥画素の画素値の影響を大きく受けることが防止され、補間精度を高めることができる。 According to this configuration, the interpolation target pixel is interpolated using not only the inflection point defective pixel but also normal pixels other than the defective pixel. Therefore, the pixel value after interpolation is prevented from being greatly affected by the pixel value of the defective pixel, and the interpolation accuracy can be increased.

 (2)前記画素補間部は、前記補間対象画素の位置を示す補間画素配置情報を生成し、前記補間対象画素の近傍の正常画素を前記補間画素配置情報を参照して抽出し、抽出した正常画素を用いて前記補間対象画素を補間することが好ましい。 (2) The pixel interpolation unit generates interpolation pixel arrangement information indicating the position of the interpolation target pixel, extracts normal pixels in the vicinity of the interpolation target pixel with reference to the interpolation pixel arrangement information, and extracts the extracted normal It is preferable to interpolate the interpolation target pixel using a pixel.

 この構成によれば、補間対象画素の位置を示す補間画素配置情報が生成され、それに基づいて補間対象画素の近傍に位置する正常画素が探索されているため、正常画素を精度良く探索することができる。 According to this configuration, the interpolation pixel arrangement information indicating the position of the interpolation target pixel is generated, and the normal pixel located in the vicinity of the interpolation target pixel is searched based on the generated information. Therefore, the normal pixel can be searched with high accuracy. it can.

 (3)前記画素補間部は、前記補間判定部の判定結果に基づいて、前記変曲点欠陥画素の配置を示す第1配置情報を生成し、前記欠陥画素情報に基づいて、前記欠陥画素の配置を示す第2配置情報を生成し、前記第1配置情報と前記第2配置情報との論理和から、前記補間画素配置情報を生成することが好ましい。 (3) The pixel interpolation unit generates first arrangement information indicating the arrangement of the inflection point defective pixels based on the determination result of the interpolation determination unit, and based on the defective pixel information, It is preferable that second arrangement information indicating arrangement is generated, and the interpolation pixel arrangement information is generated from a logical sum of the first arrangement information and the second arrangement information.

 この構成によれば、補間画素配置情報が第1配置情報と第2配置情報との論理和を用いて算出されているため、補間画素配置情報を迅速、かつ正確に算出することができる。 According to this configuration, since the interpolation pixel arrangement information is calculated using the logical sum of the first arrangement information and the second arrangement information, the interpolation pixel arrangement information can be calculated quickly and accurately.

 (4)前記画素補間部は、前記補間対象画素に対して、水平方向の一方側及び他方側のそれぞれにおいて近くに位置する前記正常画素を前記補間画素配置情報を参照して抽出し、抽出した前記正常画素を少なくとも用いて前記補間対象画素を補間することが好ましい。 (4) The pixel interpolation unit extracts and extracts the normal pixels located close to each other on one side and the other side in the horizontal direction with respect to the interpolation target pixel with reference to the interpolation pixel arrangement information It is preferable that the interpolation target pixel is interpolated using at least the normal pixel.

 この構成によれば、全画素の補間画素配置情報が得られるのを待たずに、水平方向の1列分の補間画素配置情報が得られれば、補間処理を行うことができる。そのため、補間処理を高速に行うことができる。 According to this configuration, interpolation processing can be performed if interpolation pixel arrangement information for one column in the horizontal direction is obtained without waiting for interpolation pixel arrangement information for all pixels to be obtained. Therefore, interpolation processing can be performed at high speed.

 (5)前記画素補間部は、前記補間対象画素に対して、水平方向の一方側及び他方側のそれぞれにおいて近くに位置する前記正常画素と、垂直方向の一方側及び他方側のそれぞれにおいて近くに位置する前記正常画素とを前記補間画素配置情報を参照して抽出し、抽出した前記正常画素のいずれかを少なくとも用いて前記補間対象画素を補間することが好ましい。 (5) The pixel interpolating unit is close to the normal pixel located on each of one side and the other side in the horizontal direction and on one side and the other side in the vertical direction with respect to the interpolation target pixel. It is preferable that the normal pixels located are extracted with reference to the interpolation pixel arrangement information, and the interpolation target pixel is interpolated using at least one of the extracted normal pixels.

 この構成によれば、水平方向のみならず垂直方向も考慮に入れて正常画素が探索されるため、補間精度より高めることができる。 According to this configuration, since normal pixels are searched in consideration of not only the horizontal direction but also the vertical direction, the interpolation accuracy can be improved.

 (6)前記画素補間部は、前記水平方向に抽出した前記正常画素間の距離と前記垂直方向に抽出した前記正常画素間の距離とを比較し、距離が短い方向の前記正常画素を少なくとも用いて前記補間対象画素を補間することが好ましい。 (6) The pixel interpolation unit compares the distance between the normal pixels extracted in the horizontal direction with the distance between the normal pixels extracted in the vertical direction, and uses at least the normal pixels in a short distance direction. It is preferable to interpolate the interpolation target pixel.

 この構成によれば、水平方向に探索された正常画素の距離と、垂直方向に探索された正常画素との距離が比較され、距離が近い方向の正常画素を少なくとも用いて補間処理が行われるため、補間精度より高めることができる。 According to this configuration, the distance between the normal pixels searched in the horizontal direction and the distance between the normal pixels searched in the vertical direction are compared, and interpolation processing is performed using at least normal pixels in a direction closer to the distance. Interpolation accuracy can be improved.

 (7)前記画素補間部は、抽出した前記正常画素を用いて前記補間対象画素を補間するに際し、抽出した前記正常画素の画素値の平均値を用いて前記補間対象画素を補間することが好ましい。 (7) When interpolating the interpolation target pixel using the extracted normal pixel, the pixel interpolation unit preferably interpolates the interpolation target pixel using an average value of pixel values of the extracted normal pixels. .

 この構成によれば、正常画素の画素値の平均値を用いて補間対象画素が補間されるため、補間処理を簡略化することができる。 According to this configuration, since the interpolation target pixel is interpolated using the average value of the pixel values of normal pixels, the interpolation process can be simplified.

 (8)前記画素補間部は、抽出した前記正常画素を用いて前記補間対象画素を補間するに際し、前記補間対象画素に対する距離が近い前記正常画素ほど高い重み値を付与し、抽出した前記正常画素の画素値を重み付け加算することで、前記補間対象画素を補間することが好ましい。 (8) When interpolating the interpolation target pixel using the extracted normal pixel, the pixel interpolation unit assigns a higher weight value to the normal pixel that is closer to the interpolation target pixel, and extracts the normal pixel It is preferable to interpolate the pixel to be interpolated by weighting and adding the pixel values.

 この構成によれば、補間対象画素に対して距離が近い正常画素ほど重み値が高く設定されるため、補間精度をより高めることができる。 According to this configuration, the normal value closer to the interpolation target pixel has a higher weight value, so that the interpolation accuracy can be further increased.

 (9)前記補間判定部は、前記変曲点画素値が所定の第1変曲点閾値より高い画素が、所定の第1画素閾値より高い画素値を出力した場合、当該画素を前記変曲点欠陥画素として判定することが好ましい。 (9) When the pixel whose inflection point pixel value is higher than a predetermined first inflection point threshold value outputs a pixel value higher than the predetermined first pixel threshold value, the interpolation determination unit converts the inflection point pixel value to the inflection point. It is preferable to determine as a point defect pixel.

 この構成によれば、変曲点画素値が第1変曲点閾値より高い画素であっても、第1画素値よりも低い画素値を出力した場合、その画素は正常画素として採用されるため、補間対象画素の個数を減らし、解像度を高めることができる。 According to this configuration, even if the pixel value of the inflection point pixel is higher than the first inflection point threshold value, when a pixel value lower than the first pixel value is output, the pixel is adopted as a normal pixel. The number of interpolation target pixels can be reduced and the resolution can be increased.

 (10)前記補間判定部は、前記変曲点画素値が所定の第2変曲点閾値より低い画素が、所定の第2画素閾値より低い画素値を出力した場合、当該画素を前記変曲点欠陥画素として判定することが好ましい。 (10) When the pixel whose inflection point pixel value is lower than a predetermined second inflection point threshold value outputs a pixel value lower than the predetermined second pixel threshold value, the interpolation determination unit converts the inflection point pixel value to the inflection point. It is preferable to determine as a point defect pixel.

 この構成によれば、変曲点画素値が第2変曲点閾値より低い画素であっても、第1画素値よりも高い画素値を出力した場合、その画素は正常画素として採用されるため、補間対象画素の個数を減らし、解像度を高めることができる。 According to this configuration, even if the pixel value of the inflection point pixel is lower than the second inflection point threshold value, when a pixel value higher than the first pixel value is output, the pixel is adopted as a normal pixel. The number of interpolation target pixels can be reduced and the resolution can be increased.

 この出願は、2011年5月2日に出願された日本国特許出願特願2011-102963を基礎とするものであり、その内容は、本願に含まれるものである。 This application is based on Japanese Patent Application No. 2011-102963 filed on May 2, 2011, the contents of which are included in the present application.

 本発明を表現するために、上述において図面を参照しながら実施形態を通して本発明を適切且つ十分に説明したが、当業者であれば上述の実施形態を変更および/または改良することは容易に為し得ることであると認識すべきである。したがって、当業者が実施する変更形態または改良形態が、請求の範囲に記載された請求項の権利範囲を離脱するレベルのものでない限り、当該変更形態または当該改良形態は、当該請求項の権利範囲に包括されると解釈される。 In order to express the present invention, the present invention has been properly and fully described through the embodiments with reference to the drawings. However, those skilled in the art can easily change and / or improve the above-described embodiments. It should be recognized that this is possible. Therefore, unless the modifications or improvements implemented by those skilled in the art are at a level that departs from the scope of the claims recited in the claims, the modifications or improvements are not covered by the claims. It is interpreted that it is included in

Claims (10)

 変曲点を境に異なる光電変換特性を持つ複数の画素を備える撮像素子と、
 前記撮像素子を構成する画素のうち欠陥画素の位置を示す欠陥画素情報を予め記憶する欠陥画素情報記憶部と、
 各画素の変曲点の画素値である変曲点画素値を示す変曲点情報を予め記憶する変曲点情報記憶部と、
 各画素につき、被写体を撮像したときの画素値と前記変曲点画素値とに基づいて、変曲点欠陥画素であるか否かを判定する補間判定部と、
 前記変曲点欠陥画素及び欠陥画素を補間対象画素とし、前記補間対象画素を前記変曲点欠陥画素以外の正常画素と前記欠陥画素以外の正常画素とを用いて補間する画素補間部とを備える撮像装置。
An image sensor comprising a plurality of pixels having different photoelectric conversion characteristics at an inflection point;
A defective pixel information storage unit that preliminarily stores defective pixel information indicating a position of a defective pixel among pixels constituting the imaging element;
An inflection point information storage unit for preliminarily storing inflection point information indicating an inflection point pixel value that is a pixel value of an inflection point of each pixel;
For each pixel, an interpolation determination unit that determines whether the pixel is an inflection point defective pixel based on the pixel value when the subject is imaged and the inflection point pixel value;
The inflection point defective pixel and the defective pixel are set as interpolation target pixels, and the interpolation target pixel includes a pixel interpolation unit that performs interpolation using normal pixels other than the inflection point defective pixels and normal pixels other than the defective pixels. Imaging device.
 前記画素補間部は、前記補間対象画素の位置を示す補間画素配置情報を生成し、前記補間対象画素の近傍の正常画素を前記補間画素配置情報を参照して抽出し、抽出した正常画素を用いて前記補間対象画素を補間する請求項1記載の撮像装置。 The pixel interpolation unit generates interpolation pixel arrangement information indicating a position of the interpolation target pixel, extracts normal pixels in the vicinity of the interpolation target pixel with reference to the interpolation pixel arrangement information, and uses the extracted normal pixels The imaging apparatus according to claim 1, wherein the interpolation target pixel is interpolated.  前記画素補間部は、前記補間判定部の判定結果に基づいて、前記変曲点欠陥画素の配置を示す第1配置情報を生成し、前記欠陥画素情報に基づいて、前記欠陥画素の配置を示す第2配置情報を生成し、前記第1配置情報と前記第2配置情報との論理和から、前記補間画素配置情報を生成する請求項2記載の撮像装置。 The pixel interpolation unit generates first arrangement information indicating the arrangement of the inflection point defective pixels based on the determination result of the interpolation determination unit, and indicates the arrangement of the defective pixels based on the defective pixel information. The imaging apparatus according to claim 2, wherein second interpolation information is generated, and the interpolation pixel arrangement information is generated from a logical sum of the first arrangement information and the second arrangement information.  前記画素補間部は、前記補間対象画素に対して、水平方向の一方側及び他方側のそれぞれにおいて近くに位置する前記正常画素を前記補間画素配置情報を参照して抽出し、抽出した前記正常画素を少なくとも用いて前記補間対象画素を補間する請求項2又は3記載の撮像装置。 The pixel interpolation unit extracts the normal pixels that are located close to each other on one side and the other side in the horizontal direction with respect to the interpolation target pixel with reference to the interpolation pixel arrangement information, and extracts the normal pixels The imaging apparatus according to claim 2, wherein the interpolation target pixel is interpolated using at least a pixel.  前記画素補間部は、前記補間対象画素に対して、水平方向の一方側及び他方側のそれぞれにおいて近くに位置する前記正常画素と、垂直方向の一方側及び他方側のそれぞれにおいて近くに位置する前記正常画素とを前記補間画素配置情報を参照して抽出し、抽出した前記正常画素のいずれかを少なくとも用いて前記補間対象画素を補間する請求項2又は3記載の撮像装置。 The pixel interpolation unit is located close to the interpolation target pixel on each of one side and the other side in the horizontal direction, and on the one side and the other side in the vertical direction. The imaging apparatus according to claim 2, wherein normal pixels are extracted with reference to the interpolation pixel arrangement information, and the interpolation target pixel is interpolated using at least one of the extracted normal pixels.  前記画素補間部は、前記水平方向に抽出した前記正常画素間の距離と前記垂直方向に抽出した前記正常画素間の距離とを比較し、距離が短い方向の前記正常画素を少なくとも用いて前記補間対象画素を補間する請求項5記載の撮像装置。 The pixel interpolation unit compares a distance between the normal pixels extracted in the horizontal direction with a distance between the normal pixels extracted in the vertical direction, and uses the normal pixels in a short distance direction to perform the interpolation. The imaging apparatus according to claim 5, wherein the target pixel is interpolated.  前記画素補間部は、抽出した前記正常画素を用いて前記補間対象画素を補間するに際し、抽出した前記正常画素の画素値の平均値を用いて前記補間対象画素を補間する請求項2~6のいずれかに記載の撮像装置。 The pixel interpolation unit, when interpolating the interpolation target pixel using the extracted normal pixel, interpolates the interpolation target pixel using an average value of pixel values of the extracted normal pixels. The imaging device according to any one of the above.  前記画素補間部は、抽出した前記正常画素を用いて前記補間対象画素を補間するに際し、前記補間対象画素に対する距離が近い前記正常画素ほど高い重み値を付与し、抽出した前記正常画素の画素値を重み付け加算することで、前記補間対象画素を補間する請求項2~6のいずれかに記載の撮像装置。 When interpolating the interpolation target pixel using the extracted normal pixel, the pixel interpolation unit assigns a higher weight value to the normal pixel that is closer to the interpolation target pixel, and the extracted pixel value of the normal pixel 7. The imaging apparatus according to claim 2, wherein the interpolation target pixel is interpolated by weighting and adding.  前記補間判定部は、前記変曲点画素値が所定の第1変曲点閾値より高い画素が、所定の第1画素閾値より高い画素値を出力した場合、当該画素を前記変曲点欠陥画素として判定する請求項1~8のいずれかに記載の撮像装置。 When the pixel whose inflection point pixel value is higher than a predetermined first inflection point threshold value outputs a pixel value higher than a predetermined first pixel threshold value, the interpolation determination unit identifies the pixel as the inflection point defective pixel. The imaging apparatus according to any one of claims 1 to 8, wherein  前記補間判定部は、前記変曲点画素値が所定の第2変曲点閾値より低い画素が、所定の第2画素閾値より低い画素値を出力した場合、当該画素を前記変曲点欠陥画素として判定する請求項1~9のいずれかに記載の撮像装置。 When the pixel whose inflection point pixel value is lower than a predetermined second inflection point threshold value outputs a pixel value lower than a predetermined second pixel threshold value, the interpolation determination unit identifies the pixel as the inflection point defective pixel. The imaging device according to claim 1, wherein the imaging device is determined as follows.
PCT/JP2012/002890 2011-05-02 2012-04-26 Image capture device Ceased WO2012150660A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011102963 2011-05-02
JP2011-102963 2011-05-02

Publications (1)

Publication Number Publication Date
WO2012150660A1 true WO2012150660A1 (en) 2012-11-08

Family

ID=47107851

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/002890 Ceased WO2012150660A1 (en) 2011-05-02 2012-04-26 Image capture device

Country Status (1)

Country Link
WO (1) WO2012150660A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1051693A (en) * 1996-07-30 1998-02-20 Toshiba Medical Eng Co Ltd Image processing device for defective pixel correction
JPH11252464A (en) * 1997-11-05 1999-09-17 St Microelectronics Inc Pixel correction system and method for CMOS imagers
JP2005006196A (en) * 2003-06-13 2005-01-06 Canon Inc Radiation imaging method, radiation imaging apparatus, computer program, and computer-readable recording medium
JP2008104122A (en) * 2006-10-20 2008-05-01 Toshiba Corp Radiation imaging apparatus and semiconductor detector interpolation method and apparatus
JP2009164690A (en) * 2007-12-28 2009-07-23 Nikon Corp Image processing apparatus, correction information generation method, and imaging apparatus
JP2010028488A (en) * 2008-07-18 2010-02-04 Canon Inc Imaging apparatus and control method for the same
JP4586941B1 (en) * 2009-06-15 2010-11-24 コニカミノルタオプト株式会社 Imaging device
JP4586942B1 (en) * 2009-06-15 2010-11-24 コニカミノルタオプト株式会社 Imaging device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1051693A (en) * 1996-07-30 1998-02-20 Toshiba Medical Eng Co Ltd Image processing device for defective pixel correction
JPH11252464A (en) * 1997-11-05 1999-09-17 St Microelectronics Inc Pixel correction system and method for CMOS imagers
JP2005006196A (en) * 2003-06-13 2005-01-06 Canon Inc Radiation imaging method, radiation imaging apparatus, computer program, and computer-readable recording medium
JP2008104122A (en) * 2006-10-20 2008-05-01 Toshiba Corp Radiation imaging apparatus and semiconductor detector interpolation method and apparatus
JP2009164690A (en) * 2007-12-28 2009-07-23 Nikon Corp Image processing apparatus, correction information generation method, and imaging apparatus
JP2010028488A (en) * 2008-07-18 2010-02-04 Canon Inc Imaging apparatus and control method for the same
JP4586941B1 (en) * 2009-06-15 2010-11-24 コニカミノルタオプト株式会社 Imaging device
JP4586942B1 (en) * 2009-06-15 2010-11-24 コニカミノルタオプト株式会社 Imaging device

Similar Documents

Publication Publication Date Title
JP4768448B2 (en) Imaging device
US8508631B2 (en) Pixel defect detection and correction device, imaging apparatus, pixel defect detection and correction method, and program
US7508975B2 (en) Image sensor
KR100617781B1 (en) Device and method for improving image quality of image sensor
US8576309B2 (en) Pixel defect correction device, imaging apparatus, pixel defect correction method, and program
US11838649B2 (en) Image capturing device and control method thereof and medium
JP5162730B2 (en) Imaging device and dark current correction method thereof
CN102572273B (en) Camera head
CN102883108B (en) Picture pick-up device and control method, image processing equipment and method
US20150271423A1 (en) Image-pickup apparatus and method of detecting defective pixel thereof
US10027919B2 (en) Signal processing apparatus, image capturing apparatus, control apparatus, signal processing method, and control method
JP4586942B1 (en) Imaging device
US20090052801A1 (en) Image processing apparatus, camera, image processing program product and image processing method
JP4977880B2 (en) Imaging device
US10630924B2 (en) Image processing apparatus, image processing method, and non-transitory computer readable recording medium
US10475162B2 (en) Image processing device, method, and storage medium for gamma correction based on illuminance
WO2010010871A1 (en) Imaging device
JP2010093759A (en) Imaging sensor and imaging apparatus
JP5588729B2 (en) Image signal processing device
WO2012150660A1 (en) Image capture device
JP2012065069A (en) Defect detection and compensation apparatus, program and storage medium
JP5121498B2 (en) Imaging apparatus and image data correction method
JP5267290B2 (en) Image processing apparatus, image processing method, and image processing program
JP2004112025A (en) Defective pixel correction device for solid-state imaging device
JP2008028634A (en) Imaging apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12779481

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12779481

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP