Image processing device, method and program
Dual gradation conversion processing addresses noise and overexposure issues by selectively displaying images with different luminance range characteristics, facilitating accurate exposure adjustment.
Patent Information
- Application Number
- JP2020090260
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-05-25
- Publication Date
- 2024-09-25
- Estimated Expiration
- 2040-05-25
AI Technical Summary
Existing image processing devices compress signal in the middle to highlight luminance range, leading to noise in dark areas and requiring careful exposure adjustment to avoid overexposure, especially with wide input dynamic ranges.
Implementing dual gradation conversion processing with different characteristics for dark to intermediate and intermediate to bright luminance ranges, allowing selective display during exposure adjustment to maintain accurate brightness representation.
Enables switching and displaying images suitable for exposure adjustment, reducing noise in dark areas and preventing overexposure, while allowing flexible exposure settings.
Smart Images

Figure 0007555730000001 
Figure 0007555730000002 
Figure 0007555730000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing device, method, and program. [Background technology]
[0002] In digital cameras, the results of development during shooting are displayed on a display unit such as an electronic viewfinder or a liquid crystal display, and the user can adjust the exposure while looking at the display. Also, HDR (High Dynamic Range) photography technology is known, which creates an image with a wider range of brightness reproduction by taking multiple photos with different brightness levels and combining them. For example, Patent Document 1 discloses an image processing device that creates a first image and a second image with a wider dynamic range than the first image, adjusts the gamma characteristics of the second image information so that the brightness of a main subject in the first image and the brightness of a main subject in the second image are approximately the same, and switches between displaying the first image and the second image. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 4544318 [Non-patent literature]
[0004] [Non-Patent Document 1] Recommendation ITU-R BT.2100 p.5 TABEL4 Reference PQ OETF Summary of the Invention [Problem to be solved by the invention]
[0005] In the image processing device of Patent Document 1, the brightness of the subject included in the dark to medium luminance range is approximately constant regardless of the input dynamic range, and the gradation conversion process is performed so that the peak luminance after the gradation conversion process is relatively assigned to the peak luminance of the display unit. Therefore, the wider the input dynamic range of the imaging device, the more the signals in the medium to highlight luminance range are compressed, and there is a problem that when adjusting the exposure while viewing the developed image, the image is shot with underexposure to avoid whiteout, which makes it easy for noise in the dark area to worsen.
[0006] The present invention has been made in consideration of the above-mentioned points, and an object of the present invention is to make it possible to switch and display an image suitable for a purpose. [Means for solving the problem]
[0007] The image processing device of the present invention comprises a first gradation conversion processing means for performing gradation conversion processing on an output signal of an imaging section, a second gradation conversion processing means for performing gradation conversion processing on the output signal of the imaging section with gradation conversion characteristics different from the gradation conversion characteristics of the first gradation conversion processing means, a switching means for selecting a processing result of the first gradation conversion processing means or a processing result of the second gradation conversion processing means and switching so as to display the selected result on a display section, and a control means for controlling the switching means, wherein the second gradation conversion processing means: A range of signal values below a given value performing a gradation conversion process in a low luminance region with a gradation conversion characteristic that is substantially the same as the gradation conversion characteristic of the first gradation conversion processing means; A range of signal values greater than the predetermined value In a high luminance region, the gradation conversion processing is performed with a gradation conversion characteristic having a smaller degree of gradation compression than the gradation conversion characteristic of the first gradation conversion processing means. the control means controls the switching means so that the processing result of the second gradation conversion processing means is displayed on the display unit during exposure adjustment. It is characterized by: Effect of the Invention
[0008] According to the present invention, it is possible to switch and display images suited to a purpose. [Brief description of the drawings]
[0009] [Figure 1] 1 is a diagram illustrating a configuration of an imaging device according to an embodiment. [Diagram 2] FIG. 4 illustrates an example of the configuration of a tone conversion processing unit. [Diagram 3] 4 is a flowchart showing a process executed by the imaging device according to the embodiment. [Figure 4] FIG. 11 is a characteristic diagram showing an example of a tone conversion characteristic. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. 1 shows the configuration of an image capturing apparatus 100 according to an embodiment. In this embodiment, an example will be described in which the image capturing apparatus 100 functions as an image processing apparatus to which the present invention is applied. The imaging device 100 includes an optical system 101, an imaging element 102, an A / D conversion unit 103, a color adjustment processing unit 104, a gradation conversion processing unit 105, and a luminance / chrominance encoding processing unit 106. The imaging device 100 also includes a recording processing unit 107, a display processing unit 108, a display unit 109, a user instruction unit 110, a system control unit 111, and a storage unit 112.
[0011] The optical system 101 includes a focus lens, an aperture, and a shutter. The image sensor 102 is an element such as a CMOS that converts the amount of light of a subject imaged in the optical system 101 into an electrical signal by photoelectric conversion. The focus and aperture of the optical system 101, the shutter, and the imaging sensitivity of the image sensor 102 are controlled by a system control unit 111 based on the dynamic range during shooting. In this embodiment, the optical system 101 and the image sensor 102 function as the imaging unit of the present invention.
[0012] The A / D conversion unit 103 converts the electrical signal received from the image sensor 102 into a digital signal to generate a RAW image. The color adjustment processing unit 104 performs gain processing for white balance adjustment and matrix processing for adjusting color reproduction characteristics on the RGB values of the RAW image generated by the A / D conversion unit 103. The gradation conversion processing unit 105 performs gradation conversion processing on the RGB signals that have been color adjusted by the color adjustment processing unit 104. The luminance / chrominance encoding processing unit 106 performs matrix processing to convert the RGB signals that have been gradation converted by the gradation conversion processing unit 105 into luminance / chrominance signals.
[0013] The recording processing unit 107 executes a recording process. The recording processing unit 107 performs an encoding and compression process for recording at least one of the image signal output from the luminance / chrominance encoding processing unit 106 and the undeveloped RAW image on a recording medium in a predetermined file format. In this embodiment, the recording processing unit 107 functions as the recording processing means of the present invention.
[0014] The display processing unit 108 performs processing for displaying the image signal output from the luminance / chrominance encoding processing unit 106 on the display unit 109. The display unit 109 is composed of, for example, an electronic viewfinder, a liquid crystal display provided on the rear surface of the imaging device 100, or the like.
[0015] The user instruction unit 110 is configured with an operation dial provided on the imaging device 100, a touch panel type liquid crystal display on the back surface of the imaging device 100, etc. Using the user instruction unit 110, for example, the user can input a setting value when setting exposure during shooting according to the shooting scene. The system control unit 111 controls the overall operation of the imaging device 100. In this embodiment, the system control unit 111 functions as a control unit according to the present invention. The memory unit 112 is used as a storage area for programs executed by the system control unit 111 and as a work area during program execution.
[0016] In this way, the imaging device 100 is equipped with a display unit 109 that allows the user to check the image during shooting, and the user can adjust shooting conditions including composition and exposure while checking the image displayed on the display unit 109 during shooting, and then perform shooting.
[0017] Next, the tone conversion processing unit 105 will be described with reference to FIGS. 2 shows an example of the configuration of the tone conversion processing unit 105. The tone conversion processing unit 105 includes a first gamma processing unit 201, a second gamma processing unit 202, and a switching unit 203. The processing result of the first gamma processing unit 201 is output to the recording processing unit 107. In addition, the processing result of the first gamma processing unit 201 and the processing result of the second gamma processing unit 202 are selectively output to the display processing unit 108 via the switching unit 203.
[0018] The first gamma processing unit 201 and the second gamma processing unit 202 each perform tone conversion processing on an input image signal based on tone conversion characteristics set by the system control unit 111 in accordance with the setting of the input dynamic range of the captured frame. 4 shows an example of tone conversion characteristics of the first gamma processor 201 and the second gamma processor 202. The horizontal axis indicates values obtained by normalizing the signal values of a RAW image, which are input signal values, in correspondence with the brightness of the scene. A signal value of 400 corresponds to a signal value at which an object with a reflectance of 18% is properly exposed (hereinafter referred to as "proper exposure"), and signal values 401, 402, 403, and 404 correspond to brightnesses of 100%, 200%, 300%, and 400%, respectively, when the brightness of the proper exposure is 18%. The vertical axis indicates an output signal value after tone conversion processing. Characteristic lines 420 and 421 represent the tone conversion characteristics of the first gamma processor 201. Also, characteristic line 422 represents the tone conversion characteristics of the second gamma processor 202.
[0019] The characteristic line 422 of the second gamma processor 202 has characteristics that are approximately consistent with the OETF characteristics of the PQ method described in Non-Patent Document 1, and has characteristics that compress the brightness of a scene based on visual characteristics in association with the absolute luminance of the display on the display unit 109. Note that, before the OETF processing, an S-shaped gradation characteristic in which the dark areas are lowered may be applied as OOTF.
[0020] A characteristic line 420 of the first gamma processing unit 201 is a tone conversion characteristic set in the first gamma processing unit 201 when the input dynamic range is 200%. The tone conversion characteristic is such that the output becomes saturated when a signal with a brightness of 200% is input with an optimum exposure of 18%. Moreover, a characteristic line 421 is a tone conversion characteristic set in the first gamma processing unit 201 when the input dynamic range is 400%. The tone conversion characteristic is such that the output becomes saturated when a signal with a brightness of 400% is input with an optimum exposure of 18%. The tone conversion characteristics shown by the characteristic lines 420 and 421 both have a greater degree of tone compression in the luminance range of bright areas than the tone conversion characteristics shown by the characteristic line 422 of the second gamma processing unit 202. This is because, in each input dynamic range, the target output saturation level is lowered so as not to cause a sudden tone jump in the area near the sensor saturation, and tone compression is performed to gradually reach the target output saturation level. On the other hand, the tone conversion characteristics indicated by the characteristic lines 420 and 421 may both appear to be overexposed when the main subject is in the intermediate to bright luminance range.
[0021] Under the control of the system control unit 111, the processing result of the first gamma processing unit 201 and the processing result of the second gamma processing unit 202 are selectively output to the display processing unit 108 via the switching unit 203. This makes it possible to switch and display an image suitable for a purpose, as will be described later. In this embodiment, the first gamma processing unit 201, the second gamma processing unit 202, and the switching unit 203 function as the first tone conversion processing unit, the second tone conversion processing unit, and the switching unit, respectively, of the present invention.
[0022] Next, the flow of processing by the tone conversion processing unit 105 will be described with reference to the flowchart in Fig. 3. Each process in the flowchart in Fig. 3 is realized by the system control unit 111 executing a program stored in the storage unit 112. In step S301, the system control unit 111 refers to the input dynamic range at the time of capturing a frame.
[0023] In step S302, the system control unit 111 sets the tone conversion characteristics of the first gamma processing unit 201 based on the setting of the input dynamic range. For example, when the input dynamic range during frame shooting is 200%, the tone conversion characteristics are set as shown by the characteristic line 420 in FIG.
[0024] In step S303, the system control unit 111 sets the tone conversion characteristics of the second gamma processing unit 202 based on the setting of the input dynamic range. For example, when the input dynamic range during frame shooting is 200%, the tone conversion characteristics are set as shown by the characteristic line 422 in FIG.
[0025] In step S304, the system control unit 111 controls the first gamma processing unit 201 and the second gamma processing unit 202 to perform tone conversion processing on the input image signal of the shooting frame in accordance with the tone conversion characteristics set in steps S302 and S303.
[0026] In step S305, the system control unit 111 refers to the operating state of the imaging device 100 and determines whether exposure adjustment is in progress. The system control unit 111 determines that exposure adjustment is in progress when, for example, a half-press of the shutter button or a press of the photometry start button is detected via the user instruction unit 110. If the system control unit 111 determines that exposure adjustment is in progress, the process proceeds to step S306, and if not, the process proceeds to step S308.
[0027] In step S306, the system control unit 111 judges whether the signal level of the input image signal is a bright part signal by judging the signal level of the input image signal on a pixel-by-pixel basis based on the setting of the input dynamic range. If the signal level of the pixel of interest is greater than a threshold value set based on the setting of the input dynamic range, it is judged to be a pixel included in the brightness range of the bright part, and if it is equal to or less than the threshold value, it is judged to be a pixel included in the brightness range of the dark part. For example, when the input dynamic range is 200%, the signal value 401 in FIG. 4 is the signal level corresponding to the threshold value. A pixel with a signal level in the range of signal values 401 to 402 is judged to belong to a bright part, and a pixel with a signal level in the range of signal value [0] to signal value 401 is judged to belong to a dark part. If the system control unit 111 judges that the signal is a bright part signal, the process proceeds to step S307, and if not, the process proceeds to step S308.
[0028] In step S307, the system control unit 111 controls the switching unit 203 to output the processing result of the second gamma processing unit 202 to the display processing unit 108 and display it on the display unit 109.
[0029] In step S308, the system control unit 111 determines whether or not to operate the gradation conversion processing unit 105 with priority given to bright area gradations. The system control unit 111 determines to operate with priority given to bright area gradations when, for example, an operation with priority given to bright area gradations is instructed via the user instruction unit 110. If the system control unit 111 determines to operate with priority given to bright area gradations, the process proceeds to step S307; otherwise, the process proceeds to step S309.
[0030] In step S309, the system control unit 111 controls the switching unit 203 to output the processing result of the first gamma processing unit 201 to the display processing unit 108 and display it on the display unit 109.
[0031] In step S310, the system control unit 111 determines whether or not the shutter has been released by referring to the operating state of the imaging device 100. If the system control unit 111 determines that the shutter has been released, the process proceeds to step S311, and if not, the process returns to step S304, where the gradation conversion process is performed on the input image signal of the next captured frame.
[0032] In step S311, the system control unit 111 outputs the processing result of the first gamma processing unit 201 to the recording processing unit 107.
[0033] As described above, the second gamma processing unit 202 performs tone conversion processing in the low-luminance range of dark to intermediate luminance areas with tone conversion characteristics that are approximately the same as those of the first gamma processing unit 201, and in the high-luminance range of intermediate to bright luminance areas with tone conversion characteristics that have a smaller degree of tone compression than the tone conversion characteristics of the first gamma processing unit 202. Then, during exposure adjustment, the processing result of the second gamma processing unit 202 is displayed on the display unit 109. The effects of this will be described below.
[0034] In order to perform development processing as intended by the user for the dynamic range of the scene being photographed when taking a picture, it is necessary to change the exposure settings for RAW shooting and the tone conversion characteristics during development while checking the tone reproduction characteristics of the light and dark areas of the scene as an image before releasing the shutter. By making it possible to record undeveloped RAW images simultaneously with the development results, the development process including tone conversion processing can be changed to desired settings by the user when later developing RAW images in the imaging device or on a PC application. However, the exposure settings for RAW photography are finalized at the time of shooting. Therefore, if shooting is performed while checking an image that has been tone converted with characteristics that make bright areas look overexposed, as shown by characteristic lines 420 and 421 in FIG. 4, the setting may be more underexposed than necessary, resulting in a RAW image with a lot of noise in the dark areas.
[0035] Therefore, for the input image signal, two types of gradation conversion processing are performed for each input dynamic range, in which the gradation conversion characteristics are approximately the same in the dark to intermediate luminance range, and the degree of gradation compression in the intermediate to bright luminance range and the output saturation level are different.Then, the processing results of the two types of gradation conversion processing are selectively output according to the input signal range. This allows the user to check the gradation conversion characteristics of the subject with a luminance amplitude close to the real thing by displaying the development result with a small degree of gradation compression in the middle to bright luminance range during the period when the user is adjusting the exposure. Also, during the period when the exposure is not being adjusted, the development result with a large degree of gradation compression in the middle to bright luminance range and gradually approaching white toward the output saturation portion allows the user to check the image without unnatural tone jumps. Furthermore, since the degree of gradation compression in the dark to medium brightness range is the same in both gradation conversion characteristics, even if the processing results of the two types of gradation conversion processing are switched on the display unit 109, the brightness of the subject near the optimum exposure does not fluctuate.
[0036] As described above, it is possible to switch between images suited to the purpose and display them, and it is possible to set the exposure for the shooting scene while checking the subject gradation reproduction characteristics in the mid to highlight luminance range as an image close to how it actually appears.
[0037] Although the present invention has been described above with reference to the embodiments, the above embodiments are merely illustrative of the specific examples of the present invention, and the technical scope of the present invention should not be interpreted as being limited by these embodiments. In other words, the present invention can be embodied in various forms without departing from its technical concept or main features. For example, in the embodiment, an example has been described in which the imaging device 100 functions as an image processing device to which the present invention is applied, but the image processing device to which the present invention is applied may be configured as a separate entity from the imaging device having the imaging unit. (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions. [Explanation of symbols]
[0038] 100: imaging device, 101: optical system, 102: imaging element, 103: A / D conversion section, 104: color adjustment processing section, 105: gradation conversion processing section, 106: luminance / chrominance encoding processing section, 107: recording processing section, 108: display processing section, 109: display section, 110: user instruction section, 111: system control section, 112: storage section, 201: first gamma processing section, 202: second gamma processing section, 203: switching section
Claims
1. a first gradation conversion processing means for performing gradation conversion processing on an output signal of the imaging unit; a second gradation conversion processing means for performing gradation conversion processing with a gradation conversion characteristic different from the gradation conversion characteristic of the first gradation conversion processing means on an output signal of the imaging unit; a switching means for selecting a processing result of the first gradation conversion processing means and a processing result of the second gradation conversion processing means and switching the selected result to be displayed on a display unit; A control means for controlling the switching means, the second gradation conversion processing means performs gradation conversion processing in a low luminance region, which is a range of signal values equal to or less than a predetermined value, with gradation conversion characteristics that are substantially the same as the gradation conversion characteristics of the first gradation conversion processing means, and performs gradation conversion processing in a high luminance region, which is a range of signal values greater than the predetermined value, with gradation conversion characteristics that have a smaller degree of gradation compression than the gradation conversion characteristics of the first gradation conversion processing means; 2. The image processing apparatus according to claim 1, wherein the control means controls the switching means so that a processing result of the second gradation conversion processing means is displayed on the display unit during exposure adjustment.
2. 2. The image processing apparatus according to claim 1, wherein the processing result of the first gradation conversion processing means is output to a recording processing means which executes a recording process.
3. 3. The image processing apparatus according to claim 1, wherein the second gradation conversion processing means has a gradation conversion characteristic that compresses the gradation in association with an absolute luminance of the display on the display unit.
4. 4. The image processing apparatus according to claim 1, wherein the control means controls the switching means based on an output from a user instruction section.
5. performing a first gradation conversion process on an output signal of the imaging unit; performing a second gradation conversion process having a gradation conversion characteristic different from the gradation conversion characteristic of the first gradation conversion process on the output signal of the imaging unit; a step of selecting a processing result of the first gradation conversion processing and a processing result of the second gradation conversion processing and switching the processing result to be displayed on a display unit; the second gradation conversion process performs gradation conversion processing with gradation conversion characteristics that are substantially the same as the gradation conversion characteristics of the first gradation conversion process in a low luminance region that is a range of signal values equal to or less than a predetermined value, and performs gradation conversion processing with gradation conversion characteristics that have a smaller degree of gradation compression than the gradation conversion characteristics of the first gradation conversion process in a high luminance region that is a range of signal values greater than the predetermined value; The image processing method according to claim 1, wherein the switching step switches so that the result of the second gradation conversion process is displayed on the display unit during exposure adjustment.
6. performing a first gradation conversion process on an output signal of the imaging unit; performing a second gradation conversion process having a gradation conversion characteristic different from the gradation conversion characteristic of the first gradation conversion process on the output signal of the imaging unit; a step of selecting a processing result of the first gradation conversion processing and a processing result of the second gradation conversion processing, and switching the processing result to be displayed on a display unit; the second gradation conversion process performs gradation conversion processing with gradation conversion characteristics that are substantially the same as the gradation conversion characteristics of the first gradation conversion process in a low luminance region that is a range of signal values equal to or less than a predetermined value, and performs gradation conversion processing with gradation conversion characteristics that have a smaller degree of gradation compression than the gradation conversion characteristics of the first gradation conversion process in a high luminance region that is a range of signal values greater than the predetermined value; The program, wherein the switching step switches so that a processing result of the second gradation conversion processing is displayed on the display unit during exposure adjustment.
Citation Information
Patent Citations
Imaging device, imaging system, and imaging method
JP2007180718A
Image processing method and image processing device
JP2012119997A
Image processing apparatus, control method thereof, program, and storage medium
JP2014167609A
Video processing apparatus, video processing method and program
JP2017163339A
Image processing apparatus, method, and program
JP4544318B2
