Apparatus, method and non-transitory computer-readable medium storing program for controlling imaging environment of target object
An information processing apparatus ( 2000 ) detects an object ( 30 ) from a captured image ( 20 ) generated by an image capture apparatus ( 10 ). The information processing apparatus ( 2000 ) determines, based on a range occupied by an image area representing the object ( 30 ) in the captured image ( 20 ), a partial range relevant to the object ( 30 ), within an output range of an output apparatus that performs an output having influence on an image capture environment. The information processing apparatus ( 2000 ) determines, based on a feature value of the image area representing the detected object ( 30 ), an output setting of the output apparatus for the partial range. The information processing apparatus ( 2000 ) applies, to the output apparatus, the output setting for the partial range determined for the object ( 30 ).
1. An information processing apparatus comprising:
at least one memory configured to store instructions; and
at least one processor configured to execute the instructions to perform operations comprising:
detecting an object from a captured image generated by an image capture apparatus;
determining, based on a range occupied by an image area representing the object in the captured image, a partial range relevant to the object, within an output range of an output apparatus that performs an output having influence on an image capture environment;
determining, based on a feature value of the image area representing the detected object, an output setting of the output apparatus for the partial range; and
applying, to the output apparatus, the output setting for the partial range determined for the object, wherein
the output apparatus is an apparatus that outputs a background,
the partial range determined for the object is a range to be a background of and around the object, within a range of a background output by the output apparatus, and
the output setting determined for the object is a setting of a color of the background output to the partial range determined for the object, and
the operations further comprise:
computing, as a feature value of the image area representing the object, a representative point on a color space relating to a color of the image area and a representative value of hue of the image area,
determining a point satisfying a predetermined relation with the representative point on the color space,
determining, based on a color relevant to the determined point, a color of a background of the partial range determined for the object,
determining a color far from a computed representative value by a predetermined angle on a hue circle, and
determining, based on the determined color, a color of a background of the partial range determined for the object.
2. The information processing apparatus according to claim 1 , wherein the operations further comprise:
determining the partial range relevant to each of a plurality of the objects detected from the captured image,
determining the output setting relevant to each of a plurality of the objects, and
performing, on the output apparatus, a setting for each of a plurality of the objects.
3. The information processing apparatus according to claim 1 , wherein the operations further comprise transforming, by using information representing correspondence between a position on the image capture apparatus and an output position of the output apparatus, a range on the captured image indicated by the image area representing the object to an output range of the output apparatus.
4. A control method executed by a computer, comprising:
detecting an object from a captured image generated by an image capture apparatus;
determining, based on a range occupied by an image area representing the object in the captured image, a partial range relevant to the object, within an output range of an output apparatus that performs an output having influence on an image capture environment;
determining, based on a feature value of the image area representing the detected object, an output setting of the output apparatus for the partial range; and
applying, to the output apparatus, the output setting for the partial range determined for the object, wherein
the output apparatus is an apparatus that outputs a background,
the partial range determined for the object is a range to be a background of and around the object, within a range of a background output by the output apparatus, and
the output setting determined for the object is a setting of a color of the background output to the partial range determined for the object, and
the control method further comprises:
in the determination of the output setting:
computing, as a feature value of the image area representing the object, a representative point on a color space relating to a color of the image area and a representative value of hue of the image area;
determining a point satisfying a predetermined relation with the representative point on the color space;
determining, based on a color relevant to the determined point, a color of a background of the partial range determined for the object
determining a color far from a computed representative value by a predetermined angle on a hue circle; and
determining, based on the determined color, a color of a background of the partial range determined for the object.
5. The control method according to claim 4 , further comprising:
in the determination of the partial range, determining the output range relevant to each of a plurality of the objects detected from the captured image;
in the determination of the output setting, determining the output setting relevant to each of a plurality of the objects; and
in the applying, performing, on the output apparatus, a setting for each of a plurality of the objects.
6. The control method according to claim 4 , further comprising, in the determination of the partial range, transforming, by using information representing correspondence between a position on the image capture apparatus and an output position of the output apparatus, a range on the captured image indicated by the image area representing the object to an output range of the output apparatus.
7. A non-transitory computer readable storage medium storing a program that causes a computer to execute steps included in a control method, the method comprising:
detecting an object from a captured image generated by an image capture apparatus;
determining, based on a range occupied by an image area representing the object in the captured image, a partial range relevant to the object, within an output range of an output apparatus that performs an output having influence on an image capture environment;
determining, based on a feature value of the image area representing the detected object, an output setting of the output apparatus for the partial range; and
applying, to the output apparatus, the output setting for the partial range determined for the object, wherein
the output apparatus is an apparatus that outputs a background,
the partial range determined for the object is a range to be a background of and around the object, within a range of a background output by the output apparatus, and
the output setting determined for the object is a setting of a color of the background output to the partial range determined for the object, and
the control method further comprises:
in the determination of the output setting:
computing, as a feature value of the image area representing the object, a representative point on a color space relating to a color of the image area and a representative value of hue of the image area;
determining a point satisfying a predetermined relation with the representative point on the color space;
determining, based on a color relevant to the determined point, a color of a background of the partial range determined for the object
determining a color far from a computed representative value by a predetermined angle on a hue circle; and
determining, based on the determined color, a color of a background of the partial range determined for the object.