CN109859149B - Small animal motion tracking method for setting target searching area - Google Patents

Small animal motion tracking method for setting target searching area Download PDF

Info

Publication number
CN109859149B
CN109859149B CN201910073015.3A CN201910073015A CN109859149B CN 109859149 B CN109859149 B CN 109859149B CN 201910073015 A CN201910073015 A CN 201910073015A CN 109859149 B CN109859149 B CN 109859149B
Authority
CN
China
Prior art keywords
target
area
frame
radius
contour
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910073015.3A
Other languages
Chinese (zh)
Other versions
CN109859149A (en
Inventor
黄剑乔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Techman Software Co Ltd
Original Assignee
Chengdu Techman Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Techman Software Co Ltd filed Critical Chengdu Techman Software Co Ltd
Priority to CN201910073015.3A priority Critical patent/CN109859149B/en
Publication of CN109859149A publication Critical patent/CN109859149A/en
Application granted granted Critical
Publication of CN109859149B publication Critical patent/CN109859149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/70Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in livestock or poultry

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a small animal motion tracking method for setting a target searching area, which creatively introduces a target tracking prediction area range on the basis of subtraction of the background of the former, thereby realizing the accuracy of target tracking and reducing external interference factors. The range of the area where the target is found and tracked is limited from the second frame of the video stream, so that the tracked target outline is more accurately identified, and the accuracy and anti-interference performance of target tracking are greatly improved for animal behavioral analysis.

Description

Small animal motion tracking method for setting target searching area
Technical Field
The invention relates to the field of moving target detection, in particular to a small animal movement tracking method for a set target searching area.
Background
The moving object detection is a popular subject in the computer vision research, and the realization method is to detect a change area in a sequence image and extract a moving object from a background image, so that the target tracking is realized, and the method has extremely important application in various industries such as security monitoring, intelligent traffic light management, unmanned driving, face recognition, animal behavioural analysis and the like. Motion detection is classified into two types, static background and motion background, with three methods most commonly used: frame difference method, optical flow method, background subtraction method.
Frame difference method: the principle is that a pixel-based time difference is adopted between two or three adjacent frames of an image sequence to extract a motion region in the image through thresholding. The frame difference method has the advantages of high processing speed and strong adaptability to environment; the disadvantages are that the target pixel is lost, the target area is incomplete, etc. in the process.
Optical flow method: the method is a method for finding out the corresponding relation between the previous frame and the current frame by utilizing the change of pixels in an image sequence in a time domain and the correlation between adjacent frames, thereby calculating the motion information of the object between the adjacent frames. The method has the advantages that any scene information is not required to be known in advance, the calculation result is influenced by the interference of external factors, and the calculation is complex and difficult to realize.
Background subtraction: the basic idea is similar to the interframe difference method, and the target area is extracted by utilizing the difference operation of different images. However, unlike the inter-frame difference method, the background subtraction does not subtract the current frame image from the adjacent frame image, but subtracts the current frame image from a background model, and a moving object is extracted from the differential image. The method has the advantages that: the method has the advantages of good detection effect on the moving object under the complex background, simple realization, small calculation amount, accurate detection of the position, the contour and other information of the moving object, and the like, and has the defects that: is greatly influenced by the change of external conditions such as light, weather and the like.
Disclosure of Invention
Therefore, in order to solve the above-mentioned shortcomings, the present invention provides a small animal motion tracking method for setting a target search area. The method creatively introduces the area range of target tracking prediction on the basis of background subtraction by the former, thereby realizing the accuracy of target tracking and reducing external interference factors. The range of the area where the target is found and tracked is limited from the second frame of the video stream, so that the tracked target outline is more accurately identified, and the accuracy and anti-interference performance of target tracking are greatly improved for animal behavioral analysis.
The invention is realized in such a way, and constructs a small animal motion tracking method for setting a target searching area, which is characterized in that; the specific implementation process is as follows:
1) Defining the maximum speed V of the observed tracking animal before the video is opened and the animal enters the observation area;
2) Storing the background frame image;
3) After the two steps are completed, the video observation frequency frame is read in;
4) Making a difference to the current frame;
5) Then filtering, corroding and expanding the difference value; if the current frame is the first frame, searching a target contour in the whole image area;
6) Screening a target profile;
7) Extracting a geometric center point of a target;
8) Judging whether the value of the radius R1 of the contour area is empty or not, and acquiring the radius R1 of the contour if the radius of the contour area is empty;
9) If the radius R1 of the contour area is not empty, marking a target motion track point;
10 Reading in the second frame image, transferring to the step 4 to process downwards to judge if the second frame image is not the first frame image, and jumping to acquire the interval time T between the frame and the previous frame;
11 Calculating a target region radius R of the frame, r=t×v+r1;
12 After defining the target searching area by taking R as the radius, turning to the step 6, and screening the subsequent flow of the target contour.
The invention has the following advantages: the invention provides a small animal motion tracking method for a set target searching area. The method creatively introduces the area range of target tracking prediction on the basis of background subtraction by the former, thereby realizing the accuracy of target tracking and reducing external interference factors. The range of the area where the target is found and tracked is limited from the second frame of the video stream, so that the tracked target outline is more accurately identified, and the accuracy and anti-interference performance of target tracking are greatly improved for animal behavioral analysis.
Drawings
FIG. 1 is a flow chart corresponding to the motion tracking method of the present invention.
Detailed Description
The following detailed description of the present invention will be provided with reference to fig. 1, in which the technical solutions of the embodiments of the present invention are clearly and completely described, and it is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides a small animal motion tracking method for a set target searching area through improvement, which is characterized in that; the specific implementation process is as follows:
1) Defining the maximum speed V of the observed tracking animal before the video is opened and the animal enters the observation area;
2) Storing the background frame image;
3) After the two steps are completed, the video observation frequency frame is read in;
4) Making a difference to the current frame;
5) Then filtering, corroding, expanding and the like are carried out on the difference value; if the current frame is the first frame, searching a target contour in the whole image area;
6) Screening a target profile;
7) Extracting a geometric center point of a target;
8) Judging whether the value of the radius R1 of the contour area is empty or not, and acquiring the radius R1 of the contour if the radius of the contour area is empty;
9) If the radius R1 of the contour area is not empty, marking a target motion track point;
10 Reading in the second frame image, transferring to the step 4 to process downwards to judge if the second frame image is not the first frame image, and jumping to acquire the interval time T between the frame and the previous frame;
11 Calculating a target region radius R of the frame, r=t×v+r1;
12 After defining the target searching area by taking R as the radius, turning to the step 6, and screening the subsequent flow of the target contour.
The method creatively introduces the area range of target tracking prediction on the basis of background subtraction by the former, thereby realizing the accuracy of target tracking and reducing external interference factors. The range of the area where the target is found and tracked is limited from the second frame of the video stream, so that the tracked target outline is more accurately identified, and the accuracy and anti-interference performance of target tracking are greatly improved for animal behavioral analysis.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (1)

