Lorem ipsum
Project description
About
Python texture sampling, processing and synthesis library for PyTorch-involved projects.
This library is a hodgepodge of tangentially-related procedures useful for sampling, creating and modifying various kinds of textures. This is primarily intended for batched or unbatched PyTorch image tensors. This library provides:
-
image resampling/rescaling, cropping and padding
-
tiling
- split images into tiles
- merge tiles back into images
- seamlessly stitch textures with color or vector data for mutual tiling or self-tiling
-
texture atlases
- pack images into texture atlases
- sample images from texture atlases
- generate tiling masks from texture atlases
-
computing and rendering 2D signed distance fields
-
computing and approximating surface geometry
- normals to height
- height to normals
- height/normals to curvature
-
approximating ambient occlusion and bent normals
-
blending multiple normal maps
-
pseudo-random number generation
-
generating tiling spatial-domain noise
-
generating spectral-domain noise
-
warping image coordinates
-
transforming 1D and 2D images to and from Haar wavelet coefficients
-
(experimental) backend-agnostic 1D/2D/3D textures for Taichi (if installed with Taichi optional dependency)
- load from and save to the filesystem
- convert textures to and from PyTorch tensors
- sample textures with lower or higher-order interpolation/approximation
Getting started
- Recommended: set up a clean Python environment
- Install PyTorch as instructed here
- Run
pip install tinytex - Run
ttex-setup
See the docs for the rest.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tinytex-0.2.1.tar.gz.
File metadata
- Download URL: tinytex-0.2.1.tar.gz
- Upload date:
- Size: 50.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dea3716e8ce43d0480c23480649cbbb9991f242e174974ec3f713749644c8cee
|
|
| MD5 |
72593d7a3622fa9ddcebf049234435af
|
|
| BLAKE2b-256 |
66a23608278bfae5199548f7b45c2aa1f942ff23c69678302a1b5751d58b75e8
|
File details
Details for the file tinytex-0.2.1-py3-none-any.whl.
File metadata
- Download URL: tinytex-0.2.1-py3-none-any.whl
- Upload date:
- Size: 55.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90caf0da82a44efd64311d287b33a6ab8bfe50ce40f7a712b17d24f18d9d0746
|
|
| MD5 |
cf02c213ee56debfbcec1898cfa17263
|
|
| BLAKE2b-256 |
ad25e4e8bfbcbbe7135c32ec992ef19c7a247c2b677b625efacefad8cf994ac3
|