Image processing apparatus to extract luminance data from image data, method for controlling the same, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorHitoshi Kakuta
Life of this patent
Estimating the term…
Abstract
There are provided an image processing apparatus and a control method for controlling the image processing apparatus. The control method includes extracting a high-luminance region including a high-luminance pixel having a higher luminance than a predetermined luminance included in received image data, expanding the high-luminance region by setting pixel values of pixels configuring a surrounding region of the high-luminance region determined based on an area of the high-luminance region to the same pixel value as the high-luminance pixel, and outputting image data having the expanded high-luminance region.
Claims12
An image processing apparatus comprising:
- a dividing unit configured to divide image data into a plurality of regions;
- a detecting unit configured to detect a presence or an absence of glossiness for each region to extract a glossy region;
- an extraction unit configured to extract, based on each area of high-luminance regions included in image data, at least one high-luminance region containing a high-luminance pixel having a higher luminance than a predetermined luminance included in the glossy region;
- and
- an expansion unit configured to expand the at least one high-luminance region which is extracted by the extracting unit without expanding at least one high-luminance region which is not extracted by the extracting unit,
- wherein the expansion unit expands the high-luminance region in accordance with an expansion amount corresponding to at least an area of the high-luminance region, and
- wherein the extraction unit and the expansion unit are implemented by at least one processor or at least one circuit.
A control method for controlling an image processing apparatus, the control method comprising:
- dividing image data into a plurality of regions;
- detecting a presence or an absence of glossiness for each region to extract a glossy region;
- extracting, based on each area of high-luminance regions included in image data, at least one high-luminance region containing a high-luminance pixel having a higher luminance than a predetermined luminance included in the glossy region;
- and
- expanding the at least one high-luminance region which is extracted without expanding at least one high-luminance region which is not extracted,
- wherein the high-luminance region is expanded in accordance with an expansion amount corresponding to at least an area of the high-luminance region, and
- wherein the extracting and the expanding are implemented by at least one processor or at least one circuit.
A non-transitory computer-readable storage medium storing computer-executable instructions that when executed by a computer cause the computer to execute a control method, the control method comprising:
- dividing image data into a plurality of regions;
- detecting a presence or an absence of glossiness for each region to extract a glossy region;
- extracting, based on each area of high-luminance regions included in image data, at least one high-luminance region containing a high-luminance pixel having a higher luminance than a predetermined luminance included in the glossy region;
- and
- expanding the at least one high-luminance region which is extracted without expanding at least one high-luminance region which is not extracted,
- wherein the high-luminance region is expanded in accordance with an expansion amount corresponding to at least an area of the high-luminance region, and
- wherein the extracting and the expanding are implemented by at least one processor or at least one circuit.
Dependencies are inferred from the claim text.