1. A small animal motion tracking method for setting a target searching area is characterized in that; the specific implementation process is as follows:
1) Defining the maximum speed V of the observed tracking animal before the video is opened and the animal enters the observation area;
2) Storing the background frame image;
3) After the two steps are completed, the video observation frequency frame is read in;
4) Making a difference to the current frame;
5) Then filtering, corroding and expanding the difference value; if the current frame is the first frame, the target searching can only be carried out in the whole image area because the area where the tracking target is still not limited;
6) Screening a target profile;
7) Extracting a geometric center point of a target;
8) Judging whether the value of the radius R1 of the contour area is empty or not, and acquiring the radius R1 of the contour if the radius of the contour area is empty;
9) If the radius R1 of the contour area is not empty, marking a target motion track point;
10 Reading in the second frame image, transferring to the step 4 to process downwards to judge if the second frame image is not the first frame image, and jumping to acquire the interval time T between the frame and the previous frame;
11 Calculating a target region radius R of the frame, r=t×v+r1;
12 After defining the target searching area by taking R as the radius, turning to the step 6, and screening the subsequent flow of the target contour.
CN201910073015.3A 2019-01-25 2019-01-25 Small animal motion tracking method for setting target searching area Active CN109859149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910073015.3A CN109859149B (en) 2019-01-25 2019-01-25 Small animal motion tracking method for setting target searching area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910073015.3A CN109859149B (en) 2019-01-25 2019-01-25 Small animal motion tracking method for setting target searching area

Publications (2)

Publication Number Publication Date
CN109859149A CN109859149A (en) 2019-06-07
CN109859149B true CN109859149B (en) 2023-08-08

Family

ID=66896165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910073015.3A Active CN109859149B (en) 2019-01-25 2019-01-25 Small animal motion tracking method for setting target searching area

Country Status (1)

