Image processing apparatus that determines processing target area of an image based on degree of saliency, image processing method, and storage medium
First Claim
1. An image processing apparatus comprising:
- at least one processor;
a memory that includes instructions for the at least one processor to, by being executed by the at least one processor;
set a search area based on spatial information of a subject, the spatial information being information of an area in which the subject in an image is predicted to be present;
set a first area inside the search area but not outside the search area;
set a second area outside the first area;
calculate a first feature amount of the first area;
calculate a second feature amount of the second area, the second feature amount being a feature amount of the same type as the first feature amount; and
calculate a degree of visual saliency of the subject in the first area based on a difference between the first feature amount and the second feature amount,wherein in a case that a plurality of search areas are set, the first area and the second area are set and the degree of visual saliency is calculated in each of the search areas, and a processing target area is determined from the first areas of the plurality of search areas based on the calculated degree of visual saliency.
1 Assignment
0 Petitions
Accused Products
Abstract
An image processing apparatus is provided with a spatial information calculation unit for calculating spatial information of a subject, which is the information of an area in which the subject in an image is predicted to be present, a first area setting unit for setting a first area in the image based on the spatial information, a second area setting unit for setting a second area outside the first area, a first feature amount calculation unit for calculating a first feature amount of the first area, a second feature amount calculation unit for calculating a second feature amount of the second area, the second feature amount being a feature amount of the same type as the first feature amount, and an saliency calculation unit for calculating a degree of visual saliency of the subject.
11 Citations
18 Claims
-
1. An image processing apparatus comprising:
-
at least one processor; a memory that includes instructions for the at least one processor to, by being executed by the at least one processor; set a search area based on spatial information of a subject, the spatial information being information of an area in which the subject in an image is predicted to be present; set a first area inside the search area but not outside the search area; set a second area outside the first area; calculate a first feature amount of the first area; calculate a second feature amount of the second area, the second feature amount being a feature amount of the same type as the first feature amount; and calculate a degree of visual saliency of the subject in the first area based on a difference between the first feature amount and the second feature amount, wherein in a case that a plurality of search areas are set, the first area and the second area are set and the degree of visual saliency is calculated in each of the search areas, and a processing target area is determined from the first areas of the plurality of search areas based on the calculated degree of visual saliency. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. An image processing method comprising:
-
setting a search area based on spatial information of a subject, the spatial information being information of an area in which a subject in an image is predicted to be present; setting a first area inside the search area but not outside the search area; setting a second area outside the first area; calculating a first feature amount of the first area; calculating a second feature amount of the second area, the second feature amount being a feature amount of the same type as the first feature amount; and calculating a degree of visual saliency of the subject in the first area based on a difference between the first feature amount and the second feature amount, wherein in a case that a plurality of search areas are set, the first area and the second area are set and the degree of visual saliency is calculated in each of the search areas, and a processing target area is determined from the first areas of the plurality of search areas based on the calculated degree of visual saliency.
-
-
18. A non-transitory computer readable storage medium storing a computer-executable program for executing a method for controlling an image processing apparatus using the computer,
the method comprising: -
setting a search area based on spatial information of a subject, the spatial information being information of an area in which a subject in an image is predicted to be present; setting a first area inside the search area but not outside the search area; setting a second area outside the first area; calculating a first feature amount of the first area; calculating a second feature amount of the second area, the second feature amount being a feature amount of the same type as the first feature amount; and calculating a degree of visual saliency of the subject in the first area based on a difference between the first feature amount and the second feature amount, wherein in a case that a plurality of search areas are set, the first area and the second area are set and the degree of visual saliency is calculated in each of the search areas, and a processing target area is determined from the first areas of the plurality of search areas based on the calculated degree of visual saliency.
-
Specification