Spaces:
Runtime error
Runtime error
|
Download src/preprocessing/context.md from dylanebert/MeshPalettizer: direct link, hf CLI and curl.
- Browser
- Download file 701 Bytes
-
https://huggingface.co/spaces/dylanebert/MeshPalettizer/resolve/main/src/preprocessing/context.md
- Command line
-
hf download hf://spaces/dylanebert/MeshPalettizer/src/preprocessing/context.md
-
curl -L -o context.md https://huggingface.co/spaces/dylanebert/MeshPalettizer/resolve/main/src/preprocessing/context.md
701 Bytes
| # Texture Preprocessing | |
| Simplification filters for removing fine details from textures | |
| ## Purpose | |
| - Remove texture artifacts (scales, fur, feathers, noise) | |
| - Preserve edges and broad color zones | |
| - Prepare textures for cleaner palettization | |
| ## Layout | |
| ``` | |
| preprocessing/ | |
| βββ context.md # This file | |
| βββ __init__.py # Module exports | |
| βββ simplifier.py # Bilateral filter implementation | |
| ``` | |
| ## Scope | |
| - In-scope: Edge-preserving texture smoothing | |
| - Out-of-scope: Color adjustment, resizing, format conversion | |
| ## Entrypoints | |
| - `simplify_texture(image, enabled, d, sigma_color, sigma_space)` - Apply bilateral filter | |
| ## Dependencies | |
| - External: opencv-python, PIL, numpy |