Defective pixel correction device and operating method thereof

By using pixel classification, selection and correction circuits in the image sensor to independently classify and select candidate pixels for correction, the problem of high power consumption caused by simultaneous execution of detection and correction in the existing technology is solved, and correction efficiency and system load are improved.

CN118737002APending Publication Date: 2024-10-01SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410347313.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-07-12
Filing Date
2024-03-26
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, during the correction process of defective pixels in image sensors, the detection and correction processes need to be performed simultaneously, resulting in intensive workload and high power consumption.

Method used

The pixel classification circuit, pixel selection circuit and correction circuit are used to classify and select candidate pixels through the level map, and detect and correct independently, reducing correction operations for unselected pixels and reducing power consumption.

Benefits of technology

Operations associated with defective pixels are simplified, power required for correction is reduced, correction efficiency and system load are improved, and power consumption is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118737002A_ABST
    Figure CN118737002A_ABST
Patent Text Reader

Abstract

A defective pixel correction apparatus is provided. The defective pixel correction apparatus includes: a pixel grading circuit configured to output a grade map including a plurality of grades indicating a defect grade and respectively corresponding to a plurality of pixels included in an input image; a pixel selection circuit configured to select one or more candidate pixels from the plurality of pixels based on whether the plurality of levels correspond to correction levels in the level map; and a correction circuit configured to correct the one or more candidate pixels.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the priority of Korean Patent Application No. 10-2023-0040778 filed on March 28, 2023, in the Korean Intellectual Property Office, and Korean Patent Application No. 10-2023-0090685 filed on July 12, 2023, in the Korean Intellectual Property Office, the disclosures of which are incorporated herein by reference in their entirety. Technical Field

[0003] The present disclosure relates to a defective pixel correction device and an operating method thereof. Background Art

[0004] Defective pixels may appear on an image sensor due to various reasons, including manufacturing defects or operational failures. A pixel correction function may be supported by an image signal processor and may be used to correct such defective pixels. The pixel correction function may include a correction process for correcting pixels and a detection process for detecting pixel problems (including defective pixels). In this case, the detection process according to the prior art requires correction values ​​to operate so that the detection process and the correction process are performed substantially or almost simultaneously. Therefore, the detection process according to the prior art requires an intensive workload of checking the correction values ​​of all pixels to detect defective pixels. Summary of the invention

[0005] One or more exemplary embodiments provide a defective pixel correction apparatus and an operating method thereof.

[0006] According to one aspect of an example embodiment, a defective pixel correction device includes: a pixel grading circuit configured to output a level map, the level map including multiple levels indicating defect levels and respectively corresponding to multiple pixels included in an input image; a pixel selection circuit configured to select one or more candidate pixels from the multiple pixels based on whether the multiple levels correspond to correction levels in the level map; and a correction circuit configured to correct the one or more candidate pixels.

[0007] According to one aspect of an example embodiment, a method for operating a defective pixel correction device includes: respectively assigning a plurality of levels among levels indicating defect levels to a plurality of pixels included in an input image; outputting a level map including the plurality of levels; selecting one or more candidate pixels from the plurality of pixels based on whether the plurality of levels correspond to correction levels in the level map; and correcting the one or more candidate pixels.

[0008] According to one aspect of an example embodiment, an electronic device includes: an image sensor; a pixel binning circuit configured to output a grade map based on assigned grades, the grade map including a plurality of pixels to which grades among a plurality of grades indicating defect levels are assigned, wherein the plurality of pixels are included in an input image output from the image sensor; a pixel selection circuit configured to select one or more candidate pixels having grades corresponding to a correction level in the grade map; and a correction circuit configured to correct the one or more candidate pixels. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other aspects, features and advantages of the present disclosure will be more clearly understood from the following description in conjunction with the accompanying drawings.

[0010] Figure 1 is a diagram illustrating an image processing apparatus according to an example embodiment.

[0011] Figure 2 is a diagram illustrating a defective pixel correction apparatus according to an exemplary embodiment.

[0012] Figure 3 and Figure 4 is a diagram illustrating an example of a pixel binning operation of a defective pixel correction apparatus according to an exemplary embodiment.

[0013] Figure 5 yes Figure 4 Magnified view of area "A".

[0014] Figure 6 is a diagram illustrating a correction circuit according to an example embodiment.

[0015] Figure 7 is a diagram showing a method according to an example embodiment Figure 6 Diagram of the operation of the correction circuit.

[0016] Figure 8 is a diagram illustrating a defective pixel correction apparatus according to an exemplary embodiment.

[0017] Fig. 9 is a diagram showing a method of performing a Figure 8 A diagram of a portion of an output image output by an aggregation circuit.

[0018] Fig.10 is a flowchart illustrating a method of operating a defective pixel correction apparatus according to example embodiments.

[0019] Fig.11 is a flowchart illustrating a candidate pixel selection operation of a defective pixel correction apparatus according to example embodiments.

[0020] Fig.12is a flowchart illustrating a correction operation of a defective pixel correction apparatus according to an exemplary embodiment.

[0021] Fig.13 is a flowchart illustrating an aggregate operation of a defective pixel correction apparatus according to example embodiments.

[0022] Fig.14 is a diagram illustrating an electronic device according to an example embodiment.

[0023] Fig.15 is a diagram illustrating an electronic device according to an example embodiment. DETAILED DESCRIPTION

[0024] Hereinafter, example embodiments will be described with reference to the accompanying drawings. The embodiments described herein are example embodiments, and therefore, the present disclosure is not limited thereto, and can be implemented in various other forms. Each example embodiment provided in the following description does not exclude being associated with another example or one or more features of another example embodiment that is also provided herein or is not provided herein but is consistent with the present disclosure. It should be understood that when an element or layer is referred to as being "on", "connected to" or "coupled to" another element or layer, it can be directly on another element or layer, directly connected or coupled to another element or layer, or there can be an intermediate element or layer. In contrast, when an element is referred to as being "directly on", "directly connected to" or "directly coupled to" another element or layer, there is no intermediate element or layer.

