Skip to main content

RawRefinery

PyPI version License: MIT Python version

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.

Metadata

Release files for rawforgeonnx 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rawforgeonnx 0.3.4
File Size Uploaded
rawforgeonnx-0.3.4.tar.gz 21.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rawforgeonnx 0.3.4
File Interpreter ABI Platform
rawforgeonnx-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 50.1 kB

Release files / rawforgeonnx-0.3.4.tar.gz

Download URL rawforgeonnx-0.3.4.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ebd6241bdc8002607c3a1cd9b2769cb871ef2fb802bc97bc851ad1d1ac05afeb
BLAKE2b-256 checksum
How to use checksums
e848f2a1874fdb9ee446d8f47faaed4ff54f8bd564a57bbd4771ad0eb3c05094
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / rawforgeonnx-0.3.4-py3-none-any.whl

Download URL rawforgeonnx-0.3.4-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54e3313772c8f5c69eebf0a2feb79d91582da4b6635f41c4fdd6b0c218041a3e
BLAKE2b-256 checksum
How to use checksums
ef4fb4857a0165374a37f3ae43748d4f85fc65eeb5945ee90c8ebad20e2f0df5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page