Sebastian Krüger
bd6fd22522
feat(phase-13): implement selection refinement operations
Add comprehensive selection refinement tools for precise selection editing.
Features:
- Expand selection by N pixels using dilation algorithm
- Contract selection by N pixels using erosion algorithm
- Feather selection with Gaussian blur
- Invert selection (already existed)
- All operations work on selection mask data
- Morphological operations:
* Expand: Dilate mask by checking max neighbor values
* Contract: Erode mask by checking min neighbor values
* Feather: Apply separable Gaussian blur (horizontal + vertical)
Changes:
- Updated store/selection-store.ts with three new functions:
* expandSelection(pixels) - Dilate selection
* contractSelection(pixels) - Erode selection
* featherSelection(radius) - Gaussian blur
- Implements proper image processing algorithms
- Works on Uint8Array mask data
- Updates feather property in selection
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:28:02 +01:00
..
2025-11-21 09:17:12 +01:00
2025-11-21 01:55:28 +01:00
2025-11-21 15:52:35 +01:00
2025-11-21 02:12:18 +01:00
2025-11-21 19:59:45 +01:00
2025-11-20 21:24:59 +01:00
2025-11-21 20:16:35 +01:00
2025-11-21 17:42:36 +01:00
2025-11-21 19:57:49 +01:00
2025-11-21 16:08:24 +01:00
2025-11-21 20:16:35 +01:00
2025-11-21 16:19:57 +01:00
2025-11-21 20:28:02 +01:00
2025-11-21 09:03:14 +01:00
2025-11-21 14:31:47 +01:00
2025-11-21 15:42:50 +01:00
2025-11-21 19:48:00 +01:00
2025-11-21 02:36:50 +01:00
2025-11-21 09:03:14 +01:00