WO2020003422A1 - 画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体 - Google Patents

画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体 Download PDF

Info

Publication number
WO2020003422A1
WO2020003422A1 PCT/JP2018/024444 JP2018024444W WO2020003422A1 WO 2020003422 A1 WO2020003422 A1 WO 2020003422A1 JP 2018024444 W JP2018024444 W JP 2018024444W WO 2020003422 A1 WO2020003422 A1 WO 2020003422A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel
interpolation
value
missing
pixels
Prior art date
Application number
PCT/JP2018/024444
Other languages
English (en)
French (fr)
Inventor
青木 透
菅野 美樹
まさ子 浅村
善隆 豊田
康平 栗原
大祐 鈴木
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to DE112018007771.3T priority Critical patent/DE112018007771T5/de
Priority to US16/973,041 priority patent/US11748852B2/en
Priority to JP2020526792A priority patent/JP6932260B2/ja
Priority to PCT/JP2018/024444 priority patent/WO2020003422A1/ja
Priority to CN201880094839.2A priority patent/CN112313934B/zh
Publication of WO2020003422A1 publication Critical patent/WO2020003422A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/401Compensating positionally unequal response of the pick-up or reproducing head
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
    • H04N1/19Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa using multi-element arrays
    • H04N1/191Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa using multi-element arrays the array comprising a one-dimensional array, or a combination of one-dimensional arrays, or a substantially one-dimensional array, e.g. an array of staggered elements
    • H04N1/192Simultaneously or substantially simultaneously scanning picture elements on one main scanning line
    • H04N1/193Simultaneously or substantially simultaneously scanning picture elements on one main scanning line using electrically scanned linear arrays, e.g. linear CCD arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/843Demosaicing, e.g. interpolating colour pixel values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2209/00Details of colour television systems
    • H04N2209/04Picture signal generators
    • H04N2209/041Picture signal generators using solid-state devices
    • H04N2209/042Picture signal generators using solid-state devices having a single pick-up sensor
    • H04N2209/045Picture signal generators using solid-state devices having a single pick-up sensor using mosaic colour filter
    • H04N2209/046Colour interpolation to calculate the missing colour values

