Correction of -fill
Posted: 2016-05-29T13:29:33-07:00
Edit: You can delete this question. I have found script which solve this problem perfectly.
I better paste the images on my blog because it is faster then upload them to tinyimg (they upload images in low quality on tinyimg.com)
http://war-thunder-gaming.blogspot.cz/2016/05/im.html
This is the original image I am working with:
https://4.bp.blogspot.com/-9ya9lGdotqA/ ... ontals.jpg
convert horizontals.jpg -fuzz 25%% -fill white +opaque #c4410b horizontals_new_1.jpg
convert horizontals.jpg -fuzz 25%% -fill white +opaque #997032 horizontals_new_2.jpg
I am trying to select the orange-brown horizontals, problem is that I am not able to do it with single command and in the second image, there is pure gray, which I do not want to include.
How to get rid of the grayscale colors from the image? I know I can use -fuzz but this is not good idea because I would like to get rid of all colors which are grayscale in the sence of #111111, #222222, #333333 etc (and the nearest colors?). I think if I use fuzz this can remove the orangebrown shades of horizontals... The shades I need to get rid of are gray-violet,graygreen, grayblue, but not graybrown or grayred
I better paste the images on my blog because it is faster then upload them to tinyimg (they upload images in low quality on tinyimg.com)
http://war-thunder-gaming.blogspot.cz/2016/05/im.html
This is the original image I am working with:
https://4.bp.blogspot.com/-9ya9lGdotqA/ ... ontals.jpg
convert horizontals.jpg -fuzz 25%% -fill white +opaque #c4410b horizontals_new_1.jpg
convert horizontals.jpg -fuzz 25%% -fill white +opaque #997032 horizontals_new_2.jpg
I am trying to select the orange-brown horizontals, problem is that I am not able to do it with single command and in the second image, there is pure gray, which I do not want to include.
How to get rid of the grayscale colors from the image? I know I can use -fuzz but this is not good idea because I would like to get rid of all colors which are grayscale in the sence of #111111, #222222, #333333 etc (and the nearest colors?). I think if I use fuzz this can remove the orangebrown shades of horizontals... The shades I need to get rid of are gray-violet,graygreen, grayblue, but not graybrown or grayred