Search found 308 matches

by VanGog
2014-06-10T02:01:25-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

One more problem. Now I need to get mask which will have red instead white convert mapka.png -fuzz 8%% -fill black +opaque "#5189CF" ^ -blur 0x1.0 -threshold 4.5%% highway_result_extra_add.png I do the threshold but I need it come not in white but in different color, e.g red. Is there simp...
by VanGog
2014-06-09T15:04:01-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

Oh so. I have to remember there must not be space after ^ it was not visible and this did not come to my mind. I almost have what I wanted, but I am not satisfied with the threshold. I must do more complicated calculation to get rid of #FFE98E rectangles. My idea is to select: convert mapka.png -wr...
by VanGog
2014-06-09T14:29:46-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

And how to correct this: convert map.png -write mpr:input +delete ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFE168" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque "#E5bC4C" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFF1B3" ) ^ ( mpr:input -fuzz 2%% -fill black ...
by VanGog
2014-06-09T13:36:58-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

And how to fix it, to fill it white color? I tried different configurations using -fill white -opaque or +opaque or black -opaque and every time I got only white mask or black empty image. convert map.png -write mpr:input +delete ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFE168" ) ^ ( ...
by VanGog
2014-06-09T13:20:05-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

Thanks. I already forgot about it. Now it works but with "add".
by VanGog
2014-06-09T12:32:42-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

I cannot find out why I cannot make this working: convert map.png -write mpr:input +delete ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFE168") ^ ( mpr:input -fuzz 2%% -fill black +opaque "#E5bC4C") ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFF1B3") ^ -evaluate-se...
by VanGog
2014-06-08T12:05:08-07:00
Forum: Users
Topic: Few questions
Replies: 21
Views: 52621

Re: Few questions

I'm doing color corrections of aerial photo and I need to do some specific task. I have a mask of few pixels which hue I need to change. The pixels on route are wrong color (light green). But if I change the hue of pixel on route It also changes the hue of the grass. So I came with idea. Is it possi...
by VanGog
2014-06-08T05:43:17-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

I can confirm this. If you have a pixel with color 74,14,73 (HSB) - which is 181,187,161 and #b5bba1 I must set Saturation max. limit +2 to correct the error by ImageMagick. H S Brightness min: 69 6 57 max: 97 18 77 Part of the batch file: SET minSGG_H=69 SET maxSGG_H=97 SET minSGG_S=6 SET maxSGG_S=...
by VanGog
2014-06-06T07:14:52-07:00
Forum: Users
Topic: Few questions (Night Lights of Town)
Replies: 17
Views: 36667

Re: Few questions (Night Lights of Town)

While I worked on masks for shadows removal from aerial photo, I have found by incident how to create "snow like" effect of night city. It looks quite amazing. If I would apply this effect on more masks (or better to say: join the masks together as one mask and then apply), then I should g...
by VanGog
2014-06-06T03:47:09-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

Hmmm.. 21 masks!! to mask specific colors to a specific mask... May I suggest you run your filter on a Hald CLUT http://www.imagemagick.org/Usage/color_mods/#hald_replacement Thanks a lot. I have already forgot about this method. As far as I remember this was a perfect method and it should be simpl...
by VanGog
2014-06-06T02:45:21-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

fmw42: I have multiplied by 10 for 3600x1 lut. I have still the same result (seems to me). If you downloaded the zip file and can open the mask and if you will invert the mask and apply to test2.png (test2.jpg in my case). Image with is 915px. You should see pixels: There are these pixels in the are...
by VanGog
2014-06-05T15:12:50-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

Like that? convert ^ ( -size 3600x1 xc: -fx "(i>=%minVDGG_H%*100 && i<%maxVDGG_H%*100)?white:black" ) ^ ( -size 3600x1 xc: -fx "(i>=%minVDGG_S%*3.6*100 && i<%maxVDGG_S%*3.6*100)?white:black" ) ^ ( -size 3600x1 xc: -fx "(i>=%minVDGG_B%*3.6*100 && i<%ma...
by VanGog
2014-06-05T09:12:01-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

I did updated the xls table and the script - about 21 mask created. http://www.fileconvoy.com/dfl.php?id=g92ff3b3ed555c38e99951267423bf9854a62b49c7 But I think that IM has some mistake in algorithm and in wrongly rounds values of colors, somewhere in one of the commands we used. Notice that I am not...
by VanGog
2014-06-04T13:07:58-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

Why it is not possible to write something like this: REM Use Raw RGB values from Adobe Photoshop Color Picker: REM Dark shadows on route and buildings SET minH1=186 SET maxH1=240 SET minS1=21 SET maxS1=52 SET minB1=23 SET maxB1=54 REM Light shadows on route and buildings SET minH2=158 SET maxH2=216 ...
by VanGog
2014-06-04T12:33:30-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128554

Re: Sophisticated fuzz with HSL definition?

No parenthesis are needed and using them would be confusing if not correct. Neither of your commands will work properly as is. If you need to do further processing, then I would need to know what you want to do. Any parenthesis processing must reference an image at the beginning, which can be eithe...