IP Library Granted Patent US 12,626,372
Granted Patent B2
US 12,626,372 · App. 18/535,429 · Granted May 12, 2026

System and method for estimating the direction of a movement in video images

Inventor: Marina Nicolas (Voreppe, FR)
Assignee: STMicroelectronics International N.V.
G06T7/248G06T7/12G06T7/136G06T7/215G06T2207/10016G06T2207/20021G06V10/443G06V20/41
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,626,372
App. No.
18/535,429
Granted
May 12, 2026
Kind
B2
Abstract

The present description concerns a system and method of determining at least one classifier of a general movement along a first direction in video images of a scene, comprising determining a differential image based on two video images, selecting pixels of the differential image corresponding to edges of objects, determining, for each selected pixel, at least one classifier of a local movement along the first direction at least at a first or second value, determining a first indicator of the local movement along the first direction, which depends on the sum of the local movement classifiers at the first value and a second indicator of the local movement along the first direction, which depends on the sum of the local movement classifiers at the second value, and determining the general movement classifier based on the comparison of the first and second local movement indicators.

Claims (58)

1 . A method of determining at least one classifier of a general movement along a first direction in a scene, the method comprising steps:

a) determining a differential image based on first and second video images of the scene;

b) selecting pixels of the differential image corresponding to edges of objects of the scene;

c) determining, for each pixel selected at step b), at least one classifier of a local movement along the first direction at least at a first value and at a second value;

d) determining a first indicator of the local movement along the first direction which depends on a sum of the at least one local movement classifier along the first direction at the first value and a second indicator of the local movement along the first direction which depends on a sum of the at least one local movement classifier along the first direction at the second value; and

e) determining the at least one classifier of the general movement along the first direction based on a comparison of the first and second indicators of the local movement along the first direction.

2 . The method according to claim 1 , wherein, at step a), each pixel of the differential image is an affine function of a difference between the pixels at the same position in the first and second video images.

3 . The method according to claim 1 , wherein step a) further comprises a step of segmentation of the differential image to delimit at least two portions of the differential image, steps b), c), d), and e) being implemented separately for each portion of the differential image.

4 . The method according to claim 1 , wherein step b) comprises a first selection of pixels of the differential image for which an absolute value of a difference between each pixel and a constant is greater than a first pixel value threshold.

5 . The method according to claim 4 , wherein step b) comprises a second selection of pixels of the differential image among the pixels of the first selection, comprising selecting, for each group of adjacent pixels along the first direction, only of a pixel at a beginning of the group and of a pixel at an end of the group.

6 . The method according to claim 4 , wherein step b) comprises removing, from the first selection, of each group of adjacent pixels along the first direction for which a number of pixels is smaller than a pixel number threshold.

7 . The method according to claim 1 , wherein step c) comprises, for each pixel of the differential image selected at step b), the determination of the classifier of the local movement along the first direction of the selected pixel at least at the first value or at the second value based on a value of the selected pixel and on a result of the comparison between a first pixel equal to the pixel of the first or second video image located along the first direction just before the selected pixel or a first noise level equal to a noise level of pixels of the differential image located along the first direction just before the selected pixel and a second pixel equal to the pixel of the first or second video image located along the first direction just after the selected pixel or a second noise level equal to a noise level of pixels of the differential image located along the first direction just after the selected pixel.

8 . The method according to claim 7 , wherein, for each pixel of the differential image selected at step b), step c) comprises:

in response to the selected pixel being lower than a second pixel value threshold and in response to the first pixel being lower than the second pixel or the first noise level being lower than the second noise level, the classifier of the local movement along the first direction of the selected pixel is set to the first value;

in response to the selected pixel being higher than the second pixel value threshold and in response to the first pixel being lower than the second pixel or the first noise level being lower than the second noise level, the classifier of the local movement along the first direction of the selected pixel is set to the second value;

in response to the selected pixel being lower than the second pixel value threshold and in response to the first pixel being higher than the second pixel or the first noise level being higher than the second noise level, the classifier of the local movement along the first direction of the selected pixel is set to the second value; and

in response to the selected pixel being higher than the second pixel value threshold and in response to the first pixel being higher than the second pixel or the first noise level being higher than the second noise level, the classifier of the local movement along the first direction of the selected pixel is set to the first value.

9 . The method according to claim 7 , wherein the first noise level is equal to a standard deviation of values of a number K of adjacent pixels of the differential image along the first direction located just before the selected pixel, and the second noise level is equal to a standard deviation of values of the number K of adjacent pixels of the differential image along the first direction located just after the selected pixel.