[0025] Figure 1 is a diagram illustrating an image processing apparatus according to an example embodiment.

[0026] refer to Figure 1 , an image processing apparatus 10 according to example embodiments may include an image sensor 1000 and an image signal processor (ISP) 2000. The image sensor 1000 and the image signal processor 2000 may be integrated on a single chip or implemented as separate chips.

[0027] The image sensor 1000 may include a pixel array 1100 , a row driver 1200 , an analog-to-digital converter 1300 , and a timing controller 1400 .

[0028] The pixel array 1100 may output a plurality of pixel signals (eg, analog pixel signals) based on incident light. The pixel array 1100 may include a plurality of unit pixels arranged in a matrix of a plurality of rows and a plurality of columns.

[0029] The unit pixels may be arranged in an appropriate pattern for sensing a color image. For example, the unit pixel may be a monochrome pixel that senses a visible light wavelength range. Each unit pixel may be combined with one of a red (R) filter, a green (G) filter, and a blue (B) filter. In addition, the unit pixel may be implemented as a pixel that detects a near infrared radiation (NIR) wavelength range. However, the wavelength range detectable by the unit pixel is not limited to the above examples.

[0030] In this case, a unit pixel combined with a G filter may be referred to as a G color pixel, a unit pixel combined with an R filter may be referred to as an R color pixel, and a unit pixel combined with a B filter may be referred to as a B color pixel.

[0031] A signal output from a unit pixel combined with a G filter may indicate a G color value. A signal output from a unit pixel combined with an R filter may indicate an R color value. A signal output from a unit pixel combined with a B filter may indicate a B color value.

[0032] In complementary metal oxide semiconductor (CMOS) and charge coupled device (CCD) image sensors, R, G, and B filters may be arranged in a regular pattern. As an example, R, G, and B filters may be arranged in a Bayer pattern. In this case, the image sensor 1000 may provide RGB Bayer image data that matches one of the R, G, and B colors of each unit pixel.

[0033] As another example, the R, G, and B filters may be arranged in a four-Bayer pattern. In this case, the image sensor 1000 may provide four-color filter array (CFA) image data that matches a value of one of the R, G, and B colors for each of four unit pixels arranged in a 2×2 array to constitute a 4×4 Bayer pattern.

[0034] However, the array of unit pixels included in the pixel array 1100 is not limited to the above examples and may be referred to as an RGBE mode, an RGBW mode, or an RGB-IR mode.

[0035] The electrical signal generated by each unit pixel may be provided to the analog-to-digital converter 1300 through a plurality of column lines CLm.

[0036] The row driver 1200 may select a single row of the pixel array 1100 under the control of the timing controller 1400. For example, the row driver 1200 may drive a plurality of unit pixels included in the pixel array 1100 in units of rows.

[0037] Then, a reset level signal, a sensing signal, etc. generated from each unit pixel of the pixel array 1100 may be transmitted to the analog-to-digital converter 1300 .

[0038] The analog-to-digital converter 1300 may be connected to each column of the pixel array 1100, and may convert an analog signal output from the pixel array 1100 into a digital signal. As an example, the analog-to-digital converter 1300 may include a plurality of analog-to-digital converters, and may convert an analog signal output for each column line into a digital signal in parallel. As another example, the analog-to-digital converter 1300 may include a single analog-to-digital converter, and may sequentially convert an analog signal into a digital signal. Hereinafter, for ease of description, the digital signal converted by the analog-to-digital converter 1300 may be referred to as an input image IN. The input image IN may indicate a plurality of pixel values ​​corresponding to unit pixels included in the pixel array 1100, respectively. A pixel value may be referred to as a pixel.

[0039] The timing controller 1400 may control at least a portion of the pixel array 1100, the row driver 1200, and the analog-to-digital converter 1300. The timing controller 1400 may provide control signals, such as a clock signal and a timing control signal, to the operations of the pixel array 1100, the row driver 1200, and the analog-to-digital converter 1300. The timing controller 1400 may include at least one of a logic control circuit, a phase-locked loop (PLL) circuit, a timing control circuit, and a communication interface circuit.

[0040] The image signal processor 2000 may receive image data provided from the image sensor 1000 and may process the received image data. For example, the image signal processor 2000 may perform defective pixel correction, image interpolation, color correction, white balance, gamma correction, color conversion, and the like.

[0041] In an example embodiment, the image signal processor 2000 may include a defective pixel correction device 2100 to correct defective pixels that may exist in the input image IN. The defective pixel correction device 2100 may be configured to detect defective pixels from the input image IN and correct the detected defective pixels. For example, the defective pixel correction device 2100 may perform pixel classification, selection of defective pixels, and correction of the selected defective pixels.

[0042] The defective pixel correction device 2100 according to an example embodiment may be configured to completely separate the selection of defective pixels indicated by the input image IN and the correction of the defective pixels. For example, the defective pixel correction device 2100 may be configured to classify pixels included in the input image IN by pixel classification, and perform the selection of defective pixels based on the levels of the pixels.

[0043] When pixel binning is not performed, a correction value CV (or ideal value) for a defective pixel can be obtained, and the amount of difference between the correction value CV and the current pixel value can be determined. Defective pixels can be selected based on the difference. For example, the selection and correction of defective pixels should be performed simultaneously for all pixels, which may cause significant power usage.

[0044] The image processing device 10 may include a defective pixel correction device 2100, which may select defective pixels by pixel grading without obtaining correction values ​​for the defective pixels. Therefore, the image processing device 10 may select defective pixels and correct only the selected defective pixels. In this regard, correction operations may not be performed on pixels that are not selected as defective pixels. Therefore, operations associated with defective pixels are simplified, and the power required for correction is reduced.

