Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

Edge detection microfilm

General discussion about software packages and releases, new software you've found, and threads by programmers and script writers.
Post Reply
Hasher
Posts: 77
Joined: 26 Sep 2009, 03:05

Edge detection microfilm

Post by Hasher » 26 May 2016, 22:32

Hi Guys

Ok I am scanning microfilm and mostly the images come out fairly well . There is no issue with warping or skewing. What I do have an issue with is edge detection. Is there a software that detects edges fast and hopefully with command line . Also I have some speckling issues but I am experimenting with cleaning and post processing of that. I uploaded some raw images for everyone to look at.



Thanks Paul





http://s33.postimg.org/d2x5m6zb3/biton0001_B22.png
http://s33.postimg.org/ay7a4maf3/bitonal00045.png

jera2
Posts: 11
Joined: 28 Jul 2011, 00:09
E-book readers owned: Kobo
Number of books owned: 1200
Country: Canada

Re: Edge detection microfilm

Post by jera2 » 31 May 2016, 01:38

Imagemagick has a few edge-detector operators. It's command-line (among other things). I like the Canny edge-detector.

Typical usage:
convert SOURCE-IMAGE -canny 5x5 OUTPUT-IMAGE

http://www.imagemagick.org/script/index.php

duerig
Posts: 383
Joined: 01 Jun 2014, 17:04
Number of books owned: 1000
Country: United States of America

Re: Edge detection microfilm

Post by duerig » 31 May 2016, 10:22

jera2, great idea. This suggestion made me think about Fred's ImageMagick scripts which use IM to do a number of common tasks. It turns out that 'autotrim' might be a script which would work well for this case:

http://www.fmwconcepts.com/imagemagick/ ... /index.php

-D

Post Reply