numpyHDR/readme.md

45 lines
1.2 KiB
Markdown
Raw Normal View History

2023-03-20 23:35:57 +01:00
# numpyHDR
2023-03-24 19:16:41 +01:00
* Micro Library for HDR image creation using the Mertens Fusion Alghoritm*
* Optional Raspicam integration with picamera2 lib
* CLI Application "makehdr.py"
* Processing time on raspi zero ca 15 min with full res 12MP files.
2023-03-20 23:35:57 +01:00
## Intention
2023-03-24 19:16:41 +01:00
- numpy and PIL, picamera2 for Raspicam funtionality.
2023-03-20 23:35:57 +01:00
- Whenever dependencies of other bigger image librarys aren´t satisfyable.
- 32-bit armv6 or oudated Kernels etc.
## Function
2023-03-24 19:16:41 +01:00
*Use makehdr.py CLI app for testing before implementation*
- Captures an exposure bracket stack from the raspicam as fast as possible
- Alternatively from image sequences form file
- Either direct processing or save files in between
2023-03-20 23:35:57 +01:00
- 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
2023-03-24 19:16:41 +01:00
- Download and isntall dependencies from requirements.txt into env
-
2023-03-20 23:35:57 +01:00
## Usage
2023-03-24 19:16:41 +01:00
- Start make
2023-03-20 23:35:57 +01:00
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)