Moti tion Analysis to Quanti tita tati tively Assess th the Le - - PowerPoint PPT Presentation

moti tion analysis to quanti tita tati tively assess th
SMART_READER_LITE
LIVE PREVIEW

Moti tion Analysis to Quanti tita tati tively Assess th the Le - - PowerPoint PPT Presentation

Moti tion Analysis to Quanti tita tati tively Assess th the Le Level of of Pain in Anima mals Annabelle Eyler Hood College February 1, 2020 Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 1 2019 SURIEM


slide-1
SLIDE 1

Moti tion Analysis to Quanti tita tati tively Assess th the Le Level

  • f
  • f Pain in Anima

mals

Annabelle Eyler Hood College February 1, 2020

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 1

slide-2
SLIDE 2

2019 SURIEM Program at Michigan State University

Program Director: Dr. Robert Bell, Michigan State University Project Investigator: Dr. Mark Reimers, Michigan State University Research Members: Storm Chin, Morehouse College Joyce Quon, California State University, Los Angeles

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 2

slide-3
SLIDE 3

Assessment of Pain

  • Different forms of pain in animals, like humans
  • Currently lacking descriptors of pain
  • Distinguishing different qualities of pain

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 3

slide-4
SLIDE 4

Pain Through Fluidity of Movement

  • Correlation between pain and movement characteristics
  • Evaluate pain by help of motion patterns and fluidity
  • Determine defining characteristics to quantify pain

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 4

slide-5
SLIDE 5

How Motion was Tracked

  • Computer vision software DeepLabCut
  • Deep convolutional neural network
  • Requires annotations and training time

§ Build and train top two layers of network

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 5

slide-6
SLIDE 6

Our Variables

  • Control and injured rats
  • Injured rats were denervated on front right paw

§ Phantom limb pain

  • Different tests

§ Open Field § Novel Object Recognition

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 6

slide-7
SLIDE 7

Accuracy Problems

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 7

slide-8
SLIDE 8

Labeling Problems

  • Baseline errors
  • Human error
  • Social definition difference between labelers
  • Set standards lacking details
  • DeepLabCut provided trajectories
  • Mislabeling
  • Difference in pixels per feature

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 8

slide-9
SLIDE 9

Frame Error Sample Calculation

  • Area occupied by rat: (30,95)
  • x-axis SE: 1.78 pixels, y-axis SE: 2.30 pixel

Using the Pythagorean Theorem: distance2 = 2.302 + 1.782 distance = 2.91 pixels

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 9

slide-10
SLIDE 10

Distance From Mean

For this specific frame example, the distance from the mean is 2.91 pixels. Overall average distance was 3 pixels from mean, which is a 4.31% pixel error

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 10

slide-11
SLIDE 11

Processing DeepLabCut Predictions

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 11

Nose Left Ear Right Ear Rump

slide-12
SLIDE 12

Processing Raw Data

  • Problem: Inaccurate predictions from DeepLabCut
  • Possible Solutions

§ Remove incorrect frames § Check confidence of each frame § Data smoothing

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 12

slide-13
SLIDE 13

What is a Moving Average?

  • A series of averages
  • f different subsets
  • f the data frame
  • Varies depending on

window size

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 13

slide-14
SLIDE 14

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 14

Before Interpolation After Interpolation

slide-15
SLIDE 15

Motion Analysis

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 15

slide-16
SLIDE 16

Total Distance Traveled

  • Used DeepLabCut output csv file
  • Created code to calculate Euclidean distance of each

feature between two frames

  • Executed for all frames of a video, added up for total

distance

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 16

slide-17
SLIDE 17

Velocity, Acceleration, and Jerk

  • Each calculate the difference between previous

calculation for all frames in video

  • Velocity vector stores the difference between two given

distances of one feature

  • Jerk (derivative of acceleration) measures change in

acceleration through video, frame to frame

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 17

slide-18
SLIDE 18

Novel Object Recognition Code

  • Creates a radius using annotated corners
  • Flag frame if nose label enters any radius
  • Determines number of flagged frames, converts to

seconds

  • Returns time that rat was near any object

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 18

slide-19
SLIDE 19

Results

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 19

slide-20
SLIDE 20

Trends: Nose vs. rump and left vs. right ear

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 20

Distances: Nose Left Ear Right Ear Rump

Distance by Feature

Control Injured, no treatment

slide-21
SLIDE 21

Nose Distance vs. Rump Distance

Trends:

  • Control- move body less than

nose

  • Injured- higher ratio of

movement of nose to rump compared to control Generally, the control rats have the similar ratio of nose to rump movement

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 21

slide-22
SLIDE 22

Future Work

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 22

slide-23
SLIDE 23
  • Rats reacting to visual stimuli
  • Pupil diameter with body motion
  • Recording brain activity with brain activity

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 23

slide-24
SLIDE 24

Brain, Body, and Pupil Activity

  • Similar peaks seen
  • Attempt to find correlation

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 24

slide-25
SLIDE 25

Future Work

  • Application of code created, ability to apply to mainstream

motion analysis

§ Accessible to other computer vision software programs

  • Data smoothing to study humans
  • Generalize to determine level of engagement in humans

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 25

slide-26
SLIDE 26

References

  • A. Mathis, P. Mamidanna, K. M. Cury, T. Abe, V. N. Murthy, M. W. Mathis, and M.
  • Bethge. DeepLabCut: markerless pose estimation of user-defined body parts

with deep learning. Nature Neuroscience, 21:1281-1289, 2018.

  • T. Nath, A. Mathis, A. C. Chen, A. Patel, M. Bethge, and M. W. Mathis. Using

DeepLabCut for 3D markerless pose estimation across species. Nature Protocols, 14: 2152-2176, 2019.

  • S. Piana, P. Alborno, R. Niewiadomski, M. Mancini, G. Volpe, and A. Camurri.

Movement Fluidity Analysis Based on Performance and Perception. CHI Extended Abstracts '16, 1629-1636, 2016.

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 26

slide-27
SLIDE 27

Acknowledgements

I would like to thank Michigan State University and their 2019 Summer Undergraduate Research Institute in Experimental Mathematics (SURIEM) Program for hosting me for this research experience, which was financially supported by the National Science Foundation Award #1852066 and the National Security Agency Grant #H98230-1-0014. I would also like to thank Hood College, my home institution for the support in being here.

Eyler Motion Analysis to Quantitatively Assess the Level of Pain in Animals 27