dcadint Posted November 11, 2021 Share Posted November 11, 2021 I am working on creating macros for artistic effects such as a grunge look and also a painted look. I have used the Tone Mapping persona with the tone compression and Local contrast to achieve these looks along with the Denoise filter for the painted look but the Tone Mapping persona cannot be automated by macros. I noticed that James Ritson had created a Procedural Texture for HDR to SDR Tone Mapping using the equation; var divided=[R,G,B]/(tm*tms);var flat=sqrt(divided);lerp(flat,divided,c)*(br*brs) with tm variables for tone map and c variable for contrast. This seems to match the tone compression from the Tone mapping persona that seems to smooth out the colour transitions to something with less colour gradation and detail however the contrast seems more like the standard brightness and contrast effecting the whole image instead of the local contrast affecting the clarity of smaller details. I have tried to use the Clarity filter and it is close but its effect is too subtle and doesn't make the fine noise standout as much as the Tone Mapping local contrast. Does anyone have a method or a formula which may be used with the Procedural Texture to emulate the Tone Mapping Persona's Local Contrast? Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted November 11, 2021 Share Posted November 11, 2021 I doubt you can use PT filter to simulate local contrast. LC needs to factor in values from neighboring pixels, and PT filter is unable to do this. The formulas only see RGBA values of one pixel at a time, or its x/y position. You cannot access RGBA values of other pixels (except via layer blending and underlying layers). If a filter effect is not strong enough, you can duplicate it (several times if required). Quote Mac mini M1 A2348 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.