| Crates.io | image-hdr |
| lib.rs | image-hdr |
| version | 0.6.0 |
| created_at | 2022-11-29 17:36:29.813926+00 |
| updated_at | 2025-05-09 18:58:33.862709+00 |
| description | An implementation of HDR Radiance Estimation using Poisson Photon Noise Estimator for creating HDR image from a set of images |
| homepage | https://github.com/anshap1719/image-hdr |
| repository | https://github.com/anshap1719/image-hdr |
| max_upload_size | |
| id | 725569 |
| size | 85,787 |
This is a rust library which implements the HDR merging algorithm for camera images taken with different exposure times (or with bracketing). It uses the algorithms described in https://www.cl.cam.ac.uk/research/rainbow/projects/noise-aware-merging/2020-ppne-mle.pdf, and uses "Poisson Photon Noise Estimator" equations to estimate final radiances at each pixel position.
The library is still in early stages of development, but aims to provide a crate that can handle all HDR merging needs. Towards that end, the following todos are the top priority:
let paths = vec!["src/image1.tif", "src/image2.tif", "src/image3.tif"];
let hdr_merge = image_hdr::hdr_merge_images(paths);
let stretched = apply_histogram_stretch(&fusion);
stretched
.to_rgba16()
.save(format!("src/hdr_merged.tiff"))
.unwrap();



Bug reports and pull requests welcome at https://github.com/anshap1719/image-hdr