This is a simple Numpy implementation of the Mertens Fusion Alghoritm. https://link.raise-uav.com
Go to file
Thomas d6d477ba06 Switched to more modular structure 2023-03-24 18:18:52 +01:00
cvHDR-Fusion.py Iniital commit 2023-03-20 14:57:41 +01:00
experimental.py - Removed experimental code from numpyHDR 2023-03-23 14:32:50 +01:00
file_utility.py Switched to more modular structure 2023-03-24 18:14:44 +01:00
main.py Switched to more modular structure 2023-03-24 18:18:52 +01:00
numpyHDR.py Switched to more modular structure 2023-03-24 18:14:44 +01:00
picamburst.py Switched to more modular structure 2023-03-24 18:18:52 +01:00
readme.md - added readme 2023-03-20 23:35:57 +01:00
requirements.txt - Tuned Values 2023-03-20 23:23:21 +01:00

readme.md

numpyHDR

Micro Library for HDR image creation using the Mertens Fusion Alghoritm

Intention

  • numpy and PIL only.
  • Whenever dependencies of other bigger image librarys aren´t satisfyable.
  • 32-bit armv6 or oudated Kernels etc.

Function

  • Uses a conversion of the Mertens Fusion alghoritm
  • Stretches Information to the full spectrum like Contrast or compression
  • Lifts the shadows softly with an envelope.
  • Clips to Image range and saves via PIL

Setup

  • Download into project path and import the class for now.

Usage

  • Instantiate then set attributes:
    • input_image = List containing path strings including .jpg Extension
    • output_path = String ot Output without jpg ending
    • compress_quality = 0-100 Jpeg compression level defaults to 75

Run function sequence() to start processing. Example:

hdr = numpyHDR.NumpyHDR()

hdr.input_image = photos/EV- stages/

hdr.compress_quality = 50

hdr.output_path = photos/result/

hdr.sequence()

-returns: Nothing (Arrrr)