Summary of the invention
In view of this, the present invention is directed to the proposition of plantar nervous arch index, provide plantar nervous arch acquisition methods, Apparatus and system in a kind of mouse gait analysis.
The invention provides the plantar nervous arch acquisition methods in a kind of mouse gait analysis, described method comprises:
Obtain mouse gait video data, and read in the view data in described mouse gait video data;
Identify the mouse health overlay area in described view data, and extract the vola spot area in described mouse health overlay area by Binarization methods, described vola spot area has RGB tri-Color Channel components;
According to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.
Preferably, described according to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional, and comprising:
Build the minimum edge rectangle frame of described vola spot area, described edge rectangle frame is used for described vola spot area to surround;
Build 3 D stereo coordinate system, the X-axis of described 3 D stereo coordinate system and Y-axis are two vertical edges of described minimum edge rectangle frame, and the Z axis of described 3 D stereo coordinate system is all vertical with described Y-axis with described X-axis;
Obtain X-axis and Y-axis institute in the plane, in described minimum edge rectangle frame, each pixel is in the colour intensity value of pre-set color channel components;
According to the described colour intensity value of each pixel in described minimum edge rectangle frame, determine the numerical value of each pixel Z-direction, and in described 3 D stereo coordinate system, form the plantar nervous arch topomap of described vola spot area, the numerical value of described each pixel Z-direction is for representing the force value of described pixel position, and the described numerical value of each pixel Z-direction is directly proportional to the described colour intensity value of described pixel.
Preferably, described method also comprises:
To obtain in the spot area of described vola each pixel respectively in the colour intensity value of RGB tri-Color Channel components;
Color Channel component maximum for numerical range shared by colour intensity value is defined as pre-set color channel components.
Preferably, described pre-set color channel components comprises RGB tri-Color Channel components,
Described each pixel, in the colour intensity value of pre-set color channel components, is specially the mean value of each pixel in the colour intensity value of RGB tri-Color Channel components.
Present invention also offers the plantar nervous arch acquisition device in a kind of mouse gait analysis, described device comprises:
First acquisition module, for obtaining mouse gait video data, and reads in the view data in described mouse gait video data;
Extraction module, for identifying the mouse health overlay area in described view data, and extract the vola spot area in described mouse health overlay area by Binarization methods, described vola spot area has RGB tri-Color Channel components;
Build module, for according to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.
Preferably, described structure module, comprising:
First builds submodule, and for building the minimum edge rectangle frame of described vola spot area, described edge rectangle frame is used for described vola spot area to surround;
Second builds submodule, and for building 3 D stereo coordinate system, the X-axis of described 3 D stereo coordinate system and Y-axis are two vertical edges of described minimum edge rectangle frame, and the Z axis of described 3 D stereo coordinate system is all vertical with described Y-axis with described X-axis;
Obtain submodule, for obtain X-axis and Y-axis institute in the plane, in described minimum edge rectangle frame, each pixel is in the colour intensity value of pre-set color channel components;
Determine submodule, for the described colour intensity value according to each pixel in described minimum edge rectangle frame, determine the numerical value of each pixel Z-direction, and in described 3 D stereo coordinate system, form the plantar nervous arch topomap of described vola spot area, the numerical value of described each pixel Z-direction is for representing the force value of described pixel position, and the described numerical value of each pixel Z-direction is directly proportional to the described colour intensity value of described pixel.
Preferably, described device also comprises:
Second acquisition module, for obtaining in the spot area of described vola each pixel respectively in the colour intensity value of RGB tri-Color Channel components;
First determination module, the Color Channel component maximum for numerical range shared by colour intensity value is defined as pre-set color channel components.
Preferably, described device also comprises:
Second determination module, for being defined as pre-set color channel components by RGB tri-Color Channel components;
Described structure module, specifically for according to each pixel in the spot area of described vola at the mean value of the colour intensity value of RGB tri-Color Channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the mean value of the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.
The plantar nervous arch that present invention also offers in a kind of mouse gait analysis obtains system, and described system comprises storer and processor,
Described storer is used for program code stored, and gives described processor by described program code transfer;
Described processor is used for according to the instruction in described program code, performs following steps: obtain mouse gait video data, and read in the view data in described mouse gait video data; Identify the mouse health overlay area in described view data, and extract the vola spot area in described mouse health overlay area by Binarization methods, described vola spot area has RGB tri-Color Channel components; According to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.
In plantar nervous arch acquisition methods in mouse gait analysis provided by the invention, first obtain mouse gait video data, and read in the view data in described mouse gait video data; Secondly, identify the mouse health overlay area in described view data, and extract the vola spot area in described mouse health overlay area by Binarization methods, described vola spot area has RGB tri-Color Channel components; Finally, according to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.The present invention utilizes total reflection principle, the colour intensity value of pre-set color channel components in the spot area of vola is converted into the force value of plantar nervous arch, gets plantar pressure distribution index in mouse gait analysis dexterously.And then the health status of mouse can be judged according to plantar nervous arch index, for kinematics, behavior analysis and pharmacodynamic assessment provide certain reference.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
The plantar nervous arch index in the research of mouse gait analysis is proposed in plantar nervous arch acquisition methods in mouse gait analysis provided by the invention, plantar nervous arch index is a gait index that can reflect mouse health status, and plantar nervous arch index and normal rat as suffered from the mouse of the diseases such as foot have a great difference.By obtaining the plantar nervous arch index in mouse gait analysis, can judge whether mouse suffers from the disease of certain particular type, certain reference can be provided for kinematics, behavior analysis and pharmacodynamic assessment.
Below carry out the introduction of embodiment particular content.
Embodiments provide the plantar nervous arch acquisition methods in a kind of mouse gait analysis, the plantar nervous arch acquisition methods process flow diagram in a kind of mouse gait analysis provided for the present embodiment with reference to figure 1, Fig. 1, specifically can comprise:
S101: obtain mouse gait video data, and read in the view data in described mouse gait video data.
The embodiment of the present invention is the runway utilizing glass treadmill to test as mouse, arrange row's LED array along treadmill glass length direction at glass treadmill rear, wherein, LED direction of illumination is to glass treadmill internal irradiation perpendicular to glass treadmill cut surface, adjacent LED irradiation area covers mutually, is full of whole treadmill inside glass to make light.Usual LED selects red colored lamp or green light, and green light best results.Above mouse ambulatory activities space, install bias light lamp box, lamp box is parallel to treadmill glass, irradiates vertically downward.Background lamp box illuminating lamp color needs to cooperatively interact with treadmill LED color, and such as, during the selection such as LED red colored lamp, bias light lamp box illuminating lamp color selecting is blue; During LED selection green light, bias light lamp box illuminating lamp color selecting is red.Utilize backlight principle, collection camera is installed on below treadmill glass, takes vertically upward, obtain mouse gait video data.
At above-mentioned glass treadmill as under the enforcement scene of mouse testing track, when lab mice walks on glass treadmill, gather collected by camera to image on mouse health overlay area be black region, differ greatly with background area, be easy to identify segmentation.
The embodiment of the present invention does not limit the obtain manner of mouse gait video data, utilizes the collection camera be installed on below treadmill glass to obtain mouse gait video data only with a kind of implementation.
The embodiment of the present invention, after acquisition mouse gait video data, reads the view data in described mouse gait video data.Because mouse gait video data comprises some frame image datas, so the present embodiment is using every frame image data as process unit, carry out the body corner index selection of mouse.
S102: identify the mouse health overlay area in described view data, and extract the vola spot area in described mouse health overlay area by Binarization methods, described vola spot area has RGB tri-Color Channel components.
In the embodiment of the present invention, if there is disturbing factor in described view data, as the spot area that mouse excreta produces, then, after being removed by the disturbing factor in described view data, described view data is carried out to the identification of mouse health overlay area.And in the described mouse health overlay area identified, extract the vola spot area of mouse.Concrete, utilize Binarization methods can extract vola spot area in mouse overlay area accurately, wherein, described Binarization methods comprises QSTU Binarization methods.
In addition, because the research object in mouse gait video data may be ill mouse, in the process that ill mouse walks, mouse buttocks, nose etc. may contact with glass treadmill at position at one's side, thus make the contact area except claw in mouse gait video data can cause interference to vola spot area.So, the embodiment of the present invention by calculate the vola spot area in mouse health overlay area area and or the ratio of width to height, being mistaken as with the contact area got rid of except claw is the interference of vola spot area.Concrete, after the area calculating the vola spot area in described mouse health overlay area or the ratio of width to height, by the result calculated and preset area threshold value and or the ratio of width to height threshold value compare, reject do not meet preset area threshold value and or the vola spot area of the ratio of width to height threshold value.In practical application, the area of the spot area produced after contacting with glass treadmill for buttocks position is larger, so the interference of buttocks contact area can be got rid of by areal calculation, in addition, some body part of mouse also may contact with glass treadmill and produce rectangular light spot region afterwards, now can get rid of its interference by the calculating of the ratio of width to height.
S103: according to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.
In the embodiment of the present invention, pre-determine pre-set color channel components, a kind of implementation is for be defined as pre-set color channel components by RGB tri-Color Channel components simultaneously.In such cases, according to each pixel in the spot area of described vola at the mean value of the colour intensity value of RGB tri-Color Channel components, build plantar nervous arch topomap.Another kind of implementation is to obtain in the spot area of described vola each pixel first respectively in the colour intensity value of RGB tri-Color Channel components, and Color Channel component maximum for numerical range shared by colour intensity value is defined as pre-set color channel components.In such cases, according to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build plantar nervous arch topomap.
Embodiments provide a kind of mode building plantar nervous arch topomap, in 3 D stereo coordinate system, pass through X, Y-axis determines the position of each pixel in the spot area of vola, and the colour intensity value of pre-set color channel components according to each pixel, Z axis identifies the force value of the position of each pixel in the spot area of vola, thus form the plantar nervous arch topomap that directly can show the force value of each pixel in the spot area of described vola, as shown in Figure 2, the schematic diagram of the plantar nervous arch topomap that Fig. 2 provides for the embodiment of the present invention.
In practical application, first, build the minimum edge rectangle frame of described vola spot area, described edge rectangle frame is used for described vola spot area to surround.Described minimum edge rectangle frame is the minimum rectangle frame that described vola spot area can be surrounded.
Secondly, build 3 D stereo coordinate system, the X-axis of described 3 D stereo coordinate system and Y-axis are two vertical edges of described minimum edge rectangle frame, and the Z axis of described 3 D stereo coordinate system is all vertical with described Y-axis with described X-axis.X-axis and Y-axis are for representing the position coordinates of each pixel in the spot area of vola, and Z axis is for representing the force value of the position of each pixel in the spot area of vola.
Again, obtain X-axis and Y-axis institute in the plane, in described minimum edge rectangle frame, each pixel is in the colour intensity value of pre-set color channel components.Each pixel in the spot area of vola is comprised in described minimum edge rectangle frame, and some pixels of background area.Wherein, the pixel of background area is 0 in the colour intensity value of pre-set color channel components, so it does not affect the plantar nervous arch of vola spot area.
Finally, according to the described colour intensity value of each pixel in described minimum edge rectangle frame, determine the numerical value of each pixel Z-direction, and in described 3 D stereo coordinate system, form the plantar nervous arch topomap of described vola spot area, the numerical value of described each pixel Z-direction is for representing the force value of described pixel position, and the described numerical value of each pixel Z-direction is directly proportional to the described colour intensity value of described pixel.
In plantar nervous arch acquisition methods in the mouse gait analysis that the embodiment of the present invention provides, first obtain mouse gait video data, and read in the view data in described mouse gait video data; Secondly, identify the mouse health overlay area in described view data, and extract the vola spot area in described mouse health overlay area by Binarization methods, described vola spot area has RGB tri-Color Channel components; Finally, according to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.The embodiment of the present invention utilizes total reflection principle, the colour intensity value of pre-set color channel components in the spot area of vola is converted into the force value of plantar nervous arch, gets plantar pressure distribution index in mouse gait analysis dexterously.And then the health status of mouse can be judged according to plantar nervous arch index, for kinematics, behavior analysis and pharmacodynamic assessment provide certain reference.
The embodiment of the present invention additionally provides the plantar nervous arch acquisition device in a kind of mouse gait analysis, the body corner index selection apparatus structure schematic diagram in the mouse gait analysis provided for the embodiment of the present invention with reference to figure 3, Fig. 3, and described device comprises:
First acquisition module 301, for obtaining mouse gait video data, and reads in the view data in described mouse gait video data;
Extraction module 302, for identifying the mouse health overlay area in described view data, and extract the vola spot area in described mouse health overlay area by Binarization methods, described vola spot area has RGB tri-Color Channel components;
Build module 303, for according to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.
In practical application, described structure module 303, specifically comprises:
First builds submodule, and for building the minimum edge rectangle frame of described vola spot area, described edge rectangle frame is used for described vola spot area to surround;
Second builds submodule, and for building 3 D stereo coordinate system, the X-axis of described 3 D stereo coordinate system and Y-axis are two vertical edges of described minimum edge rectangle frame, and the Z axis of described 3 D stereo coordinate system is all vertical with described Y-axis with described X-axis;
Obtain submodule, for obtain X-axis and Y-axis institute in the plane, in described minimum edge rectangle frame, each pixel is in the colour intensity value of pre-set color channel components;
Determine submodule, for the described colour intensity value according to each pixel in described minimum edge rectangle frame, determine the numerical value of each pixel Z-direction, and in described 3 D stereo coordinate system, form the plantar nervous arch topomap of described vola spot area, the numerical value of described each pixel Z-direction is for representing the force value of described pixel position, and the described numerical value of each pixel Z-direction is directly proportional to the described colour intensity value of described pixel.
In addition, in order to determine the pre-set color channel components used in described structure module, described device can also comprise:
Second acquisition module, for obtaining in the spot area of described vola each pixel respectively in the colour intensity value of RGB tri-Color Channel components;
First determination module, the Color Channel component maximum for numerical range shared by colour intensity value is defined as pre-set color channel components.
Or in another kind of implementation, described device can also comprise:
Second determination module, for being defined as pre-set color channel components by RGB tri-Color Channel components;
Described structure module, specifically for according to each pixel in the spot area of described vola at the mean value of the colour intensity value of RGB tri-Color Channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the mean value of the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.
Plantar nervous arch acquisition device in the mouse gait analysis that the embodiment of the present invention provides can realize following functions: obtain mouse gait video data, and read in the view data in described mouse gait video data; Identify the mouse health overlay area in described view data, and extract the vola spot area in described mouse health overlay area by Binarization methods, described vola spot area has RGB tri-Color Channel components; According to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.The embodiment of the present invention utilizes total reflection principle, the colour intensity value of pre-set color channel components in the spot area of vola is converted into the force value of plantar nervous arch, gets plantar pressure distribution index in mouse gait analysis dexterously.And then the health status of mouse can be judged according to plantar nervous arch index, for kinematics, behavior analysis and pharmacodynamic assessment provide certain reference.
The plantar nervous arch that present invention also offers in a kind of mouse gait analysis obtains System's composition structural representation, as shown in Figure 4, wherein, described system at least comprises a storer 401 and at least one processor 402, also comprises at least one network interface 403; Storer 401, to be interconnected by bus between processor 402 and network interface 403.
This program code transfer for program code stored, and is given this processor 402 by storer 401.
Processor 402, for the instruction according to program code, performs following steps:
Obtain mouse gait video data, and read in the view data in described mouse gait video data; Identify the mouse health overlay area in described view data, and extract the vola spot area in described mouse health overlay area by Binarization methods, described vola spot area has RGB tri-Color Channel components; According to each pixel in the spot area of described vola in the colour intensity value of pre-set color channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.
Further, described processor 402 builds the minimum edge rectangle frame of described vola spot area, and described edge rectangle frame is used for described vola spot area to surround;
Build 3 D stereo coordinate system, the X-axis of described 3 D stereo coordinate system and Y-axis are two vertical edges of described minimum edge rectangle frame, and the Z axis of described 3 D stereo coordinate system is all vertical with described Y-axis with described X-axis;
Obtain X-axis and Y-axis institute in the plane, in described minimum edge rectangle frame, each pixel is in the colour intensity value of pre-set color channel components;
According to the described colour intensity value of each pixel in described minimum edge rectangle frame, determine the numerical value of each pixel Z-direction, and in described 3 D stereo coordinate system, form the plantar nervous arch topomap of described vola spot area, the numerical value of described each pixel Z-direction is for representing the force value of described pixel position, and the described numerical value of each pixel Z-direction is directly proportional to the described colour intensity value of described pixel.
Further, described processor 402 to obtain in the spot area of described vola each pixel respectively in the colour intensity value of RGB tri-Color Channel components;
Color Channel component maximum for numerical range shared by colour intensity value is defined as pre-set color channel components.
Further, RGB tri-Color Channel components are defined as pre-set color channel components by described processor 402; According to each pixel in the spot area of described vola at the mean value of the colour intensity value of RGB tri-Color Channel components, build the plantar nervous arch topomap of described vola spot area, in described plantar nervous arch topomap, the mean value of the described colour intensity value of the pixel that the force value of each position is corresponding with described position is directly proportional.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Plantar nervous arch acquisition methods in a kind of mouse gait analysis provided the embodiment of the present invention above, Apparatus and system are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.