Definitions

  • the present invention relates to a pixel interpolation device, a pixel interpolation method, an image processing device, a program, and a recording medium.
  • An image reading apparatus that reads an object to be read (document) with a one-dimensional imaging unit (line sensor) and generates image data corresponding to the document has been put into practical use.
  • a line sensor one in which a plurality of sensor chips each having a plurality of photoelectric conversion elements arranged along a straight line in a longitudinal direction thereof and connected to each other is widely used.
  • the sensor chip is manufactured by semiconductor manufacturing technology, the distance between the photoelectric conversion elements on the sensor chip is relatively small.
  • the line sensor is manufactured by a method in which a plurality of sensor chips are connected to each other and fixed to a substrate or the like. Therefore, the distance between photoelectric conversion elements located at adjacent ends of the connected sensor chips is relatively large. .
  • a pixel value cannot be obtained at a position between adjacent ends of connected sensor chips. For such a pixel, it is necessary to interpolate the pixel value.
  • a pixel at a position where a photoelectric conversion element does not exist, and a pixel that needs to be interpolated because the pixel value is incorrect or the pixel value has low reliability are referred to as a pixel with a missing pixel value or simply a missing pixel.
  • Patent Literature 1 discloses that a pattern matching method is used for interpolation of a missing pixel when it is determined that the pixel value of the missing pixel is in an image area that changes periodically.
  • Patent No. 5699621 paragraphs 0037 to 0068, FIG. 2
  • Patent Literature 1 it is necessary to prepare an optimum pattern in advance for each cycle of a change in pixel value. If the number of patterns is small, a pixel value in which a missing pixel looks unnatural is calculated. On the other hand, when the number of patterns increases, the required storage capacity or data processing amount increases.
  • the pixel interpolation device A plurality of interpolation calculation units for interpolating the pixel value of each of the missing pixels in the input image based on the pixel values of the pixels constituting the input image, A determination unit; An output unit, Each of the plurality of interpolation calculation unit, interpolates the pixel value of the missing pixel, outputs the interpolated pixel value as an interpolation candidate value, as a test pixel a plurality of non-missing pixels in the vicinity of the missing pixel, Interpolating each pixel value of the test pixel, outputting the interpolated pixel value as a test interpolation value of the test pixel, The interpolation of the test pixel is performed by the same interpolation calculation method as the interpolation of the missing pixel,
  • the plurality of interpolation calculation units include a first group of interpolation calculation units and a second group of interpolation calculation units, The first group of interpolation calculators performs interpolation by an average maintaining interpolation calculation.
  • the number of pixels referred to between the first group of interpolation calculation units is different from each other
  • the second group of interpolation calculation units performs interpolation by interpolation calculation different from the average maintaining interpolation calculation, At least one of the interpolation calculation method and the number of pixels referred to between the second group interpolation calculation units is different from each other
  • the determination unit calculates an error index value for each interpolation calculation unit based on the test interpolation value for each of the plurality of test pixels in the vicinity of each missing pixel and the absolute value of the difference between the pixel value of the test pixel.
  • the output unit selects and outputs an interpolation candidate value output from the interpolation calculation unit selected by the determination unit from among the interpolation candidate values output from the plurality of interpolation calculation units for each missing pixel.
  • interpolation can be performed so that the interpolated pixels do not look unnatural, and the required storage capacity and data processing amount are relatively small.
  • FIG. 2 is a functional block diagram illustrating a schematic configuration of a pixel interpolation device according to the first embodiment of the present invention. It is a figure showing the outline of a contact image sensor.
  • FIG. 4 is a diagram showing in detail a connection portion between sensor chips constituting the contact image sensor of FIG. 3.
  • FIG. 2 is a diagram illustrating pixels referred to in interpolation in an average maintaining interpolation calculation unit illustrated in FIG. 1.
  • FIG. 2 is a functional block diagram illustrating a configuration example of an average maintaining interpolation calculation unit illustrated in FIG. 1.
  • FIG. 6 is a diagram illustrating pixels referred to in interpolation in the average maintaining interpolation calculation unit illustrated in FIG. 5.
  • FIG. 1 is a functional block diagram illustrating a schematic configuration of a pixel interpolation device according to the first embodiment of the present invention. It is a figure showing the outline of a contact image sensor.
  • FIG. 4 is a diagram showing in detail a connection portion between sensor chips constituting the contact image sensor of FIG.
  • FIG. 6 is a functional block diagram illustrating a configuration example of an average maintaining interpolation calculation unit illustrated in FIG. 5.
  • FIG. 13 is a functional block diagram illustrating a schematic configuration of a pixel interpolation device according to a third embodiment of the present invention.
  • FIG. 9 is a diagram illustrating pixels referred to by interpolation in the average maintaining interpolation calculation unit illustrated in FIG. 8.
  • FIG. 9 is a functional block diagram illustrating a configuration example of an average maintaining interpolation calculation unit illustrated in FIG. 8.
  • FIG. 14 is a functional block diagram illustrating a schematic configuration of an image processing device according to a fourth embodiment of the present invention.
  • FIG. 1 is a functional block diagram illustrating a schematic configuration of the pixel interpolation device 1 according to the first embodiment of the present invention.
  • the pixel interpolation device 1 interpolates the pixel value of a missing pixel in an image represented by the image data Di supplied to the input terminal 1a.
  • the image data Di is obtained, for example, by reading an object (document) to be read by an imaging unit including the contact image sensor 900 shown in FIG.
  • the contact image sensor 900 shown in FIG. 2 is configured by arranging a plurality of sensor chips 902 on a substrate 904 along a straight line and connecting them to each other.
  • the longitudinal direction of the contact image sensor 900 is the main scanning direction.
  • FIG. 3 shows a connection portion between adjacent sensor chips 902 in more detail.
  • Each of the sensor chips 902 has a plurality of photoelectric conversion elements 906 as illustrated.
  • each sensor chip 902 the plurality of photoelectric conversion elements 906 are linearly arranged at a constant interval da.
  • photoelectric conversion elements located at adjacent ends of two connected sensor chips 902 are separated from each other by a distance db.
  • the distance db cannot be made as small as the distance da.
  • db does not have to be twice as large as da, and it is also possible to perform interpolation according to the ratio of da to db.
  • the interpolation processing described below is not limited to interpolation of pixels at positions where no photoelectric conversion element exists between sensor chips, and pixel signals obtained by reading with photoelectric conversion elements in the sensor chip exist.
  • the present invention can also be applied to interpolation when the pixel value is incorrect or has low reliability. Reasons why such incorrect pixel values or low-reliability pixel values occur include a malfunction of the photoelectric conversion element and a stain on an originally transparent component existing in the optical path.
  • missing pixel means not only a pixel at a position where a photoelectric conversion element is not present, but also a pixel that requires interpolation due to incorrect pixel value or low reliability of the pixel value. I do.
  • a pixel that has a pixel value and does not require interpolation is called a non-missing pixel.
  • the imaging signal Ai representing one line of image is obtained by performing imaging once by the contact image sensor 900, and the image data Di is obtained by A / D converting the imaging signal Ai.
  • the image data Di is obtained by A / D converting the imaging signal Ai.
  • an image represented by the image data Di is referred to as an input image, and is represented by the same reference numeral Di.
  • a pixel value represented by the image data Di is called an original pixel value, and is represented by the same reference sign Di. The same applies to other images and pixel values.
  • the pixel interpolation device 1 can be realized by a processing circuit.
  • the processing circuit may be constituted by dedicated hardware, may be constituted by software, or may be constituted by a combination of hardware and software.
  • the pixel interpolation device is configured with a microcomputer having a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and the like.
  • the pixel interpolation apparatus 1 includes a data storage unit 2, a plurality of interpolation calculation units 11-1 to 11-N, 21-1 to 21-M, a determination unit 4, an output unit 5, an interpolation data insertion unit 6, Having.
  • the data storage unit 2 stores the image data Di.
  • the image data Di stored in the data storage unit 2 is read out, and a plurality of interpolation calculation units 11-1 to 11-N and 21-1 to 21-M, a determination unit 4, and an interpolation data insertion unit 6 And supplied to.
  • Each of the plurality of interpolation calculation units 11-1 to 11-N and 21-1 to 21-M interpolates the pixel value of a missing pixel in the input image Di, and replaces the interpolated pixel value (interpolated value) with the missing value.
  • the pixel value is supplied to the output unit 5 as a pixel interpolation candidate value P (h), and a plurality of non-missing pixels in the vicinity (neighboring) of the missing pixel are used as test pixels to interpolate each pixel value of the test pixel.
  • the determined pixel value (interpolated value) is supplied to the determination unit 4 as a test interpolated value P (t) of the test pixel.
  • the test pixel interpolation is called test interpolation.
  • the test interpolation is performed on the assumption that the pixel value of the test pixel is unknown.
  • pixels around the missing pixel are referred to.
  • pixels around the test pixel are referred to.
  • the relative position of the peripheral pixel referred to in the test interpolation of each test pixel with respect to the test pixel is the same as the relative position of the peripheral pixel referenced in the interpolation of each missing pixel with respect to the missing pixel.
  • the interpolation calculation method used in the test interpolation is the same as the interpolation calculation method used in the interpolation of the missing pixel.
  • Test interpolation performed by using a plurality of non-missing pixels near each missing pixel as test pixels may be referred to as test interpolation for the missing pixel.
  • the plurality of interpolation calculation units 11-1 to 11-N and 21-1 to 21-M are composed of a first group of interpolation calculation units 11-1 to 11-N and a second group of interpolation calculation units 21-1 to 21-N. M is included.
  • the first group of interpolation calculation units 11-1 to 11-N includes first to N-th average maintaining interpolation calculation units 11-1 to 11-N.
  • N is an integer of 2 or more.
  • the first to N-th average maintaining interpolation calculation units 11-1 to 11-N perform interpolation by means of average maintaining interpolation calculation.
  • the number of pixels referred to in the interpolation differs among the first to N-th average maintaining interpolation calculation units 11-1 to 11-N.
  • FIG. 4 is a diagram showing a part of the input image Di, and is one of the average sustaining interpolation calculating units 11-1 to 11-N, that is, the n-th average maintaining interpolation calculating unit 11-n (n is 1 to N). 2) indicates the position of the pixel referred to in the interpolation in (1). It is assumed that the position of the missing pixel MP in the input image Di is known in advance. ⁇ indicates a non-missing pixel, and X indicates a missing pixel MP.
  • Symbols MS and NA each indicate a pixel row composed of a plurality of consecutive pixels.
  • the pixel column MS includes the missing pixel MP, and the pixel column NA does not include the missing pixel MP.
  • the pixel column MS is called a missing portion, and the pixel column NA is called a non-missing portion.
  • the pixels of the missing portion MS and the non-missing portion NA are referred to by interpolation.
  • the number of pixels constituting the missing part MS and the number of pixels constituting the non-missing part NA are equal to each other. This number is represented by k. k is 3 in the illustrated example. k is preset as a parameter in each average maintaining interpolation calculation unit.
  • a plurality of parameters k having different values are set in the plurality of average maintaining interpolation calculation units 11-1 to 11-N.
  • the average maintaining interpolation calculation units 11-1 to 11-N are referred to by interpolation.
  • the number of pixels is different from each other.
  • the average maintaining interpolation operation unit 11-n interpolates the pixel value of the missing pixel MP such that the average value of the pixel value of the pixel of the missing portion MS is equal to the average value of the pixel value of the pixel of the non-missing portion NA. That is, the average value of the pixel values of the pixels other than the missing pixel MP in the missing portion MS and the average value of the interpolation value P of the missing pixel MP is equal to the average value of the pixel values of the pixels in the non-missing portion NA.
  • the interpolation value P is determined.
  • FIG. 5 is a functional block diagram illustrating a configuration example of the average maintaining interpolation operation unit 11-n.
  • the average maintaining interpolation operation section 11-n includes a missing section adding section 101, a non-missing section adding section 102, and a subtracting section 103.
  • the image data Di read from the data storage unit 2 is input to the missing unit adding unit 101 and the non-missing unit adding unit 102.
  • the missing portion adding unit 101 calculates the sum of the pixel values of the pixels other than the missing pixel MP among the k pixels included in the missing portion MS, and outputs the sum as the missing portion total MQ.
  • the non-missing portion adding section 102 calculates the sum of the pixel values of the k pixels included in the non-missing portion NA and outputs the sum as the non-missing portion total SA.
  • the subtraction unit 103 subtracts the total missing part MQ from the total non-missing part SA. The difference value obtained as a result of the subtraction is used as the interpolation value P of the missing pixel MP.
  • the interpolation value P output from the subtraction unit 103 is determined such that the average value of the pixel values of the pixels of the missing portion MS is equal to the average value of the pixel values of the pixels of the non-missing portion NA. It was done.
  • equation (1) is obtained. Therefore, if the interpolation value P is determined by the processing represented by the above equation (1), the average value of the pixel values of the pixels of the missing portion MS becomes equal to the average value of the pixel values of the pixels of the non-missing portion NA.
  • the average maintaining interpolation calculation units 11-1 to 11-N can perform interpolation with high accuracy on the edge part of the image and the image part where the pixel value changes periodically.
  • the period of change of pixel values that can be interpolated with high accuracy (accordingly, spatial frequency) changes depending on the number of pixels referred to in interpolation. Therefore, the number of pixels referred to by interpolation by the average maintaining interpolation calculation units 11-1 to 11-N depends on the range of the period of the change of the pixel value for which it is desired to perform the interpolation with high accuracy (in other words, the range of the spatial frequency). ).
  • the average maintaining interpolation calculator 11-n shown in FIG. 5 is also used for test interpolation.
  • the operation at the time of performing the test interpolation in the average maintaining interpolation operation unit 11-n is the same as the operation at the time of performing the above-described interpolation of the missing pixel MP (calculation of the interpolation candidate value P (h)).
  • an interpolation operation is performed by regarding each test pixel as a missing pixel, and the calculated pixel value P is output as a test interpolation value P (t).
  • the second group of interpolation calculation units 21-1 to 21-M includes first to M-th interpolation calculation units 21-1 to 21-M.
  • M is an integer of 2 or more.
  • the first to M-th interpolation calculation units 21-1 to 21-M perform interpolation by an interpolation calculation method different from the above-mentioned average maintaining interpolation calculation. At least one of the interpolation calculation method used for the interpolation and the number of pixels referred to in the interpolation is different between the first to M-th interpolation calculation units 21-1 to 21-M.
  • Examples of the interpolation calculation performed by the first to M-th interpolation calculation units 21-1 to 21-M include a linear interpolation calculation, a bicubic interpolation calculation, and a Lanczos interpolation calculation.
  • the first to M-th interpolation calculators 21-1 to 21-M also have an interpolation candidate value P (h) for each missing pixel. ) Is calculated and supplied to the output unit 5, and a test interpolation value P (t) is calculated for each of the plurality of non-missing pixels near the missing pixel, and is supplied to the determination unit 4.
  • the determination unit 4 is supplied with not only the test interpolation value P (t) from the interpolation calculation units 11-1 to 11-N and 21-1 to 21-M, but also the pixel value of the test pixel from the data storage unit 2. (Original pixel value) Di is input.
  • the determination unit 4 compares the test interpolation value P (t) input from the interpolation calculation units 11-1 to 11-N and 21-1 to 21-M with the original pixel value Di input from the data storage unit 2. Based on the evaluation, an error index value indicating the evaluation result is calculated. The evaluation is performed for each missing pixel for each of the interpolation calculation units.
  • the error index value for each interpolation calculation unit is obtained, for example, by summing up the results of test interpolation for each missing pixel.
  • the error index value of each interpolation calculation unit is obtained by calculating the test interpolation value P (t) calculated for each of the plurality of test pixels near each missing pixel by the interpolation calculation unit and the original pixel value Di of the test pixel. Is obtained by summing the absolute values of the differences with respect to all the test pixels near the missing pixel.
  • the error index value is a value obtained by dividing the integrated value of all of the test pixels by the number of test pixels, that is, the average value of the differential absolute values (the difference average value). ).
  • the error index value is the integrated value of the absolute value of the difference for all test pixels. (Difference integrated value).
  • the error index value indicates the appropriateness of each interpolation calculation unit in the vicinity of each missing pixel, that is, the accuracy of the interpolation calculation by each interpolation calculation unit.
  • the above error index value is calculated for each missing pixel.
  • the determination unit 4 specifies the interpolation calculation unit having the smallest error index value for each missing pixel, and outputs a signal (selection signal) HS indicating the specified interpolation calculation unit to the output unit 5.
  • interpolation values P calculated for the respective missing pixels by the interpolation calculation units 11-1 to 11-N and 21-1 to 21-M are input to the output unit 5 as interpolation candidate values P (h). .
  • the output unit 5 is configured to output the interpolation signal indicated by the selection signal HS from the determination unit 4 from the outputs (interpolation candidate values) P (h) of the interpolation calculation units 11-1 to 11-N and 21-1 to 21-M.
  • the output of the calculation unit is selected and output as the interpolation value HV of the missing pixel.
  • the interpolation data insertion unit 6 receives the image data Di read from the data storage unit 2, receives the interpolation value HV output from the output unit 5, and outputs the interpolation value HV as the pixel value of each missing pixel in the input image Di. By inserting the interpolation value HV for the missing pixel output from the unit 5, the image data Du filled with the pixel value of the missing pixel is generated and output.
  • the image data Du has an interpolation value HV for a missing pixel, and has an original pixel value Di for a non-missing pixel. That is, the pixel value Du represented by the image data Du is the same as the interpolation value HV for a missing pixel, and the same as the original pixel value Di for a non-missing pixel.
  • the pixel interpolating apparatus By configuring the pixel interpolating apparatus as described above, it is possible to select an interpolation calculation in which a test interpolation value for a test pixel near the missing pixel is closest to the original pixel value Di as an interpolation calculation for the missing pixel. Therefore, it is possible to perform the pixel interpolation using the result of the optimal interpolation calculation according to the characteristics of the image (the image portion near the missing pixel).
  • the average maintaining interpolation calculation units 11-1 to 11-N can perform interpolation with high accuracy in the edge portion of the image and the image portion where the pixel value changes periodically. Then, with respect to the image portion where the pixel value changes periodically, the optimum one of the plurality of average maintaining interpolation calculation units is selected in accordance with the cycle at which the pixel value changes. On the other hand, except for the edge portion of the image and the image portion in which the pixel value periodically changes, the interpolation performed by any of the other interpolation calculation units may be more accurate than the average maintaining interpolation calculation unit. , An interpolation operation unit other than the average maintaining interpolation operation unit and having higher accuracy in interpolation is selected. Therefore, in the pixel interpolation device of the present embodiment, an optimal interpolation calculation unit is selected according to the characteristics of the image.
  • the image portion and the edge portion which periodically change at a high frequency can be reproduced with high accuracy.
  • Embodiment 2 The overall configuration of the pixel interpolation device 1 according to the second embodiment is as shown in FIG. In the second embodiment, the processing contents in each of the average maintaining interpolation calculation units 11-1 to 11-N are different from those in the first embodiment.
  • the number of pixels in the missing part and the number of pixels in the non-missing part referred to by interpolation by the average maintaining interpolation calculation units 11-n are the same.
  • the number of pixels in the missing part is larger than the number of pixels in the missing part.
  • FIG. 6 is a diagram showing a part of the input image Di, and shows the positions of the pixels referred to in the interpolation in the average maintaining interpolation calculation unit 11-n in the present embodiment. 4, it is assumed that the position of the missing pixel MP in the input image Di is known in advance. ⁇ indicates a non-missing pixel, and X indicates a missing pixel MP.
  • the missing portion MS and the non-missing portion NA are a pixel row composed of a plurality of pixels, as in FIG. 4.
  • the missing portion MS includes the missing pixel MP, and the non-missing portion NA does not include the missing pixel MP.
  • the plurality of average maintaining interpolation calculation units 11-1 to 11-N are different from each other in at least one of the parameters ka and kb.
  • the number of pixels referred to in the interpolation is determined by the values of the parameters ka and kb. Therefore, the plurality of average maintaining interpolation calculation units 11-1 to 11-N differ from each other in the number of pixels referred to in interpolation.
  • the average maintaining interpolation operation unit 11-n controls the missing pixel MP so that the average value of the pixel values of the pixels of the missing portion MS becomes equal to the average value of the pixel values of the pixels of the non-missing portion NA. Is interpolated.
  • FIG. 7 is a functional block diagram showing a configuration example of the average maintaining interpolation calculation unit 11-n used in the second embodiment.
  • the average maintaining interpolation calculator 11-n in FIG. 7 is generally the same as the average maintaining interpolation calculator 11-n in FIG. The difference is that a multiplication unit 104 is added.
  • the multiplication unit 104 multiplies the output SA of the non-missing portion addition unit 102 by the parameter ratio ka / kb.
  • the subtraction unit 103 subtracts the output MQ of the missing unit addition unit 101 from the output (SA ⁇ ka / kb) of the multiplication unit 104.
  • the difference value obtained as a result of the subtraction is used as the interpolation value P of the missing pixel MP.
  • the interpolation value P output from the subtraction unit 103 is determined such that the average value of the pixel values of the pixels of the missing portion MS is equal to the average value of the pixel values of the pixels of the non-missing portion NA. It was done.
  • the interpolation value P calculated for the missing pixel MP is supplied to the output unit 5 as an interpolation candidate value P (h).
  • test interpolation is performed in the same manner as the interpolation of the missing pixel, and the interpolation value P is supplied to the determination unit 4 as the test interpolation value P (t).
  • the non-missing portion includes a plurality of continuous pixels.
  • the non-missing portion may include a plurality of discontinuous pixels. For example, a plurality of consecutive pixels located on one side (left side in the figure) of the missing pixel MP and a plurality of consecutive pixels located on the other side (right side in the figure) of the missing pixel MP are non-consecutive. You may comprise a missing part.
  • the average maintaining interpolation calculation units 11-1 to 11-N As described above, the number of pixels of the non-missing part increases, and the interpolation value of the missing pixel becomes smaller than the method of the first embodiment. It will be more natural.
  • FIG. 8 A schematic configuration of a pixel interpolation device 1c according to the third embodiment is as shown in FIG.
  • the pixel interpolation device 1c shown in FIG. 8 is generally the same as the pixel interpolation device 1 of FIG. 1, but differs in the following points.
  • the average maintaining interpolation calculating sections 11-1 to 11-N in FIG. 1 instead of the average maintaining interpolation calculating sections 11-1 to 11-N in FIG. 1, the average maintaining interpolation calculating sections 13-1 to 13-N are provided.
  • the first to N-th average sustaining interpolation calculation units 13-1 to 13-N all perform average sustaining interpolation calculations, but differ in the number of pixels referred to in interpolation.
  • Each of the first to N-th average sustaining interpolation calculators 13-1 to 13-N, that is, the n-th average sustaining interpolation calculator 13-n is the n-th average sustaining interpolation calculator 11-n of the first embodiment. n, but the arrangement of the pixels referred to by interpolation is different, and the sum of the pixel values of the plurality of non-missing pixels located on one side of the missing pixel and the plurality of non-missing pixels located on the other side It has a function of calculating the difference between the pixel value and the sum of the pixel values.
  • FIG. 9 is a diagram showing a part of the input image Di, and shows the positions of the pixels referred to in the interpolation by the average maintaining interpolation calculating unit 13-n in the present embodiment. As in FIGS. 4 and 6, it is assumed that the position of the missing pixel MP in the input image Di is known in advance. ⁇ indicates a non-missing pixel, and X indicates a missing pixel MP.
  • the missing portion MS is a pixel row composed of ka pixels, as in FIG. 6, and the missing portion MS includes a missing pixel MP.
  • the non-missing portion NA is divided into a first portion NL located on one side of the missing pixel MP and a second portion NR located on the other side of the missing pixel MP. ing.
  • the first portion NL is referred to as a left portion
  • the second portion NR is referred to as a right portion.
  • Each of the left part NL and the right part NR is a pixel row composed of a plurality of pixels, and none of them includes the missing pixel MP.
  • the left side portion NL and the right side portion NR are composed of the same number of pixels, and are formed symmetrically around the missing pixel MP.
  • the number kc of pixels forming each of the left portion NL and the right portion NR is the same as the number ka of pixels forming the missing portion MS.
  • ka and kc are preset as parameters in each average maintaining interpolation calculation unit.
  • the first to N-th average maintaining interpolation calculators 13-1 to 13-N differ from each other in at least one of the parameters ka and kc. Therefore, the number of pixels referred to in interpolation differs.
  • ka and kb may be set in advance in each average maintaining interpolation calculation unit as parameters.
  • the n-th average sustaining interpolation unit 13-n calculates the average of the pixel values of the pixels in the missing part MS as the non-missing part.
  • the pixel value of the missing pixel MP is interpolated so as to be equal to the average of the pixel values of the pixels of NA.
  • the non-missing part NA includes the left part NL and the right part NR.
  • FIG. 10 is a functional block diagram showing a configuration example of the average maintaining interpolation calculation unit 13-n.
  • the average maintaining interpolation calculation unit 13-n in FIG. 10 includes a missing portion addition unit 101, a left side addition unit 105, a right side addition unit 106, a sum calculation unit 107, a multiplication unit 104, a subtraction unit 103, A difference calculation unit 108.
  • the missing portion adding unit 101 obtains the sum of the pixel values of the pixels other than the missing pixel MP among the ka pixels included in the missing portion MS, and outputs the sum as the missing portion total MQ.
  • the left side adder 105 calculates the sum of the pixel values of the kc pixels included in the left side NL, and outputs the sum as the left side partial sum SL.
  • the right side adder 106 calculates the sum of the pixel values of the kc pixels included in the right side NR, and outputs the sum as the right side partial sum SR.
  • Total calculation section 107 adds left partial sum SL and right partial sum SR, and outputs the addition result as non-missing part total SA.
  • the left-side adder 105, the right-side adder 106, and the sum calculator 107 form a non-missing-part adder 102c.
  • the multiplication unit 104 multiplies the output SA of the non-missing portion addition unit 102c by the parameter ratio ka / kb.
  • the subtraction unit 103 subtracts the output MQ of the missing unit addition unit 101 from the output (SA ⁇ ka / kb) of the multiplication unit 104.
  • the difference value obtained as a result of the subtraction is used as the interpolation value P of the missing pixel MP.
  • P (SL + SR) ⁇ ka / kb-MQ (6)
  • the subtraction unit 103 calculates the average value of the pixel values of the pixels of the missing portion MS based on the partial sums SL and SR and the total value of the missing portions MQ from the pixel value of the pixel of the non-missing portion NA. Is output as the interpolation value P of the missing pixel MP determined so as to be equal to the average value of.
  • the interpolation value P calculated for the missing pixel MP is supplied to the output unit 5 as an interpolation candidate value P (h).
  • the difference calculator 108 calculates the absolute value of the difference between the output (left-side partial sum) SL of the left-side adder 105 and the output (right-side partial sum) SR of the right-side adder 106.
  • the calculated absolute difference value is sent to the determination unit 4c as a left / right difference value DLR.
  • the left / right difference value DLR calculated for each missing pixel is calculated by adding the sum of the pixel values of the pixels on the left side (first portion located on one side) located on the left side of the missing pixel and the right side of the missing pixel. It represents the difference from the sum of the pixel values of the pixels located on the right side (the second part located on the other side).
  • each of the average maintaining interpolation calculating units 13-n performs an interpolation calculation on each of the test pixels by using a plurality of non-missing pixels near the missing pixel as test pixels.
  • the calculated interpolation value P is supplied to the determination unit 4c as a test interpolation value P (t).
  • the left and right difference value DLR is not calculated for the test pixel.
  • the operation of the interpolation calculation units 21-1 to 21-M is the same as in the first embodiment.
  • the point that the determination unit 4c calculates the error index value based on the test interpolation value P (t) supplied from the average maintaining interpolation calculation units 13-1 to 13-N and the interpolation calculation units 21-1 to 21-M is as follows. , And Embodiments 1 and 2.
  • the determination unit 4c operates in the case where the interpolation calculation unit having the smallest error index value is any of the average maintaining interpolation calculation units 13-1 to 13-N according to the first and second embodiments. Is different from the determination unit 4. In the above case, the determination unit 4c determines whether the left / right difference value DLR corresponding to the average maintaining interpolation calculation unit determined to have the smallest error index value is larger than a predetermined threshold value DLRth. When the left / right difference value DLR is greater than the threshold value DLRth, the determination unit 4c selects a pre-designated interpolation calculation unit among the interpolation calculation units 21-1 to 21-M, and outputs the selection result to the output unit 5. Notice.
  • the pre-designated interpolation operation unit performs an interpolation operation using, for example, a pixel adjacent to a missing pixel, for example, an adjacent pixel.
  • the interpolation operation for example, a linear interpolation operation or a bicubic interpolation operation is used.
  • a linear interpolation operation an average value of a pair of non-missing pixels adjacent to the missing pixel is obtained.
  • the bicubic interpolation calculation a pair of non-missing pixels adjacent to the missing pixel and a pixel adjacent to the pair of non-missing pixels (adjacent to any of the pair of non-missing pixels and opposite to the missing pixel) Pixel located on the side) is used as a reference pixel.
  • the left and right difference values are obtained in each of the plurality of average maintaining interpolation calculation units 13-1 to 13-N, and the error of the plurality of average maintenance interpolation calculation units 13-1 to 13-N is determined. It is determined whether the left-right difference value obtained by the average maintaining interpolation calculation unit selected based on the index value is larger than a threshold value.
  • one of the plurality of average maintaining interpolation calculation units 13-1 to 13-N obtains the left / right difference value, and determines whether the obtained left / right difference value is larger than a threshold value. It is good.
  • the left / right difference value may be obtained by any one of the interpolation operation units 21-1 to 21-M of the second group, and it may be determined whether the obtained left / right difference value is larger than a threshold value. Further, the left and right difference values are obtained by two or more interpolation calculation units of the plurality of interpolation calculation units, and a difference index value is obtained based on the obtained two or more left and right difference values. May also be determined.
  • one or more of the plurality of interpolation calculation units determine a left / right difference value, and the obtained left / right difference value or left / right difference value is calculated. It may be determined whether the difference index value calculated based on the difference value is larger than the threshold value.
  • the expressions “left” and “right” are used for the position of the pixel and the position of the non-missing portion. However, this is for convenience, that is, one side of the missing pixel, Means the other side. That is, the determination unit determines in advance the difference absolute value between the sum of the pixel values of the first portion NL and the sum of the pixel values of the second portion NR, or a difference index value determined based on the difference absolute value. If the threshold value is larger than the threshold value, a predetermined interpolation calculation unit of the second group of interpolation calculation units may be selected.
  • the image data output from the data storage unit 2 may represent the luminance of the image, or may represent the color components.
  • the pixel value to be processed by the pixel interpolation device may be a luminance value or a color component value.
  • the pixel interpolation device described in the first to third embodiments may be provided for each color component value.
  • an image processing apparatus including three or more pixel interpolating devices provided corresponding to three or more color component values and performing clip processing on color difference component values will be described as a fourth embodiment. I do.
  • FIG. 11 is a functional block diagram illustrating a schematic configuration of the image processing device according to the fourth embodiment of the present invention.
  • the image processing device shown in FIG. 11 includes an R pixel interpolation device 201, a G pixel interpolation device 202, a B pixel interpolation device 203, a luminance / color difference calculation unit 205, a color difference calculation unit 206, a clip value determination unit 207, a clip processing unit 208, And a color component restoring unit 209.
  • Each of the R pixel interpolation device 201, the G pixel interpolation device 202, and the B pixel interpolation device 203 has the same configuration as the pixel interpolation device of the first, second, or third embodiment.
  • the image data Di is input and the image data Du is output.
  • the R pixel interpolation device 201, the G pixel interpolation device 202, and the B pixel interpolation device according to the present embodiment Numeral 203 denotes input of R image data Ri, G image data Gi, and B image data Bi, and outputs R image data Ru, G image data Gu, and B image data Bu.
  • the R image data Ri, the G image data Gi, and the B image data Bi are obtained, for example, by reading a document with an imaging unit including a photoelectric conversion element having sensitivity to R, G, and B light (wavelength components).
  • the photoelectric conversion element having sensitivity to R, G, and B light is, for example, a photoelectric conversion element including a color filter that transmits R, G, and B light.
  • the R pixel interpolation device 201 interpolates the pixel value (R component value) of the missing pixel in the image represented by the input R image data Ri. That is, based on the original pixel value (R component value) Ri represented by the R image data Ri, the interpolation value of the missing pixel is determined, and the image data Ru filled with the interpolation value as the R component value of the missing pixel is output. I do.
  • the R component value Ru represented by the image data Ru is the same as the interpolation value for a missing pixel, and the same as the original pixel value (input R component value) Ri for a non-missing pixel.
  • the G pixel interpolation device 202 interpolates the pixel value (G component value) of the missing pixel in the image represented by the input G image data Gi. That is, the interpolation value of the missing pixel is determined based on the original pixel value (G component value) Gi represented by the G image data Gi, and the image data Gu filled with the interpolation value as the G component value of the missing pixel is output. I do.
  • the G component value Gu represented by the image data Gu is the same as the interpolation value for the missing pixel, and the same as the original pixel value (input G component value) Gi for the non-missing pixel.
  • the B pixel interpolation device 203 interpolates the pixel value (B component value) of the missing pixel in the image represented by the input B image data Bi. That is, based on the original pixel value (B component value) Bi represented by the B image data Bi, the interpolation value of the missing pixel is determined, and the image data Bu filled with the interpolation value as the B component value of the missing pixel is output. I do.
  • the B component value Bu represented by the image data Bu is the same as the interpolation value for the missing pixel, and the same as the original pixel value (input B component value) Bi for the non-missing pixel.
  • the pixel interpolation performed by each of the R pixel interpolation device 201, the G pixel interpolation device 202, and the B pixel interpolation device 203 is, for example, the same as the pixel interpolation performed by any of the pixel interpolation devices of the first, second, and third embodiments. It is. However, the number of interpolation calculation units included in the pixel interpolation device, the interpolation calculation method used for interpolation in each interpolation calculation unit, and the number of pixels referred to in interpolation may be different for each color component. By doing so, it becomes possible to perform more appropriate interpolation for each color component according to the characteristics of the image of the color component.
  • the luminance / color difference calculation unit 205 converts the R component value Ru, the G component value Gu, and the B component value Bu of the same pixel in the image data Ru, Gu, and Bu into a luminance value Yu and color difference component values Cbu, Cru. Then, the luminance value Yu and the color difference component values Cbu and Cru obtained by the conversion are output.
  • the color difference calculation unit 206 converts the R component value Ri, the G component value Gi, and the B component value Bi for the same pixel in the image data Ri, Gi, Bi into color difference component values Cbi, Cri, and is obtained by the conversion.
  • the color difference component values Cbi and Cri are output.
  • a known conversion formula from RGB to YCbCr can be used for conversion to the color difference component values Cbi and Cri. However, since Y (luminance value) is not used, calculation is unnecessary. For example, when the color component value is represented by 8 bits, the following equation is used.
  • the clip value determination unit 207 designates a pixel within a predetermined range of the input image as a pixel to be referred to for calculating a clip value (clip value calculation reference pixel).
  • a clip value is determined from the Cb component value and the Cr component value obtained by the conversion in 206.
  • the clip value determining unit 207 determines a clip value for each missing pixel, for example.
  • the predetermined range is a range including pixels around the missing pixel.
  • the periphery of the missing pixel means, for example, a range in which the distance from the missing pixel is equal to or less than a predetermined value.
  • an upper clip value and a lower clip value are determined for each of the Cb component and the Cr component.
  • the maximum value or a value close to the maximum value of the color difference component values Cbi of the clip value calculation reference pixels is determined as the Cb component upper clip value Cbmax
  • the minimum value or the minimum value of the color difference component values Cbi of the clip value calculation reference pixels is determined.
  • a value close to the minimum value is determined as the Cb component lower clip value Cbmin
  • a maximum value or a value close to the maximum value of the color difference component values Cri of the clip value calculation reference pixels is determined as the Cr component upper clip value Crmax.
  • the minimum value or a value close to the minimum value of the color difference component values Cri of the value calculation reference pixels is determined as the Cr component lower clip value Crmin.
  • the “value close to the maximum value” is, for example, a value that has a predetermined order when the color difference component values are arranged in descending order.
  • the predetermined order may be determined according to the number of reference pixels for calculating the clip value. For example, it may be set to a value equal to a number corresponding to a predetermined ratio of the clip value calculation reference pixels.
  • the “value close to the minimum value” is, for example, a value that has a predetermined order when the color difference component values are arranged in ascending order.
  • the predetermined order may be determined according to the number of reference pixels for calculating the clip value.
  • the clip processing unit 208 performs clip processing on the color difference component values Cbu and Cru with the upper clip value and the lower clip value determined by the clip value determination unit 207 as upper and lower limits, respectively.
  • the values Cbe and Cre are output.
  • the color component restoring unit 209 converts the color difference component values Cbe and Cre output from the clip processing unit 208 and the luminance value Yu output from the luminance / color difference calculation unit 205 into color component values.
  • G, and B component values Ro, Go, and Bo are output.
  • the clipping process is performed on the Cb component value and the Cr component value generated by the conversion from RGB to CbCr, but the clipping process is performed on the Pb component value and the Pr component value generated by the conversion into YPbPr. It is good to do.
  • clip processing may be performed on the U component value and the V component value generated by conversion to YUV.
  • clip processing may be performed on the chrominance component generated by the conversion into the luminance component and the chrominance component. By doing so, it is possible to suppress the occurrence of false colors without changing the luminance.
  • the clip value includes the upper clip value and the lower clip value, but may be only one of the upper clip value and the lower clip value.
  • the interpolation calculation for each of the R, G, and B color components is performed independently, and a false color generated in a missing pixel portion in a color image can be suppressed. Further, it is possible to suppress the interpolation pixel in the color image from becoming unnatural.
  • the present invention has been described as a pixel interpolation device and an image processing device.
  • the pixel interpolation method performed by the above-described pixel interpolation device and the image processing method performed by the above-described image processing device also form part of the present invention.
  • a program for causing a computer to execute the processing in the pixel interpolation apparatus or the pixel interpolation method, and a program for causing a computer to execute the processing in the image processing apparatus or the image processing method are also part of the present invention.
  • a computer-readable recording medium on which the above-mentioned program is recorded also forms a part of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Color Television Image Signal Generators (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)