Country Link
CN (1) CN109859149B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110476826B (en) * 2019-09-20 2021-08-27 成都泰盟软件有限公司 Method for tracking animal autorotation circle
CN111131770A (en) * 2019-12-10 2020-05-08 上海秒针网络科技有限公司 Method and device for determining target placement area

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999059116A1 (en) * 1998-05-08 1999-11-18 Primary Image Limited Method and apparatus for detecting motion across a surveillance area
JP2009100454A (en) * 2007-09-26 2009-05-07 Victor Co Of Japan Ltd Moving object tracking control device

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409076B2 (en) * 2005-05-27 2008-08-05 International Business Machines Corporation Methods and apparatus for automatically tracking moving entities entering and exiting a specified region
CN101141633B (en) * 2007-08-28 2011-01-05 湖南大学 Moving object detecting and tracing method in complex scene
US8483481B2 (en) * 2010-07-27 2013-07-09 International Business Machines Corporation Foreground analysis based on tracking information
JP4922472B1 (en) * 2011-09-29 2012-04-25 楽天株式会社 Information processing apparatus, information processing method, information processing apparatus program, and recording medium
CN103325124B (en) * 2012-03-21 2015-11-04 东北大学 A kind of background subtraction target detection tracker based on FPGA and method
FR3003065B1 (en) * 2013-03-05 2015-02-27 Commissariat Energie Atomique METHOD OF TRACKING A TARGET IN AN IMAGE SEQUENCE WITH ACCOUNTING OF THE DYNAMIC OF THE TARGET
CN103164858B (en) * 2013-03-20 2015-09-09 浙江大学 Adhesion crowd based on super-pixel and graph model is split and tracking
US9256958B2 (en) * 2013-12-17 2016-02-09 Snu R&Db Foundation Active attentional sampling method for accelerating background subtraction
US10002289B2 (en) * 2014-08-04 2018-06-19 Panasonic Corporation Moving body tracking method and moving body tracking device
CN104732220B (en) * 2015-04-03 2017-12-22 中国人民解放军国防科学技术大学 A kind of particular color human body detecting method towards monitor video
CN105354863A (en) * 2015-10-30 2016-02-24 浙江工业大学 Adaptive scale image sequence target tracking method based on feature filtering and fast motion detection template prediction
CN105427346B (en) * 2015-12-01 2018-06-29 中国农业大学 A kind of motion target tracking method and system
JP6755713B2 (en) * 2016-05-25 2020-09-16 キヤノン株式会社 Tracking device, tracking method and program
US10121093B2 (en) * 2017-04-11 2018-11-06 Sony Corporation System and method for background subtraction in video content
CN107341790B (en) * 2017-06-12 2019-10-22 广州大学 A kind of image processing method of environment cleanliness detection
CN108494770A (en) * 2018-03-23 2018-09-04 成都泰盟软件有限公司 A kind of intelligent network power-supply management system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999059116A1 (en) * 1998-05-08 1999-11-18 Primary Image Limited Method and apparatus for detecting motion across a surveillance area
JP2009100454A (en) * 2007-09-26 2009-05-07 Victor Co Of Japan Ltd Moving object tracking control device

Also Published As

Publication number Publication date
CN109859149A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN112036254B (en) Moving vehicle foreground detection method based on video image
US8045783B2 (en) Method for moving cell detection from temporal image sequence model estimation
CN109145708B (en) Pedestrian flow statistical method based on RGB and D information fusion
Wang et al. Overtaking vehicle detection using dynamic and quasi-static background modeling
Murugan et al. A deep learning RCNN approach for vehicle recognition in traffic surveillance system
CN102609720B (en) Pedestrian detection method based on position correction model
CN104915655A (en) Multi-path monitor video management method and device
CN103093198A (en) Crowd density monitoring method and device
CN111832388B (en) Method and system for detecting and identifying traffic sign in vehicle running
Song et al. Image-based traffic monitoring with shadow suppression
CN109859149B (en) Small animal motion tracking method for setting target searching area
CN113396423A (en) Method of processing information from event-based sensors
CN111160203A (en) Loitering and lingering behavior analysis method based on head and shoulder model and IOU tracking
CN107273815A (en) A kind of individual behavior recognition methods and system
CN102831378A (en) Method and system for detecting and tracking human object
Chebli et al. Pedestrian detection based on background compensation with block-matching algorithm
Liang et al. Methods of moving target detection and behavior recognition in intelligent vision monitoring.
CN111523385A (en) Stationary vehicle detection method and system based on frame difference method
Chen et al. Object tracking over a multiple-camera network
Yin et al. Dynamic Vehicle Detection in Satellite Video with Multi-frame Brightness Gradient
Xiang et al. Research on target detection method based on HSV fusion Gaussian mixture model
Chandrasekhar et al. A survey of techniques for background subtraction and traffic analysis on surveillance video
CN103366598B (en) A kind of vehicle parking is to position detecting system and detection method
Belloc et al. Detection of people boarding/alighting a metropolitan train using computer vision
Yu et al. A moving target detection algorithm based on the dynamic background

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant