First build with automatic dewarping

Scan Tailor specific announcements, releases, workflows, tips, etc. NO FEATURE REQUESTS IN THIS FORUM, please.

Moderator: peterZ

Post Reply
matt

Re: First build with automatic dewarping

Post by matt »

I understand that my Formulas book (which has lots of charts and non-block text) might be an edge case that's not worth supporting. But it does seem to be presenting some challenges for ST. Here are a few examples of the wonky grids that beta6 is creating with this particular book.

Thanks again for all your efforts with this!!

Matt
Attachments
originals.zip
(6.75 MiB) Downloaded 311 times
grab 2011-01-04 at 7.05.04 PM.PNG
grab 2011-01-04 at 7.05.04 PM.PNG (510.23 KiB) Viewed 7176 times
grab 2011-01-04 at 7.01.04 PM.PNG
grab 2011-01-04 at 7.01.04 PM.PNG (448.75 KiB) Viewed 7176 times
grab 2011-01-04 at 6.55.25 PM.PNG
grab 2011-01-04 at 6.55.25 PM.PNG (542.24 KiB) Viewed 7176 times
Last edited by matt on 05 Jan 2011, 22:07, edited 1 time in total.
Tulon
Posts: 687
Joined: 03 Oct 2009, 06:13
Number of books owned: 0
Location: London, UK
Contact:

Re: First build with automatic dewarping

Post by Tulon »

matt wrote:Here are a few examples of the wonky grids that beta6 is creating with this particular book.
I need the source files. Can't do anything without them.
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
dtic
Posts: 464
Joined: 06 Mar 2010, 18:03

Re: First build with automatic dewarping

Post by dtic »

The autodewarping is really impressive. This feels like a "platen killer" in the making. When testing I got wobbling on some output pages. Not as much as in Tulon's example above (in the beta6 post) but enough. In one such case I fed the outputted tif back into Scan Tailor for a second round (including dewarping) and that removed the wobble and straightened things out!
matt

Re: First build with automatic dewarping

Post by matt »

Tulon wrote:
matt wrote:Here are a few examples of the wonky grids that beta6 is creating with this particular book.
I need the source files. Can't do anything without them.
I've updated my previous post with copies of the source images. Thanks for looking into it!
Tulon
Posts: 687
Joined: 03 Oct 2009, 06:13
Number of books owned: 0
Location: London, UK
Contact:

Re: First build with automatic dewarping

Post by Tulon »

Matt, I think you are getting such poor results because you aren't fixing incorrectly detected content boxes.

Anyway, here comes beta7: http://depositfiles.com/files/f3w0nsol3
This one finds more text lines and chooses a pair of representative lines better.
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
matt

Re: First build with automatic dewarping

Post by matt »

Tulon wrote:
Anyway, here comes beta7: http://depositfiles.com/files/f3w0nsol3
This one finds more text lines and chooses a pair of representative lines better.
Cool, I'm looking forward to trying it out. Are those changes available via git? (As I'm on a Mac I've been following the developments there). The last few changesets I see there are

Code: Select all

~/Applications/scantailor$ git --no-pager log -5 --pretty=oneline --abbrev=1

92d094246ff41ef4ab67ff7762bc34e70c652184 Updated line numbers of German translation's location tags
91e271606c6c02257d43ed7cf165c5999b91a66f added CMakeFiles to .gitignore
cea5e25357305c0c8c3f53d21b01814b9b2c23ed added translations for the OutputChangeDewarpingDialog
5d63a3a8399282708ecb35c06ffa482a46afaacf Set version to 1.0.0beta6

Tulon
Posts: 687
Joined: 03 Oct 2009, 06:13
Number of books owned: 0
Location: London, UK
Contact:

Re: First build with automatic dewarping

Post by Tulon »

I forgot to push my commits - just did it now.
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
Tulon
Posts: 687
Joined: 03 Oct 2009, 06:13
Number of books owned: 0
Location: London, UK
Contact:

Re: First build with automatic dewarping

Post by Tulon »

I've got a crash report from beta7 which I can't reproduce. I'll need the source image and probably the project file.
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
User avatar
jimboh
Posts: 82
Joined: 06 Jan 2011, 00:55

Re: First build with automatic dewarping

Post by jimboh »

I just started testing dewarping today, with beta7. The auto function did a good job to the extent it applied itself to the page, but it missed a big chunk of the page.

The source:
Keres - Road to the Top 64.tiff
The auto:
dewarping.png
dewarping.png (392.99 KiB) Viewed 6990 times
The output:
Keres - Road to the Top 64.tif
See also the attached project file.
User avatar
jimboh
Posts: 82
Joined: 06 Jan 2011, 00:55

Re: First build with automatic dewarping

Post by jimboh »

"The extension scantailor is not allowed," so here is a zip file containing the project and other files.
feedback.zip
(736.97 KiB) Downloaded 331 times
I went back and switched to Mixed mode. As a result, the warped chess diagram was auto-selected perfectly as a Picture Zone. Next, I looked at the Dewarping tab, which was unchanged. Following is an updated zip file containing the updated (i.e. Mixed) project and other files.
temp.zip
(1 MiB) Downloaded 312 times
Post Reply