Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Unfortunately this is not local-adaptive (so for larger images with uneven lighting it may make large region black) Commented Mar 1, 2022 at 3:16
  • @user202729 let me know if there's an option that does it (and possibly input/ouput demo), that sounds cool. Commented Mar 1, 2022 at 7:38
  • 1
    convert has -lat (experimentally the parameters like convert -grayscale Rec709Luma -lat 20x20-5% seems to work). Demo maybe later after I prepare image (this image is too simple, any method would work) Commented Mar 1, 2022 at 11:08
  • @user202729 that's awesome, thanks for the info! Commented Mar 1, 2022 at 11:10