[0045] Figure 2 is a diagram illustrating a defective pixel correction apparatus according to an exemplary embodiment.

[0046] refer to Figure 2 According to an example embodiment, a defective pixel correction device 2100a may correct defective pixels from an input image IN and may output an output image OUT in which the defective pixels are corrected. The defective pixel correction device 2100a may include a pixel classification circuit 2110, a pixel selection circuit 2120, and a correction circuit 2130.

[0047] The pixel classification circuit 2110 can classify a plurality of pixels included in the input image IN. The plurality of pixels can be respectively assigned to a grade in a plurality of grades based on the classification. In an example embodiment, the grade assigned to the pixel can be used to classify the severity of a suspected defect in the current pixel before correcting the current pixel, and can be understood as information indicating the level of the defect. Then, the assigned grade can be used as reference information for the pixel selection circuit 2120 and the correction circuit 2130.

[0048] According to various embodiments, the pixel grading circuit 2110 may assign a grade to each of the plurality of pixels.

[0049] For example, the pixel grading circuit 2110 may assign a grade with respect to a target pixel based on a comparison between an average value or a median value of a plurality of adjacent pixels included in an image block and a pixel value of a target pixel among a plurality of pixels. An image block may be an area required for operating with respect to a target pixel in an input image IN. For example, an image block may have a size of M×N, where M and N may be positive integers that are the same as or different from each other. The center of the image block may be a target pixel. In an image block, pixels other than the target pixel may be referred to as adjacent pixels. The pixel grading circuit 2110 may sort the target pixel and adjacent pixels, calculate an average value or a median value of the sorted pixels, or extract a maximum value and / or a minimum value from the sorted pixels.

[0050] For example, the pixel grading circuit 2110 may calculate the difference between the pixel value of the target pixel and the calculated average or median value, and may assign a grade based on the degree of approximation to the calculated difference. Alternatively, the pixel grading circuit 2110 may assign a grade based on the degree to which the pixel value of the target pixel approximates the maximum value or the minimum value. Alternatively, the pixel grading circuit 2110 may perform the above-mentioned grading technique according to the type of the input image IN (e.g., the above-mentioned RGB, YUV, BGR, HSV, etc.) or the type of the input image IN (e.g., the above-mentioned Bayer, Tetra, Nona, etc.) or other various techniques.

[0051] According to an example embodiment, the pixel grading circuit 2110 may output a grade map G_Map including a plurality of pixels to which grades are respectively assigned. Each grade may be assigned from a plurality of grades. The grade map G_Map may have the same form (i.e., size) as the input image IN, but each pixel may have one of the assigned grades instead of the original pixel value. For example, the grade map G_Map may indicate the grade of a pixel mapped to the input image IN instead of the pixel value. For example, each pixel of the input image IN may be associated with a corresponding pixel of the grade map G_Map in a one-to-one correspondence.

[0052] The pixel selection circuit 2120 may be configured to select one or more candidate pixels CAN_P having a grade corresponding to a correction level in the grade map G_Map output by the pixel classification circuit 2110. Each of the candidate pixels CAN_P may be a pixel to be corrected by the correction circuit 2130. As a result, the pixel selection circuit 2120 may determine the correction strength of the input image IN.

[0053] The correction level for selecting the candidate pixel CAN_P may be set according to various embodiments.

[0054] In an example embodiment, the correction level may be preset to one or more levels among the plurality of levels. For example, when the plurality of levels include the first to third levels, the correction level may be set to include at least one of the second to third levels. In this case, the pixel selection circuit 2120 may select a pixel corresponding to at least one of the second to third levels from the level map G_Map.

[0055] Alternatively, in example embodiments, the correction level may be dynamically set by the pixel selection circuit 2120. For example, the pixel selection circuit 2120 may set at least one of the plurality of levels as the correction level based on a ratio of each of the plurality of levels in the level map G_Map.

[0056] For example, when the ratio of the second level to the third level in the level map G_Map is less than a specific ratio, the pixel selection circuit 2120 may set both the second level to the third level as the correction level. Alternatively, when the ratio of the second level to the third level in the level map G_Map is greater than a specific ratio, the pixel selection circuit 2120 may set one of the second level to the third level as the correction level.

[0057] Alternatively, the pixel selection circuit 2120 may set the correction level based on information associated with the state of the input image IN (e.g., illuminance, noise information, etc.). For example, when the illuminance value of the input image IN is less than or equal to a threshold value, the pixel selection circuit 2120 may increase the number of levels included in the correction level.

[0058] The above-described method of determining the correction level is merely an example, and the pixel selection circuit 2120 may determine the correction level based on various other examples.

[0059] The correction circuit 2130 may be configured to correct one or more candidate pixels CAN_P. For example, the correction circuit 2130 may correct only one or more candidate pixels CAN_P selected from all pixels included in the input image IN through the pixel selection circuit 2120.

[0060] According to various embodiments, the correction circuit 2130 may correct each of the one or more candidate pixels CAN_P.

[0061] In an example embodiment, the correction circuit 2130 may calculate a correction value based on one or more candidate pixels CAN_P and a plurality of adjacent pixels included in an image block including the one or more candidate pixels CAN_P. For example, the image block may have a size of M×N, where M and N may be positive integers that are the same as or different from each other. The center of the image block may be one of the one or more candidate pixels CAN_P. For example, the correction circuit 2130 may calculate a correction value based on pixel information such as pixel values ​​of the candidate pixel CAN_P and adjacent pixels, colors corresponding to the pixel values, assigned levels, and the number of valid pixels in all pixels.

[0062] In an example embodiment, the correction circuit 2130 may use the average or median value of the pixel values ​​of the pixels having the same color as the candidate pixel CAN_P among the neighboring pixels as the correction value. Alternatively, the correction circuit 2130 may use the pixel value of the neighboring pixels closest to the pixel value of the candidate pixel CAN_P as the correction value.

[0063] In an example embodiment, the correction circuit 2130 may calculate the correction value by local channel compensation. The term "local channel compensation" may refer to compensation of the average value of all pixels in the image block, regardless of color. For example, the correction circuit 2130 may use the corrected average value as the correction value.

[0064] In example embodiments, the correction circuit 2130 may measure gradients of pixels included in the image block, and may calculate correction values ​​based on pixels corresponding to a direction in which the measured pixels have the highest gradient.

[0065] In an exemplary embodiment, the correction circuit 2130 may receive information for calculating a correction value from another device connected to the defective pixel correction device 2100a, and may calculate the correction value based on the received information.

[0066] The correction circuit 2130 is not limited to the above-described embodiment, and may calculate a correction value for correcting the candidate pixel CAN_P based on various other techniques.

[0067] The correction circuit 2130 may correct the candidate pixel CAN_P included in the input image IN to output an output image OUT in which the candidate pixel CAN_P is replaced by the correction pixel.

[0068] Therefore, the defective pixel correction device 2100a according to the above embodiment can select defective pixels by pixel classification without obtaining the correction value of the defective pixel. Then, the defective pixel correction device 2100a can perform the calculation of the correction value and perform correction only on the selected candidate pixel CAN_P, so that the operation associated with the defective pixel can be simplified and the power cost can be reduced.

[0069] In addition, the defective pixel correction apparatus 2100a according to example embodiments may dynamically set a level of correction to be applied in consideration of a state of the input image IN or the like.

[0070] Figure 3 and Figure 4 are diagrams showing various examples of pixel binning operations of a defective pixel correction device, Figure 5 yes Figure 4 FIG. 1 is an enlarged view of the region “A” of FIG. 1 and more clearly shows the level map G_Map. Hereinafter, description of redundant details will be omitted.

[0071] As an example, the defective pixel correction device 2100a may be based on the corresponding Figure 3 For example, the defective pixel correction device 2100a may respectively assign each of the plurality of pixels included in the input image IN to one of three levels (first to third levels), and then may output the level map G_Map based on the assigned levels. Figure 4 and Figure 5 , the first level may be represented by black and may be a level determined to be free of defects, the second level may be represented by gray and may be determined to be a level that is significantly less likely to be defective, and the third level may be represented by white and may be a level determined to be very likely to be defective. For example, it should be understood that the overall correction strength of the input image IN is determined according to whether the second level is set as the correction level, the criterion for selecting the candidate pixel CAN_P. For example, when only the third level is set as the correction level for selecting the candidate pixel CAN_P, the strength of the overall correction may be relatively low, and when both the second level and the third level are set as the correction level for selecting the candidate pixel CAN_P, the strength of the overall correction may be relatively high.

[0072] For example, the defective pixel correction device 2100a may assign a first grade to the target pixel based on satisfaction of a first condition, which is defined as a difference between a pixel value of the target pixel and an average or median value of neighboring pixels being less than a first threshold.

[0073] For example, the defective pixel correction device 2100a may assign the third level to the target pixel based on the satisfaction of the second condition, which is defined as the difference between the pixel value of the target pixel and the average value or median value of the adjacent pixels being greater than or equal to the second threshold. In addition, the defective pixel correction device 2100a may assign the third level to the target pixel based on the satisfaction of at least one of an additional condition defined as the difference between the pixel value of the target pixel and the minimum value of the adjacent pixels being less than the third threshold and an additional condition defined as the difference between the pixel value of the target pixel and the maximum value of the adjacent pixels being less than the third threshold in addition to the second condition.

[0074] For example, the defective pixel correction apparatus 2100a may assign the second level to the target pixel based on the target pixel satisfying neither the first condition nor the second condition.

[0075] As described above, the first to third thresholds for assigning the first to third levels may be set according to various exemplary embodiments. For example, the first to third thresholds may be preset values. Alternatively, the first to third thresholds may be values ​​calculated based on pixels adjacent to the target pixel. For example, at least one of the first to third thresholds may be calculated as a value corresponding to a specific ratio of an average value of adjacent pixels.

[0076] exist Figure 4 and Figure 5 In the case of , the third level with high defect possibility accounts for the lowest ratio in the entire level map G_Map. Therefore, the correction strength can be determined according to whether the second level with lower defect possibility than the third level is set as the correction level, the criterion for selecting the candidate pixel CAN_P. For example, it should be understood that when the correction level is set to include both the third level and the second level, the correction strength is slightly high, and when the correction level is set to include only the third level, the correction strength is slightly low.

[0077] Figures 3 to 5 It is provided as an example, and the defective pixel correction device 2100a according to the example embodiment may perform pixel binning not only based on three levels but also based on less than three levels or more than three levels.

[0078] Figure 6 is a diagram illustrating a correction circuit according to an example embodiment.

[0079] refer to Figure 6 , the correction circuit 2130 according to example embodiments may include a block copy circuit 2131 , a correction value calculation circuit 2133 , and an update circuit 2135 .

[0080] The block copy circuit 2131 may copy the image block PAT generated based on the input image IN and the candidate pixel CAN_P. For example, the block copy circuit 2131 may copy only the image block PAT that can be applied to the candidate pixel CAN_P among the pixels included in the input image IN. For example, as described above, based on a single candidate pixel CAN_P, the image block PAT may have a size of M×N. The image block PAT may be copied for each of one or more candidate pixels CAN_P in the image block PAT. The copied image block PAT may be used to perform the correction operation of the correction circuit 2130 on each of the one or more candidate pixels CAN_P in the image block PAT in parallel.

[0081] The correction value calculation circuit 2133 may calculate the correction value CV of each of the one or more candidate pixels CAN_P. The correction value calculation circuit 2133 may calculate the correction value CV based on pixel information of the one or more candidate pixels CAN_P included in the copied image block PAT (e.g., pixel values ​​of the candidate pixel CAN_P and adjacent pixels, colors corresponding to the pixel values, assigned levels, the number of valid pixels among all pixels, etc.).