Abstract

平均維持補間演算により補間を行う第1群の補間演算部と、平均維持補間演算以外の補間演算を行う第2群の補間演算部とを有し、補間演算部の各々は欠落画素について補間演算を行って補間候補値(M(h))を算出するとともに、欠落画素の近傍の画素をテスト画素としてテスト補間値(M(t))を算出する。判定部(4)は、テスト補間の結果に基づいて複数の補間演算部のいずれかを選択する。出力部(5)は、複数の補間候補値(M(h))のうち、判定部(4)で選択された補間演算部から出力される補間候補値を選択して出力する。補間した画素が不自然に見えないように補間を行うことができ、しかも必要な記憶容量及びデータ処理量が比較的少なくて済む。

Description

画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体
 本発明は、画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体に関する。
 読取対象物(原稿)を一次元撮像部(ラインセンサ)で読取り、原稿に対応する画像データを生成する画像読取装置が実用されている。ラインセンサとしては、各々その長手方向に直線に沿って配列された複数の光電変換素子を有する、複数のセンサチップを連結したものが広く用いられている。
 センサチップは、半導体製造技術で製造されるため、センサチップ上の光電変換素子間の間隔は比較的小さい。これに対し、ラインセンサは、複数のセンサチップを連結して基板に固定する方法等で製造されるため、連結されるセンサチップの隣接端部に位置する光電変換素子間の間隔が比較的大きい。このようなラインセンサで原稿を読み取って画像データを取得した場合、連結されるセンサチップの隣接端部間の位置では画素値が得られない。このような画素については画素値を補間する必要がある。
 また、センサーチップ内の光電変換素子の不具合、光電変換素子と原稿との光路中に存在する本来透明であるべき部品の汚れ等によって、光電変換素子での読取りで得られた画素信号の画素値が不正なもの、或いは信頼性の低いものとなる場合がある。そのような画素値についても補間が必要となる。
 光電変換素子が存在しない位置の画素、並びに画素値が不正である或いは画素値の信頼性が低い等の理由で補間が必要となる画素を、画素値が欠落した画素或いは単に欠落画素と言う。
 欠落画素の補間のために、種々の補間方法が提案されている。特許文献1では欠落画素の画素値が周期的に変化する画像領域内にあると判定された場合に、欠落画素の補間にパターンマッチング法を用いることが示されている。
