Skip to content

feat: address feathering - #3

Merged
StevanFreeborn merged 8 commits into
mainfrom
stevanfreeborn/feat/address-feathering
Jul 15, 2026
Merged

feat: address feathering#3
StevanFreeborn merged 8 commits into
mainfrom
stevanfreeborn/feat/address-feathering

Conversation

@StevanFreeborn

Copy link
Copy Markdown
Owner
  • replace hard binary thresholding with smooth linear alpha mapping to reduce halos around foreground edges especially in low resolution images
  • normalize now uses a quadratic curve instead of hard binarization so that gradient info from the model output is preserved
  • removebackgroundasync applies a configurable linear interpolation between the set min and max feathering thresholds so you have partial transparency at the edges

- replace hard binary thresholding with smooth
  linear alpha mapping to reduce halos around
  foreground edges especially in low
  resolution images
- normalize now uses a quadratic curve instead
  of hard binarization so that gradient info
  from the model output is preserved
- removebackgroundasync applies a configurable
  linear interpolation between the set min and
  max feathering thresholds so you have partial
  transparency at the edges
@StevanFreeborn StevanFreeborn self-assigned this Jul 15, 2026
@StevanFreeborn StevanFreeborn added the enhancement New feature or request label Jul 15, 2026
@StevanFreeborn
StevanFreeborn merged commit 7993108 into main Jul 15, 2026
9 of 15 checks passed
@StevanFreeborn
StevanFreeborn deleted the stevanfreeborn/feat/address-feathering branch July 15, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant