Picture composition adjustment
AssigneeInternational Business Machines Corporation
InventorsRuo Meng Hao, Xiang Yu Song, Ning Wang, You Miao Zhang
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure allow user experience of photographing to be improved. In operation, it is determined whether a picture composition of a first object and a second object needs to be adjusted based on a predefined composition rule. If the picture composition needs to be adjusted, an adjusting pattern is determined based on the predefined composition rule. Then, the adjusting pattern is provided to a user to indicate the user to adjust the picture composition based on thereon.
Claims18
A computer-implemented method comprising:
- determining, based on a predefined composition rule, whether a picture composition of a first object and a second object needs to be adjusted;
- wherein the determining comprises:
- determining whether the first object overlaps with the second object;
- in response to determining that the first object overlaps with the second object, determining whether a ratio of areas of a first region of the first object and a total region of the picture composition is less than a ratio threshold;
- and
- in response to determining that the ratio is less than the ratio threshold, determining that the picture composition needs to be adjusted;
- in response to determining that the picture composition needs to be adjusted, determining an adjusting pattern based on the predefined composition rule;
- and
- providing the adjusting pattern to a user, to indicate the user to adjust the picture composition based on the adjusting pattern.
A device, comprising:
- one or more processors;
- a memory coupled to at least one of the processors;
- a set of computer program instructions stored in the memory and executed by at least one of the processors in order to perform actions including:
- determining, based on a predefined composition rule, whether a picture composition of a first object and a second object needs to be adjusted;
- wherein the determining comprises:
- determining whether the first object overlaps with the second object;
- in response to determining that the first object overlaps with the second object, determining whether a ratio of areas of a first region of the first object and a total region of the picture composition is less than a ratio threshold;
- and
- in response to determining that the ratio is less than the ratio threshold, determining that the picture composition needs to be adjusted;
- in response to determining that the picture composition needs to be adjusted, determining an adjusting pattern based on the predefined composition rule;
- and
- providing the adjusting pattern to a user, to indicate the user to adjust the picture composition based on the adjusting pattern.
A computer program product being tangibly stored on a non-transient machine-readable medium and comprising machine-executable instructions, the instructions, when executed by a device, causing the device to:
- determine, based on a predefined composition rule, whether a picture composition of a first object and a second object needs to be adjusted;
- wherein the determining comprises:
- determining whether the first object overlaps with the second object;
- in response to determining that the first object overlaps with the second object, determining whether a ratio of areas of a first region of the first object and a total region of the picture composition is less than a ratio threshold;
- and
- in response to determining that the ratio is less than the ratio threshold, determining that the picture composition needs to be adjusted;
- in response to determining that the picture composition needs to be adjusted, determine an adjusting pattern based on the predefined composition rule;
- and
- provide the adjusting pattern to a user, to indicate the user to adjust the picture composition based on the adjusting pattern.
Dependencies are inferred from the claim text.