Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Param Hanji committed Jul 5, 2021
1 parent 337f28e commit 37ddfaa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HDRutils/noise_modeling/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Noise simulatations
We demonstrate how to use a simple noise model to generate sythetic captures by providing a ground truth HDR image, along with exposure time (in seconds) and gain (ISO 100 corresponds to gain 1). For best results, the input HDR image shuld not be normalized or transformed to a different (non-native) colorspace.
We demonstrate how to use a simple noise model to generate sythetic captures by providing a ground truth HDR image, along with exposure time (in seconds) and gain (ISO 100 corresponds to gain 1). For best results, the input HDR image should not be normalized or transformed to a different (non-native) colorspace.

## Darktable cameras
Simulate using a parameters from a large open-source database linked with the Darktable database. The detailed noise model can be found [here](https://www.darktable.org/2012/12/profiling-sensor-and-photon-noise/).
Expand Down
2 changes: 1 addition & 1 deletion HDRutils/noise_modeling/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class NormalNoise(NoiseModel):
https://www.darktable.org/2012/12/profiling-sensor-and-photon-noise/
"""
def __init__(self):
import json
import json, os
with open(os.path.join(os.path.dirname(__file__), 'darktable.json')) as f:
self.data = json.load(f)['noiseprofiles']
self.makes = []
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include HDRutils/noise_modeling/darktable.json
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
setup(
name = 'HDRutils',
packages = find_packages(),
include_package_data=True,
version = '0.7',
license='MIT',
description = 'Utility functions for performing basic operations on HDR images, including ' \
Expand Down

0 comments on commit 37ddfaa

Please sign in to comment.