Aha, so the signs are always just two colors: green & red. There's black for some signs, and blue for handicap. Only the black is an issue.
So you're saying floodfill those regions and then discard the rest?
Search found 13 matches
- 2017-01-07T20:55:13-07:00
- Forum: Users
- Topic: Detecting borders and Deskew
- Replies: 6
- Views: 3608
- 2017-01-07T19:18:14-07:00
- Forum: Users
- Topic: Detecting borders and Deskew
- Replies: 6
- Views: 3608
Re: Detecting borders and Deskew
From your images, it will be very hard to detect the boundary of the sign, since the background color in places is very close. You could try -hough-lines. Then find the major lines from the sign and get the intersections. See http://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=25476 ...
- 2017-01-07T19:17:01-07:00
- Forum: Users
- Topic: Detecting borders and Deskew
- Replies: 6
- Views: 3608
Re: Detecting borders and Deskew
ebr4him@mac ~> convert -version Version: ImageMagick 6.9.6-2 Q16 x86_64 2016-10-11 http://www.imagemagick.org Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC Modules Delegates (built-in): bzlib freetype jng jpeg ...
- 2017-01-07T17:56:22-07:00
- Forum: Users
- Topic: Detecting borders and Deskew
- Replies: 6
- Views: 3608
Detecting borders and Deskew
Hi, I'm want to extract street signs from photographs and deskew them, but I don't know where to begin. Deskewing I believe is the easy part once the borders are detected? Here're a few sample images: http://imgur.com/a/uESgY This one especially seems to be the most challenging: http://imgur.com ...
- 2016-10-26T18:33:25-07:00
- Forum: Users
- Topic: Batch resizing product images
- Replies: 10
- Views: 5429
Re: Batch resizing product images
Thanks Fred, I tinkered a lot but couldn't find the right combination so ended up just trimming them for now. Thanks anyway!
- 2016-10-24T22:42:54-07:00
- Forum: Users
- Topic: Batch resizing product images
- Replies: 10
- Views: 5429
Re: Batch resizing product images
Version: ImageMagick 6.9.6-2 Q16 x86_64 2016-10-11 http://www.imagemagick.org Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC Modules Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib This ...
- 2016-10-24T22:10:29-07:00
- Forum: Users
- Topic: Batch resizing product images
- Replies: 10
- Views: 5429
Re: Batch resizing product images
So basically I want: convert image.png \ -alpha remove \ -flatten \ -trim \ +repage \ -fuzz 3% \ = $value -trim \ +repage \ -background $value \ -unsharp 2x0.5+0.7+0 \ -resize 980x980\> \ -bordercolor $value \ -border 44x44 \ -gravity center \ -extent 1024x1024 \ -dither none \ -interlace none ...
- 2016-10-24T21:53:03-07:00
- Forum: Users
- Topic: Batch resizing product images
- Replies: 10
- Views: 5429
Re: Batch resizing product images
@GeeMack Great, that helped the resize issue. It was the lack of `+repage` causing issues.
Now how do I set the fuzz as variable so I can use it for bordercolor?
Thanks!
Now how do I set the fuzz as variable so I can use it for bordercolor?
Thanks!
- 2016-10-24T21:08:37-07:00
- Forum: Users
- Topic: Batch resizing product images
- Replies: 10
- Views: 5429
Re: Batch resizing product images
Tried this, but still no luck. Just can't figure the resize command -fuzz 5% \ -trim \ -unsharp 2x0.5+0.7+0 \ -resize 980x980\> \ -bordercolor white \ -border 44x44 \ -gravity center \ -extent 1024x1024 \ -background white \ -alpha remove \ -dither none \ -interlace none \ -strip \ -quality 82 \
- 2016-10-24T19:58:06-07:00
- Forum: Users
- Topic: Batch resizing product images
- Replies: 10
- Views: 5429
Batch resizing product images
I have a couple thousand product images that I need to convert for ecommerce website: 1. Grab the border -fuzz 5% (and save as variable?) 2. Trim -trim (trim before resize to preserve detail?) 3. Resize -resize 980x980 4. Pad with same color border -bordercolor white -border 44x44 5. Center the ...
- 2015-07-20T18:52:10-07:00
- Forum: Users
- Topic: Normalizing colors of a scanned image
- Replies: 5
- Views: 3000
Re: Normalizing colors of a scanned image
Thanks for the links, however noise reduction and sharpening are least of the problem, I can achieve that easily but its the color 'normalization' that I want. If you see the border, its different on all sides, light on top, dark on left and normal on bottom and right. Not sure how to 'normalize' it ...
- 2015-07-20T18:23:40-07:00
- Forum: Users
- Topic: Normalizing colors of a scanned image
- Replies: 5
- Views: 3000
Re: Normalizing colors of a scanned image
Oh ok.
6.9.1-6 Q16 x86_64 on Mac
6.9.1-6 Q16 x86_64 on Mac
- 2015-07-20T13:57:40-07:00
- Forum: Users
- Topic: Normalizing colors of a scanned image
- Replies: 5
- Views: 3000
Normalizing colors of a scanned image
I have this scanned image in low-res: http://i4ideas.webfactional.com/temp/003.jpg http://i4ideas.webfactional.com/temp/002.jpg I need to sharpen the text, smoothen it, clear the noise around it, and for any colored (red title, border especially) elements, ideally I want to convert them to a single ...