10 . The method according to claim 9 , wherein the first noise level and/or the second noise level are replaced with a maximum noise level value in response to the respective K pixels being higher than a third pixel value threshold.

11 . The method according to claim 1 , further comprising:

at step c), determining, for each pixel of the differential image selected at step b), at least one classifier of the local movement along a second direction, different from the first direction, at least at a third value or at a fourth value;

at step d), determining a first indicator of the local movement along the second direction which depends on the sum of the local movement classifiers along the second direction at the third value and a second indicator of the local movement along the second direction which depends on the sum of the local movement classifiers along the second direction at the fourth value; and

at step e), determining a classifier of the general movement along the second direction based on the comparison of the first and second indicators of the local movement along the second direction.

12 . The method according to claim 11 , wherein, at step d), for each pixel of each group of pixels selected at step b) and aligned along a third direction inclined to within 10° along a bisector with respect to the first and second directions, when the classifier of the local movement along the first direction of the pixel in the group is at the first value and the classifier of the local movement along the second direction of the pixel in the group is at the fourth value, the classifier of the local movement along the first direction of the pixel in the group is weighted by a factor smaller than one in the determination of the first indicator of the local movement along the first direction and the classifier of the local movement along the second direction of the pixel in the group is weighted by the factor in the determination of the first indicator of the local movement along the second direction, and, when the classifier of the local movement along the first direction of the pixel in the group is at the second value and the classifier of the local movement along the second direction of the pixel in the group is at the fourth value, the classifier of the local movement along the first direction of the pixel is weighted by the factor in the determination of the second indicator of the local movement along the first direction and the classifier of the local movement along the second direction of the pixel in the group is weighted by the factor in the determination of the second indicator of the local movement along the second direction.

13 . The method according to claim 11 , wherein the pixels of the video images and of the differential image are arranged in rows and in columns, the first direction corresponding to a row direction and the second direction corresponding to a column direction.

14 . The method according to claim 1 , further comprising:

illuminating the scene with a radiation; and

capturing the radiation to acquire the video images of the scene.

15 . A system for determining at least one classifier of a general movement along a first direction in a scene, the system comprising:

a video image acquisition image sensor; and

a processing module configured to:

a) determine a differential image based on first and second video images of the scene received from the video image acquisition image sensor;

b) select pixels of the differential image corresponding to edges of objects of the scene;

c) determine, for each pixel selected at step b), at least one classifier of a local movement along the first direction at least at a first value and at a second value;

d) determine a first indicator of the local movement along the first direction which depends on a sum of the at least one local movement classifier along the first direction at the first value and a second indicator of the local movement along the first direction which depends on a sum of the at least one local movement classifier along the first direction at the second value; and

e) determine the at least one classifier of the general movement along the first direction based on a comparison of the first and second indicators of the local movement along the first direction.

16 . The system according to claim 15 , wherein, at step a), each pixel of the differential image is an affine function of a difference between the pixels at the same position in the first and second video images.

17 . The system according to claim 15 , wherein step a) further comprises a step of segmentation of the differential image to delimit at least two portions of the differential image, steps b), c), d), and e) being implemented separately for each portion of the differential image.

18 . The system according to claim 15 , wherein step b) comprises a first selection of pixels of the differential image for which an absolute value of a difference between each pixel and a constant is greater than a first pixel value threshold.

19 . The system according to claim 18 , wherein step b) comprises a second selection of pixels of the differential image among the pixels of the first selection, comprising a selection, for each group of adjacent pixels along the first direction, only of a pixel at a beginning of the group and of a pixel at an end of the group.

20 . The system according to claim 18 , wherein step b) comprises a removal, from the first selection, of each group of adjacent pixels along the first direction for which a number of pixels is smaller than a pixel number threshold.

21 . The system according to claim 15 , wherein step c) comprises, for each pixel of the differential image selected at step b), the determination of the classifier of the local movement along the first direction of the selected pixel at least at the first value or at the second value based on a value of the selected pixel and on a result of the comparison between a first pixel equal to the pixel of the first or second video image located along the first direction just before the selected pixel or a first noise level equal to a noise level of pixels of the differential image located along the first direction just before the selected pixel and a second pixel equal to the pixel of the first or second video image located along the first direction just after the selected pixel or a second noise level equal to a noise level of pixels of the differential image located along the first direction just after the selected pixel.

22 . The system according to claim 21 , wherein, for each pixel of the differential image selected at step b), step c) comprises:

in response to the selected pixel being lower than a second pixel value threshold and in response to the first pixel being lower than the second pixel or the first noise level being lower than the second noise level, the classifier of the local movement along the first direction of the selected pixel is set to the first value;