特許第5699621号(段落0037~0068、図2)
 特許文献1に記載された方法では、画素値の変化の周期毎に最適なパターンを予め用意しておく必要がある。パターンの数が少ないと欠落画素が不自然に見える画素値が算出されてしまう。一方、パターンの数が増大すると必要な記憶容量或いはデータ処理量が増えるという問題がある。
 本発明に係る画素補間装置は、
 各々入力画像中の欠落画素の画素値を、当該入力画像を構成する画素の画素値に基づいて補間する複数の補間演算部と、
 判定部と、
 出力部とを有し、
 前記複数の補間演算部の各々は、前記欠落画素の画素値を補間し、補間された画素値を、補間候補値として出力し、前記欠落画素の近傍の複数の非欠落画素をテスト画素として、前記テスト画素の各々の画素値を補間し、補間された画素値を、当該テスト画素のテスト補間値として出力し、
 前記テスト画素の補間は、前記欠落画素の補間と同じ補間演算方法で行われ、
 前記複数の補間演算部は、第1群の補間演算部と、第2群の補間演算部とを含み、
 前記第1群の補間演算部は、平均維持補間演算により補間を行うものであり、
 前記第1群の補間演算部相互間では、参照される画素の数が互いに異なり、
 前記第2群の補間演算部は、前記平均維持補間演算とは異なる補間演算で補間を行うものであり、
 前記第2群の補間演算部相互間では、補間演算方法及び参照される画素の数の少なくとも一方が互いに異なり、
 前記判定部は、各欠落画素の近傍の複数のテスト画素の各々についての前記テスト補間値と、当該テスト画素の画素値との差分絶対値に基づいて、各補間演算部についての誤差指標値を算出し、算出した誤差指標値に基づいて前記複数の補間演算部のいずれかを選択し、
 前記出力部は、各欠落画素について前記複数の補間演算部から出力される補間候補値のうち、前記判定部で選択された補間演算部から出力される補間候補値を選択して出力する。
 本発明によれば、補間した画素が不自然に見えないように補間を行うことができ、しかも必要な記憶容量及びデータ処理量が比較的少なくて済む。
