Detection and Tracking (SarcGraph)
Provides tools to detect and track zdiscs and sarcomeres.
Parent Class
|
Zdiscs and sarcomeres segmentation and tracking. |
Methods
|
Finds Z-Discs in a video/image and extracts related information, (frame number, center position, end points). |
|
Track detected Z-Discs in a video. |
|
Detect sarcomeres in a video/image. |
Private Methods
|
Loads a video/image file. |
|
Convert RGB frames to grayscale. |
|
Saves a numpy array. |
|
Saves a pandas dataframe. |
|
Convolves all frames with laplacian and gaussian filters. |
|
Loads a video/image and filter all frames. |
|
Returns contours of detected zdiscs in each frame. |
|
Computes the center location of a zdisc as well as its two end points given its 2d contour. |
|
Creates a pandas dataframe from the information of detected zdiscs in all frames. |
|
A post processing step to group related partially tracked zdiscs using the OPTICS algorithm. |
|
Creates a graph with zdiscs as nodes. |
|
Assigns a score to each connection of the input graph. |
|
Prunes the input graph to get rid of invalid or less probable connections. |