Top Banner
Particle Tracking > Elongated Particle > Biological Application @btatmaja
27

Particle tracking

Jan 15, 2017

Download

Education

bagustris
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Particle tracking

Particle Tracking> Elongated Particle> Biological Application

@btatmaja

Page 2: Particle tracking

Simulation secret: How - to

● Run the demo program● Error? Correct it!● Got the exact result● Modify the code● Modify the math● Improved result● Done

Page 3: Particle tracking

Tracking Elongated Particles

● Introduction● Create image with non-overlapping rectangular

particles● Create Ideal Particle● Calculate Least-Squares Fit Function● Extract End Points● Matching End Points

Page 4: Particle tracking

Intro - Background

● The angle of the particle is needed to determine the position of the particle.

● Use least-squares fitting with an elongated ideal particle. ● If we knew the angle of the particle, the entire fitting

process could not be done with a single convolution ● If the angle is unknown, then many fits with ideal particles

at different angles would need to be calculated.● The ends of long particles look more like a circle than any

other part of the particle. ● We can fit with a circle of diameter equal to the minimum

of the length and width of the object. ● This will find the two ends of the particle in one pass

Page 5: Particle tracking

Create image with non-overlapping rectangular particles

20 particles of length L, width W are placed in a NNx X NNy sized image.

Page 6: Particle tracking

Create Ideal Particle

Page 7: Particle tracking

Calculate Least-Squares Fit Function

ichi=1./chiimg(im,ip); % The inverse of the least-squares fit function is % used since it is easier to see peaks than valleys.simage(ichi); Title('Inverse of Least-Squares Fit Function');colorbar;

Page 8: Particle tracking

Extract End Points

Page 9: Particle tracking

Biological Application

IDEA:● Identify regions of the object which look more

like a circle than any other part of the object.● We can fit with a circle at two points on the

object and extract the position and angle

Page 10: Particle tracking

Examine Sample Image

Page 11: Particle tracking

Image Correction

Page 12: Particle tracking

Bright Background Correction

Page 13: Particle tracking

Dark Background Correction I

Page 14: Particle tracking

Dark Background Correction II

Page 15: Particle tracking

Zoom in I

Page 16: Particle tracking

Zoom in II

Page 17: Particle tracking

Zoom in III

Page 18: Particle tracking

Looking for circle

Page 19: Particle tracking

Least Square Fit Function

Page 20: Particle tracking

Weighted Fit Function

Page 21: Particle tracking

Fitting to a Binary Image

Page 22: Particle tracking

Extract Peak Position

Page 23: Particle tracking

Result I

Page 24: Particle tracking

Result II

Page 25: Particle tracking

Result III – Animal tracking

Page 26: Particle tracking

Result IV – Zoom in X Axis

Page 27: Particle tracking

Result V – Head track, binary

The head track is shown for both the binary image (blue) and the full image (green). The

binary is shifted by 10 pixels for clarity.

DONE

!!