本発明の実施の形態1の画素補間装置の概略構成を示す機能ブロック図である。 密着イメージセンサの概要を示す図である。 図3の密着イメージセンサを構成するセンサチップ間の連結部分を詳細に示す図である。 図1に示される平均維持補間演算部における補間で参照される画素を示す図である。 図1に示される平均維持補間演算部の構成例を示す機能ブロック図である。 図5に示される平均維持補間演算部における補間で参照される画素を示す図である。 図5に示される平均維持補間演算部の構成例を示す機能ブロック図である。 本発明の実施の形態3の画素補間装置の概略構成を示す機能ブロック図である。 図8に示される平均維持補間演算部における補間で参照される画素を示す図である。 図8に示される平均維持補間演算部の構成例を示す機能ブロック図である。 本発明の実施の形態4の画像処理装置の概略構成を示す機能ブロック図である。
実施の形態1.
 図1は本発明の実施の形態1の画素補間装置1の概略構成を示す機能ブロック図である。
 画素補間装置1は入力端子1aに供給される画像データDiで表される画像中の欠落画素の画素値を補間する。
 画像データDiは、例えば、図2に示される密着イメージセンサー900を備えた撮像部により読取対象物(原稿)を読み取ることで得られるものである。
 図2に示される密着イメージセンサー900は複数のセンサーチップ902を基板904上に、直線に沿って並べて互いに連結することで構成されている。密着イメージセンサー900の長手方向が主走査方向となる。
 図3は、隣り合うセンサーチップ902相互間の連結部分をより詳細に示す。
 センサーチップ902の各々は、図示のように、複数の光電変換素子906を有する。
 各センサーチップ902内では、複数の光電変換素子906は、一定の間隔daで直線上に配置されている。一方、連結される2つのセンサーチップ902の隣接端部に位置する光電変換素子は互いに距離dbだけ隔てられている。一般に距離dbは間隔daほどに小さくすることはできない。
 その場合、dbが、daの2倍になるようにセンサーチップを配置するのが望ましい。そうすれば、センサーチップ相互間に一つの画素が欠落しているものとして補間処理をすることができ、高品質な補間結果を得ることができるためである。以下そのような場合について説明する。
 但し、dbはdaの2倍でなくても良く、daとdbの比率に応じた補間を行うことも可能である。
 また、以下で説明する補間処理は、センサーチップ間の、光電変換素子が存在しない位置の画素の補間に限らず、センサーチップ内の光電変換素子での読み取りで得られた画素信号が存在しても、その画素値が不正なもの、或いは信頼性の低いものである場合の補間にも適用可能である。そのような不正な画素値或いは信頼性が低い画素値が生じる理由としては、光電変換素子の不具合、光路中に存在する本来透明であるべき部品の汚れなどがある。
 以下の説明における「欠落画素」には、光電変換素子が存在しない位置の画素のみならず、画素値が不正である或いは画素値の信頼性が低い等の理由で補間が必要となる画素を意味する。一方、画素値が存在し、補間が必要ではない画素を非欠落画素と言う。
 密着イメージセンサー900によって撮像を一度行うことで、1ラインの画像を表す撮像信号Aiが得られ、撮像信号AiをA/D変換することで画像データDiが得られる。
 密着イメージセンサー900に対して原稿を副走査方向に移動させることで、複数ラインの画像データDiが順次得られる。
 以下では、画像データDiで表される画像を入力画像と言い、同じ符号Diで表す。さらに画像データDiで表される画素値を原画素値と言い、同じ符号Diで表す。他の画像及び画素値についても同様である。
 画素補間装置1は処理回路で実現可能である。処理回路は、専用のハードウェアで構成されていても良く、ソフトウェアで構成されていても良く、ハードウェアとソフトウェアの組合せで構成されていても良い。ソフトウェアで構成される場合、画素補間装置は、CPU(Central Processing Unit)を備えたマイクロコンピュータ、DSP(Digital Signal Processor)等で構成される。
 画素補間装置1は、データ格納部2と、複数の補間演算部11-1~11-N、21-1~21-Mと、判定部4と、出力部5と、補間データ挿入部6とを有する。
 データ格納部2は、画像データDiを格納する。
 データ格納部2に格納された画像データDiは、読み出されて、複数の補間演算部11-1~11-N、21-1~21-Mと、判定部4と、補間データ挿入部6とに供給される。
 複数の補間演算部11-1~11-N、21-1~21-Mの各々は、入力画像Di中の欠落画素の画素値を補間し、補間された画素値(補間値)を、欠落画素の補間候補値P(h)として出力部5に供給するとともに、欠落画素の近傍(近隣)の複数の非欠落画素をテスト画素として、当該テスト画素の各々の画素値を補間し、補間された画素値(補間値)を、当該テスト画素のテスト補間値P(t)として判定部4に供給する。
 テスト画素の補間をテスト補間と言う。テスト補間は、テスト画素の画素値が不明であると仮定して行われる。
 各欠落画素の補間には、当該欠落画素の周辺の画素が参照される。
 各テスト画素の補間(テスト補間)には、当該テスト画素の周辺の画素が参照される。
 各テスト画素のテスト補間で参照される周辺の画素の、当該テスト画素に対する相対的位置は、各欠落画素の補間で参照される周辺の画素の、当該欠落画素に対する相対的位置と同じである。
 テスト補間で用いられる補間演算方法は、欠落画素の補間で用いられる補間演算方法と同じである。
 各欠落画素の近傍の複数の非欠落画素をテスト画素として行われるテスト補間を、当該欠落画素についてのテスト補間と言うことがある。
 複数の補間演算部11-1~11-N、21-1~21-Mは、第1群の補間演算部11-1~11-Nと第2群の補間演算部21-1~21-Mと含む。
 第1群の補間演算部11-1~11-Nは、第1乃至第Nの平均維持補間演算部11-1~11-Nから成る。Nは2以上の整数である。
 第1乃至第Nの平均維持補間演算部11-1~11-Nは、平均維持補間演算により補間を行う。
 第1乃至第Nの平均維持補間演算部11-1~11-N相互間では、補間で参照される画素の数が互いに異なる。
 以下、平均維持補間演算部11-1~11-Nの動作について説明する。最初に欠落画素の補間を行う場合の動作を説明する。
 図4は入力画像Diの一部を示す図であり、平均維持補間演算部11-1~11-Nの一つ、即ち第nの平均維持補間演算部11-n(nは1からNのいずれか)における補間で参照される画素の位置を示す。入力画像Di中における、欠落画素MPの位置が予め分っているものとする。〇は非欠落画素を示し、×は欠落画素MPを示す。
 符号MS及びNAはそれぞれ、複数の相連続する画素から成る画素列を示す。画素列MSは欠落画素MPを含み、画素列NAは欠落画素MPを含まない。画素列MSを欠落部と言い、画素列NAを非欠落部と言う。以下の説明から明らかなように欠落部MS及び非欠落部NAの画素は補間で参照される。欠落部MSを構成する画素の数と非欠落部NAを構成する画素の数とは互いに等しい。この数をkで表す。kは図示の例では3である。
 kはパラメータとして各平均維持補間演算部に予め設定されている。
 複数の平均維持補間演算部11-1~11-Nには互いに異なる値のパラメータkが設定されており、その結果、平均維持補間演算部11-1~11-N間では、補間で参照される画素の数が互いに異なるものとなる。
 平均維持補間演算部11-nは、欠落部MSの画素の画素値の平均値が非欠落部NAの画素の画素値の平均値と等しくなるように欠落画素MPの画素値を補間する。即ち、欠落部MSのうちの欠落画素MP以外の画素の画素値と、欠落画素MPの補間値Pとの平均値が、非欠落部NAの画素の画素値の平均値と等しくなるように、上記補間値Pを定める。
 図5は平均維持補間演算部11-nの構成例を示す機能ブロック図である。
 平均維持補間演算部11-nは、欠落部加算部101と、非欠落部加算部102と、減算部103とを有する。
 データ格納部2から読み出された画像データDiは欠落部加算部101及び非欠落部加算部102に入力される。
 欠落部加算部101は、欠落部MSに含まれるk個の画素のうち欠落画素MP以外の画素の画素値の和を求め、欠落部合計MQとして出力する。
 非欠落部加算部102は、非欠落部NAに含まれるk個の画素の画素値の和を求め、非欠落部合計SAとして出力する。
 減算部103は非欠落部合計SAから欠落部合計MQを減算する。
 減算の結果得られる差分値が、欠落画素MPの補間値Pとして用いられる。
 以上の処理を数式で表すと、以下の通りとなる。
 P=SA-MQ  (1)
 以上の処理を行うことで、減算部103から出力される補間値Pは、欠落部MSの画素の画素値の平均値が非欠落部NAの画素の画素値の平均値と等しくなるように定められたものとなる。
 以下、その理由を説明する。
 欠落部MSの画素の画素値の平均値MSavは、
 MSav=(MQ+P)/k   (2)
 非欠落部NAの画素の画素値の平均値NAavは、
 NAav=SA/k     (3)
 MSavとNAavを等しくするには、下記の式が満たされるように補間値Pが定められれば良い。
 (MQ+P)/k=SA/k  (4)
 式(4)を変形することで、式(1)が得られる。
 従って、上記の式(1)で表される処理によって補間値Pを定めれば、欠落部MSの画素の画素値の平均値が非欠落部NAの画素の画素値の平均値と等しくなる。
 各平均維持補間演算部11-nで各欠落画素について算出された補間値Pは、補間候補値P(h)として出力部5に供給される。
 平均維持補間演算部11-1~11-Nは、画像のエッジ部分及び画素値が周期的に変化する画像部分で高精度に補間を行うことができる。画素値が周期的に変化する画像部分に関しては、高精度に補間できる画素値の変化の周期(従って空間周波数)は、補間で参照される画素の数によって変わる。そこで、平均維持補間演算部11-1~11-Nが補間で参照する画素の数は、高精度に補間を行うことが望まれる画素値の変化の周期の範囲(言い換えれば、空間周波数の範囲)に応じて定められる。
 図5に示される平均維持補間演算部11-nは、テスト補間にも用いられる。
 平均維持補間演算部11-nでテスト補間を行うときの動作は、上記した欠落画素MPの補間(補間候補値P(h)の算出)を行うときの動作と同じである。但し、テスト補間の際は、各テスト画素を欠落画素と見なして補間演算が行われ、算出された画素値Pがテスト補間値P(t)として出力される。
 第2群の補間演算部21-1~21-Mは、第1乃至第Mの補間演算部21-1~21-Mから成る。Mは2以上の整数である。
 第1乃至第Mの補間演算部21-1~21-Mは、上記の平均維持補間演算とは異なる補間演算方法で補間を行う。
 第1乃至第Mの補間演算部21-1~21-M相互間では、補間に用いられる補間演算方法及び補間で参照される画素の数の少なくとも一方が互いに異なる。
 第1乃至第Mの補間演算部21-1~21-Mで行われる補間演算の例としては、線形補間演算、バイキュービック補間演算、及びランチョス補間演算がある。
 第1乃至第Mの補間演算部21-1~21-Mも、第1乃至第Nの平均維持補間演算部11-1~11-Nと同様に、各欠落画素の補間候補値P(h)を算出して、出力部5に供給するのみならず、当該欠落画素の近傍の複数の非欠落画素の各々についてテスト補間値P(t)を算出して、判定部4に供給する。
 判定部4には、補間演算部11-1~11-N及び21-1~21-Mからテスト補間値P(t)が供給されるのみならず、データ格納部2からテスト画素の画素値(原画素値)Diが入力される。
 判定部4は、補間演算部11-1~11-N及び21-1~21-Mから入力されたテスト補間値P(t)と、データ格納部2から入力された原画素値Diとに基づいて、評価を行い、評価結果を示す誤差指標値を算出する。評価は、補間演算部の各々について、欠落画素毎に行われる。
 各補間演算部についての誤差指標値は、例えば、各欠落画素についてのテスト補間の結果を集計することで求められる。例えば、各補間演算部についての誤差指標値は、当該補間演算部で各欠落画素の近傍の複数のテスト画素の各々について算出されたテスト補間値P(t)と当該テスト画素の原画素値Diとの差分絶対値を、当該欠落画素の近傍のすべてのテスト画素について集計することで求められる。
 例えば、上記の誤差指標値は、上記の差分絶対値の、全テスト画素についての積算値をテスト画素の数で割ることで得られる値、即ち、上記の差分絶対値の平均値(差分平均値)であっても良い。
 テスト補間値P(t)が算出されたテスト画素の数が全ての補間演算部相互間で等しい場合には、上記の誤差指標値は、上記の差分絶対値の、全テスト画素についての積算値(差分積算値)であっても良い。
 上記の誤差指標値は、各欠落画素の近傍における、各補間演算部の適正、即ち、各補間演算部による補間演算の精度を表すものであり、当該誤差指標値が小さいほど、精度が高い(誤差の程度が小さい)と見ることができる。
 補間演算部11-1~11-N及び21-1~21-Mの各々について、上記の誤差指標値が欠落画素毎に算出される。
 判定部4は、各欠落画素について、上記の誤差指標値が最も小さい補間演算部を特定し、特定した補間演算部を示す信号(選択信号)HSを出力部5に出力する。
 上記のように、補間演算部11-1~11-N及び21-1~21-Mで各欠落画素について算出された補間値Pは補間候補値P(h)として出力部5に入力される。
 出力部5は、補間演算部11-1~11-N及び21-1~21-Mの出力(補間候補値)P(h)の中から、判定部4からの選択信号HSで示される補間演算部の出力を選択して、欠落画素の補間値HVとして出力する。
 補間データ挿入部6は、データ格納部2から読み出された画像データDiを受けるとともに、出力部5から出力された補間値HVを受け、入力画像Di中の各欠落画素の画素値として、出力部5から出力された当該欠落画素についての補間値HVを挿入することで、欠落画素の画素値が充填された画像データDuを生成して出力する。
 画像データDuは、欠落画素については補間値HVを有し、非欠落画素については原画素値Diを有する。即ち、画像データDuで表される画素値Duは、欠落画素については補間値HVと同じであり、非欠落画素については原画素値Diと同じである。
 画素補間装置を以上のように構成することで、欠落画素の補間演算として当該欠落画素の近傍のテスト画素についてのテスト補間値が原画素値Diに最も近い補間演算を選択することができる。従って、画像(欠落画素の近傍の画像部分)の特徴に応じて最適な補間演算の結果を用いた画素補間を行うことができる。
 上記のように、平均維持補間演算部11-1~11-Nは、画像のエッジ部分及び画素値が周期的に変化する画像部分で高精度に補間を行うことができる。そして、画素値が周期的に変化する画像部分に関しては、画素値が変化する周期に応じて、複数の平均維持補間演算部のうちの最適のものが選択される。一方、画像のエッジ部分及び画素値が周期的に変化する画像部分以外では、平均維持補間演算部よりも他の補間演算部のいずれかによる補間の方が高精度となることがあり、その場合には、平均維持補間演算部以外の、補間がより高精度である補間演算部が選択される。従って、本実施の形態の画素補間装置では、画像の特徴に応じて最適な補間演算部が選択される。
 また補間演算として平均維持補間を含むことで高い周波数で周期的に変化する画像部分及びエッジ部分を高精度で再現することができるようになる。
