OZONE Asylum
Forums
OZONE
Barcode/Datamatrix/Image Vectorization
This page's ID:
28465
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
My 2 cents if the data matrix won't be rotated too much and the picture above is somewhat representative of the images you'll have to process. 1. crop to a 480x480 2. convert the image to b&w ( eventually using the most homogenous channel ). Then Auto-level it. 3. posterize the image to 2 to only have pure b&w. 4. walk along the edges of the 480x480 square and floofill in white 5. paint every black pixel in white if it has less than N black neighbors. That's basically a Maximize morphological operator. Now only the DM should remain. 6. Crop the image to fit the DM 7. resize it to 14x14 with bilinear filtering. Note that you might need a pass of Minimize morphological operator if you used a simple Maximize morphomat operator in 5 8. posterize to 2 again, and voila. This process worked like a charm, in Photoshop, with your image. Hope that helps, [url=http://www.p01.org/][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_galaxy.gif[/img][/url] [small](Edited by [url=http://www.ozoneasylum.com/user/2185]poi[/url] on 09-28-2006 15:20)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »