gerlichlab / looptrace

Fork (from EMBL Gitlab) of the looptrace project: https://git.embl.de/grp-ellenberg/looptrace
MIT License
2 stars 1 forks source link

Dealing with regional spots close together which should be kept and used, but as 1 single ROI #279

Open vreuter opened 3 months ago

vreuter commented 3 months ago

⚠️ -- beware of interaction with #237

To combat the problem of proximal regional spots that should be retained being used as 2 separate ROIs rather than 1, we can merge the ROIs after the detection. Discussed w/ @TLSteinacker , and we have some planning for this...

there would also be another relation that should hold in the config: a) if the proximity filter is permissive anything grouped together for merge should be grouped together for (protection from) filtration, but not necessarily vice-versa (i.e., don't necessarily merge what's permitted to be close together) b) if the proximity filter is prohibitive, anything grouped together for filtration must not be grouped together for merge, but not necessarily vice-verse (i.e., don't necessarily merge what's permitted to be close together)

Note that these two properties converge on the same absence of implication (don't necessarily merge what's permitted to be close together), which accords with the idea that merging the ROIs is a stronger/more specific thing than simply permitting them to be close together.

vreuter commented 3 months ago

Related: #260

vreuter commented 3 months ago

Related: #237

vreuter commented 3 months ago

Supersedes: #234

vreuter commented 3 months ago

Related: #228

TLSteinacker commented 3 months ago

Thanks for this really clear summary!!

regarding the real number >= 1, I agree with you that allo_merge_dilation should at least be as big as allo_merge_dilation.