実施の形態2.
 実施の形態2に係る画素補間装置1の全体的構成は、図1に示す如くである。
 実施の形態2では平均維持補間演算部11-1~11-Nの各々での処理内容が実施の形態1とは異なる。
 即ち、実施の形態1では、各平均維持補間演算部11-nが補間で参照する欠落部の画素の数と非欠落部の画素の数とが同じであるが、実施の形態2では、非欠落部の画素の数が欠落部の画素の数よりも多い。
 図6は入力画像Diの一部を示す図であり、本実施の形態における平均維持補間演算部11-nにおける補間で参照される画素の位置を示す。
 図4と同様に、入力画像Di中における、欠落画素MPの位置が予め分っているものとする。〇は非欠落画素を示し、×は欠落画素MPを示す。
 欠落部MS及び非欠落部NAは、図4と同様に、複数の画素から成る画素列であり、欠落部MSは、欠落画素MPを含み、非欠落部NAは欠落画素MPを含まない。
 図4とは異なり、欠落部MSを構成する画素の数kaより、非欠落部NAを構成する画素の数kbが多い。
 図示の例ではka=3、kb=6である。
 ka及びkbはパラメータとして各平均維持補間演算部に予め設定されている。
 複数の平均維持補間演算部11-1~11-Nは、パラメータka及びkbの少なくとも一方の値が互いに異なる。
 パラメータka、kbの値によって補間で参照される画素の数が決まる。従って、複数の平均維持補間演算部11-1~11-Nは、補間で参照される画素の数が互いに異なる。
 実施の形態1と同様に、平均維持補間演算部11-nは、欠落部MSの画素の画素値の平均値が非欠落部NAの画素の画素値の平均値と等しくなるように欠落画素MPの画素値Pを補間する。
 図7は実施の形態2で用いられる平均維持補間演算部11-nの構成例を示す機能ブロック図である。
 図7の平均維持補間演算部11-nは図5の平均維持補間演算部11-nと概して同じである。異なるのは、乗算部104が付加されている点である。
 乗算部104は、非欠落部加算部102の出力SAにパラメータ比ka/kbを掛ける。
 減算部103は、乗算部104の出力(SA・ka/kb)から欠落部加算部101の出力MQを減算する。
 減算の結果得られる差分値が、欠落画素MPの補間値Pとして用いられる。
 以上の処理を数式で表すと、以下の通りとなる。
 P=SA・ka/kb-MQ  (5)
 以上の処理を行うことで、減算部103から出力される補間値Pは、欠落部MSの画素の画素値の平均値が非欠落部NAの画素の画素値の平均値と等しくなるように定められたものとなる。
 欠落画素MPについて算出された補間値Pは補間候補値P(h)として出力部5に供給される。
 テスト補間は欠落画素の補間と同様に行われ、補間値Pがテスト補間値P(t)として判定部4に供給される。
 なお図6では非欠落部は連続した複数の画素から成るが、不連続な複数の画素で非欠落部を構成しても良い。例えば、欠落画素MPの一方の側(図で左側)に位置する複数の相連続する画素と、欠落画素MPの他方の側(図で右側)に位置する複数の相連続する画素とで、非欠落部を構成しても良い。
 平均維持補間演算部11-1~11-Nを上記のような構成にすることで、非欠落部の画素の画素数が多くなり、実施の形態1の方法に比べて欠落画素の補間値がより自然なものとなる。
実施の形態3.
 実施の形態3に係る画素補間装置1cの概略構成は、図8に示す如くである。
 図8に示される画素補間装置1cは、図1の画素補間装置1と概して同じであるが、以下の点で異なる。
 即ち、図1の平均維持補間演算部11-1~11-Nの代わりに、平均維持補間演算部13-1~13-Nが設けられている。
 第1乃至第Nの平均維持補間演算部13-1~13-Nはいずれも平均維持補間演算を行うものであるが、補間で参照する画素の数が互いに異なる。
 第1乃至第Nの平均維持補間演算部13-1~13-Nの各々、即ち第nの平均維持補間演算部13-nは、実施の形態1の第nの平均維持補間演算部11-nと同様のものであるが、補間で参照する画素の配置が異なり、さらに欠落画素の一方の側に位置する複数の非欠落画素の画素値の和と他方の側に位置する複数の非欠落画素の画素値の和との差分を算出する機能を有する。
 以下、実施の形態3の平均維持補間演算部13-1~13-Nの動作について、実施の形態1及び2の平均維持補間演算部11-1~11-Nと比較しながら説明する。最初に欠落画素の補間について説明する。
 図9は、入力画像Diの一部を示す図であり、本実施の形態における平均維持補間演算部13-nにおける補間で参照される画素の位置を示す。
 図4及び図6と同様に、入力画像Di中における、欠落画素MPの位置が予め分っているものとする。〇は非欠落画素を示し、×は欠落画素MPを示す。
 欠落部MSは、図6と同様に、ka個の画素から成る画素列であり、欠落部MSは、欠落画素MPを含む。
 非欠落部NAは、図4及び図6とは異なり、欠落画素MPの一方の側に位置する第1の部分NLと、欠落画素MPの他方の側に位置する第2の部分NRとに分かれている。
 以下では、第1の部分NLを左側部と言い、第2の部分NRを右側部と言う。
 左側部NL及び右側部NRの各々は複数の画素から成る画素列であり、いずれも欠落画素MPを含まない。
 左側部NLと右側部NRとは、互いに同じ数の画素から成り、欠落画素MPを中心として対称となるように形成されている。
 例えば左側部NL及び右側部NRの各々を構成する画素の数kcは、欠落部MSを構成する画素の数kaと同じである。
 図示の例ではka=kc=3である。
 従って、左側部NLと右側部NRから成る非欠落部NAを構成する画素の数kbはkcの2倍である。
 ka及びkcは、パラメータとして各平均維持補間演算部に予め設定されている。
 第1乃至第Nの平均維持補間演算部13-1~13-Nは、パラメータka及びkcの少なくとも一方の値が互いに異なる。従って補間で参照される画素の数が異なる。
 なお、ka及びkcの代わりに、ka及びkbをパラメータとして各平均維持補間演算部に予め設定しておくこととしても良い。
 第nの平均維持補間演算部13-nは、実施の形態1及び2の第nの平均維持補間演算部11-nと同様に、欠落部MSの画素の画素値の平均値が非欠落部NAの画素の画素値の平均値と等しくなるように欠落画素MPの画素値を補間する。但し、非欠落部NAには、左側部NLと右側部NRとが含まれる。
 図10は平均維持補間演算部13-nの構成例を示す機能ブロック図である。
 図10の平均維持補間演算部13-nは、欠落部加算部101と、左側部加算部105と、右側部加算部106と、合計算出部107と、乗算部104と、減算部103と、差分算出部108とを有する。
 欠落部加算部101は欠落部MSに含まれるka個の画素のうち欠落画素MP以外の画素の画素値の和を求め、欠落部合計MQとして出力する。
 左側部加算部105は左側部NLに含まれるkc個の画素の画素値の和を求め、左側部分和SLとして出力する。
 右側部加算部106は右側部NRに含まれるkc個の画素の画素値の和を求め、右側部分和SRとして出力する。
 合計算出部107は、左側部分和SLと右側部分和SRとを加算し、加算結果を非欠落部合計SAとして出力する。
 左側部加算部105と、右側部加算部106と、合計算出部107とで、非欠落部加算部102cが構成されている。
 乗算部104は、非欠落部加算部102cの出力SAにパラメータ比ka/kbを掛ける。
 減算部103は、乗算部104の出力(SA・ka/kb)から欠落部加算部101の出力MQを減算する。
 減算の結果得られる差分値が、欠落画素MPの補間値Pとして用いられる。
 以上の処理を数式で表すと、以下の通りとなる。
 P=(SL+SR)・ka/kb-MQ  (6)
 以上の処理を行うことで、減算部103からは、部分和SL、SR、及び欠落部合計MQに基づいて、欠落部MSの画素の画素値の平均値が非欠落部NAの画素の画素値の平均値と等しくなるように定められた欠落画素MPの補間値Pが出力される。
 欠落画素MPについて算出された補間値Pは補間候補値P(h)として出力部5に供給される。
 差分算出部108は、左側部加算部105の出力(左側部分和)SLと、右側部加算部106の出力(右側部分和)SRとの差分絶対値を算出する。算出された差分絶対値は、左右差分値DLRとして判定部4cに送られる。
 各欠落画素について算出された左右差分値DLRは、当該欠落画素の左側に位置する左側部(一方の側に位置する第1の部分)の画素の画素値の和と、当該欠落画素の右側に位置する右側部(他方の側に位置する第2の部分)の画素の画素値の和との差分を表すものである。
 テスト補間値の演算も上記と同様に行われる。即ち、各平均維持補間演算部13-nは、平均維持補間演算部11-nと同様に、欠落画素の近傍の複数の非欠落画素をテスト画素として、当該テスト画素の各々について補間演算を行って補間値Pを算出し、算出した補間値Pをテスト補間値P(t)として判定部4cに供給する。
 但し、テスト画素については、左右差分値DLRの算出は行わない。
 補間演算部21-1~21-Mの動作は実施の形態1と同じである。
 平均維持補間演算部13-1~13-N及び補間演算部21-1~21-Mから供給されたテスト補間値P(t)に基づいて、判定部4cが誤差指標値を算出する点は、実施の形態1及び2と同じである。
 実施の形態3の判定部4cは、誤差指標値が最も小さい補間演算部が平均維持補間演算部13-1~13-Nのいずれかである場合の動作が実施の形態1及び実施の形態2の判定部4とは異なる。
 上記のような場合、判定部4cは誤差指標値が最も小さいと判断された平均維持補間演算部に対応する左右差分値DLRが予め定められた閾値DLRthよりも大きいかどうかの判定を行い、当該左右差分値DLRが閾値DLRthよりも大きい場合には、判定部4cは、補間演算部21-1~21-Mのうちの予め指定された補間演算部を選択し、選択結果を出力部5に通知する。
 予め指定された補間演算部は、例えば、欠落画素に近接する画素、例えば隣接する画素を用いて補間演算を行うものである。補間演算としては、例えば線形補間演算又はバイキュービック補間演算が用いられる。線形補間演算を行う場合には、欠落画素に隣接する一対の非欠落画素の平均値を求める。バイキュービック補間演算を行う場合には、欠落画素に隣接する一対の非欠落画素及び当該一対の非欠落画素に隣接する画素(当該一対の非欠落画素のいずれかに隣接し、欠落画素とは反対側に位置する画素)を参照画素として用いる。
 欠落画素の左側と右側とで画素値の差が大きい場合には、平均維持補間では不自然な画素値が算出される場合がある。そこで、本実施の形態では、そのような場合に適した補間演算方法を用いることで、より自然な画素値が得られるようにしている。
 上記の実施の形態では、複数の平均維持補間演算部13-1~13-Nの各々において、左右差分値を求め、複数の平均維持補間演算部13-1~13-Nのうちの、誤差指標値に基づいて選択された平均維持補間演算部で求められた左右差分値が閾値よりも大きいかどうかの判定をしている。
 このようにする代わりに、複数の平均維持補間演算部13-1~13-Nのいずれか一つで左右差分値を求め、求められた左右差分値が閾値よりも大きいかどうかの判定をすることとしても良い。
 また、第2群の補間演算部21-1~21-Mのいずれか一つで左右差分値を求め、求められた左右差分値が閾値よりも大きいかどうかの判定をすることとしても良い。
 さらに、複数の補間演算部のうちの2以上の補間演算部で左右差分値を求め、求められた2以上の左右差分値に基づいて差分指標値を求め、求められた差分指標値が閾値よりも大きいか否かの判定をすることとしても良い。
 要するに、複数の補間演算部(13-1~13-N、21-1~21-M)のうちの一つ以上の補間演算部で左右差分値を求め、求めた左右差分値、又は、左右差分値に基づいて算出した差分指標値が、閾値よりも大きいか否かの判定を行うこととすれば良い。
 以上の実施の形態3で画素の位置、非欠落部の位置に関し「左」、「右」と言った表現を用いたが、これは便宜上のものであって、要するに欠落画素の一方の側、他方の側を意味する。
 即ち、判定部は、第1の部分NLの画素値の和と第2の部分NRの画素値の和との差分絶対値又は該差分絶対値に基づいて定められた差分指標値が予め定められた閾値よりも大きい場合には、第2群の補間演算部のうちの予め指定された補間演算部を選択することとすれば良い。
 実施の形態1~3で、データ格納部2から出力される画像データは画像の輝度を表すものであっても良く、色成分を表すものであっても良い。言い換えれば、画素補間装置で処理の対象となる画素値は輝度値であっても良く、色成分値であっても良い。
 画像がカラー画像である場合には、実施の形態1~3で説明した画素補間装置を色成分値毎に設けることとすれば良い。
 次に、3つ以上の色成分値にそれぞれ対応して設けられた3つ以上の画素補間装置を備えるとともに、色差成分値に対してクリップ処理を行う画像処理装置を、実施の形態4として説明する。
実施の形態4.
 図11は、本発明の実施の形態4の画像処理装置の概略構成を示す機能ブロック図である。
 図11に示される画像処理装置は、R画素補間装置201、G画素補間装置202、B画素補間装置203、輝度色差算出部205、色差算出部206、クリップ値決定部207、クリップ処理部208、及び色成分復元部209を有する。
 R画素補間装置201、G画素補間装置202及びB画素補間装置203の各々は、実施の形態1、2又は3の画素補間装置と同様の構成を有する。実施の形態1、2又は3の画素補間装置においては画像データDiを入力し、画像データDuを出力するが、本実施の形態のR画素補間装置201、G画素補間装置202、B画素補間装置203はそれぞれR画像データRi、G画像データGi、B画像データBiを入力し、R画像データRu、G画像データGu、B画像データBuを出力するものである。
 R画像データRi、G画像データGi、B画像データBiは、例えば、それぞれR、G、Bの光(波長成分)に感度を有する光電変換素子を含む撮像部で原稿を読み取ることで得られる。R、G、Bの光に感度を有する光電変換素子は、例えば、R、G、Bの光を透過させるカラーフィルタを備えた光電変換素子である。
 R画素補間装置201は、入力されるR画像データRiで表される画像中の欠落画素の画素値(R成分値)を補間する。即ち、R画像データRiで表される原画素値(R成分値)Riに基づいて、欠落画素の補間値を決定し、補間値が欠落画素のR成分値として充填された画像データRuを出力する。
 画像データRuで表されるR成分値Ruは、欠落画素については補間値と同じであり、非欠落画素については原画素値(入力されたR成分値)Riと同じである。
 G画素補間装置202は、入力されるG画像データGiで表される画像中の欠落画素の画素値(G成分値)を補間する。即ち、G画像データGiで表される原画素値(G成分値)Giに基づいて、欠落画素の補間値を決定し、補間値が欠落画素のG成分値として充填された画像データGuを出力する。
 画像データGuで表されるG成分値Guは、欠落画素については補間値と同じであり、非欠落画素については原画素値(入力されたG成分値)Giと同じである。
 B画素補間装置203は、入力されるB画像データBiで表される画像中の欠落画素の画素値(B成分値)を補間する。即ち、B画像データBiで表される原画素値(B成分値)Biに基づいて、欠落画素の補間値を決定し、補間値が欠落画素のB成分値として充填された画像データBuを出力する。
 画像データBuで表されるB成分値Buは、欠落画素については補間値と同じであり、非欠落画素については原画素値(入力されたB成分値)Biと同じである。
 R画素補間装置201、G画素補間装置202及びB画素補間装置203の各々で行われる画素補間は、例えば、実施の形態1、2及び3のいずれかの画素補間装置で行われる画素補間と同じである。但し、画素補間装置に含まれる補間演算部の数、各補間演算部における補間で用いられる補間演算方法及び補間で参照される画素の数を、色成分毎に異なるものとしても良い。そうすることで、色成分毎に、当該色成分の画像の特徴に応じてより適切な補間を行うことが可能となる。
 輝度色差算出部205は、画像データRu、Gu、Bu中の、同じ画素についてのR成分値Ru、G成分値Gu、B成分値Buを、輝度値Yuと色差成分値Cbu、Cruとに変換し、変換で得られた輝度値Yuと色差成分値Cbu、Cruとを出力する。
 変換には公知の変換式が用いられる。例えば色成分値が8ビットで表されるものである場合には、以下の式が用いられる。
 Yu=0.257・Ru+0.504・Gu+0.098・Bu+16
 Cbu=-0.148・Ru-0.291・Gu+0.439・Bu+128
 Cru=0.439・Ru-0.368・Gu-0.071・Bu+128
 色差算出部206は、画像データRi、Gi、Bi中の、同じ画素についてのR成分値Ri、G成分値Gi及びB成分値Biを、色差成分値Cbi、Criに変換し、変換で得られた色差成分値Cbi、Criを出力する。色差成分値Cbi、Criへの変換には、RGBからYCbCrへの公知の変換式を利用することができる。但し、Y(輝度値)は用いないので算出不要である。例えば、色成分値が8ビットで表されるものである場合には以下の式が用いられる。
 Cbi=-0.148・Ri-0.291・Gi+0.439・Bi+128
 Cri=0.439・Ri-0.368・Gi-0.071・Bi+128
 クリップ値決定部207では、入力画像の予め定められた範囲内の画素を、クリップ値の算出のために参照する画素(クリップ値算出参照画素)と指定し、クリップ値算出参照画素について色差算出部206での変換で得られたCb成分値及びCr成分値から、クリップ値を決定する。
 クリップ値決定部207は、例えば各欠落画素に対してクリップ値を決定する。その場合、上記の予め定められた範囲は、当該欠落画素の周辺の画素から成る範囲である。
 欠落画素の周辺とは、例えば欠落画素からの距離が予め定められた値以下である範囲を言う。
 クリップ値としては、例えば、Cb成分及びCr成分の各々に対して上側クリップ値及び下側クリップ値が決定される。
 例えば、クリップ値算出参照画素の色差成分値Cbiのうちの最大値又は最大値に近い値がCb成分上側クリップ値Cbmaxと決定され、クリップ値算出参照画素の色差成分値Cbiのうちの最小値又は最小値に近い値がCb成分下側クリップ値Cbminと決定され、クリップ値算出参照画素の色差成分値Criのうちの最大値又は最大値に近い値がCr成分上側クリップ値Crmaxと決定され、クリップ値算出参照画素の色差成分値Criのうちの最小値又は最小値に近い値がCr成分下側クリップ値Crminと決定される。
 「最大値に近い値」とは、例えば、色差成分値を大きいものから順に並べたときに予め定められた順位のものが有する値である。予め定められた順位は、クリップ値算出参照画素の数に応じて定められていても良い。例えば、クリップ値算出参照画素のうちの、予め定められた割合に相当する数に等しい値に定められていても良い。
 同様に、「最小値に近い値」とは、例えば、色差成分値を小さいものから順に並べたときに予め定められた順位のものが有する値である。予め定められた順位は、クリップ値算出参照画素の数に応じて定められていても良い。
 クリップ処理部208では、クリップ値決定部207で決定された上側クリップ値及び下側クリップ値をそれぞれ上限及び下限として、色差成分値Cbu、Cruに対してクリップ処理を行い、クリップ処理後の色差成分値Cbe、Creを出力する。
 色成分復元部209は、クリップ処理部208から出力された色差成分値Cbe、Creと、輝度色差算出部205から出力された輝度値Yuとから色成分値への変換を行い、変換後のR、G、B成分値Ro、Go、Boを出力する。
 変換には公知の変換式を用いることができる。例えば、Yu、Cbe、Creが8ビットで表される場合には、以下の式を用いることができる。
 Ro=1.164・(Yu-16)+1.596・(Cre-128)
 Go=1.164・(Yu-16)-0.391・(Cbe-128)-0.813・(Cre-128)
 Bo=1.164・(Yu-16)+2.018・(Cbe-128)
 以上RGBからCbCrへの変換で生成されるCb成分値及びCr成分値に対してクリップ処理をすることとしているが、YPbPrへの変換で生成されるPb成分値及びPr成分値に対してクリップ処理することとしても良い。また、YUVへの変換で生成されるU成分値及びV成分値に対してクリップ処理することとしても良い。
 要するに、輝度成分と色差成分への変換で生成される色差成分に対してクリップ処理を行うこととすれば良い。
 そうすることで、輝度については変更を加えず、偽色の発生を抑えることが可能である。
 上記の例ではクリップ値として、上側クリップ値及び下側クリップ値を含むが上側クリップ値及び下側クリップ値の一方のみであっても良い。
 画素補間装置を以上のように構成することで、R、G、Bの色成分毎の補間演算が独立に実施され、カラー画像における欠落画素部分に発生する偽色を抑制することができる。また、カラー画像における補間画素が不自然となるのを抑制することができる。
 以上本発明を画素補間装置及び画像処理装置として説明した。上記の画素補間装置で実施される画素補間方法及び上記の画像処理装置で実施される画像処理方法もまた本発明の一部を成す。
 また、上記の画素補間装置又は画素補間方法における処理をコンピュータに実行させるためのプログラム、並びに上記の画像処理装置又は画像処理方法における処理をコンピュータに実行させるためのプログラムもまた本発明の一部を成す。
 さらに、上記のプログラムを記録した、コンピュータで読取り可能な記録媒体もまた本発明の一部を成す。
 1、1c 画素補間装置、 2 データ格納部、 4、4c 判定部、 5 出力部、 6 補間データ挿入部、 11-1~11-N、13-1~13-N 平均維持補間演算部、 21-1~21-M 補間演算部、 101 欠落部加算部、 102 非欠落部加算部、 103 減算部、 104 乗算部、 105 左側部加算部、 106 右側部加算部、 107 合計算出部、 108 差分算出部、 201 R画素補間装置、 202 G画素補間装置、 203 B画素補間装置、 205 輝度色差算出部、 206 色差算出部、 207 クリップ値決定部、 208 クリップ処理部、 209 色成分復元部。

