US 12,094,127 B2
Image processing apparatus, image processing method, and non-transitory computer-readable medium
Hajime Muta, Kanagawa (JP); and Yasuo Bamba, Tokyo (JP)
Assigned to Canon Kabushiki Kaisha, Tokyo (JP)
Filed by CANON KABUSHIKI KAISHA, Tokyo (JP)
Filed on Dec. 6, 2021, as Appl. No. 17/542,983.
Claims priority of application No. 2020-204439 (JP), filed on Dec. 9, 2020.
Prior Publication US 2022/0180529 A1, Jun. 9, 2022
Int. Cl. G06T 7/20 (2017.01); G06V 10/22 (2022.01)
CPC G06T 7/20 (2013.01) [G06V 10/22 (2022.01); G06T 2207/20084 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An image processing apparatus for measuring a flow of a measurement target based on a video, the image processing apparatus comprising:
one or more processors; and
one or more memories storing instructions that when executed by the one or more processors cause the one or more processors to perform:
setting a detection line within an image region of the video, the detection line indicating one or more positions at which the flow of the measurement target in the video is to be measured,
wherein the video includes a plurality of images, each of the images including the image region;
determining one or more partial image regions of the image region, the determined partial image regions located in a vicinity of the detection line;
extracting, from each of the plurality of images in the video, image data for the partial image regions set determined to be located in the vicinity of the detection line; and
measuring the flow of the measurement target passing the detection line by performing an image processing process on the extracted image data for the determined partial image regions but not for image data for the other regions of the image region.