A kind of closed-loop feed-back type animal behavior analysis system, method and device
Technical field
The invention belongs to field of biomedicine technology more particularly to a kind of closed-loop feed-back type animal behavior analysis systems, side
Method and device.
Background technique
Carry out currently on the market animal analysis mainly be that this is commercial for animal behavior analysis system (ANY-maze)
Software, however ANY-maze charge is high, flexibility is poor, can only analyze AD HOC animal behavior, is not able to satisfy user
Particular demands, and this software can be only installed on a computer because there is password dog, largely reduce scientific research people
The efficiency of member, and ANY-maze software is only applicable to meiofauna, is not suitable for larger animal, and there is limitation in applicable range
Property.
In the application for a patent for invention file that Authorization Notice No. is CN101214168B, a kind of animal behavior monitoring is disclosed
Analysis system, the animal behavior monitoring analysis system are made of experimental provision and computer for analysis software systems, tie in experimental provision
It closes using based on infrared ray, light mechanical and electrical integration, light emitting diode (Light-Emitting Diode, LED) array point
The video signal acquisition device of analysis technology and digital photographing technique, computer for analysis software systems, which have, believes the animal behavior of acquisition
The function of number carrying out real time/off-line analysis, except can provide database, a variety of data-interfaces, to the real-time monitoring signal of input into
Line trace record is outer, and the function that also there are a series of test datas for each test item to handle therefrom extracts animal
Action trail and feature, and calculate multiple behaviouristics parameters accordingly, be convenient to the records of monitoring data, storage and later
Data analysis, keeps test data repeatability strong, with a high credibility, thus has very strong operability and practicability.Since this is dynamic
It is combined in the experimental provision of object behavior monitoring analysis system using based on infrared ray, light mechanical and electrical integration, LED array analysis
The video signal acquisition device of technology and digital photographing technique leads to building and operate again for the animal behavior monitoring analysis system
It is miscellaneous, at high cost, and it is only applicable to specific normal form, such as Morri water maze, shuttle chest etc., restricted application is not suitable for
Larger animal etc., can not real-time display animal motion feature.
In the application for a patent for invention file that patent publication No. is CN105684935A, a kind of animal behavior analysis is disclosed
Method and system are successively detected and are obtained corresponding to animals shaped respectively at the first moment and the second moment in the method
The first animals shaped information and the second animals shaped information, the second animals shaped information and the first animals shaped information are carried out
Comparison, to obtain shape change information, obtains corresponding animal behavior according to shape change information from animal behavior database
Information detects the shape information of animal using detection device, by carrying out intelligence to shape information acquired in detection device
It can analyze to obtain the behavioural information of animal.However, the animal behavior analysis method is mainly by different moments animal
Shape information is detected and is compared, and this way can only analyze the big state change of animal, for example stand, squat, nothing
The shortcomings that method accurately analyzes the behavior of animal, and that there are arithmetic accuracies is low, the scope of application is small, while also can not be real-time
It analyzes and shows the behavior variable of animal, and there is no closed loop feedback, be unfavorable for experimenter and make according to their own needs in time
Adjustment.
Meanwhile lacking the software of two animal contact numbers of detection in the market, it is also total to specific region without detection animal
The software of number and total time, also to the number and the statistics of time of two animal contact numbers and animal to specific region
The artificial counting stage is rested on, is not only wasted time, but also error-prone.In a variety of stimulations used to animal behavior analysis
In normal form, a kind of specific implementation case of visual stimulus normal form is that the spasticity of mouse is analyzed under visual stimulus
(Freezing) and quickly it runs (Flate) behavior, starts every time however, not having statistics Freezing and Flate at this stage
The software of time and end time can not count the total time of Freezing and Flate and total degree in whole process.
Therefore, the new animal behavior analysis method of one kind is needed to solve the above problems.
Summary of the invention
The purpose of the present invention is to provide a kind of closed-loop feed-back type animal behavior analysis systems, method and device, it is intended to solve
Certainly since the prior art can not provide a kind of effective animal behavior analysis method, lead to the experimental cost analyzed animal behavior
Relatively rough, unilateral problem high and to animal behavior analysis.
On the one hand, the present invention provides a kind of closed-loop feed-back type animal behavior analysis system, the system comprises:
Animal behavior analyzes experimental provision, for generating the environmental stimuli acted on animal, and obtains corresponding dynamic
Object behavior video carries out image procossing to the animal behavior video by preset image processing algorithm, obtains corresponding row
For data, wherein the animal behavior video is the animal that the acquires in real time corresponding Online Video under current active, or
The stored offline video of person;
The visualization control platform being connected with the animal experiment device, for according to the animal behavior received
The behavioral data that experimental provision is sent is analyzed, the behavioural characteristic of the animal is analyzed, is obtained special with the behavior
Corresponding behavioural characteristic data are levied, and determine whether the behavioural characteristic data meet preset environmental stimuli requirement of experiment, with
Generate corresponding environmental stimuli experimental instructions;And
Experimental provision and the third party's control platform for visualizing control platform and being connected are analyzed with the animal behavior,
The environmental stimuli experimental instructions for being sent according to the visualization control platform received, control corresponding stimulation model
Formula, so that animal behavior analysis experimental provision generates the environmental stimuli acted on the animal.
On the other hand, the present invention provides a kind of analyses of the animal behavior of above-mentioned closed-loop feed-back type animal behavior analysis system
Method, the method includes the following steps:
When receiving the request to animal progress animal behavior analysis, the animal behavior analysis experimental provision is obtained
Corresponding animal behavior video is taken, and image procossing is carried out to the animal behavior video by preset image processing algorithm,
Obtain corresponding first behavioral data, wherein the animal behavior video is the animal that acquires in real time under current active
Corresponding Online Video or stored offline video;
When the animal behavior video is Online Video, the visualization control platform is according to the animal received
First behavioral data that behavioural analysis experimental provision is sent, it is special to first behavior of the animal under the current active
Sign is analyzed, and the first behavioural characteristic data corresponding with first behavioural characteristic are obtained;
Current stimulation parameter is detected, the current stimulation parameter includes the first behavioural characteristic data, current
Stimulate number and current stimulus intervals duration;
Judge whether the current stimulation parameter detected meets preset environmental stimuli requirement of experiment;
It is that then, the visualization control platform generates corresponding environmental stimuli experiment according to the current stimulation parameter and refers to
It enables, and the environmental stimuli experimental instructions is sent to third party's control platform, otherwise, jump to current stimulation parameter
The step of being detected;
Third party's control platform controls corresponding stimulation normal form according to the environmental stimuli experimental instructions received
So that the animal behavior analysis experimental provision generates the environmental stimuli acted on the animal, the animal behavior
Analyze stimulation behavior video acquisition corresponding second of the experimental provision according to the collected animal under the environmental stimuli
Behavioral data, and second behavioral data is sent to the visualization control platform;
The visualization control platform analyzes the animal under the environmental stimuli according to second behavioral data
Difference between second behavioural characteristic and first behavioural characteristic obtains variance analysis as a result, according to the variance analysis knot
Fruit is adjusted the environmental stimuli requirement of experiment, and the corresponding second behavioural characteristic data of second behavioural characteristic are set
The first behavioural characteristic data are set to, the step of detecting to current stimulation parameter is jumped to.
On the other hand, the present invention provides a kind of analyses of the animal behavior of above-mentioned closed-loop feed-back type animal behavior analysis system
Device, described device include:
Behavior video processing unit, for when receive to the animal carry out animal behavior analysis request when, it is described
Animal behavior analyzes experimental provision and obtains corresponding animal behavior video, and by preset image processing algorithm to the animal
Behavior video carries out image procossing, obtains corresponding first behavioral data, wherein the animal behavior video acquires in real time
The animal corresponding Online Video or stored offline video under current active;
Behavioural characteristic analytical unit, for when the animal behavior video is Online Video, the visualization control to be flat
First behavioral data that platform is sent according to the animal behavior analysis experimental provision received, to the animal described
The first behavioural characteristic under current active is analyzed, and the first behavioural characteristic number corresponding with first behavioural characteristic is obtained
According to;
Stimulation parameter detection unit, for detecting to current stimulation parameter, the current stimulation parameter includes described
First behavioural characteristic data currently stimulate number and current stimulus intervals duration;
Requirement of experiment judging unit, for judging whether the current stimulation parameter detected meets preset extraneous thorn
Swash requirement of experiment;
Stimulation instructions generation unit, with then then, the visualization control platform is generated according to the current stimulation parameter
Corresponding environmental stimuli experimental instructions, and the environmental stimuli experimental instructions are sent to third party's control platform, otherwise,
The stimulation parameter detection unit execution is triggered to detect current stimulation parameter;
Environmental stimuli control unit refers to for third party's control platform according to the environmental stimuli experiment received
It enables, it is described with the animal that the corresponding stimulation normal form of control acts on the animal behavior analysis experimental provision generation
Environmental stimuli, stimulation row of the animal behavior analysis experimental provision according to the collected animal under the environmental stimuli
For corresponding second behavioral data of video acquisition, and second behavioral data is sent to the visualization control platform;With
And
Requirement of experiment adjustment unit, it is described dynamic according to second behavioral data analysis for the visualization control platform
Difference of the object between the second behavioural characteristic and first behavioural characteristic under the environmental stimuli obtains variance analysis knot
Fruit is adjusted the environmental stimuli requirement of experiment according to the variance analysis result, and by second behavioural characteristic pair
The the second behavioural characteristic data answered are set as the first behavioural characteristic data, trigger the stimulation parameter detection unit execution pair
Current stimulation parameter is detected.
The present invention provides a kind of closed-loop feed-back type animal behavior analysis system, which includes animal behavior analysis experiment
Device, visualization control platform and third party's control platform, visualization control platform analyze experimental provision according to animal behavior
The first behavioral data sent analyzes the first behavioural characteristic of animal, obtains corresponding first behavioural characteristic data, when
When current stimulation parameter comprising the first behavioural characteristic data meets environmental stimuli requirement of experiment, third party's control platform is according to can
It gives animal various stimulations depending on changing the environmental stimuli experimental instructions that control platform is sent, is showed by post-stimulatory animal, then instead
Feed and visualize control platform, change corresponding experiment parameter value, until meet experimenter require, thus reduce system at
This, and realize the Accurate Analysis to animal behavior, be conducive to the corresponding brain area of scientific research personnel research animal or nerve is gone with movement
Relationship between.
Detailed description of the invention
Fig. 1 is the structural schematic diagram for the closed-loop feed-back type animal behavior analysis system that the embodiment of the present invention one provides;
Fig. 2 is the implementation flow chart of closed-loop feed-back type animal behavior analysis method provided by Embodiment 2 of the present invention;
Fig. 3 is the realization stream of image procossing in closed-loop feed-back type animal behavior analysis method provided by Embodiment 2 of the present invention
Cheng Tu;
Fig. 4 is data storage and display in closed-loop feed-back type animal behavior analysis method provided by Embodiment 2 of the present invention
Implementation flow chart;
Fig. 5 is to animal in closed-loop feed-back type animal behavior analysis method provided by Embodiment 2 of the present invention in ROI region
Behavioural analysis implementation flow chart;
Fig. 6 is in closed-loop feed-back type animal behavior analysis method provided by Embodiment 2 of the present invention to animal behavior state point
The implementation flow chart of analysis;And
Fig. 7 is the structural schematic diagram for the closed-loop feed-back type animal behavior analytical equipment that the embodiment of the present invention three provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Specific implementation of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one:
Fig. 1 shows the structure of the closed-loop feed-back type animal behavior analysis system of the offer of the embodiment of the present invention one, in order to just
In explanation, only parts related to embodiments of the present invention are shown.
The embodiment of the invention provides a kind of closed-loop feed-back type animal behavior analysis system 1, the closed-loop feed-back type animal rows
Be analysis system 1 be suitable for many animals (for example, larger animal, meiofauna), and be suitable for kinds of experiments place (for example,
Spacious field, labyrinth, elevated plus, square region and border circular areas etc.), which includes
Animal behavior analyzes experimental provision 11, visualization control platform 12 and third party's control platform 12, in which:
Animal behavior analyzes experimental provision 11, for generating the environmental stimuli acted on animal, and obtains corresponding
Animal behavior video carries out image procossing to animal behavior video by preset image processing algorithm, obtains corresponding behavior
Data, wherein animal behavior video is the animal that the acquires in real time corresponding Online Video or stored under current active
Offline video.Visualization control platform 12 is connected with animal experiment device 11, for according to the animal behavior analysis received
The behavioral data that experimental provision 11 is sent, analyzes the behavioural characteristic of animal, and it is special to obtain behavior corresponding with behavioural characteristic
Data are levied, and determine whether behavioural characteristic data meet preset environmental stimuli requirement of experiment, to generate corresponding environmental stimuli
Experimental instructions.Third party's control platform 13 analyzes experimental provision 11 with animal behavior and visualization control platform 12 is connected, and uses
In the environmental stimuli experimental instructions sent according to the visualization control platform 12 received, corresponding stimulation normal form is controlled, so that
Animal behavior analysis experimental provision 11 generates and acts on environmental stimuli with animal, third party's control platform 13 can be the
Tripartite's application program, or third party's hardware control platform.
Preferably, animal behavior analysis experimental provision 11 includes video capture device (for example, wide-angle recording camera), with
For recording animal behavior video, animal behavior analyzes experimental provision 11 animals needed by acquiring to video capture device
Behavior video is analyzed, so that it may be obtained the behavioral data of animal, be come without relying on various sensors to animal behavior
It is analyzed, to reduce the cost of animal behavior analysis experimental provision 11.
It is another preferably, animal behavior analysis experimental provision 11 further include light stimulus component, Sound stimulat component, foot electricity thorn
Component and visual stimulus component are swashed, for generating light stimulus, Sound stimulat, foot electro photoluminescence and visual stimulus to animal
One of or in which any combination environmental stimuli, to improve the accuracy analyzed animal behavior.
Preferably, visualization control platform 12 is built using the Measurement index of open source, to improve
The operability and interactivity of closed-loop feed-back type animal behavior analysis system 1, allow user according to experimental conditions to the external world
Stimulation test requires to be adjusted, preferably to carry out the analysis of animal behavior.
The embodiment of the invention provides a kind of closed-loop feed-back type animal behavior analysis system, which includes animal behavior point
Experimental provision, visualization control platform and third party's control platform are analysed, visualization control platform is analyzed real according to animal behavior
The first behavioral data that experiment device is sent analyzes the first behavioural characteristic of animal, obtains corresponding first behavioural characteristic number
According to, when the current stimulation parameter comprising the first behavioural characteristic data meets environmental stimuli requirement of experiment, third party's control platform
It gives animal various stimulations according to the environmental stimuli experimental instructions that visualization control platform is sent, passes through post-stimulatory animal table
It is existing, then visualization control platform is fed back to, corresponding experiment parameter value is changed, is required until meeting experimenter, to reduce
System cost, and realizing to the Accurate Analysis of animal behavior, be conducive to scientific research personnel study the corresponding brain area of animal or nerve with
Relationship between motor behavior.
Embodiment two:
Fig. 2 shows the implementation processes of closed-loop feed-back type animal behavior analysis method provided by Embodiment 2 of the present invention, should
Closed-loop feed-back type animal behavior analysis system of the closed-loop feed-back type animal behavior analysis method suitable for embodiment one, in order to just
In explanation, only parts related to embodiments of the present invention are shown, and details are as follows:
In step s 201, when receiving the request to animal progress animal behavior analysis, animal behavior analysis experiment
Device obtains corresponding animal behavior video, and is carried out at image by preset image processing algorithm to animal behavior video
Reason, obtains corresponding first behavioral data, wherein animal behavior video is that the animal that acquires in real time is corresponding under current active
Online Video or stored offline video.
Closed-loop feed-back type animal behavior analysis system of the embodiment of the present invention suitable for embodiment one, to animal behavior
It is analyzed, which includes animal behavior analysis experimental provision, visualizes control platform and third party's control platform,
In, animal behavior analysis experimental provision acquires corresponding with animal activity for generating the environmental stimuli acted on animal
The animal behavior video of animal, and animal behavior analysis is carried out to collected animal behavior video, obtain corresponding behavior number
According to.Visualization control platform is connected with animal experiment device, for according to the animal behavior analysis experimental provision hair received
The behavioral data sent analyzes the behavioural characteristic of animal, obtains behavioural characteristic data corresponding with behavioural characteristic, and determine
Whether behavioural characteristic data meet preset environmental stimuli requirement of experiment, to generate corresponding environmental stimuli experimental instructions.Third
Square control platform analyzes experimental provision with animal behavior and visualization control platform is connected, for according to the visualization received
The environmental stimuli experimental instructions that control platform is sent, control corresponding stimulation normal form, so that animal behavior analyzes experimental provision
Generate the environmental stimuli acted on animal.
In embodiments of the present invention, when receiving the request to animal progress animal behavior analysis, animal behavior analysis
Experimental provision is according to the request or obtains animal behavior of the animal acquired in real time by video capture device under current active
Video, or stored offline animal behavior video is obtained, and by preset image processing algorithm to animal behavior video
Image procossing is carried out, obtains corresponding first behavioral data, and the first obtained behavioral data is sent to visualization control and is put down
Platform, wherein the first behavior data packet includes total body center of mass coordinate, head center-of-mass coordinate and the tail portion center-of-mass coordinate of animal.
When carrying out image procossing to animal behavior video by preset image processing algorithm, as shown in figure 3, it is preferred that
Ground the image procossing to animal behavior video is realized by following step:
In step S301, distortion is carried out to animal behavior video and is handled, so that treated animal behavior video
Measurement accuracy is improved, and obtains corresponding first video;
In step s 302, color balance processing is carried out to the first video, obtains the second video;
In step S303, gray processing processing is carried out to the second video, it will be locating for animal in the second video and animal
Ambient enviroment distinguishes, and obtains corresponding third video;
In step s 304, ambient enviroment locating for animal is cut from third video by adaptive thresholding algorithm
It removes, obtains corresponding 4th video, so that can preferably analyzing animal behavior by the 4th video;
In step S305, known according to profile of the preset Image outline identification algorithm to animal in the 4th video
Not;
In step S306, taken turns by the animal that binary area parser and maximization binary area algorithm will identify that
Wide and ambient noise distinguishes, so that obtained animal profile is apparent and more accurate;
In step S307, total body center of mass coordinate, head center-of-mass coordinate and the tail of animal are calculated according to the animal profile
Portion's center-of-mass coordinate.
To which S301-S307 through the above steps carries out image procossing to animal behavior video, so that treated animal
Behavior video background is pure, animal is clear-cut, to improve the accuracy of the first behavioral data.
Image procossing is being carried out to animal behavior video by preset image processing algorithm, is obtaining corresponding first behavior
After data, it is preferable that when animal behavior video is offline video, according to the first behavioral data, extract the movement rail of animal
Mark feature, and animal is drawn in the track thermodynamic chart of default experimental site according to the motion profile feature extracted, it is moved with analyzing
The frequency height that object occurs in experimental site, to improve the diversity of animal behavior analysis.
In step S202, when animal behavior video is Online Video, visualization control platform is dynamic according to what is received
The first behavioral data that object behavioural analysis experimental provision is sent, divides first behavioural characteristic of the animal under current active
Analysis, obtains the first behavioural characteristic data corresponding with the first behavioural characteristic.
In embodiments of the present invention, after visualization control platform receives the first behavioral data of animal, exist to animal
The first behavioural characteristic (for example, movement velocity, acceleration of motion, head deflection angle etc.) under current active is analyzed,
The first behavioural characteristic data corresponding with the first behavioural characteristic are obtained, which refers to each first behavioural characteristic
Corresponding specific value.Specifically, the acceleration of the movement velocity, animal movement of animal is calculated according to animal bodies center-of-mass coordinate
Degree and the real-time track for obtaining animal movement, the head deflection angle of animal, root are calculated according to the head center-of-mass coordinate of animal
The tail deflection angle that animal is calculated according to the tail portion center-of-mass coordinate of animal, to improve the accurate of the first behavioural characteristic data
Property.
In step S203, current stimulation parameter is detected, which includes the first behavioural characteristic number
According to, currently stimulate number and current stimulus intervals duration.
In embodiments of the present invention, when visualization control platform detects current stimulation parameter, which joins
Number includes the first behavioural characteristic data (for example, the current speed value of animal movement, current acceleration value, head current yaw angle
Degree etc.), currently stimulate number and current stimulus intervals duration.
After being detected to current stimulation parameter, as shown in Figure 4, it is preferable that
In step S401, to preset data save instruction detect, with determine the data save instruction whether by
Triggering.
In embodiments of the present invention, data save instruction can by interactive interface (for example, data save button) by with
Family triggering, can also pass through preset data retention over time (for example, AM 11:00) or preset data retention cycle (example
Such as, every 2 hours) automatic trigger.
In step S402, when detecting that the data save instruction, current stimulation parameter, environmental stimuli experiment are wanted
It asks, animal behavior video and the animal behavior video after image procossing are stored.
In embodiments of the present invention, by current stimulation parameter, environmental stimuli experimental instructions, animal behavior video, Yi Jijing
Animal behavior video after crossing image procossing is stored accordingly, thus to provide under off-line state animal behavior analysis
Foundation.Specifically, by the total body center of mass coordinate of animal, head center-of-mass coordinate, tail portion center-of-mass coordinate, movement velocity/acceleration,
Head deflection angle, tail portion deflection angle, move distance, run duration, into the number of area-of-interest and (a certain section of the time
In time, or in entire experimental period), the number that interacts with the animal of fixed position and time is (in certain a period of time, or entirely
In experimental period), triggering environmental stimuli when coordinate, time, the number of Freezzing and Flate and time (certain a period of time
It is interior, or in entire experimental period) and the data of the non-videos such as other various animal behavior variables be stored with one
In excel or txt, the video data of animal behavior video and the animal behavior video after image procossing is distinguished
It is individually stored, the data and video data of these non-videos can carry out whole preservations automatically, can also be according to user's
It needs to carry out these data the preservation of selectivity, so that the subsequent of user be facilitated to check, or carries out the offline of animal behavior
Analysis.
To realize the offline storage of experimental data by step S401- step S402, improve under off-line state
To the convenience of animal behavior analysis.
After being detected to current stimulation parameter, it is another preferably, it is online real on preset graphic user interface
When show current stimulation parameter and preset incentive condition triggered mark, show that animal lives currently in preset display equipment
Behavior video and relevant information dynamic lower or under current outside stimulation.
In embodiments of the present invention, in preset graphic user interface (Graphical User Interface, abbreviation
GUI the current stimulation parameter of online real-time display on) (for example, the real-time track of animal, the movement velocity of animal, animal head
Deflection angle, acceleration of motion of animal etc.) and preset incentive condition triggered mark, in preset display equipment (for example, aobvious
The huge screen of display screen, LED) on show animal under current active or current outside stimulation under behavior video and relevant information (example
Such as, speed, topological structure, moving direction etc. of the mouse under visual stimulus are shown over the display), to improve animal row
For the intuitive and convenience of analysis, wherein incentive condition triggered mark refers to when animal behavior meets scientific research personnel's setting
When condition, scientific research personnel is reminded by marking in real time, has had reached the environmental stimuli requirement of experiment of setting, this label can
To be circle, it is also possible to the change of color, and is not fixed.
In step S204, judge whether the current stimulation parameter detected meets preset environmental stimuli requirement of experiment.
In embodiments of the present invention, the current stimulation parameter that will test is compared with preset environmental stimuli requirement of experiment
Compared with judging whether to meet environmental stimuli requirement of experiment, be then, to execute step S205, otherwise, go to step S203, wherein outer
Boundary's stimulation test requires to include rate limitation threshold value, apart from threshold limit, time restriction threshold value, stimulation number threshold limit, outside
Boundary's stimulation test requires be to meet rate limitation threshold value, limit apart from threshold limit, time restriction threshold value or stimulation number
The limitation of one of threshold value processed condition, or while meeting rate limitation threshold value, apart from threshold limit, time restriction threshold
Value and stimulation number threshold limit in any combination condition limitation, for example, judge animal movement current speed value whether
Reach rate limitation threshold value, or judges whether the current speed value of animal movement and current stimulation number meet speed simultaneously and limit
Threshold value processed and stimulation number threshold limit.
Before whether the current stimulation parameter that judgement detects meets preset environmental stimuli requirement of experiment, it is preferable that
Visualization control platform receives the adjustment (example that user requires extraneous stimulation test corresponding experiment parameter according to animal behavior video
Such as, regulate the speed threshold limit), and according to corresponding experiment parameter receiving, adjusted to extraneous stimulation test requirement into
Row setting, to improve the reasonability of environmental stimuli requirement of experiment.
In step S205, visualization control platform generates corresponding environmental stimuli experiment according to current stimulation parameter and refers to
It enables, and environmental stimuli experimental instructions is sent to third party's control platform.
In embodiments of the present invention, when the current stimulation parameter of determination meets environmental stimuli requirement of experiment, visualization control
Platform generates corresponding environmental stimuli experimental instructions according to the trigger condition for meeting the environmental stimuli requirement of experiment, meets the external world
The trigger condition that stimulation test requires (can meet a trigger condition and then generate corresponding environmental stimuli experiment for one
Instruction) or it is multiple (meet multiple trigger conditions (for example, meet simultaneously speed, distance, twice stimulation time interval these three
Trigger condition) just generate corresponding environmental stimuli experimental instructions), environmental stimuli experimental instructions with act on certain with animal
Environmental stimuli is corresponding, and environmental stimuli experimental instructions are sent to third party's control platform, and environmental stimuli experimental instructions include
Position, direction vector and environmental stimuli mode where animal, environmental stimuli mode include Sound stimulat, light stimulus, electricity thorn
Swash and visual stimulus mode, is independent of each other between environmental stimuli that each environmental stimuli mode generates, corresponding.As
Illustratively, when the movement velocity of animal reaches first-order rate threshold limit, visualization control platform is raw according to the trigger condition
Instructed at light stimulus, or when the movement velocity of animal reach second order rate threshold limit and animal away between specified point away from
When from reaching preset distance threshold, visualization control platform generates Sound stimulat instruction etc. according to the trigger condition.
In step S206, third party's control platform controls corresponding thorn according to the environmental stimuli experimental instructions received
Sharp normal form makes animal behavior analysis experimental provision generate the environmental stimuli acted on animal, animal behavior analysis experiment dress
Set corresponding second behavioral data of stimulation behavior video acquisition according to collected animal under the environmental stimuli, and by second
Behavioral data is sent to visualization control platform.
In embodiments of the present invention, third party's control platform pair stimulation normal form corresponding with environmental stimuli experimental instructions carries out
Control, stimulation normal form is corresponding with the stimulation modes such as sound, light, electricity, vision required for animal behavior analysis is tested are given, so that dynamic
Object behavioural analysis experimental provision generates the corresponding environmental stimuli acted on animal, under the environmental stimuli, animal behavior
Experimental provision is analyzed according to corresponding second behavioral data of collected stimulation behavior video acquisition, and the second behavioral data is sent out
Visualization control platform is given, animal behavior of the animal under environmental stimuli is analyzed with realizing, wherein environmental stimuli packet
Visual stimulus, light stimulus, sonic stimulation, vola electro photoluminescence are included, the most commonly used is looming stimulations for visual stimulus.
In step S207, visualization control platform according to the second behavioral data analyzing animal under the environmental stimuli the
Difference between two behavioural characteristics and the first behavioural characteristic obtains variance analysis as a result, piercing according to variance analysis result to the external world
Sharp requirement of experiment is adjusted, and sets the first behavioural characteristic number for the corresponding second behavioural characteristic data of the second behavioural characteristic
According to.
In embodiments of the present invention, visualization control platform is according to the second behavioral data analyzing animal under the environmental stimuli
The second behavioural characteristic and the first behavioural characteristic between difference (for example, the second behavior that analyzing animal generates under light stimulus
The difference between the first behavioural characteristic that feature and electro photoluminescence before generate, or it is special with the first behavior when no environmental stimuli
Difference between sign), obtain variance analysis result (for example, the variation of speed, the variation of acceleration, animal the direction of motion
Variation etc.), extraneous stimulation test is required to be adjusted (for example, adjustment stimulation frequency threshold value, stimulation according to variance analysis result
It is spaced duration threshold value etc.), and the first behavioural characteristic data are set by the corresponding second behavioural characteristic data of the second behavioural characteristic,
Go to step S203, continues to detect current stimulation parameter, to carry out next round stimulation test or next round animal
The signature analysis of behavior.
After setting the first behavioural characteristic data for the corresponding second behavioural characteristic data of the second behavioural characteristic, such as scheme
Shown in 5, it is preferable that
In step S501, determine whether animal enters preset area-of-interest according to the first behavioural characteristic data.
In embodiments of the present invention, the distance by the animal in the first behavioural characteristic data apart from specified point and preset spy
Fixed point distance threshold is compared, and determines whether animal enters area-of-interest (Region according to comparison result
OfInterest, abbreviation ROI).
In step S502, when determining that animal enters area-of-interest, to animal enter area-of-interest time and
Number is counted, or is united in preset first time period into the time of area-of-interest and number to animal
Meter.
To realize behavioural analysis of the animal to ROI region by step S501-S502, animal behavior analysis is improved
Versatility.
After obtaining variance analysis result, as shown in Figure 6, it is preferable that
In step s 601, right according to variance analysis result and the corresponding second behavioural characteristic data of the second behavioural characteristic
Behavior state of the animal under environmental stimuli is analyzed, and obtains corresponding behavior state analysis result, wherein behavior state packet
Include spasticity, state of quickly running and other states.
In embodiments of the present invention, according to variance analysis result and the corresponding second behavioural characteristic data of the second behavioural characteristic
(for example, movement velocity and run duration of animal), analyzes behavior state of the animal under the environmental stimuli, obtains pair
The behavior state answered is analyzed as a result, behavior state includes spasticity (freezing state), state of quickly running (flate shape
State) and other states (i.e. neither freezing state, nor flate state).
In step S602, according to state analysis as a result, to animal be in spasticity/quickly run state time and
Number is counted, or to animal in preset second time period in spasticity/quickly run state time and
Number is counted.
To realize the behavioural analysis to animal freezing/flate state by step S601-S602, so that scientific research
Personnel are easy to understand animal in the frightened relationship between conditioned fear of instinct, and then are research and instinct fear and conditioned fear
Related neural circuitry and brain area provide help.
In embodiments of the present invention, it is another preferably, according to animal behavior video analysis animal and preset region of interest
The frequency of exposure of one or more other animal and time in domain, wherein the animal behavior video include acquire in real time it is online
Video and stored offline video, to further improve animal by the interbehavior between analyzing animal and animal
The versatility of behavioural analysis.
In embodiments of the present invention, visualization control platform analyzes the first behavior that experimental provision is sent according to animal behavior
Data analyze the first behavioural characteristic of animal, obtain corresponding first behavioural characteristic data, when including that the first behavior is special
When the current stimulation parameter of sign data meets environmental stimuli requirement of experiment, third party's control platform is sent out according to visualization control platform
The environmental stimuli experimental instructions sent give animal various stimulations, are showed by post-stimulatory animal, then feed back to visualization control
Platform changes corresponding experiment parameter value, requires until meeting experimenter, to realize to the Accurate Analysis of animal behavior, mentions
It is high to the comprehensive of animal behavior analysis, diversity and accuracy, be conducive to scientific research personnel study the corresponding brain area of animal or
Relationship between person's nerve and motor behavior.
Embodiment three:
Fig. 7 shows the structure of the closed-loop feed-back type animal behavior analytical equipment of the offer of the embodiment of the present invention three, the closed loop
Closed-loop feed-back type animal behavior analysis system of the reaction type animal behavior analytical equipment suitable for embodiment one, for the ease of saying
Bright, only parts related to embodiments of the present invention are shown, including:
Behavior video processing unit 71, for when receive to animal carry out animal behavior analysis request when, animal row
Obtain corresponding animal behavior video for analysis experimental provision, and by preset image processing algorithm to animal behavior video into
Row image procossing obtains corresponding first behavioral data, wherein animal behavior video is the animal that acquires in real time in current active
Under corresponding Online Video or stored offline video;
Behavioural characteristic analytical unit 72, for when animal behavior video be Online Video when, visualization control platform according to
The first behavioral data that the animal behavior analysis experimental provision received is sent, to first behavior of the animal under current active
Feature is analyzed, and the first behavioural characteristic data corresponding with the first behavioural characteristic are obtained;
Stimulation parameter detection unit 73, for detecting to current stimulation parameter, which includes first
Behavioural characteristic data currently stimulate number and current stimulus intervals duration;
Requirement of experiment judging unit 74, for judging whether the current stimulation parameter detected meets preset environmental stimuli
Requirement of experiment;
Stimulation instructions generation unit 75, with then then, visualization control platform generates corresponding according to current stimulation parameter
Environmental stimuli experimental instructions, and environmental stimuli experimental instructions are sent to third party's control platform, otherwise, triggering stimulation parameter inspection
The execution of unit 73 is surveyed to detect current stimulation parameter;
Environmental stimuli control unit 76, for third party's control platform according to the environmental stimuli experimental instructions received, control
Making corresponding stimulation normal form makes animal behavior analysis experimental provision generate the environmental stimuli acted on animal, animal behavior
Analyze stimulation behavior video acquisition corresponding second behavior number of the experimental provision according to collected animal under the environmental stimuli
According to, and the second behavioral data is sent to visualization control platform;And
Requirement of experiment adjustment unit 77, for visualizing control platform according to the second behavioral data analyzing animal in the external world
The difference between the second behavioural characteristic and the first behavioural characteristic under stimulation obtains variance analysis as a result, according to variance analysis knot
Fruit requires to be adjusted to extraneous stimulation test, and sets first for the corresponding second behavioural characteristic data of the second behavioural characteristic
Behavioural characteristic data, the triggering execution of stimulation parameter detection unit 73 detect current stimulation parameter.
Preferably, the closed-loop feed-back type animal behavior analytical equipment of the embodiment of the present invention further include:
Instruction detection unit is saved, is detected for saving instruction to preset data, is saved with the determination data
Whether instruction is triggered;And
Data storage cell, it is for when detecting that the data save instruction, current stimulation parameter, environmental stimuli is real
Requirement, animal behavior video and the animal behavior video after image procossing is tested to be stored.
Preferably, the closed-loop feed-back type animal behavior analytical equipment of the embodiment of the present invention further include:
Thermodynamic chart drawing unit, for according to the first behavioral data, extracting dynamic when animal behavior video is offline video
The motion profile feature of object, and animal is drawn in the track heating power of default experimental site according to the motion profile feature extracted
Figure.
Preferably, the closed-loop feed-back type animal behavior analytical equipment of the embodiment of the present invention further include:
Zone state determination unit, it is preset interested for determining whether animal enters according to the first behavioural characteristic data
Region;And
First parametric statistics unit, for entering area-of-interest to animal when determining that animal enters area-of-interest
Time and number counted, or to animal in preset first time period into area-of-interest time and number
It is counted.
Preferably, the closed-loop feed-back type animal behavior analytical equipment of the embodiment of the present invention further include:
Behavior state analytical unit, for according to variance analysis result and corresponding second behavioural characteristic of the second behavioural characteristic
Data analyze behavior state of the animal under environmental stimuli, obtain corresponding behavior state analysis result, wherein row
It include spasticity, quickly run state and other states for state;And
Second parametric statistics unit, for according to state analysis as a result, being in spasticity/state of quickly running to animal
Time and number counted, or to animal in preset second time period be in spasticity/state of quickly running
Time and number counted.
In embodiments of the present invention, each unit of closed-loop feed-back type animal behavior analytical equipment can be by corresponding hardware or soft
Part unit realizes that each unit can be independent soft and hardware unit, also can integrate as a soft and hardware unit, does not have to herein
To limit the present invention.Specifically, the embodiment of each unit can refer to the description of preceding method embodiment, and details are not described herein.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.