Claims (18)

  1.  各々入力画像中の欠落画素の画素値を、当該入力画像を構成する画素の画素値に基づいて補間する複数の補間演算部と、
     判定部と、
     出力部とを有し、
     前記複数の補間演算部の各々は、前記欠落画素の画素値を補間し、補間された画素値を、補間候補値として出力し、前記欠落画素の近傍の複数の非欠落画素をテスト画素として、前記テスト画素の各々の画素値を補間し、補間された画素値を、当該テスト画素のテスト補間値として出力し、
     前記テスト画素の補間は、前記欠落画素の補間と同じ補間演算方法で行われ、
     前記複数の補間演算部は、第1群の補間演算部と、第2群の補間演算部とを含み、
     前記第1群の補間演算部は、平均維持補間演算により補間を行うものであり、
     前記第1群の補間演算部相互間では、参照される画素の数が互いに異なり、
     前記第2群の補間演算部は、前記平均維持補間演算とは異なる補間演算で補間を行うものであり、
     前記第2群の補間演算部相互間では、補間演算方法及び参照される画素の数の少なくとも一方が互いに異なり、
     前記判定部は、各欠落画素の近傍の複数のテスト画素の各々についての前記テスト補間値と、当該テスト画素の画素値との差分絶対値に基づいて、各補間演算部についての誤差指標値を算出し、算出した誤差指標値に基づいて前記複数の補間演算部のいずれかを選択し、
     前記出力部は、各欠落画素について前記複数の補間演算部から出力される補間候補値のうち、前記判定部で選択された補間演算部から出力される補間候補値を選択して出力する
     画素補間装置。
  2.  前記平均維持補間演算は、
     前記欠落画素を含む複数の画素から成る欠落部の画素の画素値の平均値が前記欠落画素を含まない複数の画素から成る非欠落部の画素の画素値の平均値と等しくなるように前記欠落画素の画素値を補間する
     ことを特徴とする請求項1に記載の画素補間装置。
  3.  前記欠落部の画素の数と前記非欠落部の画素の数とが互いに等しいことを特徴とする請求項2に記載の画素補間装置。
  4.  前記欠落部のうちの前記欠落画素以外の画素の画素値の和を欠落部合計として求め、
     前記非欠落部の画素の画素値の和を非欠落部合計として求め、
     前記非欠落部合計から前記欠落部合計を減算することで得られる差分値を前記欠落画素の画素値として算出する
     ことを特徴とする請求項3に記載の画素補間装置。
  5.  前記欠落部の画素の数よりも前記非欠落部の画素の数の方が多いことを特徴とする請求項2に記載の画素補間装置。
  6.  前記欠落部のうちの前記欠落画素以外の画素の画素値の和を欠落部合計として求め、
     前記非欠落部の画素の画素値の和を非欠落部合計として求め、
     前記非欠落部の画素の数に対する前記欠落部の画素の数の比と前記非欠落部合計との積から前記欠落部合計を減算することで得られる差分値を前記欠落画素の画素値として算出する
     ことを特徴とする請求項5に記載の画素補間装置。
  7.  前記複数の平均維持補間演算部のうちの少なくとも一つの平均維持補間演算部における補間で参照される前記非欠落部が、前記欠落画素の一方の側に位置する第1の部分と、前記欠落画素の他方の側に位置する第2の部分とから成り、
     前記判定部は、
     前記第1の部分の画素の画素値の和と前記第2の部分の画素の画素値の和との差分絶対値又は該差分絶対値に基づいて定められる差分指標値が予め定められた閾値よりも大きい場合には、前記第2群の補間演算部のうちの予め指定された補間演算部を選択する
     請求項2に記載の画素補間装置。
  8.  前記予め指定された補間演算部は線形補間演算又はバイキュービック補間演算を行うものである請求項7に記載の画素補間装置。
  9.  前記線形補間演算は、欠落画素に隣接する非欠落画素を参照して行われるものである請求項8に記載の画素補間装置。
  10.  前記バイキュービック補間演算は、欠落画素に隣接する非欠落画素及び当該非欠落画素に隣接し、前記欠落画素とは反対の側に位置する非欠落画素を参照して行われるものである請求項8に記載の画素補間装置。
  11.  前記入力画像は3つ以上の色成分値で表されるカラー画像であり、
     それぞれ色成分値に対応して設けられ、各々対応する色成分値の補間を行う3つ以上の画素補間装置と、
     前記3つ以上の画素補間装置から出力された色成分値を、輝度値と第1及び第2の色差成分値とに変換する輝度色差算出部と、
     前記入力画像の色成分値を、第1及び第2の色差成分値に変換する色差算出部と、
     前記色差算出部での変換で得られた前記第1及び第2の色差成分値のうちの少なくとも一つのクリップ値を決定するクリップ値決定部と、
     前記輝度色差算出部での変換で得られた前記第1及び第2の色差成分値を、前記クリップ値決定部で決定された前記少なくとも一つのクリップ値で制限するクリップ処理部と、
     前記クリップ処理部で制限された前記第1及び第2の色差成分値と、前記輝度色差算出部での変換で得られた前記輝度値とを、色成分値に変換する色成分値復元部とを有し、
     前記画素補間装置の各々が請求項1から10のいずれか1項に記載された画素補間装置であり、対応する色成分値を画素値として補間を行う
     画像処理装置。
  12.  前記クリップ値決定部で決定される前記少なくとも一つのクリップ値が、上側クリップ値と下側クリップ値とを含むことを特徴とする請求項11に記載の画像処理装置。
  13.  前記クリップ値決定部が、前記入力画像の予め定められた範囲内の画素について前記色差算出部での変換で得られた前記第1及び第2の色差成分値から、前記クリップ値を決定することを特徴とする請求項11又は12に記載の画像処理装置。
  14.  前記予め定められた範囲が各欠落画素の周辺の画素から成る範囲であることを特徴とする請求項13に記載の画像処理装置。
  15.  前記輝度色差算出部での変換で得られる前記第1の色差成分値及び前記色差算出部での変換で得られる前記第1の色差成分値がCb成分値であり、
     前記輝度色差算出部での変換で得られる前記第2の色差成分値及び前記色差算出部での変換で得られる前記第2の色差成分値がCr成分値である
     ことを特徴とする請求項11から14のいずれか1項に記載の画像処理装置。
  16.  各々入力画像中の欠落画素の画素値を、当該入力画像を構成する画素の画素値に基づいて補間する複数の補間演算ステップと、
     判定ステップと、
     出力ステップとを有し、
     前記複数の補間演算ステップの各々は、前記欠落画素の画素値を補間し、補間された画素値を、補間候補値として出力し、前記欠落画素の近傍の複数の非欠落画素をテスト画素として、前記テスト画素の各々の画素値を補間し、補間された画素値を、当該テスト画素のテスト補間値として出力し、
     前記テスト画素の補間は、前記欠落画素の補間と同じ補間演算方法で行われ、
     前記複数の補間演算ステップは、第1群の補間演算ステップと、第2群の補間演算ステップとを含み、
     前記第1群の補間演算ステップは、平均維持補間演算により補間を行うものであり、
     前記第1群の補間演算ステップ相互間では、参照される画素の数が互いに異なり、
     前記第2群の補間演算ステップは、前記平均維持補間演算とは異なる補間演算で補間を行うものであり、
     前記第2群の補間演算ステップ相互間では、補間演算方法及び参照される画素の数の少なくとも一方が互いに異なり、
     前記判定ステップは、各欠落画素の近傍の複数のテスト画素の各々についての前記テスト補間値と、当該テスト画素の画素値との差分絶対値に基づいて、各補間演算ステップについての誤差指標値を算出し、算出した誤差指標値に基づいて前記複数の補間演算ステップのいずれかを選択し、
     前記出力ステップは、各欠落画素について前記複数の補間演算ステップから出力される補間候補値のうち、前記判定ステップで選択された補間演算ステップから出力される補間候補値を選択して出力する
     画素補間方法。
  17.  請求項16に記載の画素補間方法における処理をコンピュータに実行させるプログラム。
  18.  請求項17に記載のプログラムを記録したコンピュータで読み取り可能な記録媒体。
PCT/JP2018/024444 2018-06-27 2018-06-27 画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体 WO2020003422A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
DE112018007771.3T DE112018007771T5 (de) 2018-06-27 2018-06-27 Pixelinterpolationsvorrichtung und pixelinterpolationsverfahren und bildverarbeitungsvorrichtung und programm und aufzeichnungsmedium
US16/973,041 US11748852B2 (en) 2018-06-27 2018-06-27 Pixel interpolation device and pixel interpolation method, and image processing device, and program and recording medium
JP2020526792A JP6932260B2 (ja) 2018-06-27 2018-06-27 画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体
PCT/JP2018/024444 WO2020003422A1 (ja) 2018-06-27 2018-06-27 画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体
CN201880094839.2A CN112313934B (zh) 2018-06-27 2018-06-27 像素插值装置、像素插值方法、图像处理装置和记录介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/024444 WO2020003422A1 (ja) 2018-06-27 2018-06-27 画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体

Publications (1)

Publication Number Publication Date
WO2020003422A1 true WO2020003422A1 (ja) 2020-01-02

Family

ID=68986778

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/024444 WO2020003422A1 (ja) 2018-06-27 2018-06-27 画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体

Country Status (5)

Country Link
US (1) US11748852B2 (ja)
JP (1) JP6932260B2 (ja)
CN (1) CN112313934B (ja)
DE (1) DE112018007771T5 (ja)
WO (1) WO2020003422A1 (ja)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079318A (ja) * 2004-09-09 2006-03-23 Mitsubishi Electric Corp 画像読取装置及び信号処理方法
JP2006304356A (ja) * 2006-07-06 2006-11-02 Mitsubishi Electric Corp 画像読取装置、および信号処理方法
WO2009001575A1 (ja) * 2007-06-25 2008-12-31 Mitsubishi Electric Corporation 画像補間装置及び方法、並びに画像読取装置
JP2011171927A (ja) * 2010-02-17 2011-09-01 Mitsubishi Electric Corp 画像読取装置及び方法

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4553481B2 (ja) * 2000-12-14 2010-09-29 パナソニック株式会社 走査線補間装置
US7379105B1 (en) * 2002-06-18 2008-05-27 Pixim, Inc. Multi-standard video image capture device using a single CMOS image sensor
US7015961B2 (en) * 2002-08-16 2006-03-21 Ramakrishna Kakarala Digital image system and method for combining demosaicing and bad pixel correction
JP4610930B2 (ja) * 2003-06-05 2011-01-12 オリンパス株式会社 画像処理装置、画像処理プログラム
JP3767593B2 (ja) 2003-10-07 2006-04-19 三菱電機株式会社 画素補間回路及び画素補間方法
JP3810404B2 (ja) 2003-11-10 2006-08-16 三菱電機株式会社 画素補間回路、及び画素補間方法
JP2005236770A (ja) * 2004-02-20 2005-09-02 Mitsubishi Electric Corp 画素補間回路、画像読取装置、および画素補間方法
US7502505B2 (en) * 2004-03-15 2009-03-10 Microsoft Corporation High-quality gradient-corrected linear interpolation for demosaicing of color images
EP1782622A1 (en) * 2004-06-23 2007-05-09 Koninklijke Philips Electronics N.V. Pixel interpolation
JP5049460B2 (ja) * 2004-11-09 2012-10-17 イーストマン コダック カンパニー カラー撮像画像データの補間方法およびプログラム
US20070070243A1 (en) * 2005-09-28 2007-03-29 Ali Corporation Adaptive vertical temporal flitering method of de-interlacing
US8559762B2 (en) * 2007-12-28 2013-10-15 Nikon Corporation Image processing method and apparatus for interpolating defective pixels
JP5269718B2 (ja) * 2009-08-18 2013-08-21 オリンパス株式会社 画像処理装置、画像処理プログラムおよび画像処理方法
JP5515552B2 (ja) 2009-09-17 2014-06-11 コニカミノルタ株式会社 画素補間装置、画素補間方法および画像読取装置
JP5513978B2 (ja) * 2010-05-14 2014-06-04 パナソニック株式会社 撮像装置、集積回路および画像処理方法
JP5699621B2 (ja) 2011-01-19 2015-04-15 株式会社リコー 画像処理装置、画素補間方法およびプログラム
JP5741011B2 (ja) * 2011-01-26 2015-07-01 株式会社リコー 画像処理装置、画素補間方法およびプログラム
JP2015222895A (ja) * 2014-05-23 2015-12-10 株式会社沖データ 画像補間装置、画像補間プログラム及び画像読取装置
US9990695B2 (en) * 2015-03-27 2018-06-05 Intel Corporation Edge sensing measure for raw image processing
US9582853B1 (en) * 2015-08-03 2017-02-28 Intel Corporation Method and system of demosaicing bayer-type image data for image processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079318A (ja) * 2004-09-09 2006-03-23 Mitsubishi Electric Corp 画像読取装置及び信号処理方法
JP2006304356A (ja) * 2006-07-06 2006-11-02 Mitsubishi Electric Corp 画像読取装置、および信号処理方法
WO2009001575A1 (ja) * 2007-06-25 2008-12-31 Mitsubishi Electric Corporation 画像補間装置及び方法、並びに画像読取装置
JP2011171927A (ja) * 2010-02-17 2011-09-01 Mitsubishi Electric Corp 画像読取装置及び方法

Also Published As

Publication number Publication date
JP6932260B2 (ja) 2021-09-08
CN112313934B (zh) 2022-05-31
JPWO2020003422A1 (ja) 2021-03-11
DE112018007771T5 (de) 2021-04-22
US11748852B2 (en) 2023-09-05
US20210272241A1 (en) 2021-09-02
CN112313934A (zh) 2021-02-02

Similar Documents

Publication Publication Date Title
JP4840468B2 (ja) 画像処理装置、画像処理方法、およびプログラム
US7499089B2 (en) Color interpolation method in bayer array
KR100885820B1 (ko) 적응형 컬러 보간
KR100396898B1 (ko) 이미지센서 출력데이터 처리장치 및 처리방법
KR100755601B1 (ko) 화소 신호 처리 장치 및 화소 신호 처리 방법
US8131067B2 (en) Image processing apparatus, image processing method, and computer-readable media for attaining image processing
JP3253125B2 (ja) カラー画像読取り補正装置
US20090147110A1 (en) Video Processing Device
KR100768619B1 (ko) 화소 신호 처리 장치 및 방법
JP2014200009A (ja) 画像処理装置および方法、並びにプログラム
JP2001119705A (ja) カラー撮像装置
WO2020003422A1 (ja) 画素補間装置及び画素補間方法、並びに画像処理装置、並びにプログラム及び記録媒体
JP2014042176A (ja) 画像処理装置および方法、プログラム、並びに、固体撮像装置
CN105046631A (zh) 图像处理设备和图像处理方法
US20180365801A1 (en) Method for processing signals from a matrix for taking colour images, and corresponding sensor
JP2014200000A (ja) 画像処理装置および方法、並びにプログラム
US7719575B2 (en) Pixel signal processing apparatus and pixel signal processing method
CN114359050B (zh) 图像处理方法、装置、计算机设备、存储介质及程序产品
JP5981824B2 (ja) 画素補間処理装置、撮像装置、プログラムおよび集積回路
KR100996797B1 (ko) 화상 처리 장치, 화상 처리 방법, 및 화상 처리를 달성하는프로그램
JP6552248B2 (ja) 画像処理装置及び方法、撮像装置、並びにプログラム
KR101545064B1 (ko) 타겟 픽셀의 픽셀값 추정 장치 및 그 방법
JP2007148881A (ja) 画素補間方法及び装置、画像読取装置
KR960002694B1 (ko) 칼라화상판독 보정장치
JP4334484B2 (ja) 画素信号処理装置及び方法

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: 18924770

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020526792

Country of ref document: JP

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 18924770

Country of ref document: EP

Kind code of ref document: A1