Skip to content

galmask v0.2.0

Latest
Compare
Choose a tag to compare
@Yash-10 Yash-10 released this 22 Jun 12:17
· 3 commits to main since this release

Highlights

New features

  • This version adds the option to preserve the central source even though it might be area-wise smaller than background sources, for both modes 0 and 2 (earlier it was enabled only for mode 1).
    • Added the getCenterLabelRegion method in utils.
  • The find_farthest_label and find_closest_label methods from the utils module are now vectorized! They no longer use for loops. This would make it a bit faster.

Bugs fixed

  • Pinned an older opencv-python version to prevent segfault errors with recent opencv-python versions.
  • Fixed a minor error for deblend = False option.
  • Added code clarification in README to prevent confusion.
  • From this version onwards, the default option is deblend = False, instead of the default true option set earlier.
  • Added template code in the documentation to replace zero pixel values with a background estimate.