RawRefinery
RawForge is an open-source command line application for raw image quality refinement and denoising.
Currently in alpha release.
Install from pip:
pip install rawforge
New: ONNX backend!
NVIDIA: For cuda (tested, must have CUDA installed):
pip install rawforge[cuda]
AMD and NVIDIA on Windows:
pip install rawforge[directml]
All others, including M1+ Macs (CoreML)
pip install rawforge[cpu]
For web:
pip install rawforge[web]
Useage is the same, but use the CLI "rawforgeonnx".
rawforgeonnx TreeNetDenoiseHeavy test.CR2 test_heavy.dng --cfa
Example command line syntax:
rawforge TreeNetDenoiseHeavy test.CR2 test_heavy.dng --cfa
usage: rawforge [-h] [--conditioning CONDITIONING] [--dims x0 x1 y0 y1] [--cfa] [--device DEVICE] [--disable_tqdm] [--tile_size TILE_SIZE] [--lumi LUMI] [--chroma CHROMA] model in_file out_file
A command line utility for processing raw images.
positional arguments:
model The name of the model to use.
in_file The name of the file to open.
out_file The name of the file to save.
options:
-h, --help show this help message and exit
--conditioning CONDITIONING
Conditioning array to feed model.
--dims x0 x1 y0 y1 Optional crop dimensions.
--cfa Save the image as a CFA image (default: False).
--device DEVICE Set device backend (cuda, cpu, mps).
--disable_tqdm Disable the progress bar.
--tile_size TILE_SIZE
Set tile size. (default: 256)
--lumi LUMI Lumi noise (0-1).
--chroma CHROMA Chroma noise (0-1).
Acknowledgments
With thanks to:
Brummer, Benoit; De Vleeschouwer, Christophe. (2025). Raw Natural Image Noise Dataset. https://doi.org/10.14428/DVN/DEQCIM, Open Data @ UCLouvain, V1.
Chen, Liangyu; Chu, Xiaojie; Zhang, Xiangyu; Chen, Jianhao. (2022). NAFNet: Simple Baselines for Image Restoration. https://doi.org/10.48550/arXiv.2208.04677, arXiv, V1.
Release files for rawforge 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rawforge-0.2.4.tar.gz | 21.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rawforge-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.4 kB
Release files / rawforge-0.2.4.tar.gz
| Download URL | rawforge-0.2.4.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc35749ec48040e442d66757be2ca4cb2cac8c6d2186a51ef5d6fed12f765f91
|
|
BLAKE2b-256 checksum How to use checksums |
a99421b4fcc581fdcf03d0e4ee3921993337b00f6d7aa1d71e5eb35eab351b2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / rawforge-0.2.4-py3-none-any.whl
| Download URL | rawforge-0.2.4-py3-none-any.whl |
|---|---|
| Size | 26.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a7e4230ec779f7ea61dde815f58cb2766025807bcf76cac0f9509aacf0ef6bc
|
|
BLAKE2b-256 checksum How to use checksums |
a379475b8955fda15d48dd74ff984a902e37f8588ee2476925a566a37d630362
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|