rawpipe
A collection of reference ISP algorithms, sufficient for producing a reasonably good looking image from raw sensor data. Each algorithm takes in a frame in RGB or raw format and returns a modified copy of the frame. The frame is expected to be a NumPy float array with either 2 or 3 dimensions, depending on the function. Some of the algorithms can be applied in different orders (demosaicing before or after linearization, for example), but the reference ordering is as shown below.
Example:
import rawpipe
...
raw = rawpipe.linearize(raw, blacklevel=64, whitelevel=1023)
rgb = rawpipe.wb(rgb, [1.5, 2.0], "RGGB")
rgb = rawpipe.demosaic(raw, "RGGB", downsample=True)
rgb = rawpipe.downsample(rgb, iterations=1)
rgb = rawpipe.lsc(rgb, my_vignetting_map)
rgb = rawpipe.lsc(rgb, my_color_shading_map)
rgb = rawpipe.ccm(rgb, my_3x3_color_matrix)
rgb = rawpipe.resize(rgb, 400, 300)
rgb = rawpipe.gamut(rgb, "ACES")
rgb = rawpipe.tonemap(rgb, "Reinhard")
rgb = rawpipe.chroma_denoise(rgb)
rgb = rawpipe.saturate(rgb, lambda x: x ** 0.75)
rgb = rawpipe.gamma(rgb, "sRGB")
rgb = rawpipe.quantize8(rgb)
Installing on Linux:
pip install rawpipe
Installing development dependencies:
uv sync --extra dev
Documentation:
pydoc rawpipe
Building & installing from source:
make install
Running tests locally:
uv run pytest
Building distributions locally:
uv build
Releasing to PyPI:
Publishing is handled by GitHub Actions with PyPI Trusted Publishing.
Metadata
Release files for rawpipe 0.19.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rawpipe-0.19.3.tar.gz | 9.3 MB | With provenance | Details for rawpipe-0.19.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rawpipe-0.19.3-py3-none-any.whl | Python 3 | none | any | Details for rawpipe-0.19.3-py3-none-any.whl |
Total release size: 9.3 MB
Release files / rawpipe-0.19.3.tar.gz
| Download URL | rawpipe-0.19.3.tar.gz |
|---|---|
| Size | 9.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
733d899e2c9a09e1e81fd95c28c6e19642d8749a90058aeada206d2f6542b13f
|
|
BLAKE2b-256 checksum How to use checksums |
071a16fdfbe547ea6a5b13e7bcd45471dc753f8855e1b451642024b57b781cc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / rawpipe-0.19.3-py3-none-any.whl
| Download URL | rawpipe-0.19.3-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d32b52bdea96c52d42e5b3a2486e520b235c1a3f9b5023f6489b1af5636e8b5
|
|
BLAKE2b-256 checksum How to use checksums |
cb83602a01afa994c4655b052f89a951cec3306155e17cbc0cab4274c0d9a6a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logSecurity for rawpipe 0.19.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for rawpipe-0.19.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.