[0082] The update circuit 2135 may update the pixel values ​​of one or more candidate pixels CAN_P to correction pixels C_P1 to C_Pn based on the correction value CV. All candidate pixels CAN_P included in the input image IN may be replaced by correction pixels by the update circuit 2135. The update circuit 2135 may output an output image OUT including the corrected pixels.

[0083] Figure 7 It is shown Figure 6 Diagram of the operation of the correction circuit.

[0084] refer to Figure 7 , the correction circuit 2130 according to example embodiments may perform parallel operations on the copied image blocks PAT.

[0085] For example, when the number of candidate pixels CAN_P is n (where n is a positive integer), the block copy circuit 2131 may copy the image block PAT n times to obtain n image blocks PAT1 to PATn. The correction value calculation circuit 2133 may calculate correction values ​​CV1 to CVn for each of the copied image blocks PAT1 to PATn and the candidate pixels CAN_P, and may perform parallel calculations of correction values ​​CV1 to CVn for all candidate pixels CAN_P. In this case, the operation of calculating the correction value of each candidate pixel CAN_P may be independent of other operations. For example, one of the correction values ​​CV1 to CVn calculated for one candidate pixel CAN_P may not be used in the operation of calculating another correction value of the correction values ​​CV1 to CVn for another candidate pixel CAN_P. The update circuit 2135 may obtain correction values ​​CV1 to CVn from the correction value calculation operation performed on the candidate pixels CAN_P in parallel, and may update the candidate pixels CAN_P to correction values ​​CV1 to CVn. Therefore, all candidate pixels may be updated to correction pixels C_P1 to C_Pn.

[0086] According to the above-described embodiment, the candidate pixel CAN_P has been selected by pixel grading before correcting the defective pixel, so that a parallel correction operation can be performed with less system load. Therefore, according to the exemplary embodiment, the correction operation speed can be increased. In addition, the correction operation is performed only on the candidate pixel CAN_P, so that power consumption can be reduced.

[0087] Figure 8 is a diagram showing a defective pixel correction apparatus according to an example embodiment, and Fig. 9 It is shown by Figure 8 A diagram of a portion of an output image output by an aggregation circuit.

[0088] refer to Figure 8 , in addition to the pixel classification circuit 2110 , the pixel selection circuit 2120 , and the correction circuit 2130 , the defective pixel correction device 2100 b according to the example embodiment further includes an aggregation circuit 2140 .

[0089] As described above, the pixel classification circuit 2110 may perform pixel classification on the input image IN, the pixel selection circuit 2120 may select the candidate pixel CAN_P based on the assigned grade, and the correction circuit 2130 may perform a correction operation on the candidate pixel CAN_P.

[0090] In this case, the pixel selection circuit 2120 according to the example embodiment may select a pixel corresponding to the correction level as the candidate pixel CAN_P according to the above-described embodiment, or may receive the defective pixel information DP_IF from another device connected to the defective pixel correction device 2100b. For example, the defective pixel information DP_IF may be Figure 1 The defective pixel information DP_IF may include information about Figure 1 The information of a pixel previously determined as a defective pixel among the pixels included in the pixel array of the image sensor. For example, the defective pixel indicated by the defective pixel information DP_IF may be a pixel that has been determined as a defective pixel during processing of the image sensor and may be referred to as a static bad pixel BP.

[0091] The pixel selection circuit 2120 receiving the defective pixel information DP_IF may select the pixel indicated by the defective pixel information DP_IF as the candidate pixel CAN_P regardless of the rank.

[0092] The aggregation circuit 2140 may be configured to select any one of the correction value CV and the reference value RV of the candidate pixel CAN_P. The reference value RV may be received from another device connected to the defective pixel correction device 2100b. According to example embodiments, the other device may be configured to perform a pixel correction function separately from the defective pixel correction device 2100b. Therefore, the reference value RV may also replace the candidate pixel CAN_P. For example, at least one reference value RV may exist in the output image.

[0093] In an exemplary embodiment, the aggregation circuit 2140 may compare the difference between the pixel value of the candidate pixel CAN_P before correction and the correction value CV with the difference between the pixel value of the candidate pixel CAN_P before correction and the reference value RV, and may select any one of the correction value CV and the reference value RV showing a larger difference. For example, the aggregation circuit 2140 may select a single pixel value having a larger correction effect from the pixel values ​​derived through different correction processes.

[0094] For example, Fig. 9 As shown, the output image OUT may be output in the form of a mixture of the correction value CV and the reference value RV by the aggregation circuit 2140. In the first pixel P1 output as the correction value CV, the correction value caused by the correction value CV is greater than the correction value caused by the reference value RV, so that the aggregation circuit 2140 may select the correction value CV. On the other hand, in the second pixel P2 output as the reference value RV, the correction value caused by the reference value RV is greater than the correction value caused by the correction value CV, so that the aggregation circuit 2140 may select the reference value RV.

[0095] In an example embodiment, the aggregation circuit 2140 may be implemented as a multiplexer (MUX). When the aggregation circuit 2140 is implemented as a MUX, the aggregation circuit 2140 may receive a selection signal from another device connected to the defective pixel correction device 2100b, and may select one of the correction value CV and the reference value RV based on the received selection signal. In this case, the selection signal may indicate a single pixel among the candidate pixels CAN_P whose correction value CV is greater than the reference value RV.

[0096] According to the above embodiment, the defective pixel correction device 2100b can aggregate the defective pixel correction process by pixel classification with another correction process. For example, the correction value CV can be selected for each candidate pixel CAN_P by the correction process with a high correction value CV, so that the performance of defective pixel correction can be improved.

[0097] Fig.10 is a flowchart illustrating a method of operating a defective pixel correction apparatus according to example embodiments.

