Image processing apparatus to generate composite image, control method, and recording medium
AssigneeCanon Kabushiki Kaisha
InventorYohei Yamanaka
Life of this patent
Estimating the term…
Abstract
An image processing apparatus acquires a first image and a second image having a dynamic range wider than a dynamic range of the first image, generates a converted image by converting the dynamic range of the first image, and generates a composite image by compositing the second image and the converted image. The apparatus decides a composition range based on the second image, and converts the dynamic range of the first image into the composition range.
Claims12
An image processing apparatus comprising:
- at least one processor and a memory containing instructions that, when executed by the at least one processor, perform operations configured to function as the following units:
- a first acquisition unit configured to acquire a first image and a second image having a dynamic range wider than a dynamic range of the first image;
- a conversion unit configured to generate a converted image by converting the dynamic range of the first image;
- and
- a generation unit configured to generate a composite image by compositing the second image and the converted image generated by the conversion unit,
- wherein the second image is a High Dynamic Range (HDR) image encoded by a Perceptual Quantization (PQ) method defined in ITU-R BT.2100,
- wherein the conversion unit decides a composition range based on the second image, decides a peak luminance value of the dynamic range of the second image as a maximum value of the composition range, and converts the dynamic range of the first image into the composition range so that a maximum signal level of the converted image is set to a signal level corresponding to the maximum value of the composition range,
- wherein each of the first image and the second image is an image obtained by applying gamma corresponding to the corresponding dynamic range to convert brightness of an object into a nonlinear signal, and
- wherein the conversion unit generates a first intermediate image by applying degamma corresponding to the dynamic range of the first image and converting a signal of the first image into a linear luminance value, generates a second intermediate image by assigning the luminance value of the first intermediate image to a value range whose maximum value is the peak luminance value of the second image, and generates the converted image by applying the gamma corresponding to the dynamic range of the second image and converting the luminance value of the second intermediate image into a nonlinear signal.
A control method for an image processing apparatus, the control method comprising:
- acquiring a first image and a second image having a dynamic range wider than a dynamic range of the first image;
- generating a converted image by converting the dynamic range of the first image;
- and
- generating a composite image by compositing the second image and the generated converted image,
- wherein the second image is a High Dynamic Range (HDR) image encoded by a Perceptual Quantization (PQ) method defined in ITU-R BT.2100,
- wherein in generating the converted image, a composition range is decided based on the second image, a peak luminance value of the dynamic range of the second image is decided as a maximum value of the composition range, and the dynamic range of the first image is converted into the composition range so that a maximum signal level of the converted image is set to a signal level corresponding to the maximum value of the composition range,
- wherein each of the first image and the second image is an image obtained by applying gamma corresponding to the corresponding dynamic range to convert brightness of an object into a nonlinear signal, and
- wherein in generating the converted image, a first intermediate image is generated by applying degamma corresponding to the dynamic range of the first image and converting a signal of the first image into a linear luminance value, a second intermediate image is generated by assigning the luminance value of the first intermediate image to a value range whose maximum value is the peak luminance value of the second image, and the converted image is generated by applying the gamma corresponding to the dynamic range of the second image and converting the luminance value of the second intermediate image into a nonlinear signal.
A non-transitory computer-readable recording medium recording a program for causing a computer to:
- acquire a first image and a second image having a dynamic range wider than a dynamic range of the first image;
- generate a converted image by converting the dynamic range of the first image;
- and
- generate a composite image by compositing the second image and the generated converted image,
- wherein the second image is a High Dynamic Range (HDR) image encoded by a Perceptual Quantization (PQ) method defined in ITU-R BT.2100,
- wherein in generating the converted image, a composition range is decided based on the second image, a peak luminance value of the dynamic range of the second image is decided as a maximum value of the composition range, and the dynamic range of the first image is converted into the composition range so that a maximum signal level of the converted image is set to a signal level corresponding to the maximum value of the composition range,
- wherein each of the first image and the second image is an image obtained by applying gamma corresponding to the corresponding dynamic range to covert brightness of an object into a nonlinear signal, and
- wherein in generating the converted image, a first intermediate image is generated by applying degamma corresponding to the dynamic range of the first image and converting a signal of the first image into a linear luminance value, a second intermediate image is generated by assigning the luminance value of the first intermediate image to a value range whose maximum value is the peak luminance value of the second image, and the converted image is generated by applying the gamma corresponding to the dynamic range of the second image and converting the luminance value of the second intermediate image into a nonlinear signal.
Dependencies are inferred from the claim text.