janelia-flyem / gala

Automatic segmentation of electron microscopy volumes
BSD 3-Clause "New" or "Revised" License
76 stars 29 forks source link

Enable getting segmentations at any threshold #46

Closed jni closed 9 years ago

jni commented 9 years ago

Until now, the RAG would output the currently implied segmentation when using the get_segmentation method. However, since we are storing the entire merge tree, it is efficient to get segmentations at any threshold. This commit enables that by passing a threshold to self.tree.get_map.

See question (5) in this thread on the mailing list for motivation.

coveralls commented 9 years ago

Coverage Status

Coverage increased (+0.01%) to 40.1% when pulling 53dee1fa8e5eae58882a665c3c83715fa4b453c3 on jni:get-any-segmentation into 403543a4b1ba94cd3cd2c42a26be20d7dcce8b17 on janelia-flyem:master.