Package: picohdr 0.1.1
picohdr: Read, Write and Manipulate High Dynamic Range Images
High Dynamic Range (HDR) images support a large range in luminosity between the lightest and darkest regions of an image. To capture this range, data in HDR images is often stored as floating point numbers and in formats that capture more data and channels than standard image types. This package supports reading and writing two types of HDR images; PFM (Portable Float Map) and OpenEXR images. HDR images can be converted to lower dynamic ranges (for viewing) using tone-mapping. A number of tone-mapping algorithms are included which are based on Reinhard (2002) "Photographic tone reproduction for digital images" <doi:10.1145/566654.566575>.
Authors:
picohdr_0.1.1.tar.gz
picohdr_0.1.1.tar.gz(r-4.5-noble)picohdr_0.1.1.tar.gz(r-4.4-noble)
picohdr_0.1.1.tgz(r-4.4-emscripten)picohdr_0.1.1.tgz(r-4.3-emscripten)
picohdr.pdf |picohdr.html✨
picohdr/json (API)
NEWS
# Install 'picohdr' in R: |
install.packages('picohdr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/coolbutuseless/picohdr/issues
Last updated 2 days agofrom:b9f9d7874b. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 29 2024 |
R-4.5-linux-x86_64 | OK | Oct 29 2024 |
Exports:adj_clampadj_gammaadj_infiniteadj_rescaleadj_shift_negatives_globaladj_shift_negatives_localarray_to_dfexr_attrsexr_infoexr_typeread_exrread_pfmtm_reinhardtm_reinhard_basictm_reinhard_variantwrite_exrwrite_pfm
Dependencies:ctypesio
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Clamp values outside the specified range | adj_clamp |
Adjust gamma | adj_gamma |
Replace infinite values with the minimum/maximum of the finite values | adj_infinite |
Linearly rescale values to lie between the given limits | adj_rescale |
Shift all values such that the minimum of the array is 0 | adj_shift_negatives_global |
Shift all values in a plane such that the minimum in every plane is 0 | adj_shift_negatives_local |
Convert array to a linear data.frame. Preserves array names if present. | array_to_df |
Helper function to create attributes for 'write_exr()' | exr_attrs |
Extract the metadata from an EXR file | exr_info |
Functions for creating valid EXR type objects | exr_type |
Plot method for matrices and arrays | plot.array |
Print 'exr_type' objects | print.exr_type |
Read an EXR image | read_exr |
Read PFM image | read_pfm |
Reinhard's global tone mapping | tm_reinhard tm_reinhard_basic tm_reinhard_variant |
Write a numeric array as an EXR image | write_exr |
Write a numeric array as PFM | write_pfm |