Search found 308 matches
- 2016-06-18T03:59:01-07:00
- Forum: Users
- Topic: Inverse blur/sharpen kernel
- Replies: 6
- Views: 9428
Inverse blur/sharpen kernel
Is it possible to create kernel which will blur the parts of image which are sharp and also will sharpen the areas which are blur? For instance in this image I have marked regions with text which should be sharpen more (red frame) and areas which should be sharpen less (orange regions). The bottom ...
- 2016-06-02T08:47:07-07:00
- Forum: Users
- Topic: Sophisticated fuzz with HSL definition?
- Replies: 128
- Views: 150297
Re: Sophisticated fuzz with HSL definition?
Ok, this is why I was confused because I expected IM layers works similarly like Photoshop, where all layers stay in memory and do not merge them-self or remove them-self until user does it.
- 2016-06-02T04:01:05-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
mask4-1.png is this https://3.bp.blogspot.com/-j1txQI03n4w/V1ARi2JagGI/AAAAAAAAC5s/r7a4qY1vKycGf0m8sq1P7hVJ3us02sGkwCLcB/s1600/mask4-1.png It is more light than dark. If I applied levels, the result is what you see. The yellow routes were selected not rivers Maybe I should just try to create my own ...
- 2016-06-02T03:23:26-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
These images: mask4-0 https://4.bp.blogspot.com/-voa_tZpnVJI/V021AurJduI/AAAAAAAAC4w/AhoV_a6A1XcKlV2gIqK0IMh_2DCMf3InACLcB/s1600/mask3-0.png mask-1 is dark => mask_map_level_75_50_scaled_water.png: https://2.bp.blogspot.com/-ZKioo_FMBls/V020YzjE1KI/AAAAAAAAC4g/pCqZ5j4A0sIbWldLSCtaKTCHTIfzQHIawCLcB ...
- 2016-06-02T01:40:41-07:00
- Forum: Users
- Topic: Sophisticated fuzz with HSL definition?
- Replies: 128
- Views: 150297
Re: Sophisticated fuzz with HSL definition?
That is important information.Once you do -evaluate-sequence once, you no longer have the previous images.
Could someone add this to the description?
http://www.imagemagick.org/script/comma ... e-sequence
- 2016-06-01T10:42:49-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
Looks like tomorrow I was too tired so I did not read snibgo's post completly or I don't remember what I read. So now again reading... Snibgo you said, you measured 0.12s with convert sub_image_water.png -scale 1x1! -scale 1024x632! zurich.png -compose Difference -composite -negate -grayscale ...
- 2016-06-01T08:36:59-07:00
- Forum: Users
- Topic: Sophisticated fuzz with HSL definition?
- Replies: 128
- Views: 150297
Re: Sophisticated fuzz with HSL definition?
I am back to learn how to work with multiple layers. Just tried examples from page 8 and they do not work for me suddenly. I have saved the batch files when I did this years ago but they do not work. For me. The colors in -fill are correct as I checked it again. Now this command: convert map.png ...
- 2016-06-01T07:16:08-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
Sorry that was wrong assumption == non-sense. So another idea. If the white mask of the water would contain empty places, would you perform compare (slow) or could you perform a search of rectangle inside the white area? Let's have this mask as a result of some search of water surface. Let's suppose ...
- 2016-06-01T03:03:12-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
Snigo, Well done. I found it is needed to add one more mask which is a bit darker. Down there at the river in the bottom there are ship-travel paths which are darker. convert sub_image_water_1.png -scale 1x1! -scale 1024x632! map.png -compose Difference -composite -negate -fuzz 7% -fill Black ...
- 2016-05-31T09:11:37-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
Edit: Code for this post REM 2.5s when I resized both images down at 25% of original dimensions REM get original size of large image for /f "usebackq tokens=1" %%o in (`convert map.png -format "%%wx%%h" info:`) do ( set original_size=%%o ) echo %original_size% convert map.png -format "%%wx%%h" info ...
- 2016-05-31T06:48:55-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
Now I have found your article Searching an image http://im.snibgo.com/srchimg.htm which is great because you write the scripts using Windows shell syntax. It will take some time to read it but now I am at this point: "The script srchImg.bat does two or more searches. The first resizes the images ...
- 2016-05-31T04:47:45-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
Please if you know more techniques for searching sub-images VERY fast gimme some examples. I need to work with big images like high resolution image of map to find the sub image. This could take long so more examples with better performence are welcome. Also the problem of this techniq is that is ...
- 2016-05-31T04:10:19-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
I have written this batch file for Windows: @ECHO OFF cls ECHO ON REM To reduce processing time 18x I scale the image REM 2.5s when I resized both images down at 25% of original dimensions REM get original size of large image for /f "usebackq tokens=1" %%o in (`convert map.png -format "%%wx%%h" info ...
- 2016-05-30T13:53:07-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
Yes it works. I am waiting for result coz it takes long... 55 seconds for 1024x768px This way it seems too much complicated. If I want to find blue rectangles on the map here: https://3.bp.blogspot.com/-v3-vlgXO0A4/V0yqiqIP3JI/AAAAAAAAC3Y/qyuDW_I-M6gbt7_BQ_HIo1A3w3Yj2u3gQCLcB/s1600/test.png I could ...
- 2016-05-30T13:01:32-07:00
- Forum: Users
- Topic: Locate subimage
- Replies: 23
- Views: 27898
Re: Locate subimage
I used output image too but that is strage. It still gave that error. That is not error of IM but of the system file not found