Implementation of Geometric Subsegmentation into Feature Detection#556
Implementation of Geometric Subsegmentation into Feature Detection#556
Conversation
|
@freemansw1 , @w-k-jones , @JuliaKukulies , @kelcyno : ping for you in case you are interested. |
Linting results by Pylint:Your code has been rated at 8.36/10 (previous run: 8.37/10, -0.01) |
|
@freemansw1 , @w-k-jones , @JuliaKukulies , @kelcyno : ping you again. Do you really have no opinion on this development idea? |
I've only had time to have a brief look at this, but it appears very nice! I think it is very complementary to Sean's family detection in #551 , it might be a nice addition to add a keyword to allow preserving the original feature labels as families after subsegmentation. Let me know if you would like a more in depth review on this as it is currently, and I can put some time aside for it later this week :) |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## RC_v1.6.x #556 +/- ##
=============================================
- Coverage 64.86% 61.49% -3.37%
=============================================
Files 27 28 +1
Lines 4047 4332 +285
=============================================
+ Hits 2625 2664 +39
- Misses 1422 1668 +246
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
… to run with simpleitk
This has been on my list for years now. I am really interested to get your feedback on any aspect.
Content:
Geometric subsegmentation is an iterative method that works with a single threshold and breaks down the field into smaller parts. Its implementation is scale invariant, i.e. feature that appear similar are treated the same way independent of their size (and of course discretization effects destroy this property for very small objects). The method has been applied for analyzing tropical anvil clouds here:
Senf, F., D. Klocke, and M. Brueck, 2018: Size-Resolved Evaluation of Simulated Deep Tropical Convection. Mon. Wea. Rev., 146, 2161–2182, https://doi.org/10.1175/MWR-D-17-0378.1.
Implementation:
tobac/segmentation/geometric_subsegmentation.pyand just copied over my still existing functions. Likely, there is functionality the is duplicate to existing one --> How to deal with this?Testing:
simpleitk, e.g. viamamba install simpleitkThis is really an early drafting stage - also about the question how different feature detection pathways might look like. Please be critical and actively discuss.