(19)
(11)EP 2 843 947 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
04.11.2020 Bulletin 2020/45

(21)Application number: 13781172.5

(22)Date of filing:  14.02.2013
(51)International Patent Classification (IPC): 
G06T 7/90(2017.01)
G06T 5/00(2006.01)
G06T 3/40(2006.01)
H04N 9/04(2006.01)
(86)International application number:
PCT/JP2013/053455
(87)International publication number:
WO 2013/161349 (31.10.2013 Gazette  2013/44)

(54)

IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, AND PROGRAM

BILDVERARBEITUNGSVORRICHTUNG, BILDVERARBEITUNGSVERFAHREN UND PROGRAMM

DISPOSITIF DE TRAITEMENT D'IMAGE, PROCÉDÉ DE TRAITEMENT D'IMAGE, ET PROGRAMME


(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

(30)Priority: 24.04.2012 JP 2012098544

(43)Date of publication of application:
04.03.2015 Bulletin 2015/10

(73)Proprietor: Sony Corporation
Tokyo 108-0075 (JP)

(72)Inventor:
  • SAITO, Yasushi
    Tokyo 108-0075 (JP)

(74)Representative: D Young & Co LLP 
120 Holborn
London EC1N 2DY
London EC1N 2DY (GB)


(56)References cited: : 
EP-A1- 2 352 301
WO-A2-2011/108290
JP-A- 2002 077 928
US-A1- 2008 218 597
US-A1- 2011 085 052
WO-A2-2007/145373
JP-A- H01 133 492
JP-A- 2012 060 602
US-A1- 2011 050 918
  
      
    Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


    Description

    TECHNICAL FIELD



    [0001] The present invention relates to an image processing device, a method of processing an image, and a program, and especially relates to an image processing device, a method of processing an image, and a program for executing correction processing of a false color occurring in an image.

    BACKGROUND ART



    [0002] For example, when sunshine filtering through leaves is captured by a camera as illustrated in Fig. 1, a phenomenon in which highlighted regions h1 to h5 surrounded by the dotted line circles are colored with green or magenta is seen.

    [0003] Fig. 2(a) illustrates a Bayer array made of RGB pixels and used in many conventional cameras.

    [0004] Fig. 2(b) illustrates a RGBW array which has been increasingly used in recent cameras. Each of RGB pixels is a pixel including a filter selectively transmitting light of a wavelength region of R, G or B, and a W pixel is a pixel including a filter that transmits almost all the visible light of the RGB wavelength light.

    [0005] When the image illustrated in Fig. 1, that is, the image having a high brightness region of a small area of about several pixels like the sunshine filtering through leaves is captured with the camera including an imaging device of the RGBW array including the W pixels as illustrated in Fig. 2(b), a false color such as green or magenta is generated in the highlighted regions h1 to h5 which are small high brightness regions. Hereinafter, the false color, which occurs in the highlighted region of a small area of about several pixels, is called brightness false color.

    [0006] A principle of occurrence of the brightness false color will be described with reference to Figs. 3(a) and 3(b).

    [0007] For example, as illustrated in Fig. 3(a), when the area of the highlighted region is small and the pixels of the highlighted region are configured from almost only the W and G pixels, pixel values of the G pixels are relatively larger than peripheral R and B pixels. As a result, color balance is lost, and the region is colored to green.

    [0008] Further, as illustrated in Fig. 3(b), when the area of the highlighted region is small and the pixels of the highlighted region are configured from almost the W, R, and B pixels, the pixel values of the R and B pixels are relatively larger than the pixel values of the peripheral G pixels. As a result, the color balance is lost, and the region is colored to magenta.

    [0009] As described above, various patterns of false colors, that is, the brightness false colors are generated, depending on the configuration of the pixels included in the highlighted region that is a high brightness portion.

    [0010] To decrease such a brightness false color, processing of correcting the false color occurring region using an optical low-pass filter is effective. That is, the processing is to decrease a high-frequency component of light incident on the imaging device, and to correct extreme change of the pixel value into gentle change. However, this method causes a decrease in resolution, resulting in deterioration of image quality, and thus it cannot be said that the method is an appropriate method.

    [0011] Note that, a technology to decrease the false color typically called purple fringing is described in, for example, Patent Document 1 (Japanese Patent Application Laid-Open No. 2009-124598) and Patent Document 2 (Japanese Patent Application Laid-Open No. 2006-14261).

    [0012] The purple fringing is caused mainly by an aberration of a lens included in the camera, and is a false color occurring around a high contrast edge of blown-out highlight.

    [0013] However, the brightness false color described above is caused in a pixel region that does not have blown-out highlights. Therefore, there are some cases which cannot be handled by the conventional processing of decreasing the purple fringing.

    CITATION LIST


    PATENT DOCUMENT



    [0014] 

    Patent Document 1: Japanese Patent Application Laid-Open No. 2009-124598

    Patent Document 2: Japanese Patent Application Laid-Open No. 2006-14261



    [0015] Previously proposed arrangements are disclosed in US 2011/050918 A1, US 2011/085052 A1 and WO 2007/145373 A2.

    SUMMARY OF THE INVENTION


    PROBLEMS TO BE SOLVED BY THE INVENTION



    [0016] The present disclosure has been made in view of the above problems, and an objective is to provide an image processing device, a method of processing an image, and a program for detecting false color, which occurs in a high brightness region (highlighted region) of a small area of about several pixels, and performing correction, thereby outputting a high-quality image.

    [0017] Further, in a configuration of one embodiment of the present disclosure, an objective is to provide an image processing device, a method of processing an image, and a program for inputting a mosaic image of an array including a W (white) pixel before de-mosaic, as an object to be processed, detecting a false color, which occurs in a high brightness region (highlighted region) of a small area of about several pixels, and performing correction, thereby outputting a high-quality image.

    SOLUTION TO PROBLEMS



    [0018] According to a first aspect of the present disclosure, there is provided an image processing device including:

    a data conversion processing unit configured to have an RGBW array image as an input image, and to generate an RGB array image as an output image,

    the data conversion processing unit including

    a false color detection unit configured to detect a false color pixel in the input image, and to output detection information,

    a low-band signal calculation unit configured to be input the detection information from the false color detection unit, and to change a processing aspect according to the detection information to calculate low-band signals corresponding to respective RGBW colors, and

    a pixel interpolation unit configured to execute pixel conversion of the RGBW array of the input image by pixel interpolation to which the low-band signals calculated by the low-band signal calculation unit to generate the RGB array image, and

    the interpolation processing unit

    calculates an interpolation pixel value on an assumption that a low-band signal mW of a W pixel and low-band signals mR, mG, and mB of respective RGB pixels have a proportional relation in a local region.



    [0019] Further, according to one embodiment of the image processing device of the present disclosure, when having been input the detection information that a pixel of interest is the false color pixel from the false color detection unit, the low-band signal calculation unit applies a low-pass filter to which a low-pass filter coefficient in which a pixel value contribution rate of a pixel near the pixel of interest is made relatively lower than that of a pixel separated from the pixel of interest is set to calculate the low-band signals.

    [0020] Further, according to one embodiment of the image processing device of the present disclosure, when having been input the detection information that a pixel of interest is not the false color pixel from the false color detection unit, the low-band signal calculation unit applies a low-pass filter to which a low-pass filter coefficient in which a pixel value contribution rate of a pixel near the pixel of interest is made relatively higher than that of a pixel separated from the pixel of interest is set to calculate the low-band signals.

    [0021] Further, according to one embodiment of the image processing device of the present disclosure, the false color detection unit detects presence/absence of existence of a locally highlighted region that is a locally high brightness region in the input image, and when a pixel of interest is included in the locally highlighted region, the false color detection unit determines that the pixel of interest is the false color pixel.

    [0022] Further, according to one embodiment of the image processing device of the present disclosure, the false color detection unit detects incline information of W pixels near a pixel of interest, and when a W pixel value near the pixel of interest is higher than a peripheral W pixel value in both of two perpendicular directions, the false color detection unit determines that the pixel of interest is included in a locally highlighted region that is a locally high brightness region, and the pixel of interest is the false color pixel.

    [0023] Further, according to one embodiment of the image processing device of the present disclosure, the false color detection unit (a) calculates W pixel low-frequency component signals corresponding to respective lines based on pixel values of a plurality of W pixels in a plurality of diagonally lower right lines set near a pixel of interest, and executes comparison processing between a difference value Diff1 between a maximum value of the W pixel low-frequency component signals of a plurality of inner-side lines close to the pixel of interest and a maximum value of the W pixel low-frequency component signals of a plurality of outer-side lines distant from the pixel of interest, and a threshold Thr1, and (b) calculates W pixel low-frequency component signals corresponding to respective lines based on pixel values of a plurality of W pixels in a plurality of diagonally upper right lines set near a pixel of interest, and executes comparison processing between a difference value Diff2 between a maximum value of the W pixel low-frequency component signals of a plurality of inner-side lines close to the pixel of interest and a maximum value of the W pixel low-frequency component signals of a plurality of outer-side lines distant from the pixel of interest, and a threshold Thr2, and as comparison results of the two cases of the above (a) and (b), when the difference value is larger than the threshold in both cases, the false color detection unit determines that the pixel of interest is the false color pixel.

    [0024] Note that the threshold Thr1 and the threshold Thr2 may be fixed values, may be values that can be set by the user, or may be automatically calculated.

    [0025] Further, according to one embodiment of the image processing device of the present disclosure, the false color detection unit detects a false color occurring when a W pixel and a G pixel are concentrated in a locally highlighted region that is a locally high brightness region in the input image, or when a W pixel, an R pixel, and a B pixel are concentrated in the locally highlighted region.

    [0026] Further, according to one embodiment of the image processing device of the present disclosure, the false color detection unit detects W pixels having a high pixel value from the input image, compares a configuration pattern of the detected W pixels having a high pixel value, and a registered highlighted region pattern that is a shape of a locally high brightness region recorded in a memory in advance, and determines that a pixel included in the configuration pattern of the W pixels having a high pixel value is the false color pixel when the configuration pattern of the detected W pixels having a high pixel value match the registered highlighted region pattern.

    [0027] Further, according to one embodiment of the image processing device of the present disclosure, the low-band signal calculation unit applies a low-pass filter to which a low-pass filter coefficient in which a pixel value contribution rate of a highlighted region is made relatively lower than that of a pixel outside the highlighted region, according to the registered highlighted region pattern determined to match the configuration pattern of the W pixels having a high pixel value by the false color detection unit, is set to calculate the low-band signals.

    [0028]  Further, according to a second aspect of the present disclosure, there is provided a method of processing an image executed in an image processing device, the method including:

    by a data conversion processing unit, executing data conversion processing of having an RGBW array image as an input image, and generating an RGB array image as an output image,

    in the data conversion processing, executing

    false color detection processing of detecting a false color pixel of the input image, and outputting detection information,

    low-band signal calculation processing of being input the detection information, and changing a processing aspect according to the detection information to calculate low-band signals corresponding to respective RGBW colors, and

    pixel interpolation processing of executing pixel conversion of the RGBW array of the input image to generate the RGB array image by pixel interpolation to which the low-band signals are applied, and

    in the interpolation processing,

    calculating an interpolation pixel value based on an assumption that a low-band signal mW of a W pixel and low-band signals mR, mG, and mB of respective RGB pixels have a proportional relation in a local region.



    [0029] Further, according to a third aspect of the present disclosure, there is provided a program for causing an image processing device to execute image processing, the image processing including:

    causing a data conversion processing unit to execute data conversion processing step of having an RGBW array image as an input image, and generating an RGB array image as an output image,

    in the data conversion processing step, causing the data conversion processing unit to execute

    a false color detection processing of detecting a false color pixel of the input image, and outputting detection information,

    low-band signal calculation processing of being input the detection information, and changing a processing aspect according to the detection information to calculate low-band signals corresponding to respective RGBW colors, and

    pixel interpolation processing of executing pixel conversion of the RGBW array of the input image to generate the RGB array image by pixel interpolation to which the low-band signals are applied, and

    in the interpolation processing, calculating an interpolation pixel value based on an assumption that a low-band signal mW of a W pixel and low-band signals mR, mG, and mB of respective RGB pixels have a proportional relation in a local region.



    [0030] Note that the program of the present disclosure is a program that can be provided with a storage medium or a communication medium provided in a computer-readable format to an information processing device or a computer system that can execute various program codes. Such a program is provided in a computer-readable format, whereby processing according to the program is realized on the information processing device or the computer system.

    [0031] Other objectives, characteristics, and advantages of the present disclosure will become clear from the detailed description based on the embodiments and the appended drawings of the present disclosure below. Note that the system in the present specification is a logical set configuration of a plurality of devices, and is not limited to a configuration in which devices of respective configurations are included in the same housing.

    EFFECTS OF THE INVENTION



    [0032] According to a configuration of one embodiment of the present disclosure, a device and a method that perform correction of a false color, which occurs in a locally highlighted region of an image, are realized.

    [0033] To be specific, a false color pixel is detected in data conversion processing of generating an RGB array image from an RGBW array image, low-band signals corresponding to respective RGBW colors that are different according to whether a pixel is a false color pixel, and the RGBW array is converted by interpolation processing to which the calculated low-band signals are applied to generate the RGB array. The interpolation processing is performed using the low-band signals on an assumption that a W low-band signal mW, and RGB respective low-band signals mR, mG, and mB have a proportional relation in a local region. When a pixel of interest is a false color pixel, the low-band signal is calculated by an application of a low-pass filter having a coefficient in which a contribute rate of pixel values in the vicinity of the pixel of interest is made relatively lower than that of separated pixels.

    [0034] With the processing, a false color, which occurs in a locally highlighted region of the image, is corrected, together with re-mosaic processing of converting the RGBW array image into the RGB array, and a high-quality image from which the false color has been removed or decreased can be generated and output.

    BRIEF DESCRIPTION OF DRAWINGS



    [0035] 

    Fig. 1 is a diagram illustrating occurrence of a bright false color occurring in a highlighted region.

    Figs. 2(a) and 2(b) are diagrams illustrating configuration examples of pixel arrays of an imaging apparatus.

    Figs. 3(a) and 3(b) are diagrams illustrating highlighted regions where a brightness false color occurs.

    Fig. 4 is a diagram illustrating a configuration example of an image processing device of the present disclosure.

    Fig. 5 is a diagram illustrating a configuration example of a data conversion processing unit of the imaging processing device of the present disclosure.

    Figs. 6(a) and 6(b) are diagrams illustrating pixel interpolation processing executed by the image processing device of the present disclosure.

    Figs. 7(a) to 7(c) are diagrams illustrating highlighted regions where a brightness false color occurs.

    Figs. 8(1a) to 8(1c) are diagram illustrating processing executed by a false color detection unit of the image processing device of the present disclosure.

    Figs. 9(2a) to 9(2c) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 10(3a) to 10(3c) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 11(4a) to 11(4c) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 12(a) to 12(e) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 13(5a) to 13(5c) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 14(6a) to 14(6c) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 15(5a) to 15(5c) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 16(6a) to 16(6c) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 17(1a) to 17(1c) are diagrams illustrating processing executed by a low-band signal calculation unit of the image processing device of the present disclosure.

    Figs. 18(2a) to 18(2c) are diagrams illustrating processing executed by the low-band signal calculation unit of the image processing device of the present disclosure.

    Figs. 19(3a) to 19(3c) are diagrams illustrating processing executed by the low-band signal calculation unit of the image processing device of the present disclosure.

    Figs. 20(4a) to 20(4c) are diagrams illustrating processing executed by the low-band signal calculation unit of the image processing device of the present disclosure.

    Fig. 21 is a diagram illustrating a flowchart illustrating a sequence of processing executed by the image processing device of the present disclosure.

    Figs. 22(a) to 22(g) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 23(a) to 23(g) are diagrams illustrating processing executed by the low-band signal calculation unit of the image processing device of the present disclosure.

    Figs. 24(a) to 24(h) are diagrams illustrating processing executed by the false color detection unit of the image processing device of the present disclosure.

    Figs. 25(a) to 25(h) are diagrams illustrating processing executed by the low-band signal calculation unit of the image processing device of the present disclosure.

    Fig. 26 is a diagram illustrating a flowchart illustrating a sequence of processing executed by the image processing device of the present disclosure.


    MODE FOR CARRYING OUT THE INVENTION



    [0036] Hereinafter, details of an image processing device, a method of processing an image, and a program of the present disclosure will be described with reference to the drawings. Note that the description will be given according to the following items.
    1. 1. A configuration and processing of a first embodiment of an imaging processing device of the present disclosure
    2. 2. A modification of a false color detection unit and a low-band signal calculation unit
    3. 3. Effects by processing of an image processing device of the present disclosure
    4. 4. Conclusion of configurations of the present disclosure

    [1. A configuration and processing of a first embodiment of an imaging processing device of the present disclosure]



    [0037] An image processing device of the present disclosure performs processing with respect to acquired data of an imaging device (image sensor) that includes RGBW-type color filters including a filter corresponding to white (W) that transmits all light of RGB wavelengths, in addition to RGB filters that selectively transmit the light of the respective RGB wavelengths.

    [0038] To be specific, the image processing device analyzes signals of a two-dimensional pixel array in which pixels serving as a main component of a brightness signal are arranged in a checkered pattern manner, and a plurality of colors of pixels serving as color information components are arranged in the rest of the portion, and performs pixel conversion. Note that a color of the main component of the brightness signal is white or green.

    [0039] The image processing device of the present disclosure executes processing of converting the acquired data of the imaging device (image sensor) having the RGBW-type color filters including white (W) as illustrated in Fig. 2(b) into an RGB array (for example, a Bayer array) as illustrated in Fig. 2(a). Hereinafter, such processing of converting a color array is called re-mosaic processing. Note that details of the re-mosaic processing is described in Japanese Patent Application Laid-Open No. 2011-182354, and the disclosed re-mosaic processing can be applied to the image processing device of the present disclosure.

    [0040] The image processing device of the present disclosure executes processing of correcting a brightness false color in this conversion processing (re-mosaic processing). The brightness false color is a false color that occurs in a highlighted region of a small area of about several pixels.

    [0041] A configuration example and a processing example of the image processing device according to one embodiment of the present disclosure will be described with reference to Fig. 4.

    [0042] Fig. 4 is a diagram illustrating a configuration example of an imaging apparatus 100 according to one embodiment of the image processing device of the present disclosure. The imaging apparatus 100 includes an optical lens 105, an imaging device (image sensor) 110, a signal processing unit 120, a memory 130, and a control unit 140.

    [0043]  Note that the imaging apparatus 100 illustrated in Fig. 4 is one aspect of the image processing device of the present disclosure. A device such as a PC is also included in an example of the image processing device of the present disclosure. The image processing device like a PC does not include the optical lens 105 and the imaging device 110 of the imaging apparatus 100 illustrated in Fig. 4, and is configured from other configuration elements. The imaging apparatus 100 of a PC has a configuration including an input unit of acquisition data or a storage unit of the imaging device 110. To be specific, the imaging apparatus 100 is a still camera, a video camera, or the like. An information processing device capable of performing image processing, such as a PC, is included in one aspect of the image processing device 120.

    [0044] Hereinafter, the imaging apparatus 100 will be described as a representative example of an image processing device of the present invention. The imaging device (image sensor) 110 of the imaging apparatus 100 illustrated in Fig. 4 has a configuration provided with a filter including an RGBW array 181 having white (W) illustrated in Fig. 2(b). To be specific, the imaging device 100 analyzes signals of a two-dimensional pixel array in which pixels serving as a main component of the brightness signal are arranged in a checkered pattern manner, and a plurality of colors of pixels serving as color information components is arranged in the rest of the portion, and performs pixel conversion. Note that the color of the main component of the brightness signal is white or green.

    [0045] In the embodiments described below, the imaging device (image sensor) 110 is an imaging device provided with a filter having the following four types of spectral characteristics:

    red (R) that transmits a wavelength near red;

    green (G) that transmits a wavelength near green;

    blue (B) that transmits a wavelength near blue; and

    white (W) that transmits light of almost all wavelengths of the RGB.



    [0046] The imaging device 110 including the filter of the RGBW array 181 receives any of RGBW light in pixel units through the optical lens 105, and generates and outputs an electrical signal corresponding to intensity of the received light signal by photoelectric conversion. A mosaic image made of the four types of RGBW spectrums can be obtained by the imaging device 110.

    [0047] An output signal of the imaging device (image sensor) 110 is input to a data conversion processing unit 200 of the signal processing unit 120.

    [0048] The data conversion processing unit 200 executes conversion processing from the RGBW array 181 to the RGB array 182. The data conversion processing unit 200 executes processing of correcting the brightness false color in the pixel array conversion processing.

    [0049] The RGB array 182 generated by the data conversion processing unit 200, that is, data having a Bayer array is data having a color array obtained by an imaging device such as a conventional camera. The color array data is input to an RGB signal processing unit 250.

    [0050] The RGB signal processing unit 250 performs similar processing to a signal processing unit provided in the conventional camera. To be specific, the RGB signal processing unit 250 executes de-mosaic processing, white balance adjustment processing, γ correction processing, and the like, and generates a color image 183. The generated color image 183 is recorded in a memory 130.

    [0051] The control unit 140 executes control of the series of processing. For example, a program that causes the control unit 140 to execute the series of processing is stored in the memory 130. The control unit 140 executes the program read from the memory 130 to control the series of processing.

    [0052] A detailed configuration of the data conversion processing unit 200 will be described with reference to Fig. 5. The data conversion processing unit 200 executes conversion processing (re-mosaic processing) from the RGBW array 181 to the RGB array 182. Further, the data conversion processing unit 200 executes processing for decreasing the brightness false color together with the conversion processing.

    [0053] An input pixel unit to the data conversion processing unit 200 is 7 pixels × 7 pixels having a pixel to be processed for pixel value conversion in the center, the pixel value conversion being executed as processing of a decrease in the brightness false color and pixel array conversion. That is, the data conversion processing unit 200 performs processing in which a 7 × 7 pixel reference region having the pixel to be processed as a center is set. Note that pixels to be processed are changed in turn, and the data conversion processing unit 200 performs the processing with respect to the pixels in turn.

    [0054] Note that setting of the size of the reference region, which is set as the input pixel unit, to 7 pixels × 7 pixels is an example, and a region having a size other than the size may be set as the input pixel unit (reference region).

    [0055] The data conversion processing unit 200 includes, as illustrated in Fig. 5, a false color detection unit 201, a low-band signal calculation unit 202, and a pixel interpolation unit 203.

    [0056] The pixel interpolation unit 203 interpolates the central pixel in the region of the input pixel unit so that the image having the RGBW array 181 that is an output of the imaging device 110 becomes the RGB array 182.

    [0057] The pixel interpolation processing is performed as processing of selecting pixels, for example, having the same color as any of RGB to be set, from the reference region of 7 × 7 pixels, and using pixel values of reference pixels while having the selected pixel values as reference pixels to calculate a pixel value of the pixel to be processed, that is, to calculate a pixel value of a central pixel of the 7 × 7 pixels.

    [0058] Note that, in the interpolation processing, existing various methods such as processing of selecting the reference pixel in consideration of an edge direction, and a method of using correlation between the W pixel and the RGB pixels in the reference region, are applicable.

    [0059] An example of the interpolating processing of when the G pixel is interpolated with the W pixel in the central of the input pixel unit (here, 7 pixels × 7 pixels) will be described with reference to Figs. 6(a) and 6(b).

    [0060] Fig. 6(a) illustrates the input pixel unit (7 × 7 pixel region) having the W pixel in the center, the W pixel being the pixel of interest to serve as a pixel to be converted.

    [0061] First, a low-band signal mW of the W pixels based on the pixel values of the W pixels in the reference region where the input pixel unit (7 × 7 pixel region) is the reference region.

    [0062] For example, the low-band signal mW is calculated by low-pass filter application processing with respect to the pixel values of the W pixels in the reference region.

    [0063] Similarly, a low-band signal of the G pixels is calculated from the G pixels in the input pixel unit (reference region). This low-band signal is a low-band signal mG.

    [0064] The pixel value of the W pixel that is the pixel of interest to serve as the pixel to be converted is w. At this time, the G pixel to be set to the position of the pixel of interest, that is, the value G of the G pixel to be interpolated is calculated according to (Expression 1) below:



    [0065] The interpolation processing is interpolating processing based on estimation that the low-band signal mW of the W pixel and the low-band signal mG of the G pixel are proportional to each other in a local region.

    [0066] That is, in a narrow local region like the reference region of the 7 × 7 pixels set in the present embodiment, it is estimated that the proportional relation between the low-band signal mW of the W pixel and the low-band signal mG of the G pixel is established, as illustrated in Fig. 6(b), and the G pixel value in the W pixel position is estimated according to the (Expression 1) based on the proportional relation.

    [0067] Note that, when the RGBW pixel array is converted into the RGB pixel array, the following pieces of processing are necessary:

    processing of converting the G pixel into the R or B pixel;

    processing of converting the R pixel into the B pixel; and

    processing of converting the B pixel into the R pixel, in addition to the processing of converting the W pixel into the G pixel.



    [0068]  When these pieces of conversion processing are performed, the W pixels of the reference region are set to a pixel color of a conversion destination according to the pixel color of the conversion destination of conversion between the pixels of interest, and the pixel value of the pixel of interest is calculated, on an assumption that the following relations are established in the local region, for example, the 7 × 7 reference region:

    the proportional relation between the low-band signal mW of the W pixel and the low-band signal mG of the G pixel;

    the proportional relation between the low-band signal mW of the W pixel and the low-band signal mR of the R pixel; and

    the proportional relation between the low-band signal mW of the W pixel and the low-band signal mB of the B pixel.



    [0069] Note that this interpolating processing is described in Japanese Patent Application Laid-Open No. 2011-182354, which is an earlier application of the present applicant, and the disclosed processing can be applied to the image processing device of the present disclosure.

    [0070] Note that, in the processing of the present disclosure, processing of changing a calculation processing aspect of the low-band signals mR, mG, mB, and mW corresponding to the RGBW pixels applied to the pixel value conversion processing of the pixel interpolation unit 203 is performed, according to presence/absence of detection of the brightness false color.

    [0071] The false color detection unit 201 of Fig. 5 determines whether the pixel of interest is the brightness false color pixel, and outputs the determination information to the low-band signal calculation unit 202.

    [0072] The low-band signal calculation unit 202 changes the calculation processing aspect of the low-band signals mR, mG, mB, and mW corresponding to the RGBW pixels applied in the pixel value conversion processing of the pixel interpolation unit 203, according to the determination information, calculates the low-band signals mR, mG, mB, and mW, and outputs the calculated low-band signals mR, mG, mB, and mW to the pixel interpolation unit 203.

    [0073] The pixel interpolation unit 203 performs the pixel interpolating processing as the re-mosaic processing of converting the RGBW pixel array into the RGB pixel array, applying the low-band signals mR, mG, mB, and mW input from the low-band signal calculation unit 202.

    [0074] Note that the pixel interpolation processing executed by the pixel interpolation unit 203 is processing according to the processing described in Japanese Patent Application Laid-Open No. 2011-182354, which is an earlier application of the applicant, other than using the low-band signals mR, mG, mB, and mW input from the low-band signal calculation unit 202.

    [0075] Hereinafter, processing of detecting the brightness false color in the false color detection unit 201 and processing of calculating the low-band signals (mR, mG, mB, and mW) in the low-band signal calculation unit 202 will be described.

    [0076] The false color detection unit 201 executes processing of detecting the brightness false color by using the input pixel unit (7 × 7 pixels) as the reference region and applying the pixel values of the W pixels in the reference region.

    [0077] As described with reference to Figs. 3(a) and 3(b), the brightness false color occurs such that, as illustrated in Fig. 3(a), when the pixels of the local region, that is, the highlighted region that is the high brightness region of about several pixels are only the W pixels and the G pixels, the pixel values of the G pixels become relatively larger than the pixel values of the peripheral R pixels and B pixels, and as a result, the color balance is lost, and the region is colored to green.

    [0078] Further, as illustrated in Fig. 3(b), when the pixels of the highlighted region are configured from the W pixel, the R pixel, and the B pixel, the pixel values of the R pixel and the B pixel become relatively larger than the pixel values of the peripheral G pixels. As a result, the color balance is lost, and the region is colored to magenta. In this way, various patterns of false colors, that is, the brightness false colors occur depending on the configuration of the pixels included in the highlighted region that is the high brightness portion.

    [0079] Hereinafter, processing of detecting the green false color occurring when the pixels of the highlighted region are only the W pixels and the G pixels, as illustrated in Fig. 3(a) will be described as an example.

    [0080] Figs. 7(a) to 7(c) illustrate configuration examples of the highlighted regions where the green false color occurs, similarly to Fig. 3(a). The regions surrounded by the dotted line circles illustrate the highlighted regions.

    [0081] The false color detection unit 201 inputs the input pixel unit (7 × 7 pixels) having the pixel of interest as a center, the pixel being to be processed of the pixel value conversion (re-mosaic processing) in the data conversion processing unit 200, and determines whether the pixel of interest is included in the highlighted region, that is, whether the pixel of interest is the brightness false color pixel.

    [0082] Figs. 7(a) to 7(c) illustrate examples of when the pixel of interest is included in the highlighted region, that is, the pixel of interest is the brightness false color pixel. The highlighted regions surrounded by the dotted line circles in Figs. 7(a) to 7(c) are configured from almost the G pixels and the W pixels.

    [0083] Examples of processing of the false color detection unit 201 will be described with reference to Figs. 8(1a) to 8(1c).

    [0084] The examples of processing illustrated in Figs. 8(1a) to 8(1c) and Figs. 9(2a) to 9(2c) are examples of processing of when the central pixel (pixel of interest) of the input pixel unit (7 × 7 pixels) is a W pixel (W4), and a left adjacent pixel and a lower adjacent pixel of the central pixel (W4) are the G pixels.

    [0085] When the input pixel unit has such an array, the false color detection unit 201 determines whether the central pixel (pixel of interest) is the brightness false color pixel that causes the green false color to occur by the processing illustrated in Figs. 8(1a) to 8(1c) and Figs. 9(2a) to 9(2c).

    [0086] First, as illustrated in Fig. 8(1a), when the G pixels are positioned to the left of and below the central W pixel (W4), the false color detection unit 201 obtains out_up, in_up, in_dn, and out_dn according to the expressions (Expression 2a) to (Expression 2d) below. Note that W0 to W11 represent the pixel values of the W pixels illustrated in Figs. 8(1a) to 8(1c).









    [0087] Note that, here,
    all of out_up, in_up, in_dn, and out_dn are W pixel low-frequency signals generated with an average value or weight adding of the pixel values of a plurality of W pixels in a diagonally lower right direction in the reference region that is the input pixel unit of the 7 × 7 pixels.

    [0088] That is, out_up, in_up, in_dn, and out_dn are the W pixel low-frequency signals corresponding to diagonally lower right direction lines.

    [0089] In the present processing example, all of out_up, in_up, in_dn, and out_dn are values obtained such that the pixel values of three W pixels in the diagonally lower right direction are weight added at a ratio of 1:2:1.

    [0090] in_up and in_dn are the W pixel low-frequency signals based on three W pixels of each of two diagonally lower right lines [an upper side line (in_up) and a lower side line (in_dn)] closest to the center of the reference region.

    [0091] out_up is the W pixel low-frequency signal based on three W pixels in a diagonally lower right line adjacent to in_up in an upper direction.

    [0092] out_dn is the W pixel low-frequency signal based on three W pixels in a diagonally lower right line adjacent to in_dn in a lower direction.

    [0093] Among these four calculated values out_up, in_up, in_dn, and out_dn, when the value of in_up or in_dn, which is one of the two calculated values close to the central position of the reference region, is large, and the value of out_up or out_dn, which is one of the two calculated values separated from the center, is small, the false color detection unit 201 determines that the G pixels in the vicinity of the center are included in the highlighted region, and a possibility of occurrence of the false color is high.

    [0094] To be specific, from the four W pixel low-frequency signals out_up, in_up, in_dn, and out_dn in the diagonally lower right lines,
    a maximum value max (in_up, in_dn) of the two W pixel low-frequency signals in_up and in_dn close to the center,
    a maximum value max (out_up, out_dn) of the two W pixel low-frequency signals out_up and out_dn separated from the center, and
    a difference value Diff1 between these two maximum values
    are calculated.

    [0095] That is, the difference value Diff1 of the W pixels in a diagonally upper right direction perpendicular to the four diagonally lower right lines is calculated, and when the difference value satisfies an (Expression 3) below, the false color detection unit 201 determines that a possibility of the pixel of interest being the false color occurring pixel is high, and when the difference value does not satisfy the (Expression 3), the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.



    [0096] Note that, in the (Expression 3),
    max (A, B) is a function that returns a larger value of A and B, and
    Thr1 is a threshold.

    [0097] Note that the threshold Thr1 may be a fixed value, a value that can be set by the user, or an automatically calculated value.

    [0098] Fig. 8(1b) illustrates a corresponding example of out_up, in_up, in_dn, and out_dn, and the threshold Thr1 of when the false color detection unit 201 determines that the possibility of the pixel of interest being the false color occurring pixel is high.

    [0099] Fig. 8(1c) illustrates a corresponding example of out_up, in_up, in_dn, and out_dn, and the threshold Thr1 of when the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.

    [0100] When the difference value satisfies the (Expression 3) described above, that is, the difference value satisfies the following (Expression 3):

    the false color detection unit 201 further performs determination processing using the pixel values of the W pixels in the diagonally lower right direction of the reference region.

    [0101] Determination processing using the pixel values of the W pixels in the diagonally lower right direction of the reference region will be described with reference to Figs. 9(2a) to 9(2c).

    [0102] Fig. 9(2a) illustrates the reference region of 7 × 7 pixels in which the G pixels are positioned to the left of and below the central W pixel (W4), similarly to Fig. 8(1a).

    [0103] As illustrated in Fig. 9(2a), when the G pixels are positioned to the left of and below the central W pixel (W4), the false color detection unit 201 obtains out_up, in_up, center, in_dn, and out_dn according to the following expressions (Expression 4a) to (Expression 4e). Note that W0 to W9 represent pixel values of the W pixels illustrated in Fig. 9(2a).











    [0104]  Note that, where,
    all of out_up, in_up, center, in_dn, and out_dn are W pixel low-frequency signals calculated with an average value or weight adding of pixel values of a plurality of W pixels in the diagonally upper right direction in the reference region.

    [0105] In the present processing example, out_up, in_up, center, in_dn, and out_dn are values obtained such that the pixel values of two W pixels in the diagonally upper right direction are weight added at a ratio of 1:1.

    [0106] center is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line closest to the G pixels in the vicinity of the center of the reference region.

    [0107] in_up is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to center in an upper direction.

    [0108] in_dn is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to center in a lower direction.

    [0109] out_up is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to in_up in an upper direction.

    [0110] out_dn is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to in_dn in a lower direction.

    [0111] Among these five calculated values out_up, in_up, center, in_dn, and out_dn, when the value of in_up, in_dn, or center, which is one of the three calculated values close to the center position of the reference region, is large, and a difference between the above value and the value of out_up or out_dn, which is one of the two calculated values separated from the center, is large, the false color detection unit 201 determines that the G pixels in the vicinity of the center are included in the highlighted region, and a possibility of occurrence of a false color is high.

    [0112] To be specific, from the five W pixel low-frequency signals out_up, in_up, center, in_dn, and out_dn in the diagonally upper right lines,
    a maximum value max (in_up, center, in_dn) of the three W pixel low-frequency signals in_up, center, and in_dn close to the center,
    a maximum value max (out_up, out_dn) of the two W pixel low-frequency signals out_up and out_dn separated from the center, and
    a maximum difference value Diff2 between these two maximum values
    are calculated.

    [0113] That is, the difference value Diff2 of the W pixels in the diagonally lower right direction perpendicular to the five diagonally upper right lines is calculated, and when the difference value satisfies an (Expression 5) described below, the false color detection unit 201 determines that a possibility of the pixel of interest being the false color occurring pixel is high, and when the difference value does not satisfy the (Expression 5), the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.



    [0114] Note that, in the (Expression 5),
    max (A, B, C) is a function that returns a largest value among A, B, and C, and
    Thr2 is a threshold.

    [0115] Note that the threshold Thr2 may be a fixed value, may be a value that can be set by the user, or may be automatically calculated.

    [0116] Fig. 9(2b) illustrates a corresponding example of out_up, in_up, center, in_dn, and out_dn, and the threshold Thr2 of when the false color detection unit 201 determines that the possibility of the pixel of interest being the false color occurring pixel is high.

    [0117] Fig. 9(2c) illustrates a corresponding example of out_up, in_up, center, in_dn, and out_dn, and the threshold Thr2 of when the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.

    [0118] Finally, the false color detection unit 201 determines that, the pixel of interest is the false color occurring pixel when the difference value satisfies both of the two determination expressions of the (Expression 3) and the (Expression 5), and the pixel of interest is not the false color occurring pixel when the difference value does not satisfy either one of them.

    [0119] That is, the false color detection unit 201 determines that the pixel of interest is the false color occurring pixel only when the difference value satisfies both of the following two determination expressions:





    [0120] The determination result is output to the low-band signal calculation unit 202.

    [0121] The false color determination processing described with reference to Figs. 8(1a) to 8(1c) and Figs. 9(2a) to 9(2c) is processing of when the central pixel (pixel of interest) of the 7 × 7 pixels that is the input pixel unit is the W pixel and the G pixels are adjacent to the left of and below the central W pixel.

    [0122] Next, an example of the false color determination processing of when the central pixel (pixel of interest) of the 7 × 7 pixels that is the input pixel unit is the W pixel and the G pixels are adjacent to the right and above the central W pixel will be described.

    [0123] The false color detection unit 201 obtains, as illustrated in Fig. 10(3a), out_up, in_up, in_dn, and out_dn when the central pixel of the input pixel unit is a W pixel (W7), and the G pixels are adjacent to the right of and above the central W pixel according to the following expressions (Expression 6a) to (Expression 6d). Note that W0 to W11 represent the pixel values of the W pixels illustrated in Fig. 10(3a).









    [0124] The above expressions are similar to the (Expression 2a) to (Expression 2d) described with reference to Figs. 8(1a) to 8(1c),
    all of out_up, in_up, in_dn, and out_dn are W pixel low-frequency signal based on pixel values of a plurality of W pixels in the diagonally lower right direction in the reference region.

    [0125] In the present processing example, these W pixel low-frequency signals are values obtained such that the pixel values of three W pixels in the diagonally lower right direction are weight added at a ratio of 1:2:1.

    [0126] in_up and in_dn are the W pixel low-frequency signals based on three pixels in each of two diagonally lower right lines [an upper side line (in_up) and a lower side line (in_dn)] closest to the center of the reference region.

    [0127] out_up is the W pixel low-frequency signal based on three W pixels in a diagonally lower right line adjacent to in_up in an upper direction.

    [0128] out_dn is the W pixel low-frequency signal based on three W pixels in a diagonally lower right line adjacent to in_dn in a lower direction.

    [0129] Among these four calculated values out_up, in_up, in_dn, and out_dn, when the value of in_up or in_dn, which is one of the two calculated values close to the central position of the reference region, is large, and the value of out_up or out_dn, that is one of the two calculated values separated from the center, is small, the false color detection unit 201 determines that the G pixels in the vicinity of the center are included in the highlighted region, and a possibility of occurrence of a false color is high.

    [0130] To be specific, similarly to the processing described with reference to Figs. 8(1a) to 8(1c), from the four W pixel low-frequency signals out_up, in_up, in_dn, and out_dn in the diagonally lower right lines,
    a maximum value max (in_up, in_dn) of the two W pixel low-frequency signals in_up and in_dn close to the center,
    a maximum value max (out_up, out_dn) of the two W pixel low-frequency signals out_up and out_dn distant from the enter, and
    a difference value Diff1 between these two maximum values are calculated.

    [0131]  That is, the difference value Diff1 of the W pixels in the diagonally upper right direction perpendicular to the four diagonally lower right lines is calculated, and when the difference value satisfies the following (Expression 7), false color detection unit 201 determines that a possibility of the pixel of interest being the false color occurring pixel is high, and when the difference value does not satisfy the (Expression 7), the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.



    [0132] Note that, in the (Expression 7),
    max (A, B) is a function that returns a larger value of A and B, and
    Thr1 is a threshold.

    [0133] Fig. 10(3b) illustrates a corresponding example of out_up, in_up, in_dn, and out_dn, and the threshold Thr1 of when the false color detection unit 201 determines that a possibility of the pixel of interest being the false color occurring pixel is high.

    [0134] Fig. 10(3c) illustrates a corresponding example of out_up, in_up, in_dn, and out_dn, and the threshold Thr1 of when the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.

    [0135] When the difference value satisfies the (Expression 7) described above, that is, the difference value satisfies the following (Expression 7):

    the false color detection unit 201 further performs determination processing using the pixel values of the W pixels in the diagonally lower right direction of the reference region.

    [0136] Determination processing using the pixel values of the W pixels in the diagonally lower right direction of the reference region will be described with reference to Figs. 11(4a) to 11(4c).

    [0137] Fig. 11(4a) illustrates, similarly to Fig. 10(3a), the reference region of 7 × 7 pixels in which the G pixels are positioned to the right of and above a central W pixel (W5).

    [0138] The false color detection unit 201 obtains, as illustrated in Fig. 11(4a), out_up, in_up, center, in_dn, and out_dn when the G pixels are positioned to the left of and below the central W pixel (W5) according to the following expressions (Expression 8a) to (Expression 8e). Note that W0 to W9 represent the pixel values of the W pixels illustrated in Fig. 11(4a).











    [0139] Note that, here,
    all of out_up, in_up, center, in_dn, and out_dn are W pixel low-frequency signals based on pixel values of a plurality of W pixels in the diagonally upper right direction in the reference region.

    [0140] In the present processing example, the W pixel low-frequency signals are values obtained such that the pixel values of two W pixels in the diagonally upper right direction are weight added at a ratio of 1:1.

    [0141]  center is the W pixel low-frequency signal based on two W pixels in a diagonally upper right lines closest to the G pixels in the vicinity of the center of the reference region.

    [0142] in_up is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to center in an upper direction.

    [0143] in_dn is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to center in a lower direction.

    [0144] out_up is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to in_up in an upper direction.

    [0145] out_dn is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to in_dn in a lower direction.

    [0146] Among these five calculated values out_up, in_up, center, in_dn, and out_dn, when the value of in_up, in_dn, or center, which is one of the three calculated values close to the central position of the reference region, is large, and a difference between the above value and the value of out_up or out_dn, which is one of the two calculated values separated from the center, is large, the false color detection unit 201 determines that the G pixels in the vicinity of the center are included in the highlighted region, and a possibility of occurrence of a false color is high.

    [0147] To be specific, from the five W pixel low-frequency signal out_up, in_up, center, in_dn, and out_dn in the diagonally upper right lines,
    a maximum value max (in_up, center, in_dn) of the three W pixel low-frequency signals in_up, center, and in_dn close to the center,
    a maximum value max (out_up, out_dn) of the two W pixel low-frequency signals out_up and out_dn distant from the center, and
    a difference value Diff2 between these two maximum values
    are calculated.

    [0148] That is, the difference value Diff2 of the W pixels in the diagonally lower right direction perpendicular to the five diagonally upper right lines is calculated, and when the difference value satisfies the following (Expression 9), the false color detection unit 201 determines that a possibility of the pixel of interest being the false color occurring pixel is high, and when the difference value does not satisfy the (Expression 9), the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.



    [0149] Note that, in the (Expression 9),
    max (A, B, C) is a function that returns a maximum value of A, B, and C, and
    Thr2 is a threshold.

    [0150] Fig. 11(4b) illustrates a corresponding example of out_up, in_up, center, in_dn, and out_dn, and the threshold Thr2 of when the false color detection unit 201 determines that a possibility of the pixel of interest being the false color occurring pixel is high.

    [0151] Fig. 11(4c) illustrates a corresponding example of out_up, in_up, center, in_dn, and out_dn, and the threshold Thr2 of when the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.

    [0152] Finally, the false color detection unit 201 determines that
    the pixel of interest is the false color occurring pixel when the difference value satisfies both of the two determination expressions of the (Expression 7) and the (Expression 9), and the pixel of interest is not the false color occurring pixel when the difference value does not satisfy either one of them.

    [0153] That is, the false color detection unit 201 determines that the pixel of interest is the false color occurring pixel only when the difference value satisfies the following two determination expressions:





    [0154] The determination result is output to the low-band signal calculation unit 202.

    [0155] As examples of the processing executed by the false color detection unit 201, processing examples of determining whether the green brightness false color has occurred when
    1. (A) the central pixel is the W pixel, and the G pixels are adjacent to the left of and below the central W pixel (Figs. 8(1a) to 8(1c) and Figs. 9(2a) to 9(2c)), and
    2. (B) the central pixel is the W pixel, and the G pixels are adjacent to the right of and above the central W pixel (Figs. 10(3a) to 10(3c) and Figs. 11(4a) to 11(4c))
    have been described.

    [0156] There are various other types of setting for the setting of the input pixel unit, and even in a case of the various other types of setting, the false color detection unit 201 basically executes similar processing, that is, determination processing based on the following two types of comparison processing:
    1. (1) comparison processing between the difference value Diff1 calculated based on the pixel values of the plurality of W pixels in the diagonally lower right lines and the threshold Thr1, and
    2. (2) comparison processing between the difference value Diff2 calculated based on the pixel values of the plurality of W pixels in the diagonally upper right lines and the threshold Thr2.


    [0157] As comparison results of these two types of comparison, when the difference value is larger than the threshold, the false color detection unit 201 determines that the pixel of interest is the brightness false color pixel.

    [0158] The false color detection unit 201 executes these pieces of determination processing, and outputs the determination results to the low-band signal calculation unit 202.

    [0159] Next, processing of detecting a green false color occurring when the pixels of the highlighted region are almost the W, R, and B pixels only, as illustrated in Fig. 3(b), will be described. As illustrated in Fig. 3(b), when the pixels of the highlighted region are configured from the W pixel, R pixel, and B pixel, the pixel values of the R pixel and the B pixel becomes relatively larger than the pixel values of the peripheral G pixels. As a result, the color balance is lost, and the region is colored to magenta.

    [0160] Fig. 12(a) to 12(e) illustrate configuration examples of the highlighted regions where a magenta false color occurs, similarly to Fig. 3(b). The regions surrounded by the dotted line circles represent the highlighted regions.

    [0161] Processing examples of the false color detection unit 201 will be described with reference to Figs. 13(5a) to 13(5c).

    [0162] The processing examples illustrated in Figs. 13(5a) to 13(5c) and Figs. 14(6a) to 14(6c) are processing examples of when the central pixel (pixel of interest) of the input pixel unit (7 × 7 pixels) is the R pixel.

    [0163] Figs. 13(5a) to 13(5c) illustrates examples of comparison processing between the difference value Diff1 calculated based on the pixel value of a plurality of W pixels in diagonally lower right lines and the threshold Thr1, and

    [0164] Figs. 14(6a) to 14(6c) illustrates examples of comparison processing between the difference value Diff2 calculated based on the pixel values of a plurality of W pixels in diagonally upper right lines and the threshold Thr2.

    [0165] The examples illustrated in Figs. 13(5a) to 13(5c) are similar processing to the processing of Figs. 8(1a) to 8(1c) and Figs. 10(3a) to 10(3c) described above. However, a difference is that the center of the input pixel unit is the R pixel.

    [0166] A plurality of diagonally lower right lines from a position close to the reference region is set, low-frequency signals of W pixels, that is, W low-band signals of the W pixels are calculated using a plurality of W pixel values on the lines, and a difference value between a maximum W low-frequency signal value of the plurality of lines closer to the center and a maximum W low-frequency signal value of the plurality of lines distant from the center is calculated. That is, a difference value of the W pixels in the diagonally upper right direction perpendicular to the four diagonally lower right lines is calculated as Diff1. Further, the calculated difference value Diff1 and the threshold Thr1 set in advance are compared.

    [0167] This processing is similar to the processing of [(Expression 2a) to (Expression 2d), and (Expression 3)] described with reference to Figs. 8(1a) to 8(1c), and the processing of [(Expression 6a) to (Expression 6d), and (Expression 7)] described with reference to Figs. 10(3a) to 10(3c).

    [0168] When the difference value Diff1 is larger than the threshold Thr1 determined in advance, there is a possibility of the pixel of interest being the brightness false color pixel, and further, processing illustrated in Figs. 14(6a) to 14(6c), that is, the comparison processing between the difference value Diff2 calculated based on the pixel values of the plurality of W pixels in the diagonally upper right lines and the threshold Thr2.

    [0169] An example illustrated in Figs. 14(6a) to 14(6c) is similar processing to the processing of Figs. 9(2a) to 9(2c) and Figs. 11(4a) to 11(4c) described above. However, a difference is that the center of the input pixel unit is the R pixel. Further, a difference is that six diagonally upper right lines are set and used.

    [0170] When the R pixel is positioned in the center, as illustrated in Fig. 14(6), the false color detection unit 201 obtains out_up, in_up, center, in_dn, and out_dn according to the following expressions (Expression 10a) to (Expression 10f). Note that W0 to W11 represent the pixel values of the W pixels illustrated in Fig. 14(6a).













    [0171] Note that, here
    all of out_up, mid-up, in_up, in_dn, mid_dn, and out_dn are W pixel low-frequency signals calculated with an average value and weight adding of the pixel values of a plurality of W pixels in the diagonally upper right direction in the reference region.

    [0172] In the processing example, the W pixel low-frequency signals are obtained such that the pixel values of two W pixels in the diagonally upper right direction are weight added at a ratio of 1:1.

    [0173] in_up is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to the central R pixel in an upper direction.

    [0174] in_dn is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to the central R pixel in a lower direction.

    [0175] mid-up is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to in_up in an upper direction.

    [0176] mid_dn is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to in_dn in a lower direction.

    [0177] out_up is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to mid-up in an upper direction.

    [0178] out_dn is the W pixel low-frequency signal based on two W pixels in a diagonally upper right line adjacent to mid_dn in a lower direction.

    [0179] Among these six calculated values out_up, mid-up, in_up, in_dn, mid_dn, and out_dn, when the value of mid-up, in_up, in_dn, or mid_dn, which is one of the four calculated values close to the central position of the reference region, and a difference between the value of the four calculated values and the value of out_up or out_dn, which is one of the two calculated values separated from the center, is large, the false color detection unit 201 determines that the R pixel in the vicinity of the center is included in the highlighted region, and a possibility of occurrence of a false color is high.

    [0180] To be specific, from the six W pixel low-frequency signals out_up, mid-up, in_up, in_dn, mid_dn, and out_dn in the diagonally upper right lines,
    a maximum value max (mid-up, in_up, in_dn, mid_dn) of the four W pixel low-frequency signals mid-up, in_up, in_dn, and mid_dn close to the center,
    a maximum value max (out_up, out_dn) of the two W pixel low-frequency signals out_up, and out_dn distant from the center, and
    a difference value Diff2 between these two maximum values
    are calculated.

    [0181] That is, the difference value Diff2 of the W pixels in the diagonally lower right direction perpendicular to the six diagonally upper right lines is calculated, and when the difference value satisfies the following (Expression 11), the false color detection unit 201 determines that a possibility of the pixel of interest being the false color occurring pixel is high, and when the difference value does not satisfy the (Expression 11), the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.



    [0182] Note that, in the (Expression 11),
    max (A, B, C) is a function that returns a maximum value of A, B, and C, and
    Thr2 is a threshold.

    [0183] Note that the threshold Thr2 may be a fixed value, may be a value that can be set by the user, or may be automatically calculated.

    [0184] Fig. 14(6b) illustrates a corresponding example of out_up, mid-up, in_up, in_dn, mid_dn, and out_dn, and the threshold Thr2 of when the false color detection unit 201 determines that a possibility of the pixel of interest being the false color occurring pixel is high.

    [0185] Fig. 14(6c) illustrates a corresponding example of out_up, mid-up, in_up, in_dn, mid_dn, and out_dn, and the threshold Thr2 of when the false color detection unit 201 determines that the pixel of interest is not the false color occurring pixel.

    [0186] As described above, the false color detection unit 201 determines whether the following determination expressions are satisfied according to the processing described with reference to Figs. 13(5a) to 13(5c) and Figs. 14(6a) to 14(6c).





    [0187] Only when the above two determination expressions are satisfied, the false color detection unit 201 determines that the pixel of interest is the false color occurring pixel.

    [0188] The determination result is output to the low-band signal calculation unit 202.

    [0189] Figs. 15(5a) to 15(5c) and Figs. 16(6a) to 16(6c) illustrate processing examples of when the central pixel is the B pixel.

    [0190] Figs. 15(5a) to 15(5c) illustrate examples of comparison processing between the difference value Diff1 calculated based on the pixel values of a plurality of W pixels in the diagonally lower right lines and the threshold Thr1, and

    [0191] Figs. 16(6a) to 16(6c) illustrate examples of comparison processing between the difference value Diff2 calculated based on the pixel values of a plurality of W pixels in the diagonally upper right lines and the threshold Thr2.

    [0192] These pieces of processing are similar to the processing described with reference to Figs. 13(5a) to 13(5c) and Figs. 14(6a) to 14(6c) except that the central pixel is replaced with the B pixel.

    [0193] As described above, even when the central pixel is the R pixel or the B pixel, the false color detection unit 201 determines whether both of the following two expressions are satisfied:





    [0194] When the expressions are satisfied, the false color detection unit 201 determines that the pixel of interest is the brightness false color pixel.

    [0195] When at least one of the above two expressions is not satisfied, the false color detection unit 201 determines that the pixel of interest is not the brightness false color pixel, and outputs the determination result to the low-band signal calculation unit 202.

    [0196] As described above, the false color detection unit 201 executes the determination processing based on the following two pieces of comparison processing.
    1. (1) The W pixel low-frequency component signals corresponding to respective lines are calculated based on the pixel values of the plurality of W pixels in the plurality of diagonally lower right lines set in the vicinity of the pixel of interest, and the comparison processing between the difference value Diff1 between the maximum value of the W pixel low-frequency component signals in the plurality of inner-side lines close to the pixel of interest, and the maximum value of the W pixel low-frequency component signals in the plurality of outer-side lines distant from the pixel of interest, and the threshold Thr1 is performed, and
    2. (2) the W pixel low-frequency component signals corresponding to respective lines are calculated based on the pixel values of the plurality of W pixels of the plurality of diagonally upper right lines set to the vicinity of the pixel of interest, and the comparison processing between the difference value Diff2 between the maximum value of the W pixel low-frequency signals in the plurality of inner-side lines close to the pixel of interest and the maximum value of the W pixel low-frequency component signals in the plurality of outer-side lines distant from the pixel of interest, and the threshold Thr2 is performed.


    [0197] As a result of these two pieces of comparison processing, when the difference value is larger than the threshold, the false color detection unit 201 determines that the pixel of interest is the brightness false color pixel.

    [0198] The false color detection unit 201 executes these pieces of determination processing, and outputs the determination result to the low-band signal calculation unit 202.

    [0199] Next, processing of the low-band signal calculation unit 202 will be described.

    [0200] The low-band signal calculation unit 202 calculates a low-band signal (mR, mG, mB) of any of the R pixel, G pixel, and B pixel used in the pixel interpolation unit 203, and a low-band signal (mW) of the W pixel.

    [0201] The low-band signal calculation unit 202 inputs the determination result indicating whether the pixel of interest to serve as an object to be interpolated in the pixel interpolation unit 203, that is, the pixel of interest in the center of the input unit pixels (7 × 7 pixels) is the brightness false color pixel, from the false color detection unit 201.

    [0202] When having been input the determination result indicating that the pixel of interest is not the brightness false color pixel, from the false color detection unit 201, the low-band signal calculation unit 202 calculates the low-band signal using a first low-pass filter (LPF) coefficient determined in advance, that is, a normal LPF coefficient such that a pixel closer to the position of the pixel of interest, that is, a pixel closer to the center of the reference region has a larger coefficient.

    [0203] Meanwhile, when having been input the determination result indicating that the pixel of interest is the brightness false color pixel, from the false color detection unit 201, the low-band signal calculation unit 202 calculates the low-band signal by applying a second low-pass filter (LPF) coefficient in which a correction effect of a false color is enhanced.

    [0204] The second low-pass filter (LPF) coefficient is a coefficient such that a pixel close to the position of the pixel of interest as an object to be converted, that is, a pixel close to the center of the reference region as a 7 × 7 input pixel unit is set to have a small coefficient. This processing is processing for calculating an interpolation pixel value while suppressing influence of the pixel values in the highlighted region.

    [0205] Performing of such processing suppresses the influence of the pixel values in the highlighted region, and enhances a decrease in a false color.

    [0206] The low-band signal calculation unit 202 calculates the low-band signals mR, mG, mB, and mW with respect to respective RGBW signals. That is, the low-band signal calculation unit 202 selectively executes the following processing.

    [0207] When the pixel of interest is determined to be the false color pixel, the low-band signal calculation unit 202 sets a pixel value contribution rate of the reference pixel in a region close to the pixel of interest to be low, and performs processing of calculating the low-band signal applying the low-pass filter (LPF) in which the pixel value contribution rate of the reference pixel in a peripheral region distant from the pixel of interest is set to be high.

    [0208] When the pixel of interest is determined not to be the false color pixel, the low-band signal calculation unit 202 sets the pixel value contribution rate of the reference pixel in a region close to the pixel of interest to be high, and performs processing of calculating the low-band signal applying the low-pass filter (LPF) in which the pixel value contribution rate of the reference pixel in a peripheral region distant from the pixel of interest to be low.

    [0209] Examples of the coefficients of the LPF will be described with reference to Figs. 17(1a) to 17(1c).

    [0210] The examples illustrated in Figs. 17(1a) to 17(1c) are setting examples of the LPFs applied to the processing of calculating the low-band signal mG of a G signal of when the central pixel of the input pixel unit is the W pixel and the G pixels are positioned to the left of and below the central W pixel.

    [0211] Fig. 17(1a) illustrates an example of the input pixel unit, and illustrates the G pixels applied to the processing of calculating the low-band signal mG of a G signal of when the central pixel is the W pixel, and the G pixels are positioned to the left of and below the central W pixel by thick frame.

    [0212] Fig. 17(1b) illustrates a setting example of a first low-pass filter (LPF) coefficient of when the pixel of interest as the central pixel is determined not to be the false color pixel, that is, a normal LPF coefficient such that a pixel closer to the position of the pixel of interest, that is, a pixel closer to the center of the reference region has a larger coefficient.

    [0213] Fig. 17(1c) illustrates a setting example of a second low-pass filter (LPF) coefficient of when the pixel of interest as the central pixel of the input pixel unit is determined to be the false color pixel, that is, an LPF coefficient in which a pixel closer to the position of the pixel of interest, that is, a pixel closer to the center of the reference region is set to have a smaller coefficient.

    [0214] When the pixel of interest as the central pixel is determined not to be the false color pixel, a G low-band signal mG positioned at the pixel of interest is a value obtained such that the G pixel values of the twelve G pixels at respective pixel positions in the reference region illustrated in Fig. 17(1a) are multiplied by the coefficients (1/32 to 6/32) illustrated in Fig. 17(1b), and the multiplied values are added.

    [0215]  Meanwhile, when the pixel of interest as the central pixel is determined to be the false color pixel, the G low-band signal mG corresponding to the position of the pixel of interest is a value obtained such that the pixel values of the twelve G pixels at respective pixel positions in the reference regions illustrated in Fig. 17(1a) are multiplied by the coefficients (0/16 to 3/16) illustrated in Fig. 17(1c), and the multiplied values are added.

    [0216] A substantially different point of the setting of the LPF coefficients between Fig. 17(1b) and 17(1c) is coefficients with respect to the two G pixels close to the center. A large coefficient is set when the pixel of interest as the central pixel is determine not to be the false color pixel, and a small coefficient is set when the pixel of interest as the central pixel is determined to be the false color pixel.

    [0217] With this processing, when the pixel of interest as the central pixel is determined not to be the false color pixel, the G low-band signal mG becomes a value to which the G pixel value close to the center of the reference region is reflected largely.

    [0218] Meanwhile, when the pixel of interest as the central pixel is determined to be the false color pixel, the G low-band signal mG becomes a value in which reflection of the G pixel value close to the center of the reference region is zero or suppressed.

    [0219] Note that the setting examples of the coefficients illustrated in Figs. 17(1a) to 17(1c) are specific examples, and the coefficients may be set to other coefficients, as long as the LPF coefficients are set such that the pixel close to the center of the reference region has a large coefficient when the pixel of interest as the central pixel is determined not to be the false color pixel, and a pixel close to the center of the reference region has a small coefficient when the pixel of interest is determined to be the false color pixel.

    [0220] Examples illustrated in Figs. 18(2a) to 18(2c) are setting examples of LPFs applied to the processing of calculating the low-band signal mG of the G signal of when the central pixel of the input pixel unit is the W pixel, and the G pixels are positioned to the right of and above the central W pixel.

    [0221] Fig. 18(2a) illustrates an example of the input pixel unit, and illustrates the G pixels applied to the processing of calculating the low-band signal mG of the G signal of when the central pixel is the W pixel, and the G pixels are positioned to the right of and above the central W pixel, by thick frame.

    [0222] Fig. 18(2b) illustrates a setting example of a first low-pass filter (LPF) coefficient of when the pixel of interest as the central pixel is determined not to be the false color pixel, that is, a normal LPF coefficient set such that a pixel closer to the position of the pixel of interest, that is, a pixel closer to the center of the reference region has a larger coefficient.

    [0223] Fig. 18(2c) illustrates a setting example of a second low-pass filter (LPF) coefficient of when the pixel of interest as the central pixel of the input pixel unit is determined to be the false color pixel, that is, an LPF coefficient in which a pixel closer to the position of the pixel of interest, that is, a pixel closer to the center of the reference region is set to have a smaller coefficient.

    [0224] When the pixel of interest as the central pixel is determined not to be the false color pixel, a G low-band signal mG positioned at the pixel of interest is a value obtained such that the G pixel values of the twelve G pixels at respective pixel positions in the reference region illustrated in Fig. 18(2a) are multiplied by the coefficients (1/32 to 6/32) illustrated in Fig. 18(2b), and the multiplied values are added.

    [0225] Meanwhile, when the pixel of interest as the central pixel is determined to be the false color pixel, the G low-band signal mG corresponding to the position of the pixel of interest is a value obtained such that the pixel values of the twelve G pixels at respective pixel positions in the reference regions illustrated in Fig. 18(2a) are multiplied by the coefficients (0/16 to 3/16) illustrated in Fig. 18(2c), and the multiplied values are added.

    [0226] A substantially different point of the setting of the LPF coefficients between Fig. 18(2b) and 18(2c) is coefficients with respect to the two G pixels close to the center. A large coefficient is set when the pixel of interest as the central pixel is determine not to be the false color pixel, and a small coefficient is set when the pixel of interest as the central pixel is determined to be the false color pixel.

    [0227] With this processing, when the pixel of interest as the central pixel is determined not to be the false color pixel, the G low-band signal mG becomes a value to which the G pixel value close to the center of the reference region is reflected largely.

    [0228] Meanwhile, when the pixel of interest as the central pixel is determined to be the false color pixel, the G low-band signal mG becomes a value in which reflection of the G pixel value close to the center of the reference region is zero or suppressed.

    [0229] Note that the setting examples of the coefficients illustrated in Figs. 18(2a) to 18(2c) are specific examples, and the coefficients may be set to other coefficients, as long as the LPF coefficients are set such that the pixel closer to the center of the reference region has a larger coefficient when the pixel of interest as the central pixel is determined not to be the false color pixel, and a pixel closer to the center of the reference region has a smaller coefficient when the pixel of interest is determined to be the false color pixel.

    [0230] The examples illustrated in Figs. 17(1a) to 17(1c) and Figs. 18(2a) to 18(2c) are setting examples of the LPF coefficients applied to calculation of the G low-band signal mG of when the center of the input unit pixel region is the W pixel.

    [0231] In processing of calculating various low-band signals mR, mG, mB, and mW in other cases of input unit pixel setting, the low-band signal calculation unit 202 also executes similar processing, and performs processing of calculating the low-band signal.

    [0232] That is, the low-band signal calculation unit 202 executes the low-pass filter application processing and executes the processing of calculating the low-band signals mR, mG, mB, and mW in which the LPF coefficients are set such that a pixel closer to the center of the reference region has a larger coefficient when the pixel of interest as the central pixel in the reference region is determined not to be the false color pixel, and a pixel closer to the center of the reference region has a smaller coefficient when the pixel of interest is determined to be the false color pixel.

    [0233] Figs. 19(3a) to 19(3c) illustrate setting examples of LPFs applied to the processing of calculating the low-band signal mB of a B signal of when the central pixel of the input pixel unit is the R pixel.

    [0234] Fig. 19(3a) illustrates an example of the input pixel unit, and illustrates the B pixels applied to the processing of calculating the low-band signal mB of the B signal of when the central pixel is the R pixel, by thick frame.

    [0235] Fig. 19(3b) illustrates a setting example of a first low-pass filter (LPF) coefficient of when the pixel of interest as the central pixel is determined not to be the false color pixel, that is, a normal LPF coefficient set such that a pixel closer to the position of the pixel of interest, that is, a pixel closer to the center of the reference region has a larger coefficient.

    [0236] Fig. 19(3c) illustrates a setting example of a second low-pass filter (LPF) coefficient of when the pixel of interest as the central pixel of the input pixel unit is determined to be the false color pixel, that is, an LPF coefficient in which a pixel closer to the position of the pixel of interest, that is, a pixel closer to the center of the reference region is set to have a smaller coefficient.

    [0237] When the pixel of interest as the central pixel is determined not to be the false color pixel, a B low-band signal mB corresponding to the position of the pixel of interest is a value obtained such that the B pixel values of the eight B pixels at respective pixel positions in the reference region illustrated in Fig. 19(3a) are multiplied by the coefficients (1/32 to 9/32) illustrated in Fig. 19(3b), and the multiplied values are added.

    [0238]  Meanwhile, when the pixel of interest as the central pixel is determined to be the false color pixel, the B low-band signal mB corresponding to the position of the pixel of interest is a value obtained such that the pixel values of the eight B pixels at respective pixel positions in the reference regions illustrated in Fig. 19(3a) are multiplied by the coefficients (0/16 to 3/16) illustrated in Fig. 19(3c), and the multiplied values are added.

    [0239] A substantially different point of the setting of the LPF coefficients between Fig. 19(3b) and 19(3c) is coefficients with respect to the two B pixels close to the center. A large coefficient is set when the pixel of interest as the central pixel is determine not to be the false color pixel, and a small coefficient is set when the pixel of interest as the central pixel is determined to be the false color pixel.

    [0240] With this processing, when the pixel of interest as the central pixel is determined not to be the false color pixel, the B low-band signal mB becomes a value to which the B pixel value close to the center of the reference region is reflected largely.

    [0241] Meanwhile, when the pixel of interest as the central pixel is determined to be the false color pixel, the B low-band signal mB becomes a value in which reflection of the B pixel value close to the center of the reference region is zero or suppressed.

    [0242] Note that the setting examples of the coefficients illustrated in Figs. 19(3a) to 19(3c) are specific examples, and the coefficients may be set to other coefficients, as long as the LPF coefficients are set such that the pixel closer to the center of the reference region has a larger coefficient when the pixel of interest as the central pixel is determined not to be the false color pixel, and a pixel closer to the center of the reference region has a smaller coefficient when the pixel of interest is determined to be the false color pixel.

    [0243] Figs. 20(4a) to 20(4c) illustrate setting examples of LPFs applied to the processing of calculating the low-band signal mR of an R signal of when the central pixel of the input pixel unit is the B pixel.

    [0244] Fig. 20(4b) illustrates an example of the input pixel unit and illustrates the R pixels applied to the processing of calculating the low-band signal mR of the R signal of when the central pixel is the B pixel, by thick frame.

    [0245] Fig. 20(4b) illustrates a setting example of a first low-pass filter (LPF) coefficient of when the pixel of interest as the central pixel is determined not to be the false color pixel, that is, a normal LPF coefficient set such that a pixel closer to the position of the pixel of interest, that is, a pixel closer to the center of the reference region has a larger coefficient.

    [0246] Fig. 20(4c) illustrates a setting example of a second low-pass filter (LPF) coefficient of when the pixel of interest as the central pixel of the input pixel unit is determined to be the false color pixel, that is, an LPF coefficient in which a pixel closer to the position of the pixel of interest, that is, a pixel close to the center of the reference region is set to have a smaller coefficient.

    [0247] When the pixel of interest as the central pixel is determined not to be the false color pixel, a R low-band signal mR corresponding to the position of the pixel of interest is a value obtained such that the R pixel values of the eight R pixels at respective pixel positions in the reference region illustrated in Fig. 20(4a) are multiplied by the coefficients (1/32 to 9/32) illustrated in Fig. 20(4b), and the multiplied values are added.

    [0248] Meanwhile, when the pixel of interest as the central pixel is determined to be the false color pixel, the R low-band signal mR corresponding to the position of the pixel of interest is a value obtained such that the pixel values of the eight R pixels at respective pixel positions in the reference regions illustrated in Fig. 20(4a) are multiplied by the coefficients (0/16 to 3/16) illustrated in Fig. 20(4c), and the multiplied values are added.

    [0249] A substantially different point of the setting of the LPF coefficients between Fig. 20(4b) and 20(4c) is coefficients with respect to the two B pixels close to the center. A large coefficient is set when the pixel of interest as the central pixel is determined not to be the false color pixel, and a small coefficient is set when the pixel of interest as the central pixel is determined to be the false color pixel.

    [0250] With this processing, when the pixel of interest as the central pixel is determined not to be the false color pixel, the R low-band signal mR becomes a value to which the R pixel value close to the center of the reference region is reflected largely.

    [0251] Meanwhile, when the pixel of interest as the central pixel is determined to be the false color pixel, the R low-band signal mR becomes a value in which reflection of the R pixel value close to the center of the reference region is zero or suppressed.

    [0252]  Note that the setting examples of the coefficients illustrated in Figs. 20(4a) to 20(4c) are specific examples, and the coefficients may be set to other coefficients, as long as the LPF coefficients are set such that the pixel closer to the center of the reference region has a larger coefficient when the pixel of interest as the central pixel is determined not to be the false color pixel, and a pixel closer to the center of the reference region has a smaller coefficient when the pixel of interest is determined to be the false color pixel.

    [0253] In this way, the low-band signal calculation unit 202 inputs the determination information indicating whether the pixel of interest in the center of the input pixel unit as a pixel of the object to be processed is the brightness false color, from the false color detection unit, calculates the low-band signals mR, mG, mB, and mW of respective RGBW signals by the LPF application processing in which the different LPF coefficients are set according to the input information, and inputs the calculated signals to the pixel interpolation unit 203.

    [0254] The pixel interpolation unit 203 performs pixel interpolation processing of converting an RGBW array into an RGB array, that is, re-mosaic processing, applying the low-band signals mR, mG, mB, and mW of the respective RGBW signals input from the low-band signal calculation unit 202.

    [0255] Note that, as described above, the pixel interpolation processing executed by the pixel interpolation unit 203 is processing according to the processing described in Japanese Patent Application Laid-Open No. 2011-182354, which is an earlier application of the applicant of the present application, except for using the low-band signals mR, mG, mB, and mW input from the low-band signal calculation unit 202.

    [0256] That is, the pixel interpolation unit 203 executes the following processing as the processing of converting an RGBW pixel array to an RGB pixel array:

    processing of converting the W pixel into the G pixel;

    processing of converting the G pixel into the R or B pixel;

    processing of converting the R pixel into the B pixel; and

    processing of converting the B pixel into the R pixel.



    [0257] When performing these pieces of conversion processing, the pixel interpolation unit 203 sets, according to a pixel color of a destination of the conversion between the pixels of interest, the W pixels in the reference region to be the pixel color, and calculates the pixel value of the pixel of interest, on an assumption that the following relations are established:

    a proportional relation between the low-band signal mW of the W pixel and the low-band signal mG of the G pixel;

    a proportional relation between the low-band signal mW of the W pixel and the low-band signal mR of the R pixel; and

    a proportional relation between the low-band signal mW of the W pixel and the low-band signal mB of the B pixel;

    are established in a local region such as the 7 × 7 reference region, for example.



    [0258] In this processing, the low-band signals mR, mG, mB, and mW of the respective RGBW signals input from the low-band signal calculation unit 202 is applied.

    [0259] The low-band signals mR, mG, mB, and mW of the respective RGBW signals input from the low-band signal calculation unit 202 become signals in which the degree of reflection of the pixel values in the vicinity of the brightness false color region is suppressed to be low when the pixel of interest that is to be the object to be converted is determined to have the brightness false color, and as a result, the pixel interpolation unit 203 can set an interpolation pixel value in which the influence of the false color is suppressed.

    [0260] A processing sequence executed by the data conversion processing unit of the image processing device of the present disclosure will be described with reference to the flowchart illustrated in Fig. 21.

    [0261] The flowchart illustrated in Fig. 21 is a processing sequence with respect to one pixel to be converted of when the RGBW array is converted into the RGB array, and is processing executed in the data conversion processing unit by inputting the reference pixel region including the pixel to be converted, for example, the 7 × 7 pixel region. The processing according to the flow illustrated in Fig. 21 is sequentially executed with respect to processed pixels.

    [0262] First, in step S101, the difference value Diff1 of W in the diagonally upper right direction of the reference region is obtained.

    [0263] Next, in step S102, the Diff1 and the threshold Thr1 are compared.

    [0264] This processing is the processing executed by the false color detection unit 201 illustrated in Fig. 5, and is the processing described with reference to Figs. 8(1a) to 8(1c), Figs. 10(3a) to 10(3c), and Figs. 12(a) to 12(e).

    [0265] A plurality of diagonally lower right lines is set from a position close to the center of the reference region, the W low-band signals are calculated using a plurality of W pixel values on the respective lines, and a difference value between the maximum W low-frequency signal value in a plurality of lines closer to the center, and the maximum W low-frequency signal value in a plurality of lines distant from the center is calculated. That is, the difference value of the W pixels in the diagonally upper right direction perpendicular to the four diagonally lower right lines is calculated as the Diff1.

    [0266] Further, the calculated difference value Diff1 and the predetermined threshold Thr1 are compared.

    [0267] As a result of the comparison processing between the Diff1 and the threshold Thr1 in step S102,
    when the Diff1 is larger than the threshold Thr1 (Yes), the processing proceeds to step S103, and when the Diff1 is not larger than the threshold Thr1 (No), the processing proceeds to step S106.

    [0268] The case where the Diff1 is not larger than the threshold Thr1 (No) is a case in which the pixel of interest is determined not to be the brightness false color, and the processing proceeds to step S106, and a necessary low-band signal is calculated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference signal close to the pixel of interest is set relatively high. Note that the necessary low-band signal is a low-band signal necessary for being applied to the processing of converting the pixel of interest to be executed in the pixel interpolation unit 203. At least one or more low-band signals of the low-band signals mR, mG, mB, and mW are calculated.

    [0269] The processing of calculating the low-band signals is the processing of the low-band signal calculation unit 202 illustrated in Fig. 5.

    [0270] For example, as illustrated in Figs. 17(1b) and 18(2b), the low-band signals are calculated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively high.

    [0271] Meanwhile, as a result of the comparison processing between the Diff1 and the threshold Thr1 of step S102,
    when the Diff1 is determined to be larger than the threshold Thr1 (Yes), the processing proceeds to step S103.

    [0272] This case is a case where the pixel of interest is determined to be the brightness false color occurring pixel. In this case, the processing proceeds to step S103.

    [0273] In step S103, the difference value Diff2 of W in the diagonally lower right direction of the reference region is obtained.

    [0274] Next, in step S104, the Diff2 and the threshold Thr2 are compared.

    [0275] This processing is the processing described with reference to Figs. 9(2a) to 9(2c), Figs. 11(4a) to 11(4c), and Figs. 13(5a) to 13(5c).

    [0276] A plurality of diagonally upper right lines is set from a position close to the center of the reference region, the W low-band signals are calculated using a plurality of W pixel values on the respective lines, and a difference value between the maximum W low-frequency signal value of a plurality of lines closer to the center, and the maximum W low-frequency signal value of a plurality of lines distant from the center is calculated. That is, for example, the difference value of the W pixels in the diagonally lower right direction perpendicular to the five diagonally upper right lines is calculated as the Diff2. Further, the calculated difference value Diff2 and the predetermined threshold Thr2 are compared.

    [0277] As a result of the comparison processing between the Diff2 and the threshold Thr2 of step S104,
    when the Diff2 is larger than the threshold Thr2 (Yes), the processing proceeds to step S105, and when the Diff2 is not larger than the threshold Thr2 (No), the processing proceeds to step S106.

    [0278] The case where the Diff2 is not larger than the threshold Thr2 (No) is a case where the pixel of interest is determined not to be the brightness false color, and the processing proceeds to step S106. A necessary low-band signal is calculated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively high. Note that the necessary low-band signal is a low-band signal necessary for being applied to the processing of converting the pixel of interest to be executed in the pixel interpolation unit 203. At least one or more low-band signals of the low-band signals mR, mG, mB, and mW are calculated.

    [0279] This processing of calculating the low-band signal is the processing of the low-band signal calculation unit 202 of Fig. 5.

    [0280] For example, as illustrated in Figs. 17(1b) and 18(2b), the low-band signals are calculated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively high.

    [0281] Meanwhile, as a result of the comparison processing between the Diff2 and the threshold Thr2 of step S104,
    when the Diff2 is determined to be larger than the threshold Thr2 (Yes), the processing proceeds to step S105.

    [0282] This case is a case where the pixel of interest is determined to be the brightness false color occurring pixel. In this case, the processing proceeds to step S105.

    [0283] In step S105, a necessary low-band signal is calculated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively low. Note that the necessary low-band signal is a low-band signal necessary for being applied to the processing of converting the pixel of interest to be executed in the pixel interpolation unit 203. At least one or more low-band signals of the low-band signals mR, mG, mB, and mW are calculated.

    [0284] This processing of calculating the low-band signals is the processing of the low-band signal calculation unit 202 illustrated in Fig. 5.

    [0285] For example, as illustrated in Figs. 17(1c) and 18(2c), the low-band signals are calculated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively low.

    [0286] In step S107, an interpolation pixel value of the pixel of interest is calculated, applying either the low-band signals generated in step S105, or the low-band signals generated in step S106.

    [0287] This processing is the processing executed by the pixel interpolation unit 203 illustrated in Fig. 5.

    [0288] The pixel interpolation unit 203 performs the interpolation processing using the low-band signals generated in step S105 when the pixel of interest is determined to be the brightness false color, and using the low-band signals generated in step S106 when the pixel of interest is determined not to be the brightness false color.

    [0289] To be specific, when the pixel of interest is determined to be the brightness false color, the pixel interpolation unit 203 performs the interpolation processing using the low-band signals generated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively low.

    [0290] Meanwhile, when the pixel of interest is determined not to be the brightness false color, the pixel interpolation unit 203 performs the interpolation processing using the low-band signals generated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively high.

    [0291] With these pieces of processing, with respect to the interpolation pixel value of the pixel region determined to be the brightness false color, the setting of the interpolation pixel value in which the effect of the brightness false color is reduced is performed.

    [0292] Note that the processing illustrated in Fig. 21 is executed according to the program stored in the memory 130 illustrated in Fig. 4 under control of the control unit 140, for example.

    [0293] The data conversion processing unit 200 illustrated in Figs. 4 and 5 generates an image by the above-described processing, according to the RGB array 182 as a result of the false color correction and the re-mosaic processing, and outputs the image to the RGB signal processing unit 250.

    [0294]  The RGB signal processing unit 250 executes processing similar to the signal processing unit included in the conventional camera, or the like. To be specific, the RGB signal processing unit 250 executes the de-mosaic processing, the white balance adjustment processing, the γ correction processing, and the like, to generate the color image 183. The generated color image 183 is recorded in the memory 130.

    [2. A modification of a false color detection unit and a low-band signal calculation unit]



    [0295] In the above-described embodiment, the false color detection unit 201 determines that the pixel of interest is the brightness false color occurring pixel when the two determination expressions of the determination processing are satisfied:

    the determination processing of step S102 in the flow of Fig. 21, that is,

    and

    the determination processing of step S104, that is,



    [0296] Further, the description has been given in that the low-band signal calculation unit executes the processing of calculating the low-band signals, applying the different LPF coefficients according to whether the pixel of interest is the brightness false color pixel, as described with reference to Figs. 17(1a) to 17(1c) and Figs. 18(2a) to 18(2c).

    [0297] The processing of detecting the false color by the false color detection unit 201 and the processing of calculating the low-band signals by the low-band signal calculation unit 202 are not limited thereto, and a configuration in which other pieces of processing are executed may be employed. An example will be described below.

    [0298] Figs. 22(a) to 22(g) illustrates examples of highlighted regions where a brightness false color occurs, when G pixels are positioned to the left of and below a central W pixel. Regions within the dotted line frames in Figs. 22(a) to 22(g) are the highlighted regions.

    [0299] A false color detection unit 201 focuses on W pixels in an input pixel unit, that is, in a reference region of 7 × 7 pixels, and detects W pixels having a high pixel value. Further, the false color detection unit 201 determines whether the W pixels having a high pixel value match a pattern of W pixels in any of the highlighted regions illustrated in Figs. 22(a) to 22(g). Note that, as a way of obtaining arrangement of appropriate W pixels, a typically used method such as pattern matching can be applied.

    [0300] When the W pixels having a high pixel value match a pattern of W pixels in any of the highlighted regions illustrated in Figs. 22(a) to 22(g), the false color detection unit 201 determines that the pixel region is a brightness false color occurring region.

    [0301] Next, the low-band signal calculation unit 202 select an LPF corresponding to the arrangement of W pixels obtained in the false color detection unit 201, and calculates a low-band signal to be applied to pixel interpolation processing.

    [0302] Figs. 23(a) to 23(g) illustrates examples of setting LPF coefficients to be applied to calculation of low-band signals mG of G signal.

    [0303] Figs. 23(a) to 23(g) are examples of setting LPF coefficients to be applied to calculation of low-band signals mG used corresponding to the highlighted regions of Figs. 22(a) to 22(g).

    [0304] Pixels in which L or H is described illustrated in Figs. 23(a) to 23(g) are the G pixels where
    L indicates a pixel in which a relatively low LPF coefficient is set, and
    H indicates a pixel in which a relatively high LPF coefficient is set.

    [0305] As illustrated in Figs. 23(a) to 23(g), the LPF coefficients in the positions of the G pixels in the highlighted regions are set relatively small.

    [0306] For example, when the highlighted region of four pixels illustrated in Fig. 22(a) is detected, a desired low-band signal is obtained by convolution operation of the input pixel unit with the setting of the LPF coefficients illustrated in Fig. 23(a).

    [0307] Regarding the LPF coefficients illustrated in Fig. 23(a), only the coefficients in the G pixel positions in the highlighted region illustrated in Fig. 22(a) are L, and coefficients in other G pixel positions are H.

    [0308] The low-band signal mG is calculated using a low-pass filter to which such coefficients are applied, whereby the low-band signal mG in which an effect of G pixel values in the highlighted region is decreased can be calculated.

    [0309] The same applies to cases of other highlighted regions illustrated in Figs. 22(b) to 22(g), and the low-band signals in which a contribution rate of pixel values in the highlighted regions is low are calculated as illustrated in Figs. 23(b) to 23(g).

    [0310]  When a position of a pixel of interest is included in the highlighted region in this way, the low-band signal calculation unit 202 calculates a low-band signal in which the contribution rate of the pixel values that configure the highlighted region is low according to the shape of the highlighted region, and outputs the low-band signal to the pixel interpolation unit 203.

    [0311] Figs. 24(a) to 24(h) illustrates examples in which the highlighted regions are configured from W, R, and B pixels. Regions within the dotted line frames in Figs. 24(a) to 24(h) are the highlighted regions.

    [0312] The false color detection unit 201 focuses on the W pixels in the input pixel unit, that is, in the reference regions of 7 × 7 pixels, and detects the W pixels having a high pixel value. Further, the false color detection unit 201 determines whether the W pixels having a high pixel value match pattern of the W pixels in any of the highlighted regions illustrated in Figs. 24(a) to 24(h). Note that, as a way of obtaining arrangement of appropriate W pixels, a typically used method such as pattern matching can be applied.

    [0313] When the W pixels having a high pixel value match a pattern of the W pixels in any of the highlighted regions illustrated in Figs. 24(a) to 24(h), the false color detection unit 201 determines that the pixel region is a brightness false color occurring region.

    [0314] Next, the low-band signal calculation unit 202 select an LPF corresponding to the arrangement of the W pixels obtained in the false color detection unit 201, and calculates a low-band signal to be applied to the pixel interpolation processing.

    [0315] Figs. 25(a) to 25(h) illustrates examples of setting LPF coefficients to be applied to calculation of low-band signals mB of B signal.

    [0316] Figs. 25(a) to 25(h) are examples of setting LPF coefficients to be applied to calculation of low-band signals mB used corresponding to the highlighted regions of Figs. 24(a) to 24(h).

    [0317] Pixels in which L or H is described illustrated in Figs. 25(a) to 25(h) are the B pixels where
    L indicates a pixel in which a relatively low LPF coefficient is set, and
    H indicates a pixel in which a relatively high LPF coefficient is set.

    [0318] As illustrated in Figs. 25(a) to 25(h), the LPF coefficients in the positions of the B pixels in the highlighted regions are set relatively small.

    [0319] For example, when the highlighted region of four pixels illustrated in Fig. 24(a) is detected, a desired low-band signal is obtained by convolution operation of the input pixel unit with the setting of the LPF coefficients illustrated in Fig. 25(a).

    [0320] Regarding the LPF coefficients illustrated in Fig. 25(a), only the coefficients in the B pixel positions in the highlighted region illustrated in Fig. 24(a) are L, and coefficients in other B pixel positions are H.

    [0321] The low-band signal mB is calculated using a low-pass filter to which such coefficients are applied, whereby the low-band signal mB in which an effect of B pixel values in the highlighted region is decreased can be calculated.

    [0322] The same applies to cases of other highlighted regions illustrated in Figs. 24(b) to 24(h), and the low-band signals in which a contribution rate of pixel values in the highlighted regions is low are calculated as illustrated in Figs. 25(b) to 25(h).

    [0323] When a position of a pixel of interest is included in the highlighted region in this way, the low-band signal calculation unit 202 calculates a low-band signal in which the contribution rate of the pixel values that configure the highlighted region is low according to the shape of the highlighted region, and outputs the low-band signal to the pixel interpolation unit 203.

    [0324] The pixel interpolation unit 203 executes the interpolation processing using the low-band signal in which the contribution rate of the pixel values that configure the highlighted region calculated by the low-band signal calculation unit 202 is low.

    [0325] With the processing, an optimum low-bans signal according to the shape of the highlighted region can be calculated, and optimum pixel interpolation where the contribution rate of the pixel values in the highlighted region is low can be realized.

    [0326] Fig. 26 is a diagram illustrating a flowchart of when detection of a brightness false color, calculation of a low-band signal, and pixel interpolation are performed according to the present embodiment.

    [0327] The flowchart illustrated in Fig. 26 is, similarly to the flow of Fig. 21 described above, a processing sequence with respect to one pixel to be converted of when an RGBW array is converted into an RGB array, and is processing of inputting a reference pixel region including a pixel to be converted, for example, a 7 × 7 pixel region, and executing in the data conversion processing unit. The processing according to the flow illustrated in Fig. 26 is sequentially executed with respect to processed pixels.

    [0328] Hereinafter, each step will be described.

    [0329] In step S201, first, an arrangement pattern of W pixels having a large pixel value is detected from the reference region.

    [0330] Next, in step S202, it is determined whether the arrangement pattern of W pixels having a large pixel value detected in step S201 match a pattern of a highlighted region registered in a memory in advance. In the memory, patterns of the highlighted regions illustrated in Figs. 22(a) to 22(g) are registered in advance.

    [0331] This processing is the processing executed by the false color detection unit 201 illustrated in Fig. 5.

    [0332] In step S202, when the false color detection unit 201 determines that there is no registration pattern that matches the arrangement pattern of W pixels having a high pixel value (No), the processing proceeds to step S204.

    [0333] This case is a case where the pixel of interest is determined not to be the brightness false color. The processing proceeds to step S204, and a necessary low-band signal is calculated by low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively high. Note that the necessary low-band signal is a low-band signal necessary for being applied to conversion processing of the pixel of interest to be executed in the pixel interpolation unit 203. At least one or more low-band signals of low-band signals mR, mG, mB, and mW are calculated.

    [0334] This processing of calculating the low-band signal is the processing of the low-band signal calculation unit 202 of Fig. 5.

    [0335] For example, as illustrated in Figs. 17(1b) and 18(2b), the low-band signals are calculated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively high.

    [0336] Meanwhile, in step S202, when a registered pattern that matches the detected arrangement pattern of W pixels having a high pixel value is detected (Yes), the processing proceeds to step S203.

    [0337] In step S203, an LPF coefficient corresponding to the registration pattern that matches the detected arrangement pattern of W pixels having a high pixel value is selected, and a low-band signal that enables execution of processing that also serves as false color correction is calculated.

    [0338] This processing of calculating a low-band signal is the processing of the low-band signal calculation unit 202 illustrated in Fig. 5.

    [0339] The low-band signal calculation unit 202 inputs information of the registration pattern matching the arrangement pattern of W pixels having a high pixel value from the false color detection unit 201, and calculates a low-band signal according to the information by low-pass filter (LPF) application processing to which the LPF coefficient corresponding to the registration pattern is set.

    [0340] That is, when the registration pattern that matches the arrangement pattern of W pixels having a high pixel value is Fig. 22(a), the low-band signal is calculated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest illustrated in Fig. 23(a) is set relatively low.

    [0341] The same applies to cases where the registration pattern matching the arrangement pattern of W pixels having a high pixel value is another registration pattern of Fig. 22(b) to 22(g). In each of the cases, the low-band signal is calculated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest illustrated in Figs. 23(b) to 23(g) is set relatively low.

    [0342] In step S205, the interpolation pixel value of the pixel of interest is calculated applying either the low-band signal generated in step S203 or the low-band signal generated in step S204.

    [0343] This processing is the processing of the pixel interpolation unit 203 illustrated in Fig. 5.

    [0344] The pixel interpolation unit 203 performs the interpolation processing using the low-band signals generated in step S203 when the pixel of interest is determined to be the brightness false color, and using the low-band signals generated in step S204 when the pixel of interest is determined not to be the brightness false color.

    [0345] To be specific, when the pixel of interest is determined to be the brightness false color, the pixel interpolation unit 203 performs the interpolation processing using the low-band signals generated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively low, as illustrated in Figs. 23(a) to 23(g).

    [0346] Meanwhile, when the pixel of interest is determined not to be the brightness false color, the pixel interpolation unit 203 performs the interpolation processing using the low-band signals generated by the low-pass filter (LPF) application processing in which the LPF coefficient of the reference pixel close to the pixel of interest is set relatively high.

    [0347] With these pieces of processing, with respect to the interpolation pixel value of the pixel region determined to be the brightness false color, the setting of the interpolation pixel value in which the effect of the brightness false color is reduced is performed.

    [0348] Note that the processing illustrated in Fig. 26 is executed according to the program stored in the memory 130 illustrated in Fig. 4 under control of the control unit 140, for example.

    [0349] The data conversion processing unit 200 illustrated in Figs. 4 and 5 generates an image by the above-described processing, according to the RGB array 182 as a result of the false color correction and the de-mosaic processing, and outputs the image to the RGB signal processing unit 250.

    [0350] The RGB signal processing unit 250 executes processing similar to the signal processing unit included in the conventional camera, or the like. To be specific, the RGB signal processing unit 250 executes the de-mosaic processing, the white balance adjustment processing, the y correction processing, and the like, to generate the color image 183. The generated color image 183 is recorded in the memory 130.

    [3. Effects by processing of an image processing device of the present disclosure]



    [0351] By performing of the processing of the image processing device of the present disclosure described above, the following effects can be obtained, for example.
    1. (a) The false color occurring in a small area on an imaging plane, such as sunshine filtering through leaves, can be decreased.
    2. (b) The false color can be decreased even when blown-out highlights such as purple fringing are not caused.
    3. (c) Correction with less deterioration of image quality can be performed, compared with a method of decreasing resolution using an optical low-pass filter.
    4. (d) The processing can be applied to raw data before de-mosaic, the image processing device can be incorporated in an image sensor, and the like.
    5. (e) The processing can be applied to an array image including white pixels in a color filter.


    [0352] The above effect can be exhibited, for example.

    [4. Conclusion of configurations of the present disclosure]



    [0353] Embodiments of the present disclosure have been described in detail with reference to specific examples. However, it is apparent that modifications and substitutions of the embodiments can be achieved by a person skilled in the art without departing from the scope of the appended claims. That is, the present invention has been disclosed in the form of exemplary description, and should not be restrictively construed. The scope of the invention is defined by the appended claims.

    [0354] Further, a method of processing executed in the above-described device and system, a program for causing the device and system to execute the processing, and a recording medium in which the program is recorded are also included in the configurations of the present disclosure.

    [0355] Further, the series of processing described in the specification can be realized by hardware, software, or a composite configuration of hardware and software. When the processing is executed by software, a program in which the processing sequence is recorded can be installed in a memory in a computer incorporated in dedicated hardware and executed, or can be installed in a general purpose computer that can execute various types of processing and executed. For example, the program can be recorded in a recording medium in advance. The program can be received through a network such as a local area network (LAN) and the Internet, and can be installed to a recording medium such as a built-in hard disk, other than being installed from the recording medium to the computer.

    [0356] Note that the various types of processing described in the specification is not only executed in time series according to the description, but may also be individually executed or executed in parallel according to a processing capacity of a device to perform processing or as needed. Further, the system in the present specification is a logical set configuration of a plurality of devices, and is not limited to a configuration in which devices having respective configurations are included in the same housing.

    INDUSTRIAL APPLICABILITY



    [0357] As described above, according to the configuration of one embodiment of the present disclosure, a device and a method that correct a false color, which occurs in a locally highlighted region of an image, can be realized.

    [0358] To be specific, a false color pixel is detected in data conversion processing of generating an RGB array image from an RGBW array image, low-band signals corresponding to respective RGBW colors that are different according to whether a pixel is a false color pixel, and the RGBW array is converted by interpolation processing to which the calculated low-band signals are applied to generate the RGB array image. The interpolation processing is performed using the low-band signals on an assumption that a W low-band signal mW, and RGB respective low-band signals mR, mG, and mB have a proportional relation in a local region. When a pixel of interest is a false color pixel, the low-band signal is calculated by an application of a low-pass filter having a coefficient in which a contribute rate of pixel values in the vicinity of the pixel of interest is made relatively lower than that of separated pixels.

    [0359] With the processing, a false color, which occurs in a locally highlighted region of the image, is corrected, together with re-mosaic processing of converting the RGBW array image into the RGB array, and a high-quality image from which the false color has been removed or decreased can be generated and output.

    REFERENCE SIGNS LIST



    [0360] 
    100
    Imaging apparatus
    105
    Optical lens
    110
    Imaging device (image sensor)
    120
    Signal processing unit
    130
    Memory
    140
    Control unit
    181
    RGBW array
    182
    RGB array
    183
    Color image
    200
    Data conversion processing unit
    201
    False color detection unit
    202
    Low-band signal calculation unit
    203
    Pixel interpolation unit



    Claims

    1. An image processing device comprising:

    a data conversion processing unit (200) configured to have an RGBW array image as an input image, and to generate an RGB array image as an output image,

    the data conversion processing unit including

    a false color detection unit (201) configured to detect a false color pixel in the input image, and to output detection information,

    a low-band signal calculation unit (202) configured to receive the detection information from the false color detection unit, and to change a processing aspect according to the detection information to calculate low-band signals corresponding to respective RGBW colors, and

    a pixel interpolation unit (203) configured to execute pixel conversion of the RGBW array of the input image, by applying the low-band signals calculated by the low-band signal calculation unit to their respective RGBW signals, to generate the RGB array image, and

    the pixel interpolation unit further configured to calculate an interpolation pixel value on an assumption that a low-band signal mW of a W pixel and low-band signals mR, mG, and mB of respective RGB pixels have a proportional relation in a local region, wherein the proportional relation is used to calculate an R, G or B pixel value at a W pixel position, characterized in that the false color detection unit:

    (a) calculates W pixel low-frequency component signals corresponding to respective lines based on pixel values of a plurality of W pixels in a plurality of diagonally lower right lines set near a pixel of interest, and executes comparison processing between a difference value Diff1 between a maximum value of the W pixel low-frequency component signals of a plurality of inner-side lines close to the pixel of interest and a maximum value of the W pixel low-frequency component signals of a plurality of outer-side lines distant from the pixel of interest, and a threshold Thrl, and

    (b) calculates W pixel low-frequency component signals corresponding to respective lines based on pixel values of a plurality of W pixels in a plurality of diagonally upper right lines set near a pixel of interest, and executes comparison processing between a difference value Diff2 between a maximum value of the W pixel low-frequency component signals of a plurality of inner-side lines close to the pixel of interest and a maximum value of the W pixel low-frequency component signals of a plurality of outer-side lines distant from the pixel of interest, and a threshold Thr2, and

    compares results of the two cases of the above (a) and (b), such that when the difference value is larger than the threshold in both cases the false color detection unit determines that the pixel of interest is the false color pixel.


     
    2. The image processing device according to claim 1, wherein
    when having been input the detection information that a pixel of interest is the false color pixel from the false color detection unit,
    the low-band signal calculation unit applies a low-pass filter to which a low-pass filter coefficient in which a pixel value contribution rate of a pixel near the pixel of interest is made relatively lower than that of a pixel further from the pixel of interest is set to calculate the low-band signals.
     
    3. The image processing device according to claim 1, wherein
    when having been input the detection information that a pixel of interest is not the false color pixel from the false color detection unit,
    the low-band signal calculation unit applies a low-pass filter to which a low-pass filter coefficient in which a pixel value contribution rate of a pixel near the pixel of interest is made relatively higher than that of a pixel further from the pixel of interest is set to calculate the low-band signals.
     
    4. The image processing device according to claim 1, wherein
    the false color detection unit
    detects presence/absence of existence of a locally highlighted region that is a locally high brightness region in the input image, and when a pixel of interest is included in the locally highlighted region, the false color detection unit determines that the pixel of interest is the false color pixel.
     
    5. The image processing device according to claim 1, wherein
    the false color detection unit
    detects incline information of W pixels near a pixel of interest, and when a W pixel value near the pixel of interest is higher than a peripheral W pixel value in both of two perpendicular directions, the false color detection unit determines that the pixel of interest is included in a locally highlighted region that is a locally high brightness region, and the pixel of interest is the false color pixel.
     
    6. The image processing device according to claim 1, wherein
    the false color detection unit
    detects a false color occurring when a W pixel and a G pixel are concentrated in a locally highlighted region that is a locally high brightness region in the input image, or when a W pixel, an R pixel, and a B pixel are concentrated in the locally highlighted region.
     
    7. The image processing device according to claim 1, wherein
    the false color detection unit
    detects W pixels having a high pixel value from the input image,
    compares a configuration pattern of the detected W pixels having a high pixel value, and a registered highlighted region pattern that is a shape of a locally high brightness region recorded in a memory in advance, and
    determines that a pixel included in the configuration pattern of the W pixels having a high pixel value is the false color pixel when the configuration pattern of the detected W pixels having a high pixel value match the registered highlighted region pattern.
     
    8. The image processing device according to claim 7, wherein t
    he low-band signal calculation unit
    applies a low-pass filter to which a low-pass filter coefficient in which a pixel value contribution rate of a highlighted region is made relatively lower than that of a pixel outside the highlighted region, according to the registered highlighted region pattern determined to match the configuration pattern of the W pixels having a high pixel value by the false color detection unit, is set to calculate the low-band signals.
     
    9. A method of processing an image executed in an image processing device, the method comprising:

    by a data conversion processing unit, executing data conversion processing of having an RGBW array image as an input image, and generating an RGB array image as an output image,

    in the data conversion processing, executing

    false color detection processing of detecting a false color pixel of the input image, and outputting detection information,

    low-band signal calculation processing of receiving the detection information, and changing a processing aspect according to the detection information to calculate low-band signals corresponding to respective RGBW colors, and

    pixel interpolation processing of executing pixel conversion of the RGBW array of the input image to generate the RGB array image by applying the low-band signals obtained by the the low-band signal calculation processing to their respective RGBW signals, and the pixel interpolation processing further calculating an interpolation pixel value based on an assumption that a low-band signal mW of a W pixel and low-band signals mR, mG, and mB of respective RGB pixels have a proportional relation in a local region, wherein the proportional relation is used to calculate an R, G or B pixel value at a W pixel position, characterized in that the false color detection processing comprises:

    (a) calculating W pixel low-frequency component signals corresponding to respective lines based on pixel values of a plurality of W pixels in a plurality of diagonally lower right lines set near a pixel of interest, and executing comparison processing between a difference value Diff1 between a maximum value of the W pixel low-frequency component signals of a plurality of inner-side lines close to the pixel of interest and a maximum value of the W pixel low-frequency component signals of a plurality of outer-side lines distant from the pixel of interest, and a threshold Thrl, and

    (b) calculating W pixel low-frequency component signals corresponding to respective lines based on pixel values of a plurality of W pixels in a plurality of diagonally upper right lines set near a pixel of interest, and executing comparison processing between a difference value Diff2 between a maximum value of the W pixel low-frequency component signals of a plurality of inner-side lines close to the pixel of interest and a maximum value of the W pixel low-frequency component signals of a plurality of outer-side lines distant from the pixel of interest, and a threshold Thr2, and

    comparing results of the two cases of the above (a) and (b), such that when the difference value is larger than the threshold in both cases the false color detection processing determines that the pixel of interest is the false color pixel.


     
    10. A program for causing an image processing device to execute image processing according to claim 9.
     


    Ansprüche

    1. Bildverarbeitungsvorrichtung, umfassend:

    eine Datenumwandlungsverarbeitungseinheit (200), die so ausgebildet ist, dass sie ein RGBW-Arraybild als ein Eingangsbild aufweist und ein RGB-Arraybild als ein Ausgangsbild erzeugt,

    wobei die Datenumwandlungsverarbeitungseinheit enthält

    eine Falschfarbendetektionseinheit (201), die dazu ausgebildet ist, ein Falschfarbenpixel in dem Eingangsbild zu detektieren und Detektionsinformationen auszugeben,

    eine Niedrigbandsignalberechnungseinheit (202), die dazu ausgebildet ist, die Detektionsinformationen von der Falschfarbendetektionseinheit zu empfangen und einen Verarbeitungsaspekt gemäß den Detektionsinformationen zu ändern, um Niedrigbandsignale entsprechend jeweiligen RGBW-Farben zu berechnen, und

    eine Pixelinterpolationseinheit (203), die dazu ausgebildet ist, eine Pixelumwandlung des RGBW-Arrays des Eingangsbilds auszuführen, durch Anwenden der durch die Niedrigbandsignalberechnungseinheit berechneten Niedrigbandsignale auf ihre jeweiligen RGBW-Signale, um das RGB-Arraybild zu erzeugen, und

    die Pixelinterpolationseinheit weiterhin dazu ausgebildet ist, einen Interpolationspixelwert auf einer Annahme zu berechnen, dass ein Niedrigbandsignal mW eines W-Pixels und Niedrigbandsignale mR, mG und mB von jeweiligen RGB-Pixeln eine proportionale Relation in einem lokalen Gebiet aufweisen, wobei die proportionale Relation verwendet wird, um einen R-, G-oder B-Pixelwert an einer W-Pixelposition zu berechnen,

    dadurch gekennzeichnet, dass die Falschfarbendetektionseinheit:

    (a) W-Pixel-Niedrigfrequenzkomponentensignale entsprechend jeweiligen Linien auf Basis von Pixelwerten von mehreren W-Pixeln in mehreren diagonal niedrigeren rechten Linien, nahe einem interessierenden Pixel gesetzt, berechnet und eine Vergleichsverarbeitung zwischen einem Differenzwert Diffl zwischen einem Maximalwert der W-Pixel-Niederfrequenzkomponentensignale von mehreren innerseitigen Linien nahe an dem interessierenden Pixel und einem Maximalwert der W-Pixel-Niederfrequenzkomponentensignale von mehreren außerseitigen Linien entfernt von dem interessierenden Pixel und einem Schwellwert Thr1 ausführt, und

    (b) W-Pixel-Niederfrequenzkomponentensignale entsprechend jeweiligen Linien auf Basis von Pixelwerten von mehreren W-Pixeln in mehreren diagonal oberen rechten Linien, nahe einem interessierenden Pixel gesetzt, berechnet und eine Vergleichsverarbeitung zwischen einem Differenzwert Diff2 zwischen einem Maximalwert der W-Pixel-Niederfrequenzkomponentensignale von mehreren innerseitigen Linien nahe dem interessierenden Pixel und einem Maximalwert der W-Pixel-Niederfrequenzkomponentensignale von mehreren außerseitigen Linien entfernt von dem interessierenden Pixel und einem Schwellwert Thr2 durchführt, und

    Ergebnisse der beiden Fälle der obigen (a) und (b) vergleicht, so dass, wenn in beiden Fällen der Differenzwert größer ist als der Schwellwert, die Falschfarbendetektionseinheit bestimmt, dass das interessierende Pixel das Falschfarbenpixel ist.


     
    2. Bildverarbeitungsvorrichtung nach Anspruch 1, wobei
    wenn die Detektionsinformationen, dass ein interessierendes Pixel das Falschfarbenpixel ist, von der Falschfarbendetektionseinheit eingegeben worden ist,
    die Niedrigbandsignalberechnungseinheit einen Tiefpassfilter anwendet, auf den ein Tiefpassfilterkoeffizient, in dem eine Pixelwertbeitragsrate eines Pixels nahe dem interessierenden Pixel relativ niedriger gemacht wird als die eines Pixels weiter von dem interessierenden Pixel, gesetzt wird, um die Niedrigbandsignale zu berechnen.
     
    3. Bildverarbeitungsvorrichtung nach Anspruch 1, wobei
    wenn die Detektionsinformationen, dass ein interessierendes Pixel nicht das Falschfarbenpixel ist, von der Falschfarbendetektionseinheit eingegeben worden ist,
    die Niedrigbandsignalberechnungseinheit einen Tiefpassfilter anwendet, auf den ein Tiefpassfilterkoeffizient, in dem eine Pixelwertbeitragsrate eines Pixels nahe dem interessierenden Pixel relativ höher gemacht wird als die eines Pixels weiter von dem interessierenden Pixel, gesetzt wird, um die Niedrigbandsignale zu berechnen.
     
    4. Bildverarbeitungsvorrichtung nach Anspruch 1, wobei
    die Falschfehlerdetektionseinheit
    die Anwesenheit/Abwesenheit des Vorliegens eines lokal hervorgehobenen Gebiets, das ein Gebiet mit lokal hoher Helligkeit ist, in dem Eingangsbild detektiert, und wenn ein interessierendes Pixel in dem lokal hervorgehobenen Gebiet enthalten ist, die Falschfarbendetektionseinheit bestimmt, dass das interessierende Pixel das Falschfarbenpixel ist.
     
    5. Bildverarbeitungsvorrichtung nach Anspruch 1, wobei
    die Falschfarbendetektionseinheit
    Neigungsinformationen von W-Pixeln nahe einem interessierenden Pixel detektiert, und wenn ein W-Pixelwert nahe dem interessierenden Pixel höher ist als ein peripherer W-Pixelwert in beiden von zwei senkrechten Richtungen, die Falschfarbendetektionseinheit bestimmt, dass das interessierende Pixel in einem lokal hervorgehobenen Gebiet, das ein Gebiet mit lokal hoher Helligkeit ist, enthalten ist und das interessierende Pixel das Falschfarbenpixel ist.
     
    6. Bildverarbeitungsvorrichtung nach Anspruch 1, wobei
    die Falschfarbendetektionseinheit
    eine Falschfarbe detektiert, die auftritt, wenn ein W-Pixel und ein G-Pixel in einem lokal hervorgehobenen Gebiet, das ein Gebiet mit lokal hoher Helligkeit in dem Eingangsbild ist, konzentriert sind, oder wenn ein W-Pixel, ein R-Pixel und ein B-Pixel in dem lokal hervorgehobenen Gebiet konzentriert sind.
     
    7. Bildverarbeitungsvorrichtung nach Anspruch 1, wobei
    die Falschfarbendetektionseinheit
    W-Pixel mit einem hohen Pixelwert aus dem Eingangsbild detektiert,
    ein Konfigurationsmuster der detektierten W-Pixel mit einem hohen Pixelwert und ein registriertes hervorgehobenes Gebietsmuster, das eine Form eines Gebiets mit lokal hoher Helligkeit ist, in einem Speicher im Voraus aufgezeichnet, vergleicht, und
    bestimmt, dass ein Pixel, das in dem Konfigurationsmuster der W-Pixel mit einem hohen Pixelwert enthalten ist, das Falschfarbenpixel ist, wenn das Konfigurationsmuster der detektierten W-Pixel mit einem hohen Pixelwert dem registrierten hervorgehobenen Gebietsmuster entspricht.
     
    8. Bildverarbeitungsvorrichtung nach Anspruch 7, wobei
    die Niedrigbandsignalberechnungseinheit
    einen Tiefpassfilter anwendet, auf den ein Tiefpassfilterkoeffizient, in dem eine Pixelwertbeitragsrate eines hervorgehobenen Gebiets relativ niedriger gemacht ist als die eines Pixels außerhalb des hervorgehobenen Gebiets, gemäß dem registrierten hervorgehobenen Gebietsmuster, bestimmt, um dem Konfigurationsmuster der W-Pixel mit einem hohen Pixelwert durch die Falschfarbdetektionseinheit zu entsprechen, gesetzt ist, um die Niedrigbandsignale zu berechnen.
     
    9. Verfahren zum Verarbeiten eines Bilds, ausgeführt in einer Bildverarbeitungsvorrichtung, wobei das Verfahren umfasst:

    durch eine Datenumwandlungsverarbeitungseinheit, Ausführen einer Datenumwandlungsverarbeitung, ein RGBW-Arraybild als ein Eingangsbild zu haben, und Erzeugen eines RGB-Arraybilds als ein Ausgangsbild,

    in der Datenumwandlungsverarbeitung, Ausführen

    einer Falschfarbendetektionsverarbeitung des Detektierens eines Falschfarbenpixels des Eingangsbilds und Ausgeben von Detektionsinformationen,

    Niedrigbandsignalberechnungsverarbeitung des Empfangens der Detektionsinformationen und Ändern eines Verarbeitungsaspekts gemäß den Detektionsinformationen, um Niedrigbandsignale entsprechend jeweiligen RGBW-Farben zu berechnen, und

    Pixelinterpolationsverarbeitung des Ausführens einer Pixelumwandlung des RGBW-Arrays des Eingangsbilds, um das RGB-Arraybild zu erzeugen, durch Anwenden der durch die Niedrigbandsignalberechnungsverarbeitung erhaltenen Niedrigbandsignale auf ihre jeweiligen RGBW-Signale, und

    die Pixelinterpolationsverarbeitung weiterhin einen Interpolationspixelwert auf Basis einer Annahme berechnet, dass ein Niedrigbandsignal mW eines W-Pixels und Niedrigbandsignale mR, mG und mB von jeweiligen RGB-Pixeln eine proportionale Relation in einem lokalen Gebiet aufweisen, wobei die proportionale Relation verwendet wird, um einen R-, G- oder B-Pixelwert an einer W-Pixelposition zu berechnen,

    dadurch gekennzeichnet, dass die Falschfarbendetektionsverarbeitung umfasst:

    (a) Berechnen von W-Pixel-Niedrigfrequenzkomponentensignalen entsprechend jeweiligen Linien auf Basis von Pixelwerten von mehreren W-Pixeln in mehreren diagonal niedrigeren rechten Linien, nahe einem interessierenden Pixel gesetzt, und Ausführen einer Vergleichsverarbeitung zwischen einem Differenzwert Diffl zwischen einem Maximalwert der W-Pixel-Niederfrequenzkomponentensignale von mehreren innerseitigen Linien nahe an dem interessierenden Pixel und einem Maximalwert der W-Pixel-Niederfrequenzkomponentensignale von mehreren außerseitigen Linien entfernt von dem interessierenden Pixel und einem Schwellwert Thrl, und

    (b) Berechnen von W-Pixel-Niederfrequenzkomponentensignalen entsprechend jeweiligen Linien auf Basis von Pixelwerten von mehreren W-Pixeln in mehreren diagonal oberen rechten Linien, nahe einem interessierenden Pixel gesetzt, und Ausführen einer Vergleichsverarbeitung zwischen einem Differenzwert Diff2 zwischen einem Maximalwert der W-Pixel-Niederfrequenzkomponentensignale von mehreren innerseitigen Linien nahe dem interessierenden Pixel und einem Maximalwert der W-Pixel-Niederfrequenzkomponentensignale von mehreren außerseitigen Linien entfernt von dem interessierenden Pixel und einem Schwellwert Thr2, und

    Vergleichen der Ergebnisse der beiden Fälle der obigen (a) und (b), so dass, wenn in beiden Fällen der Differenzwert größer ist als der Schwellwert, die Falschfarbendetektionsverarbeitung bestimmt, dass das interessierende Pixel das Falschfarbenpixel ist.


     
    10. Programm, um zu bewirken, dass eine Bildverarbeitungsvorrichtung eine Bildverarbeitung nach Anspruch 9 durchführt.
     


    Revendications

    1. Dispositif de traitement d'image comprenant :

    une unité de traitement de conversion de données (200) configurée pour avoir une image à matrice RGBW comme image d'entrée, et pour générer une image à matrice RGB comme image de sortie,

    l'unité de traitement de conversion de données comportant

    une unité de détection de fausse couleur (201) configurée pour détecter un pixel de fausse couleur dans l'image d'entrée, et pour délivrer des informations de détection,

    une unité de calcul de signaux en bande basse (202) configurée pour recevoir les informations de détection provenant de l'unité de détection de fausse couleur, et pour modifier un aspect de traitement en fonction des informations de détection pour calculer des signaux en bande basse correspondant à des couleurs RGBW respectives, et

    une unité d'interpolation de pixels (203) configurée pour exécuter une conversion de pixels de la matrice RGBW de l'image d'entrée en appliquant les signaux en bande basse calculés par l'unité de calcul de signaux en bande basse à leurs signaux RGBW respectifs, pour générer l'image à matrice RGB, et

    l'unité d'interpolation de pixels étant en outre configurée pour calculer une valeur de pixel d'interpolation sur une hypothèse qu'un signal en bande basse mW d'un pixel W et des signaux en bande basse mR, mG et mB de pixels RGB respectifs ont une relation de proportionnalité dans une région locale, la relation de proportionnalité étant utilisée pour calculer une valeur de pixel R, G ou B à une position de pixel W,

    caractérisé en ce que

    l'unité de détection de fausse couleur :

    (a) calcule des signaux à composante basse fréquence de pixels W correspondant à des lignes respectives sur la base de valeurs de pixel d'une pluralité de pixels W dans une pluralité de lignes allant diagonalement en bas à droite définies près d'un pixel d'intérêt, et exécute un traitement de comparaison entre une valeur différentielle Diff1 entre une valeur maximale des signaux à composante basse fréquence de pixels W d'une pluralité de lignes côté intérieur proches du pixel d'intérêt et une valeur maximale des signaux à composante basse fréquence de pixels W d'une pluralité de lignes côté extérieur distantes du pixel d'intérêt, et un seuil Thrl, et

    (b) calcule des signaux à composante basse fréquence de pixels W correspondant à des lignes respectives sur la base de valeurs de pixel d'une pluralité de pixels W dans une pluralité de lignes allant diagonalement en haut à droite définies près d'un pixel d'intérêt, et exécute un traitement de comparaison entre une valeur différentielle Diff2 entre une valeur maximale des signaux à composante basse fréquence de pixels W d'une pluralité de lignes côté intérieur proches du pixel d'intérêt et une valeur maximale des signaux à composante basse fréquence de pixels W d'une pluralité de lignes côté extérieur distantes du pixel d'intérêt, et un seuil Thr2, et

    compare des résultats des deux cas des (a) et (b) ci-dessus, de telle sorte que, quand la valeur différentielle est supérieure au seuil dans les deux cas, l'unité de détection de fausse couleur détermine que le pixel d'intérêt est le pixel de fausse couleur.


     
    2. Dispositif de traitement d'image selon la revendication 1, dans lequel
    lorsque les informations de détection selon lesquelles un pixel d'intérêt est le pixel de fausse couleur ont été entrées depuis l'unité de détection de fausse couleur,
    l'unité de calcul de signaux en bande basse applique un filtre passe-bas auquel un coefficient de filtre passe-bas dans lequel un taux de contribution de valeur de pixel d'un pixel près du pixel d'intérêt est rendu relativement plus faible que celui d'un pixel plus éloigné du pixel d'intérêt est assigné pour calculer les signaux en bande basse.
     
    3. Dispositif de traitement d'image selon la revendication 1, dans lequel
    lorsque les informations de détection selon lesquelles un pixel d'intérêt est le pixel de fausse couleur ont été entrées depuis l'unité de détection de fausse couleur,
    l'unité de calcul de signaux en bande basse applique un filtre passe-bas auquel un coefficient de filtre passe-bas dans lequel un taux de contribution de valeur de pixel d'un pixel près du pixel d'intérêt est rendu relativement plus fort que celui d'un pixel plus éloigné du pixel d'intérêt est assigné pour calculer les signaux en bande basse.
     
    4. Dispositif de traitement d'image selon la revendication 1, dans lequel
    l'unité de détection de fausse couleur
    détecte la présence/l'absence de l'existence d'une région localement mise en valeur qui est une région localement de forte luminosité dans l'image d'entrée, et quand un pixel d'intérêt est contenu dans la région localement mise en valeur, l'unité de détection de fausse couleur détermine que le pixel d'intérêt est le pixel de fausse couleur.
     
    5. Dispositif de traitement d'image selon la revendication 1, dans lequel
    l'unité de détection de fausse couleur
    détecte des informations d'inclinaison de pixels W près d'un pixel d'intérêt, et quand une valeur de pixel W près du pixel d'intérêt est supérieure à une valeur de pixel W périphérique à la fois dans deux directions perpendiculaires, l'unité de détection de fausse couleur détermine que le pixel d'intérêt est contenu dans une région localement mise en valeur qui est une région localement de forte luminosité, et le pixel d'intérêt est le pixel de fausse couleur.
     
    6. Dispositif de traitement d'image selon la revendication 1, dans lequel
    l'unité de détection de fausse couleur
    détecte une fausse couleur apparaissant quand un pixel W et un pixel G sont concentrés dans une région localement mise en valeur qui est une région localement de forte luminosité dans l'image d'entrée, ou quand un pixel W, un pixel R et un pixel B sont concentrés dans la région localement mise en valeur.
     
    7. Dispositif de traitement d'image selon la revendication 1, dans lequel
    l'unité de détection de fausse couleur
    détecte des pixels W ayant une valeur de pixel élevée à partir de l'image d'entrée,
    compare un motif de configuration des pixels W détectés ayant une valeur de pixel élevée, et un motif de région mise en valeur enregistré qui est une forme d'une région localement de forte luminosité enregistrée à l'avance dans une mémoire, et
    détermine qu'un pixel contenu dans le motif de configuration des pixels W ayant une valeur de pixel élevée est le pixel de fausse couleur quand le motif de configuration des pixels W détectés ayant une valeur de pixel élevée correspond au motif de région mise en valeur enregistré.
     
    8. Dispositif de traitement d'image selon la revendication 7, dans lequel
    l'unité de calcul de signaux en bande basse
    applique un filtre passe-bas auquel un coefficient de filtre passe-bas dans lequel un taux de contribution de valeur de pixel d'une région mise en valeur est rendu relativement plus faible que celui d'un pixel à l'extérieur de la région mise en valeur, en fonction du motif de région mise en valeur enregistré déterminé comme correspondant au motif de configuration des pixels W ayant une valeur de pixel élevée par l'unité de détection de fausse couleur, est assigné pour calculer les signaux en bande basse.
     
    9. Procédé de traitement d'une image exécuté dans un dispositif de traitement d'image, le procédé comprenant :

    par une unité de traitement de conversion de données, l'exécution d'un traitement de conversion de données consistant à avoir une image à matrice RGBW comme image d'entrée, et générer une image à matrice RGB comme image de sortie,

    dans le traitement de conversion de données, l'exécution

    d'un traitement de détection de fausse couleur consistant à détecter un pixel de fausse couleur de l'image d'entrée, et délivrer des informations de détection,

    d'un traitement de calcul de signaux en bande basse consistant à recevoir les informations de détection, et modifier un aspect de traitement en fonction des informations de détection pour calculer des signaux en bande basse correspondant à des couleurs RGBW respectives, et

    d'un traitement d'interpolation de pixels consistant à exécuter une conversion de pixels de la matrice RGBW de l'image d'entrée pour générer l'image à matrice RGB en appliquant les signaux en bande basse obtenus par le traitement de calcul de signaux en bande basse à leurs signaux RGBW respectifs, et

    le traitement d'interpolation de pixels calculant en outre une valeur de pixel d'interpolation sur la base d'une hypothèse qu'un signal en bande basse mW d'un pixel W et des signaux en bande basse mR, mG et mB de pixels RGB respectifs ont une relation de proportionnalité dans une région locale, la relation de proportionnalité étant utilisée pour calculer une valeur de pixel R, G ou B à une position de pixel W,

    caractérisé en ce que

    le traitement de détection de fausse couleur comprend :

    (a) le calcul de signaux à composante basse fréquence de pixels W correspondant à des lignes respectives sur la base de valeurs de pixel d'une pluralité de pixels W dans une pluralité de lignes allant diagonalement en bas à droite définies près d'un pixel d'intérêt, et l'exécution d'un traitement de comparaison entre une valeur différentielle Diff1 entre une valeur maximale des signaux à composante basse fréquence de pixels W d'une pluralité de lignes côté intérieur proches du pixel d'intérêt et une valeur maximale des signaux à composante basse fréquence de pixels W d'une pluralité de lignes côté extérieur distantes du pixel d'intérêt, et un seuil Thrl, et

    (b) le calcul de signaux à composante basse fréquence de pixels W correspondant à des lignes respectives sur la base de valeurs de pixel d'une pluralité de pixels W dans une pluralité de lignes allant diagonalement en haut à droite définies près d'un pixel d'intérêt, et l'exécution d'un traitement de comparaison entre une valeur différentielle Diff2 entre une valeur maximale des signaux à composante basse fréquence de pixels W d'une pluralité de lignes côté intérieur proches du pixel d'intérêt et une valeur maximale des signaux à composante basse fréquence de pixels W d'une pluralité de lignes côté extérieur distantes du pixel d'intérêt, et un seuil Thr2, et

    la comparaison de résultats des deux cas des (a) et (b) ci-dessus, de telle sorte que, quand la valeur différentielle est supérieure au seuil dans les deux cas, le traitement de détection de fausse couleur détermine que le pixel d'intérêt est le pixel de fausse couleur.


     
    10. Programme destiné à conduire un dispositif de traitement d'image à exécuter un traitement d'image selon la revendication 9.
     




    Drawing



















































































    Cited references

    REFERENCES CITED IN THE DESCRIPTION



    This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

    Patent documents cited in the description