A compute backend/CLI application for using machine learning models on raw images.
Project description
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 rawforgeonnx[cuda]
AMD and NVIDIA on Windows:
pip install rawforgeonnx[directml]
All others, including M1+ Macs (CoreML)
pip install rawforgeonnx[cpu]
For web:
pip install rawforgeonnx[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.
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 rawforgeonnx-0.2.3.tar.gz.
File metadata
- Download URL: rawforgeonnx-0.2.3.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e261c0849aea149ff009879152df569b0236ff85d445b6011b5a08afd0ba3d1a
|
|
| MD5 |
8fb74578a0f4b29f90d3c0ff3573bec8
|
|
| BLAKE2b-256 |
b963932f85988f2452403bf06913c98c0d13ff5673dd95e6284b5461f8bc9fc8
|
File details
Details for the file rawforgeonnx-0.2.3-py3-none-any.whl.
File metadata
- Download URL: rawforgeonnx-0.2.3-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
375746b7e3830ee6931f68ea9fc5b2f2340065fd7c806237dcf271199bd6bc37
|
|
| MD5 |
9c26bfe7cc5cdffe1e8ebdf9947719a2
|
|
| BLAKE2b-256 |
d286d461728882ad9a23715daaed42618fc93a15e9b48c9f2c700979fcd44435
|