[0098] refer to Fig.10In operation S110, the defective pixel correction apparatus 2100a and 2100b may perform pixel grading to assign one of a plurality of grades indicating defect levels to a plurality of pixels included in the input image IN. The pixel grading may be performed by the various embodiments described above. For example, the defective pixel correction apparatus 2100a and 2100b may sort the pixel values ​​of the target pixel and the adjacent pixels included in the image block PAT, and may assign the grade of the target pixel based on the amount of difference between the pixel value of the target pixel and the average value, median value, maximum value, and / or minimum value of the sorted pixel values.

[0099] In operation S120, the defective pixel correction apparatus 2100a and 2100b may output a level map G_Map including a plurality of pixels to which levels are assigned. Each pixel included in the level map G_Map may be mapped to a level assigned through operation S110, rather than a pixel value.

[0100] In operation S130, the defective pixel correction apparatuses 2100a and 2100b may select one or more candidate pixels CAN_P having a grade corresponding to the correction level in the grade map G_Map. For example, the defective pixel correction apparatuses 2100a and 2100b may select pixels having an assigned grade corresponding to the correction level as candidate pixels CAN_P.

[0101] Alternatively, the method may further include receiving defective pixel information from another connected device. For example, the defective pixel indicated by the defective pixel information may be a pixel that has been determined to be defective during processing of the image sensor. Therefore, when the defective pixel information is received, the defective pixel correction devices 2100a and 2100b may select the pixel indicated by the defective pixel information as the candidate pixel CAN_P regardless of the grade and regardless of operation S130.

[0102] In operation S140 , the defective pixel correction apparatuses 2100 a and 2100 b may correct the selected one or more candidate pixels CAN_P.

[0103] Fig.11 is a flowchart illustrating an operation of selecting candidate pixels of a defective pixel correction apparatus according to example embodiments.

[0104] refer to Fig.11, in operation S210, the defective pixel correction devices 2100a and 2100b may set at least one of the multiple levels as the correction level to be corrected. The defective pixel correction devices 2100a and 2100b may set the correction level according to various embodiments. For example, the correction level may be preset to one or more of the multiple levels (in this case, operation S210 may be omitted). Alternatively, the correction level may be set dynamically. For example, the defective pixel correction devices 2100a and 2100b may also set at least one of the multiple levels as the correction level based on the ratio of the multiple levels in the level map G_Map. For example, the defective pixel correction devices 2100a and 2100b may set the correction level based on information associated with the state of the input image IN.

[0105] In operation S220, the defective pixel correction devices 2100a and 2100b may determine whether the single assigned grade corresponds to the correction level. When the grade does not satisfy the correction level, the defective pixel correction devices 2100a and 2100b may determine the target pixel as a normal pixel. Alternatively, when the grade corresponds to the correction level, the defective pixel correction devices 2100a and 2100b may determine the target pixel as a candidate pixel CAN_P.

[0106] Fig.12 is a flowchart of a correction operation of a defective pixel correction apparatus according to example embodiments.

[0107] refer to Fig.12 In operation S310, the defective pixel correction apparatus 2100a and 2100b may copy the image block PAT for one or more candidate pixels CAN_P. For example, operation S310 may be performed only on one or more candidate pixels CAN_P selected by operation S130. The image blocks PAT of the number of candidate pixels CAN_P relative to the candidate pixels CAN_P may be copied from the input image IN.

[0108] In operation S320, the defective pixel correction apparatus 2100a and 2100b may calculate a correction value CV based on one or more candidate pixels CAN_P and a plurality of adjacent pixels included in the image block PAT. In operation S330, the defective pixel correction apparatus 2100a and 2100b may update the pixel value of the candidate pixel CAN_P to the correction value CV calculated by operation S320. In this case, operations S320 and S330 may be performed in parallel on one or more candidate pixels CAN_P based on the image block PAT pre-copied by operation S310.

[0109] Fig.13 is a flowchart illustrating an aggregate operation of a defective pixel correction apparatus according to example embodiments.

[0110] refer to Fig.13 In operation S410, the defective pixel correction apparatus 2100a and 2100b may receive a reference value RV of one or more candidate pixels CAN_P. For example, the reference value RV may be received from another apparatus connected to the defective pixel correction apparatus 2100a and 2100b and configured to perform a pixel correction function separately from the defective pixel correction apparatus 2100a and 2100b. For example, there may be at least one reference value RV.

[0111] In operation S420 , the defective pixel correction apparatuses 2100 a and 2100 b may calculate a difference d1 between a pixel value of the candidate pixel CAN_P before correction and the correction value CV, and a difference d2 between a pixel value of the candidate pixel CAN_P before correction and the reference value RV.

[0112] In operation S430, the defective pixel correction apparatus 2100a and 2100b may determine whether the calculated difference d1 is greater than the calculated difference d2. When the difference d1 is greater than the difference d2, the process proceeds to operation S440, where the defective pixel correction apparatus 2100a and 2100b may select the correction value CV as the value for updating. Alternatively, when the difference d1 is less than the difference d2, the process proceeds to operation S450, where the defective pixel correction apparatus 2100a and 2100b may select the reference value RV as the value for updating.

[0113] Therefore, the aggregation operation according to the example embodiment is advantageous because when defective pixel correction devices 2100a and 2100b and another device that performs a pixel correction function separately exist and have different correction performances for a single target pixel, the defective pixel correction devices 2100a and 2100b can select a single value with the highest performance as an output value.

[0114] Fig.14 is a diagram illustrating an electronic device according to an example embodiment.

[0115] refer to Fig.14 , the electronic device 20 according to an example embodiment may include an image processing device 3100, a communication device 3200, an audio processing device 3300, a buffer memory 3400, a nonvolatile memory 3500, a user interface 3600, a sensor 3700, a main processor 3800, and a power manager 3900. In some embodiments, the image signal processor 3130 may be provided as a part of the image sensor 3120, provided on a circuit or chip separate from the image processing device 3100, and / or provided as a part of the main processor 3800.

