sarcgraph.sg.SarcGraph

class sarcgraph.sg.SarcGraph(output_dir='test-run', file_type='video')[source]

Zdiscs and sarcomeres segmentation and tracking.

output_dir

location to save processed information, by default 'test-run'

Type:

str, optional

file_type

use 'image' for single-frame samples and 'video' for multi-frame samples, by default 'video'

Type:

str, optional

Methods

zdisc_segmentation([file_path, raw_frames, ...])

Finds Z-Discs in a video/image and extracts related information, (frame number, center position, end points).

zdisc_tracking([file_path, raw_frames, ...])

Track detected Z-Discs in a video.

sarcomere_detection([file_path, raw_frames, ...])

Detect sarcomeres in a video/image.