in response to the selected pixel being higher than the second pixel value threshold and in response to the first pixel being lower than the second pixel or the first noise level being lower than the second noise level, the classifier of the local movement along the first direction of the selected pixel is set to the second value;

in response to the selected pixel being lower than the second pixel value threshold and in response to the first pixel being higher than the second pixel or the first noise level being higher than the second noise level, the classifier of the local movement along the first direction of the selected pixel is set to the second value; and

in response to the selected pixel being higher than the second pixel value threshold and in response to the first pixel being higher than the second pixel or the first noise level being higher than the second noise level, the classifier of the local movement along the first direction of the selected pixel is set to the first value.

23 . The system according to claim 21 , wherein the first noise level is equal to a standard deviation of values of a number K of adjacent pixels of the differential image along the first direction located just before the selected pixel, and the second noise level is equal to a standard deviation of values of the number K of adjacent pixels of the differential image along the first direction located just after the selected pixel.

24 . The system according to claim 23 , wherein the first noise level and/or the second noise level are replaced with a maximum noise level value in response to the respective K pixels being higher than a third pixel value threshold.

25 . The system according to claim 15 , further comprising:

at step c), determining, for each pixel of the differential image selected at step b), at least one classifier of the local movement along a second direction, different from the first direction, at least at a third value or at a fourth value;

at step d), determining a first indicator of the local movement along the second direction which depends on the sum of the local movement classifiers along the second direction at the third value and a second indicator of the local movement along the second direction which depends on the sum of the local movement classifiers along the second direction at the fourth value; and

at step e), determining a classifier of the general movement along the second direction based on the comparison of the first and second indicators of the local movement along the second direction.

26 . The system according to claim 25 , wherein, at step d), for each pixel of each group of pixels selected at step b) and aligned along a third direction inclined to within 10° along a bisector with respect to the first and second directions, when the classifier of the local movement along the first direction of the pixel in the group is at the first value and the classifier of the local movement along the second direction of the pixel in the group is at the fourth value, the classifier of the local movement along the first direction of the pixel in the group is weighted by a factor smaller than one in the determination of the first indicator of the local movement along the first direction and the classifier of the local movement along the second direction of the pixel in the group is weighted by the factor in the determination of the first indicator of the local movement along the second direction, and, when the classifier of the local movement along the first direction of the pixel in the group is at the second value and the classifier of the local movement along the second direction of the pixel in the group is at the fourth value, the classifier of the local movement along the first direction of the pixel is weighted by the factor in the determination of the second indicator of the local movement along the first direction and the classifier of the local movement along the second direction of the pixel in the group is weighted by the factor in the determination of the second indicator of the local movement along the second direction.

27 . The system according to claim 25 , wherein the pixels of the video images and of the differential image are arranged in rows and in columns, the first direction corresponding to a row direction and the second direction corresponding to a column direction.

28 . The system according to claim 15 , further comprising:

an illuminating device configured to illuminate the scene with a radiation; and

the video image acquisition image sensor further configured to capture the radiation to acquire the video images of the scene.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 29, 2024
From: STMICROELECTRONICS (GRENOBLE 2) SAS
To: STMICROELECTRONICS INTERNATIONAL N.V.
Reel/Frame 068113/0477 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 11, 2023
From: NICOLAS, MARINA
To: STMICROELECTRONICS (GRENOBLE 2) SAS
Reel/Frame 065830/0005 →
Priority Claims (1)
FR 2213216 · Dec 13, 2022 · national
Continuity (1)
Related Publication 20240193795A1 · Jun 13, 2024
References Cited (9)
US 6580812B1 · Harrington · 2003 [cited by examiner]
US 20080218528A1 · Chang · 2008 [cited by examiner]
US 20150363933A1 · Jung · 2015 [cited by examiner]
US 20200104997A1 · Takagi · 2020 [cited by examiner]
JP 2015194915A · 2015 [cited by examiner]
KR 20050041886A · 2005 [cited by examiner]
Birgiolas, Justas et al., “SwarmSight: Measuring the temporal progression of animal group activity levels from natural-scene and laboratory videos”, Behav Res, 49:576-587, DOI 10.3758/s13428-016-0732-2, 12 pages, Apr. 2… [cited by applicant]
Davis, James et al., “Real-Time Motion Template Gradients using Intel CVLib”, ResearchGate, XP-002331182, Oct. 1999, 20 pages. [cited by applicant]
Tao, Sichen et al., “A Novel Artificial Visual System for Motion Direction Detection in Grayscale Images”, Mathematics 2022, 10, 2975, https://doi.org/10.3390/math10162975, 32 pages, Aug. 17, 2022. [cited by applicant]