[0116] The image sensor 3120 may capture an image through the lens 3110 and may output a digital signal corresponding to the captured image (eg, input image IN).

[0117] The image signal processor 3130 may perform various processes on the signal output from the image sensor 3120. For example, the image signal processor 3130 according to example embodiments may include a defective pixel corrector 3131. According to the various embodiments described above, the defective pixel corrector 3131 may output a level map G_Map including a plurality of pixels to which levels are assigned, select one or more candidate pixels CAN_P having a level corresponding to a correction level in the level map G_Map, and correct the selected one or more candidate pixels CAN_P based on the levels assigned to a plurality of pixels included in the input image IN among the plurality of levels indicating defect levels.

[0118] The restored digital signal output by the image signal processor 3130 may be output to the main processor 3800 .

[0119] The communication device 3200 can exchange signals with an external device / system through an antenna 3210. The transceiver 3220 and the modulator / demodulator (MODEM) 3230 of the communication device 3200 can process the exchanged signals according to various communication protocols. For example, the transceiver 3220 and the MODEM 3230 of the communication device 3200 can process the signals exchanged with the external device / system according to wireless communication protocols such as Long Term Evolution (LTE), World Interoperability for Microwave Access (WIMAX), Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Bluetooth, Near Field Communication (NFC), Wireless Fidelity (Wi-Fi), Radio Frequency Identification (RFID), etc. In some embodiments, the communication device 3200 can be provided as a part of the main processor 3800.

[0120] The audio processing device 3300 may process sound information using an audio signal processor 3310. The audio processing device 3300 may receive audio input through a microphone 3320, or may output audio through a speaker 3330.

[0121] The buffer memory 3400 may temporarily store data used for the operation of the electronic device 20 (e.g., data processed or to be processed by the main processor 3800). For example, the buffer memory 3400 may include a volatile / non-volatile memory such as a static random access memory (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a phase change RAM (PRAM), a magnetoresistive RAM (MRAM), a resistive RAM (ReRAM), a ferroelectric RAM (FRAM), etc.

[0122] As an example, an image captured by the image processing device 3100 may be stored in the buffer memory 3400. The image stored in the buffer memory 3400 may be subjected to high dynamic range (HDR) processing by the main processor 3800.

[0123] The non-volatile memory 3500 can store data regardless of power supply. As an example, the non-volatile memory 3500 may include a non-volatile memory such as flash memory, PRAM, MRAM, ReRAM, FRAM, etc. As an example, the non-volatile memory 3500 may include a removable memory (such as a hard disk drive (HDD), a solid state drive (SSD), a secure digital (SD) card, or a universal flash storage (UFS) card) and / or an embedded memory (such as an embedded multimedia card (eMMC)).

[0124] The user interface 3600 may mediate communication between the user and the electronic device 20. As an example, the user interface 3600 may include an input interface such as a keypad, a button, a touch screen, a touch pad, a visual sensor, a motion sensor, a gyroscope sensor, etc. As an example, the user interface 3600 may include an output interface such as an organic LED (OLED) display device, an active matrix OLED (AMOLED) display device, a light emitting diode (LED) display device, a liquid crystal display (LCD) device, a motor, an LED lamp, etc.

[0125] The sensor 3700 may detect various types of physical energy provided from the outside of the electronic device 20. As an example, the sensor 3700 may detect a transmission medium of physical energy such as temperature, voice, or light. As an example, the sensor 3700 may detect illuminance and transmit data representing the detected illuminance to the main processor 3800.

[0126] The main processor 3800 may process various operations to control the overall operation of the electronic device 20. The main processor 3800 may be implemented as a general-purpose processor, a dedicated processor, or an application processor, and may include one or more processor cores. The main processor 3800 may control the image processing device 3100 to obtain image data about an object outside the electronic device 20. As an example, the main processor 3800 may synthesize an HDR image based on an image associated with a low conversion gain and an image associated with a high conversion gain provided from the image processing device 3100.

[0127] The power manager 3900 may appropriately convert power received from a battery and / or an external power source, and may supply the converted power to components of the electronic device 20.

[0128] Fig.15 is a diagram illustrating an electronic device according to an example embodiment.

[0129] refer to Fig.15 In an exemplary embodiment, the image signal processor 3130 may be provided as a part of the main processor 3801. The image signal processor 3130 may perform various processes on the signal output from the image sensor 3120. For example, the image signal processor 3130 according to an exemplary embodiment may include a defective pixel correction device 3131. According to the various embodiments described above, the defective pixel correction device 3131 may output a level map G_Map including a plurality of pixels to which levels are assigned, select one or more candidate pixels CAN_P having a level corresponding to a correction level in the level map G_Map, and correct the selected one or more candidate pixels CAN_P based on the levels assigned to a plurality of pixels included in the input image IN among the plurality of levels indicating defect levels. The restored digital signal output by the image signal processor 3130 may be output to the main processor 3801.

[0130] As described above, any electronic device and / or a portion thereof according to any example embodiment may be implemented by one or more instances of processing circuitry, such as hardware including logic circuitry, a combination of hardware and software (such as a processor for executing software), or a combination thereof.

[0131] As described above, according to example embodiments, a defective pixel correction apparatus and a method of operating the defective pixel correction apparatus may be provided.

[0132] In some embodiments, according to the embodiments, Figure 1 , 2, 6-8, 14 and 15, each component represented by the box can be implemented as various numbers of hardware, software and / or firmware structures that perform the above-mentioned corresponding functions. For example, at least one of these components may include various hardware components, including digital circuits, programmable or non-programmable logic devices or arrays, application-specific integrated circuits (ASICs), transistors, capacitors, logic gates or other circuits using direct circuit structures, such as memories, processors, logic circuits, lookup tables, etc., which can perform corresponding functions by the control of one or more microprocessors or other control devices. In addition, at least one of these components may include a part of a module, program or code, which contains one or more executable instructions for performing a specified logical function and performed by one or more microprocessors or other control devices. In addition, at least one of these components may also include a processor or may be implemented by a processor, such as a central processing unit (CPU), a microprocessor, etc. that performs the corresponding functions. The functional aspects of the embodiment can be implemented in an algorithm executed on one or more processors. In addition, the parts, elements, modules or units represented by blocks or processing steps can use any number of related technologies for electronic configuration, signal processing and / or control, data processing, etc.

[0133] While aspects of the example embodiments have been shown and described above, it will be apparent to those skilled in the art that modifications and variations may be made without departing from the scope of the appended claims.

Claims

1. A defective pixel correction device, include: a pixel binning circuit configured to output a level map including a plurality of levels indicating defect levels and respectively corresponding to a plurality of pixels included in an input image; a pixel selection circuit configured to select one or more candidate pixels from the plurality of pixels based on whether the plurality of levels correspond to correction levels in the level map; as well as A correction circuit is configured to correct the one or more candidate pixels.

2. The defective pixel correction device according to claim 1, in, The pixel grading circuit is further configured to assign a grade to the target pixel based on a comparison of an average value or a median value of a plurality of neighboring pixels included in the image block with a pixel value of the target pixel among the plurality of pixels.

3. The defective pixel correction device according to claim 2, in, The pixel binning circuit is further configured to: Allocating a first level as the level of the target pixel based on a first condition that a difference between the pixel value and the average value or the median value is less than a first threshold value; Allocating a third level as the level of the target pixel based on a second condition that a difference between the pixel value and the average value or the median value is greater than a second threshold value; as well as Based on the target pixel satisfying neither the first condition nor the second condition, a second level is assigned as the level of the target pixel.

4. The defective pixel correction device according to claim 3, in, The correction level includes at least one of the second level and the third level.

5. The defective pixel correction device according to claim 1, in, The pixel selection circuit is also configured to set at least one of the plurality of levels to the correction level based on a ratio of one of the plurality of levels in the level map to another of the plurality of levels in the level map.

6. The defective pixel correction device according to claim 1, in, The correction circuit is further configured to: calculating one or more correction values ​​based on the one or more candidate pixels and a plurality of neighboring pixels included in an image block, wherein the image block includes the one or more candidate pixels; as well as The one or more candidate pixels are corrected based on the one or more correction values.

7. The defective pixel correction device according to claim 6, in, The correction circuit is further configured to calculate the one or more correction values ​​for the one or more candidate pixels and the correction for the one or more candidate pixels in parallel.

8. The defective pixel correction device according to claim 6, in, The correction circuit is further configured to replicate the image block for each of the one or more candidate pixels. 9 . The defective pixel correction device according to claim 6 , further comprising a replica circuit configured to select one of a correction value and a reference value for each of the one or more candidate pixels.

10. The defective pixel correction device according to claim 9, in, The replica circuit is further configured to: comparing a first difference between one or more pixel values ​​of the one or more candidate pixels before correction and the correction value with a second difference between the one or more pixel values ​​and the reference value; as well as The correction value is selected based on the first difference being greater than the second difference, and the reference value is selected based on the first difference being not greater than the second difference.

11. The defective pixel correction device according to claim 1, in, The correction level is preset to at least one level among the plurality of levels.

12. A method for operating a defective pixel correction device, the method include: assigning a plurality of levels among levels indicating defect levels to a plurality of pixels included in the input image, respectively; outputting a level map including the plurality of levels; selecting one or more candidate pixels from the plurality of pixels based on whether the plurality of levels correspond to correction levels in the level map; as well as The one or more candidate pixels are corrected.

13. The method according to claim 12, further comprising: include: setting at least one of the plurality of levels to the correction level; determining which of the plurality of grades corresponds to the correction level; as well as The one or more candidate pixels are selected based on which of the plurality of classes corresponds to the correction level.

14. The method according to claim 12, further comprising: include: replicating an image block for each of the one or more candidate pixels; as well as One or more correction values ​​are calculated based on the one or more candidate pixels and a plurality of neighboring pixels included in the image block.

15. The method according to claim 14, further comprising: include: receiving reference values ​​of the one or more candidate pixels; calculating a first difference between one or more pixel values ​​of the one or more candidate pixels before correction and a correction value among the one or more correction values, and a second difference between the one or more pixel values ​​of the one or more candidate pixels before correction and the reference value; as well as The correction value is selected based on the first difference being greater than the second difference, and the reference value is selected based on the first difference being not greater than the second difference.

16. The method according to claim 14, in, Calculating the one or more correction values ​​and the correction are performed in parallel on the one or more candidate pixels.

17. The method according to claim 13, in, The correction level is set based on a ratio of each of the plurality of levels in the level map.

18. An electronic device, include: Image sensor; a pixel binning circuit configured to output a grade map based on the assigned grades, the grade map including a plurality of pixels to which grades among a plurality of grades indicating defect levels are assigned, wherein the plurality of pixels are included in an input image output from the image sensor; a pixel selection circuit configured to select one or more candidate pixels in the grade map having a grade corresponding to a correction level; and A correction circuit is configured to correct the one or more candidate pixels.

19. The electronic device according to claim 18, in, The pixel selection circuit is also configured to set at least one of the plurality of levels to the correction level based on a ratio of one of the plurality of levels in the level map to another of the plurality of levels in the level map.

20. The electronic device according to claim 18, in, The correction circuit is further configured to: calculating one or more correction values ​​based on the one or more candidate pixels and a plurality of neighboring pixels included in an image block, wherein the image block includes the one or more candidate pixels; as well as The one or more candidate pixels are corrected based on the one or more correction values.