Last active
September 19, 2018 12:01
-
-
Save maz-1/2119a882dc7b981e68a24b34b3b13141 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
convert $input -colorspace gray ( +clone -blur 15,15 ) -compose Divide_Src -composite -normalize -threshold 80% $output | |
convert $input -colorspace gray ( +clone -blur 15,15 ) -compose Divide_Src -composite -normalize $output | |
convert $input -colorspace RGB ( +clone -blur 15,15 ) -compose Divide_Src -composite -normalize -threshold 80% $output | |
convert $input -colorspace RGB ( +clone -blur 15,15 ) -compose Divide_Src -composite -normalize $output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment