Commit Graph
13 Commits
Author SHA1 Message Date
一方的赛博真君 e30690ee24 feat: Add focal_range and mask_blur parameters to depthblur_image (#26)
* feat: Add focal_range and mask_blur parameters to depthblur_image

This commit adds two new parameters, "focal_range" and "mask_blur", to the "depthblur_image" function in the "ProPostDepthMapBlur" class. The "focal_range" parameter adjusts the depth range within the focal depth that remains sharp, while the "mask_blur" parameter controls the intensity of the depth map's blur treatment. These additions provide more control over the blur effect and allow for more natural blur transitions.

* document new properties within the README.md
2024-08-11 13:25:53 +01:00
John Richard Chipps-Harding e81291a8ff Optimise shared data, generate once (#18)
* Optimise shared data, generate once

* fixup
2024-02-11 00:27:41 +00:00
John Richard Chipps-Harding bad7182f16 Load LUT once (#17) 2024-02-10 22:49:16 +00:00
John Richard Chipps-Harding 3e864cd6d4 Increment Seed (#15) 2024-02-10 18:35:39 +00:00
John Richard Chipps-Harding 6b7d5203ba More depth control (#14)
* feat: Add exponential_base parameter to radial blur and depth map blur

This commit adds an "exponential_base" parameter to the "ProPostRadialBlur" and "ProPostDepthMapBlur" classes. This parameter allows for more control over the blurring effect by applying an exponential function to calculate the blur size. The default value is 1, and it can be adjusted between 1.0 and 8.0 with a step of 0.1.

The "generate_blurred_images" function in the "processing.py" file has been updated to use this new parameter when generating blurred images.

* more

* Docs tweaks
2024-02-10 16:09:02 +00:00
John Richard Chipps-Harding 9b84e059ff Feat/center offset (#11)
* Center Offset

* Finished

* Misc
2024-02-09 23:17:15 +00:00
John Richard Chipps-Harding d8bd185cfe Loading Refactor (#10)
* Refactor loading

* misc
2024-02-09 16:01:38 +00:00
John Richard Chipps-Harding 95eeae31f2 Feat/depth blur (#9)
* Depth Blur

* more...

* More + refactor blurring into utils

* Tweaks
2024-02-09 14:44:25 +00:00
John Richard Chipps-Harding 81655593cd Bool option for LUT (#8) 2024-02-09 11:21:26 +00:00
John Richard Chipps-Harding de8f314408 Add LUT support (#7)
* LUT Support

* Working

* Finished

* Slip in license

* docs

* docs
2024-02-09 02:52:46 +00:00
John Richard Chipps-Harding 183f50bf92 Radial Blur (#6)
* Radial Blur

* Fixup

* Docs

* misc
2024-02-08 23:14:31 +00:00
John Richard Chipps-Harding dec0b7a69b Film Grain (#2)
* Film Grain

* Working!
2024-02-08 17:04:41 +00:00
John Richard Chipps-Harding 6676437096 Feat/vignette (#1)
* Vignette

* Tweaks
2024-02-07 11:53:04 +00:00