Information processing apparatus, control method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorsHiroyasu Kunieda, Shinjiro Hori, Masaaki Obayashi
Life of this patent
Estimating the term…
Abstract
Based on pixel information of a target image selected from a plurality of images, an information processing apparatus specifies whether the target image is to be used for an album, and sets a template based on a condition for creating the album. The information processing apparatus places on the set template the target image to be used for the album according to the specifying.
Claims10
An information processing apparatus comprising:
- at least one processor configured to function as:
- a discouraging unit configured to perform discouraging processing to discourage selection of a target image in a case where a number of pixels indicated by pixel information of the target image selected from a plurality of images is smaller than a predetermined value for the discouraging processing;
- a specifying unit configured to specify an image to be used for an album from a plurality of images including the target image of which the selection is discouraged by the discouraging unit;
- a score determination unit configured to determine a score of the target image;
- a setting unit configured to set a template;
- and
- a generation unit configured to generate layout information based on the image specified by the specifying unit and on the set template,
- wherein the discouraging unit determines a coefficient to discourage selection of the target image in a case where a number of pixels of the target image selected from a plurality of images is smaller than a predetermined value for the discouraging processing;
- wherein based on the score of the target image and the coefficient, the specifying unit specifies whether the target image is to be used for the album, and
- wherein in a case where the number of pixels indicated by the pixel information of the target image is less than or equal to the predetermined value, the discouraging unit determines a value smaller than 1 as the coefficient for the target image, and in a case where the number of pixels indicated by the pixel information of the target image is not less than or equal to the predetermined value, the discouraging unit does not execute the discouraging processing for determining the coefficient.
A control method executed by an information processing apparatus, the control method comprising:
- performing discouraging processing to discourage selection of a target image in a case where a number of pixels indicated by pixel information of the target image selected from a plurality of images is smaller than a predetermined value for the discouraging processing;
- specifying an image to be used for an album from a plurality of images including the target image of which the selection is discouraged;
- determining a score of the target image;
- setting a template;
- and
- generating layout information based on the image specified by the specifying and on the set template,
- wherein the discouraging determines a coefficient to discourage selection of the target image in a case where a number of pixels of the target image selected from a plurality of images is smaller than a predetermined value for the discouraging processing;
- wherein based on the score of the target image and the coefficient, it is specified whether the target image is to be used for the album, and
- wherein in a case where the number of pixels indicated by the pixel information of the target image is less than or equal to the predetermined value, a value smaller than 1 as the coefficient for the target image is determined, and in a case where the number of pixels indicated by the pixel information of the target image is not less than or equal to the predetermined value, the discouraging processing for determining the coefficient is not executed.
A control method executed by an information processing apparatus, the control method comprising:
- performing discouraging processing to discourage selection of a target image in a case where a number of pixels indicated by pixel information of the target image selected from a plurality of images is smaller than a predetermined value for the discouraging processing;
- specifying an image to be used for an album from a plurality of images including the target image of which the selection is discouraged;
- determining a score of the target image;
- setting a template;
- and
- generating layout information based on the image specified by the specifying and on the set template,
- wherein the discouraging determines a coefficient to discourage selection of the target image in a case where a number of pixels of the target image selected from a plurality of images is smaller than a predetermined value for the discouraging processing,
- wherein based on the score of the target image and the coefficient, it is specified whether the target image is to be used for the album, and
- wherein a first coefficient is determined in a case where the pixel information is first pixel information, a second coefficient smaller than the first coefficient is determined in a case where the pixel information is second pixel information indicating a smaller number of pixels than the first pixel information, and a third coefficient smaller than the second coefficient is determined in a case where the pixel information is third pixel information indicating a smaller number of pixels than the second pixel information,
- wherein the numbers of pixels indicated by the first, second, and third pixel information are smaller than a predetermined value, and
- wherein the first, second, and third coefficients are smaller than 1.
A non-transitory storage medium storing a program for causing an information processing apparatus to execute a control method comprising:
- performing discouraging processing to discourage selection of a target image in a case where a number of pixels indicated by pixel information of the target image selected from a plurality of images is smaller than a predetermined value for the discouraging processing;
- specifying an image to be used for an album from a plurality of images including the target image of which the selection is discouraged;
- determining a score of the target image;
- setting a template;
- and
- generating layout information based on the image specified by the specifying and on the set template,
- wherein the discouraging processing determines a coefficient to discourage selection of the target image in a case where a number of pixels of the target image selected from a plurality of images is smaller than a predetermined value for the discouraging processing;
- wherein based on the score of the target image and the coefficient, it is specified whether the target image is to be used for the album, and
- wherein in a case where the number of pixels indicated by the pixel information of the target image is less than or equal to the predetermined value, a value smaller than 1 as the coefficient for the target image is determined, and in a case where the number of pixels indicated by the pixel information of the target image is not less than or equal to the predetermined value, the discouraging processing for determining the coefficient is not executed.
Dependencies are inferred from the claim text.