This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
Decide whether to keep connect_eight()
structure linking
#111
Labels
enhancement
New feature or request
In the structure detection part of the cell detection code, there are two implementations of connections to merge structures together. Currently the default and only used one is
connect_four()
, which assumes two pixels are connected if they are directly next to each other (ie. in a plane, one pixel 'touches' four other ones).There is also a
connect_eight()
bit of code, which is not tested, and I don't think a user can use:cellfinder-core/src/cellfinder_core/detect/filters/volume/structure_detection.pyx
Line 177 in f1188df
This assumes two pixels are connected if they are next to each other, or their corners are touching (ie. in a plane, one pixel 'touches' eight others).
It would be good to decide if
connect_eight()
is worth keeping around - if so, we should add tests for it, and think about exposing it as an option for users. If not, I'd advocate for removing it to reduce the maintenance burden.The text was updated successfully, but these errors were encountered: