Image signal processor, operation method thereof, and electronic device
By executing multiple sharpening filters and weight adjustments in parallel in the image signal processor, and adjusting the weights according to the edge strength of the image, the problem of image quality degradation caused by the sharpening filters in the existing technology is solved, and a better overall image is achieved. Clarity and quality.
Patent Information
- Application Number
- CN201911003270.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-06
- Filing Date
- 2019-10-18
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2039-10-18
AI Technical Summary
When existing image signal processors use sharpening filters, although they can improve the clarity of some areas of the image, they will reduce the clarity of other areas or introduce abnormal signals, resulting in a decrease in overall image quality.
An image signal processor is designed, which contains multiple sharpening filters and weight adjusters. It generates first and second sharpness data by executing different filtering operations in parallel, adjusts the weight according to the edge strength of the image, and combines the output data. , to improve overall image quality.
Through this method, it is possible to improve the clarity of texture areas while maintaining image edge clarity, improve the overall image quality, and avoid the clarity reduction and abnormal signal problems caused by a single filter.
Smart Images

Figure CN111292252B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the priority of Korean Patent Application No. 10-2018-0155946 filed on December 6, 2018 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] The present disclosure relates to an electronic device, and more particularly, to an image signal processor, an operating method thereof, and an electronic device including the same. Background Art
[0004] An image sensor included in a smart phone, a tablet personal computer (PC), or a digital camera acquires image information about an external object by converting light reflected from the external object into an electrical signal. The electrical signal acquired from the image sensor is converted into image information actually recognized by a person or various image signal processing operations performed to improve image quality.
[0005] As an example, various sharpening filters are used to improve the sharpness of an image. Each sharpening filter has unique characteristics. Due to the unique characteristics of the sharpening filter, the quality of the sharpness in a specific area of the image may be improved, but the quality of the sharpness in another area of the image may be reduced, or abnormal signals in another area of the image may be included. Therefore, the overall quality of the image may be reduced. Summary of the invention
[0006] According to an example embodiment of the present disclosure, an image signal processor may include: a first sharpening filter configured to perform a first filtering operation on raw data output from an external image device to output first clarity data. A second sharpening filter configured to perform a second filtering operation on the raw data in parallel with the first filtering operation to output second clarity data. An edge determiner configured to determine an edge strength of an image corresponding to the raw data based on the raw data, and to adjust a first weight and a second weight based on the determined edge strength. A combiner configured to combine first weight data reflected in the first clarity data by the adjusted first weight with second weight data reflected in the second clarity data by the adjusted second weight to generate output data.
[0007] According to an example embodiment of the present disclosure, an operating method of an image signal processor may include: receiving raw data from an external image device; performing a first filtering operation on all the raw data to generate first clarity data; performing a second filtering operation on all the raw data to generate second clarity data; adjusting a first weight and a second weight based on an edge strength of an image corresponding to the raw data; reflecting the determined first weight and second weight in the first clarity data and the second clarity data, respectively, to generate first weight data and second weight data; combining the first weight data and the second weight data to generate output data, and storing the output data.
[0008] According to an example embodiment of the present disclosure, an electronic device may include an image device configured to convert light reflected from an external object into an electrical signal to output raw data. An image signal processor is configured to perform an image processing operation based on the raw data to generate output data. A system memory is configured to store the output data. The image signal processor may include a demosaicing module configured to convert the raw data into full-color data. The multi-sharpening filter is configured to perform a first filtering operation on the raw data to output first clarity data, and to perform a second filtering operation on the raw data to output second clarity data. An edge determiner is configured to determine an edge strength of an image corresponding to the raw data, and to adjust a first weight and a second weight based on the determined edge strength. A combiner is configured to combine first weight data, second weight data and the full-color data to generate output data, in which the determined first weight is reflected in the first clarity data, and in which the determined second weight is reflected in the second clarity data.
[0009] According to an example embodiment of the present disclosure, an electronic device may include: a first filter circuit that filters first data to generate first filtered data; a second filter circuit that filters second data to generate second filtered data; and a weighting circuit that applies a first weight to the first filtered data to generate weighted first filtered data, and applies a second weight to the second filtered data to generate weighted second filtered data. A combiner combines the weighted first filtered data and the weighted second filtered data. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Exemplary embodiments of the present disclosure will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
[0011] Figure 1 is a block diagram of an image system according to an example embodiment of the present disclosure;
[0012] Figure 2 According to an exemplary embodiment of the present disclosure Figure 1A block diagram of an image signal processor;
[0013] Figure 3 According to an exemplary embodiment of the present disclosure Figure 1 and Figure 2 A flowchart of the operation of an image signal processor;
[0014] Figure 4A , Figure 4B and Figure 4C is a diagram showing an exemplary embodiment according to the present disclosure Figure 2 a view of a first sharpening filter;
[0015] Figure 5 is a diagram showing an exemplary embodiment according to the present disclosure Figure 2 a view of characteristics of a first sharpening filter and a second sharpening filter;
[0016] Figure 6 According to an exemplary embodiment of the present disclosure Figure 1 A block diagram of an image signal processor;
[0017] Figure 7 is a block diagram of an image signal processor according to an example embodiment of the present disclosure;
[0018] Figure 8 is a block diagram of an image system according to an example embodiment of the present disclosure;
[0019] Fig. 9 is a block diagram of an image system according to an example embodiment of the present disclosure;
[0020] Fig.10 is a block diagram of an image signal processor according to an example embodiment of the present disclosure;
[0021] Fig.11 is a block diagram of an image signal processor according to an example embodiment of the present disclosure; and
[0022] Fig.12 is a block diagram of an electronic device including an image signal processor according to an example embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] Various example embodiments will be described more fully with reference to the accompanying drawings in which some embodiments are shown. However, the present disclosure may be embodied in many alternate forms and should not be construed as limited to only the embodiments set forth herein.
[0024] Figure 1 is a block diagram of an image system according to an example embodiment of the present disclosure.
[0025] refer to Figure 1, the image system 10 may include an image device 11 and an image signal processor (ISP) 100. In some embodiments, the image system 10 may be any of various electronic devices for acquiring image information about an object from the outside (eg, a smart phone, a tablet PC, a digital camera, etc.).
[0026] The image device 11 may be configured to convert light reflected from an external object into an electrical signal. The image device 11 may be configured to output the converted electrical signal as raw data RAW. At this time, the raw data RAW output from the image device 11 may have a specific format according to the configuration of the image device 11. For example, when the image device 11 includes a color filter array CFA of a Bayer pattern, the raw data RAW output from the image device 11 may have a Bayer format including image information according to the Bayer pattern.
[0027] Hereinafter, for convenience of explanation, the term "data" is used. As used herein, the term "data" may refer to data including various information about one image (eg, a photo). Hereinafter, the operation of the image signal processor 100 with respect to one image will be described.
[0028] The image signal processor 100 may be configured to perform various signal processing operations on the raw data RAW from the image device 11 to generate output data with improved image quality. The image signal processor 100 may include a multi-sharpening filter 110 , a weight adjuster 120 , a demosaicing module 130 , and a combiner 140 .
[0029] The multi-sharpening filter 110 may be configured to perform a first sharpening filtering operation and a second sharpening filtering operation on the raw data RAW to output first sharpening filtering data SF1 (hereinafter referred to as first sharpness data) and second sharpening filtering data SF2 (hereinafter referred to as second sharpness data). For example, the first sharpening filtering operation may refer to a sharpening filtering operation based on a spatial invariant filtering scheme, and the second sharpening filtering operation may refer to a sharpening filtering operation based on an edge-preserving filtering scheme.
[0030] In some embodiments, the spatially invariant filtering scheme may provide optimal sharpness data to strong edges, but may not provide normal sharpness data to weak edges (eg, portions with weak edge strength, such as texture portions or fine portions).
[0031] The edge-preserving filtering scheme may provide optimal sharpness data for weak edges, but may provide abnormal sharpness data (eg, data containing step artifacts) for strong edges.
[0032] In some embodiments, a strong edge may refer to a portion where the difference in values of adjacent pixels is equal to or greater than a reference value, and a weak edge may refer to a portion where the difference in values of adjacent pixels is less than a reference value or within a specific range.
[0033] The weight adjuster 120 may adjust the magnitude of the first weight w1 and the second weight w2 based on the raw data (RAW), the first weight w1 and the second weight w2 to be applied to the first sharpness data SF1 and the second sharpness data SF2 respectively received from the multi-sharpening filter 110. For example, the weight adjuster 120 may determine the edge strength of the image corresponding to the raw data RAW based on the raw data RAW. In some embodiments, the weight adjuster 120 may determine the edge strength of the image based on the raw data RAW through an edge map or a local variance. The weight adjuster 120 may adjust the magnitude of the first weight w1 and the second weight w2 based on the determined edge strength.
[0034] In some embodiments, when the determined edge strength is equal to or greater than the reference value, the first definition data SF1 may be reflected in the final output data OUT by increasing the value of the first weight w1. When the determined edge strength is less than the reference value, the second definition data SF2 may be reflected in the final output data OUT by increasing the value of the second weight w2.
[0035] In other words, in an area where the intensity of edge information is equal to or greater than a reference value (or in an area where the edge intensity is strong), the first clarity data SF1 can be applied, and in an area where the intensity of edge information is less than the reference value (or in an area where the edge intensity is weak, for example, a texture area or a detail area), the second clarity data SF2 can be applied.
[0036] The demosaicing module 130 may be configured to convert the raw data RAW into full-color data RGB. For example, as described above, the raw data RAW may be data according to a pattern (e.g., a Bayer pattern) of a color filter array CFA included in the image device 11. The demosaicing module 130 may convert the raw data RAW (i.e., data having a Bayer format) from the image device 11 into full-color data RGB.
[0037] The full-color data RGB, the first definition data SF1_w1 reflecting the first weight w1 (hereinafter referred to as “first weight data”), and the second definition data SF2_w2 reflecting the second weight w2 (hereinafter referred to as “second weight data”) can be combined with each other in the combiner 140 and output by the combiner 140 as the final output data OUT.
[0038] For example, as described above, since the first weight w1 is increased for a strong edge, the first weight data SF1_w1 may have a larger value for the strong edge than the second weight data SF2_w2. In this case, by adding the first weight data SF1_w1 and the second weight data SF2_w2 to the full-color data RGB, the strong edge may be more clearly highlighted by the first weight data SF1_w1. The clarity of the strong edge may be improved by the first weight data SF1_w1. On the contrary, since the second weight w2 is increased for a weak edge, the second weight data SF2_w2 may have a larger value for the weak edge than the first weight data SF1_w1. In this case, by adding the first weight SF1_w1 and the second weight SF2_w2 to the full-color data RGB, the weak edge may be more clearly highlighted by the second weight data SF2_w2. The clarity of the weak edge may be improved by the second weight data SF2_w2.
[0039] In some embodiments, the first weight data SF1_w1 and the second weight data SF2_w2 may include information related to Y (i.e., brightness) in the YUV format. The edge of the output data OUT may be highlighted according to the size of the "Y" value. The combiner 140 may be configured to convert the full-color data RGB into a "YUV" format and combine the "YUV" format with the first weight data SF1_w1 and the second weight data SF2_w2, or the combiner 140 may be configured to convert the first weight data SF1_w1 and the second weight data SF2_w2 into an "RGB" format and combine the "RGB" format with the full-color data RGB.
[0040] As described above, according to the present disclosure, the image signal processor 100 can perform the first sharpening filtering operation and the second sharpening filtering operation on the raw data RAW to generate the first sharpness data SF1 and the second sharpness data SF2, and can adjust the weights applied to the first sharpness data SF1 and the second sharpness data SF2 according to the edge strength of the image, so that the image quality (e.g., sharpness) of the output data OUT can be improved.
[0041] Figure 2 According to an exemplary embodiment of the present disclosure Figure 1 Block diagram of an image signal processor.
[0042] refer to Figure 1 and Figure 2The multi-sharpening filter 110 may include a first sharpening filter 111 and a second sharpening filter 112. The first sharpening filter 111 may be configured to perform a first filtering operation on the raw data RAW to output first sharpness data SF1. The second sharpening filter 112 may be configured to perform a second filtering operation on the raw data RAW to output second sharpness data SF2.
[0043] In some embodiments, the first sharpening filter 111 may be a spatially invariant filter, and the second sharpening filter 112 may be an edge-preserving filter. In some embodiments, the edge-preserving filter may include a bilateral filter, a guided filter, and the like.
[0044] The weight adjuster 120 may include first and second weights w1 and an edge determiner 121. The first and second weights w2 may be applied to the first and second definition data SF1 and SF2, respectively.
[0045] The edge determiner 121 may be configured to determine the edge strength about the image based on an edge map or local variance on the raw data RAW. The edge determiner 121 may be configured to adjust the values of the first weight w1 and the second weight w2 based on the determined edge strength. For example, when the determined edge strength is equal to or greater than a reference value, the edge determiner 121 may set the value of the first weight w1 to be greater than the value of the second weight w2, or may set the value of the first weight w1 to "1" and the value of the second weight w2 to "0". However, when the determined edge strength is less than the reference value, the edge determiner 121 may set the value of the second weight w2 to be greater than the value of the first weight w1, or may set the value of the second weight w2 to "1" and the value of the first weight w1 to "0".
[0046] In other words, for an area with strong edge strength, the size of the first weight w1 may be increased to reflect the first clarity data SF1 in the output data OUT, and for an area with weak edge strength, the size of the second weight w2 may be increased to reflect the second clarity data SF2 in the output data OUT. In some embodiments, an area with strong edge strength may be an edge area, and an area with weak edge strength may be a texture area or a detail area. The first weight data SF1_w1 and the second weight data SF2_w2 may be provided to the combiner 140. The combiner 140 may combine the first weight data SF1_w1 and the second weight data SF2_w2, thereby outputting the output data OUT.
[0047] As described above, the edge determiner 121 of the weight adjuster 120 can determine the edge strength of the image based on the raw data RAW, but the present disclosure is not limited thereto. For example, the edge determiner 121 can be configured to determine the edge strength of the image based on the first sharpness data SF1 output from the first sharpening filter 111 or the second sharpness data SF2 output from the second sharpening filter 112.
[0048] Figure 3 According to an exemplary embodiment of the present disclosure Figure 1 and Figure 2 Flowchart of the operation of the image signal processor.
[0049] refer to Figures 1 to 3 In step S110, the image signal processor 100 may receive raw data RAW from the image device 11. As described above, the raw data RAW may have a data format according to the color filter array CFA of the image device 11. In some embodiments, the raw data RAW may have a Bayer format.
[0050] In step S121 , the image signal processor 100 may perform a first filtering operation on the raw data RAW to generate the first definition data SF1 . For example, the image signal processor 100 may generate the first definition data SF1 by performing a first filtering operation on the raw data RAW via the first definition filter 111 .
[0051] In step S122 , the image signal processor 100 may perform a second filtering operation on the raw data RAW to generate second definition data SF2 . For example, the image signal processor 100 may generate the second definition data SF2 by performing a second filtering operation on the raw data RAW via the second definition filter 112 .
[0052] In some embodiments, the first sharpening filter 111 may be a filter operating based on a spatial invariant filtering scheme, and the second sharpening filter 112 may be a filter operating based on an edge-preserving filtering scheme. In some embodiments, the first sharpening filter 111 may be a linear filter, and the second sharpening filter 112 may be a nonlinear filter.
[0053] In some embodiments, the filtering operations in step S121 and step S122 may be performed on the raw data RAW in parallel. The filtering operations in step S121 and step S122 may be performed on the raw data RAW simultaneously or separately.
[0054] In some embodiments, each of the filtering operations in step S121 and step S122 may be performed on the entire raw data RAW. The first definition data SF1 and the second definition data SF2 generated by the filtering operations in step S121 and step S122 may each include definition data about the entire area of an image. An image may refer to image information represented in the entire space, such as a picture or image of a frame.
[0055] In step S130, the image signal processor 100 may determine the edge strength of the image. For example, the edge determiner 121 of the image signal processor 100 may generate an edge map of the image based on the received raw data RAW, and may determine the edge information of the image based on the generated edge map. Alternatively, the edge strength of the image may be determined by calculating the local variance based on the received raw data RAW. However, the present disclosure is not limited thereto. The image signal processor 100 may determine the edge strength of the image based on various schemes.
[0056] In step S140, the image signal processor 100 may adjust the weight based on the determined edge strength. For example, when the edge strength determined by the edge determiner 121 of the image signal processor 100 is equal to or greater than the reference value, the edge determiner 121 may increase the value of the first weight w1, or may decrease the value of the second weight w2. Alternatively, when the determined edge strength is equal to or greater than the reference value, the edge determiner 121 may set the value of the first weight w1 to "1", and may set the value of the second weight w2 to "0".
[0057] When the determined edge strength is less than the reference value, the edge determiner 121 may reduce the value of the first weight w1 and may increase the value of the second weight w2. Alternatively, when the determined edge strength is less than the reference value, the edge determiner 121 may set the value of the first weight w1 to "0" and may set the value of the second weight w2 to "1".
[0058] In some embodiments, the determined edge strength of the image information being equal to or greater than the reference value may mean that the edge in the image is strongly expressed, and the determined edge strength of the image information being less than the reference value may mean that the edge in the image is weakly expressed. In some embodiments, the first weight w1 and the second weight w2 may be configured to satisfy Equation 1.
[0059] [Equation 1]
[0060] w1=1-w2
[0061] As shown in Equation 1, as the first weight w1 increases according to the edge strength, the second weight w2 may decrease, and as the second weight w2 increases according to the edge strength, the first weight w1 may decrease.
[0062] In some embodiments, the operations in step S130 and step S150 may be performed in parallel with the operations in step S121 and step S122. The determination operation and weight adjustment operation for edge strength in step S130 and step S150 may be performed in parallel with the filtering operation in step S121 and step S122.
[0063] In step S150, the image signal processor 100 may apply the adjusted first weight w1 and second weight w2 to the first definition data SF1 and the second definition data SF2. The image signal processor 100 may reflect the adjusted first weight w1 and second weight w2 in the first definition data SF1 and the second definition data SF2, respectively, thereby generating first weight data SF1_w1 and second weight data SF2_w2.
[0064] In step S160, the image signal processor 100 may combine the generated first weight data SF1_w1 and the second weight data SF2_w2 to generate output data OUT. In some embodiments, the output data OUT may be provided to an external memory (e.g., a system memory or a storage device) to be stored, or may be provided to a display device to be displayed to a user.
[0065] As described above, according to an exemplary embodiment of the present disclosure, the image signal processor 100 can perform the first filtering operation and the second filtering operation on the raw data RAW output from the image device 11 to generate the first definition data SF1 and the second definition data SF2, and can reflect the first definition data SF1 and the second definition data SF2 differently in the output data OUT based on the edge information of the image. Therefore, the overall definition of the final output image can be improved.
[0066] Figure 4A , Figure 4B and Figure 4C is a diagram showing an exemplary embodiment according to the present disclosure Figure 2 The first sharpening filter 111 shown in FIG. 4 is exemplary, and the present disclosure is not limited thereto.
[0067] refer to FIG. 4A to FIG. 4C, the first clearing filter 111 may include a first low pass filter LPF1, a second low pass filter LPF2, and a third low pass filter LPF3. The first to third low pass filters LPF1, LPF2, and LPF3 may have frequency characteristics as shown in FIG4. The signal passband of the first low pass filter LPF1 may be wider than the signal passband of the second low pass filter LPF2, and the signal passband of the second low pass filter LPF2 may be wider than the signal passband of the third low pass filter LPF3.
[0068] Each of the first to third low-pass filters LPF1, LPF2, and LPF3 may be configured to perform a filtering operation on the raw data RAW. The difference between the raw data RAW and the filter value of the first low-pass filter LPF1 may be clarity data SF1a. The difference between the filter value of the first low-pass filter LPF1 and the filter value of the second low-pass filter LPF2 may be clarity data SF1b. The difference between the filter value of the second low-pass filter LPF2 and the filter value of the third low-pass filter LPF3 may be clarity data SF1c. The plurality of clarity data SF1a, SF1b, and SF1c generated from the first clarity filter 111 may be combined with each other to generate the first clarity data SF1, or one of the plurality of clarity data SF1a, SF1b, and SF1c may be selected to generate the first clarity data SF1.
[0069] In some embodiments, each of the plurality of definition data SF1a, SF1b, and SF1c may have a frequency characteristic as shown in FIG. Figure 4C As shown, the plurality of definition data SF1a, SF1b, and SF1c may have different frequency characteristics. In such frequency characteristics, definition data may be generally generated in an area where the edge strength of the image is strong, while definition data may not be generally generated in an area where the edge strength is weak (e.g., a texture area or a detail area). In other words, the first definition filter 111 may be a filter that generates optimal definition data for an area where the edge strength of the image is strong (e.g., an area where the edge strength of the image is equal to or greater than a reference value).
[0070] In some embodiments, unlike the first sharpening filter 111, the second sharpening filter 112 may be a filter that generates optimal sharpness data in an area of the image where the edge strength is weak (e.g., a texture area or a detail area). In some embodiments, the second sharpening filter 112 may be implemented as a bilateral filter expressed as Equation 2.
[0071] [Equation 2]
[0072]
[0073] Referring to Equation 2, BF(g) p is a function indicating the second sharpening filter 112, 1 / k p is the leveling factor, G σs is the spatial weight function, G σr is the range weight function, and g p Indicates image data (ie, raw data). The second sharpening filter 112 may perform a filtering operation based on Equation 2 to generate second sharpness data SF2. In some embodiments, the second sharpening filter 112 may adjust the spatial weight and the range weight to adjust characteristics of the second sharpness data SF2.
[0074] In some embodiments, when various factors of the second sharpening filter 112 are equally applied to the entire area of the image, sharpness data may be generally generated in areas with low edge strength (e.g., texture areas or detail areas), while sharpness data may not be generally generated in areas with strong edge strength. For example, abnormal signals such as step phenomena may be generated in areas with high edge strength of the image.
[0075] In other words, the first sharpening filter 111 can generate optimal sharpness data in a region where the edge strength is strong, and the second sharpening filter 112 can generate optimal sharpness data in a region where the edge strength is weak.
[0076] Figure 5 is a diagram showing an exemplary embodiment according to the present disclosure Figure 2 1 is a view of the characteristics of the first and second sharpening filters. In order to easily describe the characteristics of the first and second sharpening filters 111 and 112 according to the example embodiment, the operations of the first and second sharpening filters 111 and 112 for a specific area of one image are described, but the present disclosure is not limited thereto. For example, each of the first and second sharpening filters 111 and 112 may perform a filtering operation on the entire area of the image based on the raw data RAW.
[0077] refer to Figure 2 and Figure 5 The raw data RAW from the image device 11 may include information about Figure 5 The image IMG shown in FIG. 1 can be displayed by a separate display device by performing signal processing on the raw data RAW.
[0078] The image IMG can be shown as a full-color image (such as Figure 5For example, each of the first and second sharpening filters 111 and 112 may perform a filtering operation on the entire region of the image IMG based on the raw data RAW.
[0079] The region included in the image IMG may include regions having various edge strengths. For example, the edge region ED included in the image IMG may be a region including a strong edge. A strong edge may indicate that the difference in values between adjacent pixels is equal to or greater than a reference value. When the first sharpening filter 111 performs a filtering operation on the edge region ED, first sharpness edge data SF1_e may be generated, such as Figure 5 When the second sharpening filter 112 performs a filtering operation on the edge area ED, second sharpness edge data SF2_e may be generated, as shown in FIG. Figure 5 shown.
[0080] like Figure 5 As shown, the first definition edge data SF1_e can clearly express the strong edge of the image IMG in the edge area ED, while the second definition edge data SF2_e may express an abnormal signal related to the strong edge of the image IMG in the edge area ED. In other words, when the second edge data SF2_e is reflected in the edge area ED or it is reflected more strongly in the edge area ED than the first definition data SF1_e, the image (i.e., the output data OUT) IMG may include the abnormal signal in the edge area ED. In this case, the overall definition quality of the image (i.e., the output data OUT) IMG may be reduced.
[0081] The texture area TEX among the areas included in the image IMG may be an area including a weak edge. A weak edge may indicate that the difference in value between adjacent pixels is less than a reference value. In some embodiments, a weak edge may indicate that the difference in value between adjacent pixels is within a specific range. When the first sharpening filter 111 performs a filtering operation on the texture area TEX, first sharpness texture data SF1_t may be generated, such as Figure 5 When the second sharpening filter 112 performs a filtering operation on the texture area TEX, second sharpness texture data SF2_t may be generated, as shown in FIG. Figure 5 shown.
[0082] like Figure 5As shown, the first definition texture data SF1_t may not accurately express the weak edge in the texture area TEX. The second definition texture data SF2_t may accurately express the weak edge in the texture area TEX. In other words, in the texture area TEX, when the first definition texture data SF1_t is reflected or it is reflected more strongly than the second definition texture data SF2_t, the image (ie, output data OUT) IMG may not accurately express the weak edge. In this case, the overall definition of the image (ie, output data OUT) IMG may be reduced.
[0083] As described above, when a specific sharpening filter is used, the sharpness quality of a specific area (e.g., one of the edge area and the texture area) among multiple areas included in an image IMG can be improved, but the sharpness quality of other areas (e.g., another one of the edge area and the texture area) will be reduced.
[0084] According to an exemplary embodiment of the present disclosure, the image signal processor 100 may perform each of the first filtering operation and the second filtering operation on the entire image corresponding to the raw data RAW based on the raw data RAW to generate a corresponding one of the first definition data SF1 and the second definition data SF2, and may adjust the weights applied to the first definition data SF1 and the second definition data SF2 based on the edge strength (e.g., edge map, or edge strength based on local variance) of the image corresponding to the raw data RAW, thereby generating output data (i.e., final image) OUT. Therefore, an image signal processor with improved performance and an operating method thereof may be provided.
[0085] Figure 6 According to an exemplary embodiment of the present disclosure Figure 1 Block diagram of an image signal processor.
[0086] refer to Figure 1 and Figure 6 , the multi-sharpening filter 110' may include a first sharpening filter 111 and a second sharpening filter 112'. The weight adjuster 120 may include an edge determiner 121. The edge determiner 121 may be configured to adjust the first weight w1 and the second weight w2.
[0087] and Figure 2Unlike the second sharpening filter 112 of the first sharpening filter 111, the second sharpening filter 112' may perform a filtering operation based on the modified raw data RAW'. For example, the first sharpening filter 111 may perform a filtering operation based on the raw data RAW, thereby generating the first sharpness data SF1. The modified raw data RAW' may be generated by subtracting the first sharpness data SF1 from the raw data RAW. That is, the modified raw data RAW' may be raw data without strong edges (i.e., raw data from which strong edges have been removed).
[0088] The second sharpening filter 112' may perform a filtering operation on the modified raw data RAW', thereby outputting second sharpness data SF2. The second sharpening filter 112' may perform a filtering operation on the modified raw data RAW' (in which the strong edge has been removed), thereby generating second sharpness data SF2 for an area other than the strong edge (e.g., a texture area or a detail area). In some embodiments, both the first sharpening filter 111 and the second sharpening filter 112' may perform a filtering operation on the entire area of the image corresponding to the raw data RAW.
[0089] After the first definition data SF1 and the second definition data SF2 output from the multi-definition filter 110 ′ are multiplied by the first weight w1 and the second weight w2 , respectively, the resultant data may be provided to the combiner 140 .
[0090] Figure 7 is a block diagram of an image signal processor according to an example embodiment of the present disclosure.
[0091] refer to Figure 7 , the image signal processor 200 may include a plurality of sharpening filters 211 to 21N, a weight adjuster 220, and a combiner 240. In order to simplify the drawings, although Figure 7 Although omitted in the figure, the image signal processor 200 may further include a demosaicing module configured to convert the raw data RAW into full-color data RGB.
[0092] Each of the plurality of sharpening filters 211 to 21N can perform a filtering operation on the raw data RAW from the image device 21. The plurality of sharpening filters 211 to 21N can perform filtering operations based on different filtering algorithms. For example, the first sharpening filter 211 among the plurality of sharpening filters 211 to 21N can perform a filtering operation on the raw data RAW based on a spatial invariant scheme. The second sharpening filter 212 among the plurality of sharpening filters 211 to 21N can perform a filtering operation on the raw data RAW based on an edge-preserving filtering scheme (e.g., a bilateral filter). The Nth sharpening filter 21N among the plurality of sharpening filters 211 to 21N can perform a filtering operation on the raw data RAW based on an edge-preserving filtering scheme (e.g., a bilateral filter). At this time, the parameters used in the second sharpening filter 212 and the Nth sharpening filter 21N (e.g., the leveling factor as described in reference equation 1, and the variables of the spatial weight function and the range weight function) can be different from each other. The plurality of sharpness data SF1 to SFN output from the plurality of sharpening filters 211 to 21N may have different characteristics in each of a plurality of regions included in one image.
[0093] The edge determiner 221 may be configured to determine edge information of an image corresponding to the raw data RAW based on the raw data RAW, and adjust a plurality of weights w1 to wN based on the determined edge information. For example, it is assumed that the first definition data SF1 has high accuracy for a strong edge (edge strength exceeding a first reference value), the second definition data SF2 has high accuracy for an intermediate edge (edge strength less than a first reference value and greater than a second reference value), and the Nth definition data SFN has high accuracy for a weak edge (edge strength less than a third reference value).
[0094] At this time, when the determined edge information exceeds the first reference value, the edge determiner 221 may increase the value of the first weight w1, or may set the value of the first weight w1 to "1" and may set the values of other weights to "0". When the determined edge information is less than the first reference value and greater than the second reference value, the edge determiner 221 may increase the value of the second weight w2, or may set the value of the second weight w2 to "1" and may set the values of other weights to "0". When the determined edge information is less than the third reference value, the edge determiner 221 may increase the value of the Nth weight wN, or may set the value of the Nth weight wN to "1" and may set the values of other weights to "0".
[0095] Therefore, the combiner 240 may receive the first weight data SF1_w1 , the second weight data SF2_w2 , and the Nth weight data SFN_wN from the weight adjuster 220 .
[0096] As described above, the image signal processor 200 can perform multiple filtering operations on the raw data RAW in parallel based on different filtering algorithms to generate multiple definition data, and can adjust multiple weights applied to the multiple definition data based on edge information so that the definition of the image can be improved.
[0097] Figure 8 is a block diagram of an image system according to an example embodiment of the present disclosure.
[0098] refer to Figure 8 , the image system 30 may include an image device 31 and an image signal processor 300. The image signal processor 300 may include a multi-sharpening filter 310, a weight adjuster 320, a demosaicing module 330, and a combiner 340. Figure 8 The components in are the same as those described above, so their detailed description is omitted.
[0099] The weight adjuster 320 of the image signal processor 300 may be configured to determine edge information based on the full-color data RGB. For example, the weight adjuster 320 may include an edge determiner 321. Figure 2 The edge determiner 121 may use the raw data RAW to determine edge information. Figure 8 The edge determiner 321 shown in FIG. 3 may be configured to determine edge information based on the full color data RGB output from the demosaicing module 330. The edge determiner 321 may be configured to adjust the weight to be applied to the corresponding definition data in the first definition data SF1 and the second definition data SF2 based on the determined edge information. The scheme of adjusting the weight by the edge determiner 321 may be the same as the above scheme, so the detailed description thereof is omitted.
[0100] The edge determiner 321 may be configured to determine edge information using data different from the raw data RAW and the full color data RGB. For example, the edge determiner 321 may be configured to determine edge information based on at least one of the outputs (ie, SF1, SF2) from the multi-sharpening filter 310.
[0101] Fig. 9 is a block diagram of an image system according to an example embodiment of the present disclosure.
[0102] refer to Fig. 9 , the image system 40 may include an image device 41 and an image signal processor 400. The image signal processor 400 may include a first sharpening filter 411, a second sharpening filter 412, an edge determiner 421, a demosaicing module 430, and a combiner 440. Fig. 9 The components in are the same as those described above, so their detailed description is omitted.
[0103] The first sharpening filter 411 may perform a filtering operation on the raw data RAW to generate first sharpness data SF1. In some embodiments, the first sharpness data SF1 may have an RGB format or a YUV format. The first sharpness data SF1 may be calculated using the full-color data RGB from the demosaicing module 430 to generate modified full-color data RGB'. For example, the modified full-color data RGB' may be data obtained by removing the first sharpness data SF1 from the full-color data RGB output from the demosaicing module 430. In other words, the modified full-color data RGB' may be full-color data from which strong edges are removed.
[0104] The second sharpening filter 412 may perform a filtering operation on the modified full-color data RGB' to generate the second sharpness data SF2. In some embodiments, as described above, the first sharpening filter 411 and the second sharpening filter 412 may perform a filtering operation on the modified full-color data RGB' based on different algorithms. In some embodiments, the first sharpening filter 411 and the second sharpening filter 412 may both perform a filtering operation on the entire area of the image. That is, the first sharpness data SF1 and the second sharpness data SF2 may both include information related to the entire area of the image. The operations of the edge determiner 421, the first weight w1 and the second weight w2, and the combiner 440 are the same as those described above, so their detailed description is omitted.
[0105] As described above, according to an exemplary embodiment of the present disclosure, the image signal processor 300 can perform a plurality of filtering operations on the entire area of the image based on different filtering algorithms to generate a plurality of definition data, and can apply a plurality of weights to each of the plurality of definition data based on edge information of the image to generate a final output image. Therefore, an image signal processor capable of improving definition quality for images with different edge strengths can be provided.
[0106] Fig.10 is a block diagram of an image signal processor according to an example embodiment of the present disclosure.
[0107] refer to Fig.10 , the image signal processor 1000 may include a multi-sharpening filter 1100 , a weight adjuster 1200 , a noise reduction module 1300 , a white balance module 1400 , a demosaicing module 1500 , a gamma correction module 1600 , a color conversion module 1700 , and a combiner 1800 .
[0108] As described above, the multi-definition filter 1100 can perform multiple filtering operations based on the original data from the image device to generate multiple definition data. The multiple filtering operations can be filtering operations performed based on different algorithms. The multiple filtering operations can all perform filtering operations on the entire area of the image based on the original data.
[0109] The weight adjuster 1200 may determine edge information of an image corresponding to raw data from an image device, and may adjust a plurality of weights applied to each of a plurality of definition data based on the determined edge information. The plurality of definition data to which the plurality of weights are applied may be provided to the combiner 1800.
[0110] The noise reduction module 1300 may be configured to remove noise from raw data of an image device. For example, the noise reduction module 1300 may be configured to remove fixed pattern noise or temporal random noise according to a color filter array (CFA) of the image device.
[0111] The white balance module 1400 may adjust a white balance gain with respect to the noise-removed data.
[0112] The demosaicing module 1500 may be configured to convert the output of the white balance module 1400 into full color data. For example, the output of the white balance module 1400 may have a data format (e.g., Bayer format) according to a color filter array CFA of an image device. The demosaicing module 1500 may be configured to convert the Bayer format into an RGB format.
[0113] The gamma correction module 1600 may be configured to correct the gamma value of the image based on the output of the demosaicing module 1500. The color conversion module 1700 may be configured to convert the output from the gamma correction module 1600 into a specific format. For example, the output of the gamma correction module 1600 may have an RGB format. The color conversion module 1700 may be configured to convert the output from the gamma correction module 1600 having an RGB format into a YUV format.
[0114] The combiner 1800 may be configured to combine the output from the color transform module 1700 with the output from the weight adjuster 1200 to output a final image.
[0115] In some embodiments, the raw data input to the multi-sharpening filter 1100 may have a Bayer format, and the plurality of sharpening weight data output from the weight adjuster 1200 may have an RGB format or a YUV format. In some embodiments, when the plurality of sharpening weight data has an RGB format, the image signal processor 1000 may further include an additional color conversion module for converting the format of the plurality of sharpening weight data.
[0116] As described above, according to an exemplary embodiment of the present disclosure, the image signal processor 1000 may perform a plurality of filtering operations on raw data from an image device to generate a plurality of definition data, and may adjust a plurality of weights applied to each of the plurality of definition data based on edge information. The plurality of filtering operations may be performed in parallel. The plurality of filtering operations may be performed in parallel or separately from the operations of the noise reduction module 1300, the white balance module 1400, the demosaicing module 1500, the gamma correction module 1600, and the color conversion module 1700.
[0117] Fig.11 is a block diagram of an image signal processor according to an example embodiment of the present disclosure.
[0118] refer to Fig.11 , the image signal processor 2000 may include a multi-sharpening filter 2100, a weight adjuster 2200, a noise reduction module 2300, a white balance module 2400, a demosaicing module 2500, a gamma correction module 2600, a color conversion module 2700, and a combiner 2800. The noise reduction module 2300, the white balance module 2400, the demosaicing module 2500, the gamma correction module 2600, the color conversion module 2700, and the combiner 2800 may be combined with a reference Fig. 9 Those components described are the same, so their detailed description is omitted.
[0119] The multi-sharpening filter 2100 may perform a plurality of filtering operations on the output from the noise reduction module 2300 (i.e., the denoised raw data) to generate a plurality of sharpness data. The multi-sharpening filter 2100 may operate in parallel or separately with the white balance module 2400, the demosaicing module 2500, the gamma correction module 2600, and the color conversion module 2700.
[0120] In some embodiments, although not shown in the drawings, a plurality of filtering operations may be performed on the output of any one of the white balance module 2400 , the demosaicing module 2500 , and the gamma correction module 2600 to generate a plurality of sharpness data.
[0121] Fig.12 is a block diagram of an electronic device including an image signal processor according to an example embodiment of the present disclosure.
[0122] refer to Fig.12, the electronic device 3000 may include a touch panel 3100, a touch driver integrated circuit (TDI) 3102, a display panel 3200, a display driver integrated circuit (DDI) 3202, a system memory 3400, a storage device 3500, an image processor 3600, a communication block 3700, an audio processor 3800, and a main processor 3900. In some embodiments, the electronic device 3000 may be one of various electronic devices, such as a mobile communication terminal, a personal digital assistant (PDA), a portable media player (PMP), a digital camera, a smart phone, a tablet computer, a portable computer, a wearable device, etc.
[0123] The TDI 3102 may be configured to control the touch panel 3100. The touch panel 3100 may be configured to sense a touch pressure of a user's touch input according to the control of the TDI 3102. The DDI 3202 may be configured to control the display panel 3200. The display panel 3200 may be configured to display image information according to the control of the DDI 3202.
[0124] The system memory 3400 may store data used for the operation of the electronic device 3000. For example, the system memory 3400 may temporarily store data that has been or will be processed by the main processor 3900. The system memory 3400 may include, for example, a volatile memory (e.g., a static random access memory (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM)) and / or a non-volatile memory (e.g., a phase change RAM (PRAM), a magnetoresistive RAM (MRAM), a resistive RAM (ReRAM), and a ferroelectric RAM (FRAM)). In some embodiments, output data output from the image signal processor (ISP) 3630 may be stored in the system memory 3400.
[0125] The storage device 3500 can store data regardless of the power supply. The storage device 3500 may include, for example, at least one of various non-volatile memories, such as flash memory, PRAM, MRAM, ReRAM, or FRAM. For example, the storage device 3500 may include an embedded memory and / or a removable memory.
[0126] The image processor 3600 may receive light through the lens 3610. The image device 3620 and the image signal processor 3630 included in the image processor 3600 may generate image information about an external object based on the received light. In some embodiments, the image signal processor 3630 may be connected to the reference image. Figures 1 to 11 The image signal processor described herein is the same as or may be based on reference Figures 1 to 11 Describes the method operation.
[0127] The communication block 3700 may exchange signals with an external device / system through an antenna 3710. The transceiver 3720 and the modulator / demodulator (MODEM) 2730 may process signals exchanged with an external device / system according to at least one of wireless communication standards (e.g., Long Term Evolution (LTE), Worldwide 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)).
[0128] The audio processor 3800 may process an audio signal using an audio signal processor 3810. The audio processor 3800 may receive an audio input through a microphone 3820 and may provide an audio output through a speaker 3830.
[0129] The main processor 3900 may control the overall operation of the electronic device 3000. The main processor 3900 may control / manage the operations of the components of the electronic device 3000. The main processor 3900 may process various operations to operate the electronic device 3000. In some embodiments, Fig.12 Some of the components shown in may be implemented in the form of a system on a chip, thereby being provided as an application processor of the electronic device 3000.
[0130] As is common in the art, embodiments can be described and illustrated according to the blocks that perform the described one or more functions. These blocks, which may be referred to herein as units or modules, are physically implemented by analog and / or digital circuits such as logic gates, integrated circuits, microprocessors, microcontrollers, memory circuits, passive electronic components, active electronic components, optical components, hard-wired circuits, etc., and may be optionally driven by firmware and / or software. For example, the circuit may be embodied in one or more semiconductor chips, or on substrate supports such as printed circuit boards. The circuits constituting the blocks may be implemented by dedicated hardware or by a processor (e.g., one or more programmed microprocessors and associated circuits), or by a combination of dedicated hardware for performing some functions of the block and a processor for performing other functions of the block. Without departing from the scope of the present disclosure, each block of the embodiment may be physically divided into two or more interactive and discrete blocks. Similarly, without departing from the scope of the present disclosure, the blocks of the embodiment may be physically combined into more complex blocks.
[0131] While the present disclosure has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the appended claims.
Claims
1. An image signal processor, include: A first sharpening filter configured to perform a first filtering operation on raw data output from an external image device to output first sharpness data; a second sharpening filter configured to perform a second filtering operation on the original data in parallel with the first filtering operation to output second sharpness data; an edge determiner configured to determine, based on the raw data, an edge strength of an image corresponding to the raw data, and to adjust a first weight and a second weight based on the edge strength; as well as a combiner configured to combine first weight data in which the first weight is reflected in the first definition data with second weight data in which the second weight is reflected in the second definition data to generate output data, wherein the first filtering operation is based on a spatially invariant filtering algorithm, and is used to provide optimal definition data to a first region of the image where the edge strength is equal to or greater than a first reference value, and the second filtering operation is based on an edge-preserving filtering algorithm, and is used to provide optimal definition data to a second region of the image where the edge strength is less than the first reference value, Wherein, the edge determiner is configured as: For the first region, increasing the first weight or decreasing the second weight, and For the second area, the first weight is reduced or the second weight is increased.
2. The image signal processor according to claim 1, in, The raw data has a Bayer format.
3. The image signal processor according to claim 1, in, The edge determiner is configured to: Based on the edge strength, classifying a plurality of regions of the image corresponding to the original data into edge regions and texture regions; and For the edge region, the first weight is increased or the second weight is decreased, and for the texture region, the first weight is decreased or the second weight is increased.
4. The image signal processor according to claim 1, further comprising: include: A demosaicing module is configured to convert the raw data into full-color data, wherein The demosaicing module is configured to operate in parallel with the first sharpening filter and the second sharpening filter.
5. The image signal processor according to claim 4, in, The combiner is configured to add the panchromatic data, the first weight data, and the second weight data together to generate the output data.
6. The image signal processor according to claim 1, in, The edge determiner is configured to determine the edge strength based on an edge map or a local variance associated with the original data.
7. The image signal processor according to claim 1, in: The first sharpening filter is configured to perform the first filtering operation on all of the original data, and The second sharpening filter is configured to perform the second filtering operation on all of the original data.
8. The image signal processor according to claim 1, in, The output data is stored in an external memory device.
9. An operating method of an image signal processor, the operating method include: Receive raw data from external imaging devices; Performing a first filtering operation on all the original data to generate first definition data; Performing a second filtering operation on all of the original data to generate second definition data; adjusting the first weight and the second weight based on the edge strength of the image corresponding to the original data; Reflecting the determined first weight and second weight in the first definition data and the second definition data respectively to generate first weight data and second weight data; as well as combining the first weight data and the second weight data to generate output data, and storing the output data, wherein the first filtering operation is based on a spatially invariant filtering algorithm, and is used to provide optimal definition data to a first region of the image where the edge strength is equal to or greater than a first reference value, and the second filtering operation is based on an edge-preserving filtering algorithm, and is used to provide optimal definition data to a second region of the image where the edge strength is less than the first reference value, Wherein, in the step of adjusting the first weight and the second weight: For the first region, increasing the first weight or decreasing the second weight, and For the second area, the first weight is reduced or the second weight is increased.
10. The operating method according to claim 9, further comprising: include: The raw data is converted into full-color data, wherein The step of converting is performed in parallel with the first filtering operation and the second filtering operation.
11. The operating method according to claim 10, in, The output data is generated by adding the first weight data and the second weight data to the full-color data.
12. An electronic device, include: An image device configured to convert light reflected from an external object into an electrical signal to output raw data; an image signal processor configured to perform an image processing operation based on the raw data to output output data; as well as a system memory configured to store the output data, wherein: The image signal processor comprises: A demosaicing module configured to convert the raw data into full-color data; a multi-definition filter configured to perform a first filtering operation on the raw data to output first definition data, and to perform a second filtering operation on the raw data to output second definition data; an edge determiner configured to determine an edge strength of an image corresponding to the original data, and adjust a first weight and a second weight based on the edge strength; and a combiner configured to combine first weight data, second weight data and the panchromatic data to generate output data, wherein the first weight data includes the first weight reflected in the first definition data, and the second weight data includes the second weight reflected in the second definition data, wherein the first filtering operation is based on a spatially invariant filtering algorithm, and is used to provide optimal definition data to a first region of the image where the edge strength is equal to or greater than a first reference value, and the second filtering operation is based on an edge-preserving filtering algorithm, and is used to provide optimal definition data to a second region of the image where the edge strength is less than the first reference value, Wherein, the edge determiner is configured as: For the first region, increasing the first weight or decreasing the second weight, and For the second area, the first weight is reduced or the second weight is increased.
13. The electronic device according to claim 12, in: The multiple sharpening filters include a first sharpening filter and a second sharpening filter, The first sharpening filter is configured to perform the first filtering operation to output the first sharpness data, and The second sharpening filter is configured to perform the second filtering operation in parallel with the first filtering operation to output the second sharpness data.
14. The electronic device according to claim 12, in, The edge determiner is configured to determine the edge strength based on the original data or the first sharpness data.
15. The electronic device according to claim 12, in, The image signal processor further comprises: A noise reduction module, configured to remove noise from the original data; A white balance module, configured to adjust the white balance gain according to the output of the noise reduction module; a gamma correction module configured to correct a gamma value of the full-color data as an output of the demosaicing module; and The color conversion module is configured to convert the output of the gamma correction module into a YUV format, wherein: The demosaicing module is configured to convert the output from the white balance module into the full color data, and The noise reduction module, the white balance module, the demosaicing module, the gamma correction module, and the color conversion module are configured to operate in parallel with the multi-sharpening filter.
