Created
January 26, 2016 05:12
-
-
Save theand/3ebcf51e316d0f392afa to your computer and use it in GitHub Desktop.
This file contains hidden or 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/bash | |
for i in *.$1 | |
do | |
if [ "$i" = "." ] || [ "$i" = ".." ] | |
then | |
continue | |
fi | |
convert "$i" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "cleaned_$i" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment