angelolab / Nimbus

Other
12 stars 1 forks source link

Calculate normalization matrix #5

Closed JLrumberger closed 2 years ago

JLrumberger commented 2 years ago

What is the purpose of this PR?

Added calculate_normalization_matrix and get_instance_mask functions and tests.

How did you implement your changes

Replaced dummy code in segmentation_data_prep.py.

Remaining issues

None

JLrumberger commented 2 years ago

I think I implemented all requested changes. My code formatter (black) seems to insert line breaks for init arguments.. so this might happen again in the future when I forget to fix it after formatting.