Image processing apparatus and control method thereof
An image processing apparatus comprises a recording image generation unit which generates recording image data from image data input by an image input unit, based on a first gamma characteristic; a display image generation unit which generates display image data from the image data based on a second gamma characteristic in correspondence with a characteristic of a display unit; a determination unit which determines whether or not the recording image data includes a portion of luminance levels which are not less than a predetermined threshold; a display data generation unit which generates display data for indicating the portion of the luminance levels which are not less than the predetermined threshold; and a display control unit which superimposes the display data on the display image data.
Latest Canon Patents:
- MEDICAL DATA PROCESSING APPARATUS, MAGNETIC RESONANCE IMAGING APPARATUS, AND LEARNED MODEL GENERATING METHOD
- METHOD AND APPARATUS FOR SCATTER ESTIMATION IN COMPUTED TOMOGRAPHY IMAGING SYSTEMS
- DETECTOR RESPONSE CALIBARATION DATA WEIGHT OPTIMIZATION METHOD FOR A PHOTON COUNTING X-RAY IMAGING SYSTEM
- INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD, AND STORAGE MEDIUM
- X-RAY DIAGNOSIS APPARATUS AND CONSOLE APPARATUS
1. Field of the Invention
The present invention relates to an image processing apparatus which has a portion of luminance levels at which tones cannot be expressed on a display unit due to a latitude difference between a recording image and display image, and a control method thereof.
2. Description of the Related Art
Digital camera parameters include “latitude” as one important item. “Latitude” is a reproducible exposure range or tolerance level of an object, and is determined by settings of an exposure value using an aperture diaphragm and a gamma characteristic as in a dynamic range. A characteristic which can reproduce an image even by setting an exposure value that normally causes highlight-detail loss or shadow-detail loss is expressed as “wide latitude”. In case of such characteristic, smooth tones can be reproduced from a dark part to a bright part. Conversely, a characteristic with a narrow reproducible exposure range is expressed as “narrow latitude”. In this case, highlight-detail loss or shadow-detail loss is readily caused for overexposure or underexposure, but a high-contrast image can be obtained.
A wide variety of digital video cameras ranging from home use to professional use (for film/commercial production) are available, and concepts about latitudes of images to be recorded are different for respective users.
In home use of a digital video camera, an image is converted into and saved as latitude-restricted image data based on an exposure value using an aperture diaphragm and gamma characteristics at the time of developing processing in correspondence with a performance of a display unit such as a television monitor upon recording an image. By contrast, in professional use for filming, an image is recorded to have a wide latitude while utilizing a sensor performance of a digital video camera as much as possible, and the latitude is restricted in correspondence with the performance of the display unit at the time of editing.
Japanese Patent Laid-Open No. 04-051381 describes a technique which extracts a maximum-level signal from R, G, and B image signal of an image sensor, and displays a zebra pattern on a display image within a saturation range of one of the R, G, and B image signals when any of the R, G, and B image signals exceeds a saturation detection level.
As described above, in professional use for filming, since a wide latitude of a recording image is assured, but a latitude of a display image is restricted to a gamma characteristic corresponding to the characteristic of a display unit, the recording image and display image have different latitudes. For this reason, an image signal of a latitude not less than that restricted by the display gamma characteristic causes a highlight-detail loss, and accurate exposure adjustment is difficult to attain upon confirmation of a captured image. Hence, it is desirable to make an assist display which allows the user to confirm a latitude difference between a recording image and display image.
SUMMARY OF THE INVENTIONThe present invention has been made in consideration of the aforementioned problem, and realizes a technique which allows the user to confirm a portion of luminance levels at which tones cannot be expressed on a display unit due to a latitude difference between a recording image and display image, and to attain accurate exposure adjustment.
In order to solve the aforementioned problems, the present invention provides an image processing apparatus comprising: a recording image generation unit configured to generate recording image data from image data input by an image input unit, based on a first gamma characteristic; a display image generation unit configured to generate display image data from the image data based on a second gamma characteristic in correspondence with a characteristic of a display unit; a determination unit configured to determine whether or not the recording image data includes a portion of luminance levels which are not less than a predetermined threshold; a display data generation unit configured to generate display data for indicating the portion of the luminance levels which are not less than the predetermined threshold; and a display control unit configured to superimpose the display data on the display image data.
In order to solve the aforementioned problems, the present invention provides an image processing apparatus comprising: a recording image generation unit configured to generate recording image data from image data input by an image input unit, based on a first gamma characteristic; a display image generation unit configured to generate display image data from the image data based on a second gamma characteristic, a latitude of which is narrower than the first gamma characteristic, wherein the display image data includes a portion in which tones of the recording image data are not reproduced due to the second gamma characteristic is narrower than the first gamma characteristic; and a display unit configured to superimpose display data for indicating that tones cannot be expressed on a portion in which tones of the recording image data cannot be reproduced and in which tones cannot be expressed even in the recording image data in the display image data.
In order to solve the aforementioned problems, the present invention provides a control method of an image processing apparatus, the method comprising the steps of: generating recording image data from image data input by an image input unit, based on a first gamma characteristic; generating display image data from the image data based on a second gamma characteristic in correspondence with a characteristic of a display unit; determining whether or not the recording image data includes a portion of luminance levels which are not less than a predetermined threshold; generating display data used to indicate the portion of the luminance levels which are not less than the predetermined threshold; and superimposing the display data on the display image data.
According to the present invention, the user can confirm a portion of luminance levels at which tones cannot be expressed on a display unit due to a latitude difference between a recording image and display image, and can attain accurate exposure adjustment.
Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings).
Embodiments of the present invention will be described in detail below. The following embodiments are merely examples for practicing the present invention. The embodiments should be properly modified or changed depending on various conditions and the structure of an apparatus to which the present invention is applied. The present invention should not be limited to the following embodiments. Also, parts of the embodiments to be described later may be properly combined.
First EmbodimentAn embodiment in which an image processing apparatus of the present invention is applied to an image capturing apparatus such as a digital video camera for shooting a still image and moving image will be described hereinafter.
<Apparatus Configuration>
The configuration and functions of an image capturing apparatus according to an embodiment of the present invention will be described below with reference to
Referring to
A sensor correction unit 103 applies processing for correcting aberrations caused by the shooting lens set 100 and that for interpolating defective pixels of the sensor to image data output from the image sensor 102.
A developing processing unit 104 inputs R, G, and B image signals from the sensor correction unit 103, and executes offset adjustment, gain adjustment, interpolation processing of the Bayer layout or the like, developing gamma processing, and the like of respective signals. The developing gamma processing converts R, G, and B image signals to have a developing gamma curve exemplified in
A color conversion unit 105 converts R, G, and B image signals output from the developing processing unit 104 into a luminance signal (Y) and color difference signals (Cb, Cr). An encoding unit 106 inputs YCbCr signals, and compression-encodes the input signals in correspondence with a predetermined file format to generate recording image data. A recording medium 107 saves image data compression-encoded by the encoding unit 106.
A gamma correction unit 108 converts R, G, and B image signals output from the developing processing unit 104 based on a gamma characteristic intended by the user, thus generating display image data. The user can arbitrarily select a gamma characteristic from a plurality of gamma characteristics. For example, when the display unit 111 has a characteristic of γ=2.2, image signals output from the developing processing unit 104 are converted into those adjusted to the characteristic of γ=2.2. The gamma correction unit 108 also assumes a role of restricting a latitude in correspondence with the characteristic of the display unit 111. For example, when a latitude to be displayed on the display unit 111 is 100%, even when a recording image has a latitude of 100% or more, a characteristic 401 which sets a maximum luminance level when the latitude=100% is used, as shown in
A gamma selection unit 109 selects according to a control command of a CPU 121 whether image data to be output to the display unit 111 is output image data of the developing processing unit 104 or that of the gamma correction unit 108. When a latitude is restricted, as described above, the CPU 121 switches the gamma selection unit 109 to select output image data of the gamma correction unit 108. Conversely, when a latitude is not restricted, the CPU 121 switches the gamma selection unit 109 to select output image data of the developing processing unit 104 without going through the gamma correction unit 108.
An assist generation unit 112 generates assist display data when it is determined that output image data of the developing processing unit 104 includes a portion of luminance levels which exceed a predetermined threshold. The assist display data is data required to clearly specify a luminance level portion which is unobservable in output image data of the gamma correction unit 108 and in which tones are unobservable even in output data of the developing processing unit 104.
Latitude differences when, for example, the gamma correction unit 108 uses a display gamma characteristic 401 and a developing gamma characteristic 402 of the developing processing unit 104 is that for a filming application will be described below with reference to
In
Also, the developing gamma characteristic 402 is often expressed by a curve which draws an upward convex arc, so as to enhance a characteristic in a low-luminance range. At this time, in a high-luminance range in which the developing gamma characteristic 402 is expressed by a nearly flat curve compared to the low-luminance range, a highlight-detail loss may also be generated in a recording image. Assuming that latitudes at which a highlight-detail loss may also be generated in a recording image range from 700% to 800%, a luminance level corresponding to a latitude=700% is set as a threshold m of the assist generation unit 112. Then, an oblique stripe zebra pattern 501 is displayed on a portion of luminance levels which exceed the threshold m in a recording image, as shown in
An assist display selection unit 113 selects output image data of the developing processing unit 104 or that of the gamma correction unit 108 as output image data to the assist generation unit 112 according to a control command from the CPU 121. The output image data of the developing processing unit 104 is image data to be recorded having a wide latitude, as described above. On the other hand, the output image data of the gamma correction unit 108 is image data to be displayed, which is obtained by restricting a latitude of the output image data of the developing processing unit 104 in correspondence with the characteristic of the display unit 111.
A display composition unit 110 generates composite image data by superimposing assist display data on the output image data from the gamma selection unit 109, and outputs that image data to the display unit 111.
An aperture control unit 122 adjusts an aperture of the aperture diaphragm 101 using a stepping motor and the like as a driving source in accordance with an exposure value set by the user via the operation unit 120.
The CPU 121 controls the aforementioned blocks in accordance with an operation input to the operation unit 120.
The operation unit 120 includes various switches required for the user to operate the image capturing apparatus (a power ON/OFF switch, shooting start/end switch, and the like). In this embodiment, the operation unit 120 especially serves as a device for setting an aperture of the aperture diaphragm 101, setting the threshold m of the assist generation unit 112, selecting the developing gamma characteristic and display gamma characteristic, and making a switching operation of output image data in the gamma selection unit 109 and assist display selection unit 113.
As described above, according to this embodiment, a portion which is unobservable on the display unit 111 due to a highlight-detail loss and in which tones cannot be expressed even in a recording image due to a latitude difference of output image data of the developing processing unit 104 and gamma correction unit 108 can be clearly shown by the assist display.
Also, in this embodiment, a portion in which tones of a recording image cannot be reproduced due to a highlight-detail loss in display image data but in which tones can be expressed in a recording image may be assist-displayed using a form which can be distinguished from the assist-displayed zebra pattern as a portion in which tones are unobservable from the recording image. That is, referring to
In order to implement the aforementioned function, the image capturing apparatus of this embodiment preferably includes an acquisition unit which acquires luminance levels for respective regions in association with display image data, and a determination unit which determines whether an acquired luminance level is included in a latitude range from 100% to 700% or that from 700% to 800%. In this case, the assist generation unit 112 generates assist display data for respective regions in accordance with the latitude range determined by the determination unit.
In this manner, even a portion in which tones of a recording image cannot be expressed due to a highlight-detail loss in display image data, but in which tones can be expressed in the recording image can be clearly shown to be distinguished from a portion in which tones cannot be expressed even in the recording image.
Note that as the generation method of assist display data which allows the user to distinguish a portion corresponding to the latitude range of 100% to 700% and a portion corresponding to the latitude range of 700% to 800% from each other, the aforementioned method for displaying color-coded ranges, the method of changing a direction of a zebra pattern, or the method which combines these methods as needed can be applied.
Furthermore, since a value of the latitude range of the developing gamma characteristic 402 relatively changes depending on the display gamma characteristic 401, a calculation unit which acquires information related to the display gamma characteristic 401 and calculates a value of the latitude range of the developing gamma characteristic 402 may be included.
For example, when an external display device which can set a latitude value other than 100% is used in place of the display unit 111, a highlight-detail loss region on display image data is different from the case using the display unit 111. In such case, the assist generation unit 112 can specify a portion in which a highlight-detail loss is generated in display image data but in which tones can be expressed in a recording image by comparing a gamma characteristic of the external display device and the developing gamma characteristic 402. In this case, when the latitude range in which tones cannot be expressed is divided into arbitrary n ranges, and the divided ranges are color-coded and displayed, the number of divisions may be changed according to a difference between the gamma characteristic of the external display device and the developing gamma characteristic 402. Alternatively, a highlight-detail loss region may be specified from signal levels of display image data which is converted using a display gamma characteristic for the external display device in place of information related to the gamma characteristic acquired from the external display device.
In the example of the aforementioned embodiment, the present invention is applied to the image capturing apparatus such as a digital video camera. However, the present invention is not limited to this, and is applicable to an apparatus which has a portion of luminance levels at which tones cannot be expressed on a display unit due to a latitude difference between a recording image and display image.
Other EmbodimentsAspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment(s), and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment(s). For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (for example, computer-readable medium). In such a case, the system or apparatus, and the recording medium where the program is stored, are included as being within the scope of the present invention.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application Nos. 2013-019885, filed Feb. 4, 2013 and 2013-260666, filed Dec. 17, 2013, which are hereby incorporated by reference herein in their entirety.
Claims
1. An image processing apparatus comprising:
- a recording image generation unit configured to generate recording image data from image data input by an image input unit, based on a first gamma characteristic;
- a display image generation unit configured to generate display image data from the image data based on a second gamma characteristic, a latitude of which is narrower than the first gamma characteristic,
- wherein the display image data includes a portion in which tones of the recording image data are not reproduced due to the second gamma characteristic is narrower than the first gamma characteristic; and
- a display unit configured to superimpose display data for indicating that tones cannot be expressed on a portion in which tones of the recording image data cannot be reproduced and in which tones cannot be expressed even in the recording image data in the display image data.
2. The apparatus according to claim 1, further comprising
- a storage unit configured to store a plurality of different gamma characteristics as the first gamma characteristic; and
- an operation unit configured to accept an operation input from a user,
- wherein the first gamma characteristic is arbitrarily selectable from the plurality of gamma characteristics according to an operation input to said operation unit.
3. The apparatus according to claim 1, further comprising a selection unit configured to select one of the recording image data and the display image data, and to output the selected image data to the display unit.
4. The apparatus according to claim 1, wherein the display data superimposed in the display image data is zebra pattern.
5. A control method of an image processing apparatus, the method comprising the steps of:
- generating recording image data from image data input by an image input unit, based on a first gamma characteristic;
- generating display image data from the image data based on a second gamma characteristic, a latitude of which is narrower than the first gamma characteristic,
- wherein the display image data includes a portion in which tones of the recording image data are not reproduced due to the second gamma characteristic is narrower than the first gamma characteristic; and
- superimposing display data for indicating that tones cannot be expressed on a portion in which tones of the recording image data cannot be reproduced and in which tones cannot be expressed even in the recording image data in the display image data.
6. A non-transitory computer-readable storage medium storing a program for causing a computer to execute a control method of an image processing apparatus, the method comprising the steps of:
- generating recording image data from image data input by an image input unit, based on a first gamma characteristic;
- generating display image data from the image data based on a second gamma characteristic, a latitude of which is narrower than the first gamma characteristic,
- wherein the display image data includes a portion in which tones of the recording image data are not reproduced due to the second gamma characteristic is narrower than the first gamma characteristic; and
- superimposing display data for indicating that tones cannot be expressed on a portion in which tones of the recording image data cannot be reproduced and in which tones cannot be expressed even in the recording image data in the display image data.
20050162360 | July 28, 2005 | Ishihara et al. |
20120026208 | February 2, 2012 | Kobiki et al. |
20120081579 | April 5, 2012 | Doepke |
20120249844 | October 4, 2012 | Saito et al. |
20130322573 | December 5, 2013 | Kludt et al. |
20140176750 | June 26, 2014 | Pajak et al. |
20140210847 | July 31, 2014 | Knibbeler et al. |
04-051381 | February 1992 | JP |
Type: Grant
Filed: Jan 13, 2014
Date of Patent: Feb 23, 2016
Patent Publication Number: 20140218384
Assignee: Canon Kabushiki Kaisha (Tokyo)
Inventor: Yasushi Ito (Yokohama)
Primary Examiner: Wesner Sajous
Application Number: 14/153,649
International Classification: G09G 5/14 (20060101); G09G 5/02 (20060101); G09G 5/10 (20060101); G06T 5/00 (20060101); G06T 5/40 (20060101); G06T 11/00 (20060101); H04N 5/202 (20060101); H04N 1/60 (20060101); H04N 9/64 (20060101); H04N 5/44 (20110101); H04N 5/232 (20060101);