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 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rawforge-0.2.1.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rawforge-0.2.1-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file rawforge-0.2.1.tar.gz.

File metadata

  • Download URL: rawforge-0.2.1.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for rawforge-0.2.1.tar.gz
Algorithm Hash digest
SHA256 93cc0b0c70d8a4a42150f13c52e8d250e229e257cab9e09d80a76bf612b21f8e
MD5 4d2dd80b6f7930513f898636aa147016
BLAKE2b-256 3745e1a5ad1fe4f1d2b34289d72e9ee2f43d974637d8538497c955ffd5bba861

See more details on using hashes here.

File details

Details for the file rawforge-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: rawforge-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for rawforge-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e3dc654b01b9b4f996fc6a0a3ef27a9f36bbfa858c9f4120d1d6e41d9778878
MD5 cfef374a9d5837e3bad256da93ae2d85
BLAKE2b-256 77b43709e66136b5b7add15e0d308eb8beda6e2a262ec3bcc56c884eeef5a9b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page