Image processing apparatus, image processing system, image processing method, and image processing program
An image processing apparatus includes a processor, configured to perform an image acquisition processing of acquiring a plurality of moving images having overlapping imaging ranges, an information acquisition processing of acquiring information on a stitching region to be used for concatenation of the plurality of moving images, an indicator calculation processing of calculating an indicator based on a distance between a subject and a stitching line included in the stitching region, and a warning processing of outputting a warning from an output device based on the indicator. In the indicator calculation processing, the processor is configured to calculate the indicator based on a size of the subject in the moving image.
1 . An image processing apparatus comprising:
a processor,
wherein the processor is configured to perform:
image acquisition processing of acquiring a plurality of moving images having overlapping imaging ranges;
information acquisition processing of acquiring information on a stitching region to be used for concatenation of the plurality of moving images;
indicator calculation processing of calculating an indicator based on a distance between a subject and a stitching line included in the stitching region, a size of the subject in the stitching region, and a time during which the subject stays in the stitching region; and
warning processing of outputting a warning from an output device based on the indicator having exceeded a threshold.
2 . The image processing apparatus according to claim 1 ,
wherein the processor is configured to perform determination processing of determining whether or not the subject is within the stitching region based on the indicator.
3 . The image processing apparatus according to claim 2 ,
wherein the processor is configured to, in the warning processing, output the warning from the output device based on the determination processing.
4 . The image processing apparatus according to claim 1 ,
wherein the processor is configured to determine the size of the subject based on a size of at least a region indicating a site of a person.
5 . The image processing apparatus according to claim 1 ,
wherein the processor is configured to, in the indicator calculation processing, determine whether or not the subject is a moving object, and calculate the indicator in a case where the subject is determined to be the moving object.
6 . The image processing apparatus according to claim 5 ,
wherein the processor is configured to, in a case where a person is recognized, determine the person as the moving object.
7 . The image processing apparatus according to claim 5 ,
wherein the processor is configured to, in the warning processing, output information indicating a direction in which the subject is to be moved.
8 . The image processing apparatus according to claim 1 ,
wherein the processor is configured to, in the information acquisition processing:
acquire a common region among the plurality of moving images as the information on the stitching region; and
set the stitching line in the stitching region based on a user's operation.
9 . The image processing apparatus according to claim 1 ,
wherein the processor is configured to:
add the information on the stitching region to the plurality of moving images displayed in a live view, in the information acquisition processing; and
start recording the plurality of moving images after adding the information on the stitching region.
10 . The image processing apparatus according to claim 1 ,
wherein the processor is configured to perform combining processing of concatenating the plurality of moving images at the stitching region or the stitching line to generate a composite moving image.
11 . The image processing apparatus according to claim 10 ,
wherein the processor is configured to generate an all-around moving image in the combining processing.
12 . The image processing apparatus according to claim 11 ,
wherein the processor is configured to display the composite moving image on a display device.
13 . An image processing system comprising:
the image processing apparatus;
an imaging device that captures the plurality of moving images; and
the output device, wherein the image processing apparatus comprises:
a processor configured to perform:
image acquisition processing of acquiring a plurality of moving images having overlapping imaging ranges;
information acquisition processing of acquiring information on a stitching region to be used for concatenation of the plurality of moving images;
indicator calculation processing of calculating an indicator based on a distance between a subject, a size of the subject in the stitching region, and a stitching line included in the stitching region and a time during which the subject stays in the stitching region; and
warning processing of outputting a warning from an output device based on the indicator having exceeded a threshold.
14 . The image processing system according to claim 13 ,
wherein the output device outputs the warning through at least one of screen display, audio output, or vibration.
15 . An image processing method executed by an image processing apparatus including a processor, the image processing method comprising:
causing the processor to execute:
an image acquisition step of acquiring a plurality of moving images having overlapping imaging ranges;
an information acquisition step of acquiring information on a stitching region to be used for concatenation of the plurality of moving images;
an indicator calculation step of calculating an indicator based on a distance between a subject, a size of the subject in the stitching region, and a stitching line included in the stitching region and a time during which the subject stays in the stitching region; and
a warning output step of outputting a warning from an output device based on the indicator having exceeded a threshold.
16 . A non-transitory, computer-readable tangible recording medium on which a program for causing, when read by a computer, the computer to execute the image processing method according to claim 15 is recorded.