First build with automatic dewarping

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

Re: First build with automatic dewarping

Postby jimboh » 30 Jan 2011, 16:52

The commit called "Fix a bug in vertical bounds detection" at Sun, 30 Jan 2011 10:51:59 +0000 resolved the problem described in my immediately preceding post. Both the grid and the output are now perfect.
User avatar
jimboh
 
Posts: 74
Joined: 06 Jan 2011, 00:55

Re: First build with automatic dewarping

Postby Tulon » 30 Jan 2011, 20:11

Here comes beta 9 where you can adjust the auto-detected grid. This build also contains new features introduced by new developers, though I don't guarantee all of them will make it into 1.0
When Scan Tailor asks you to enter DPIs manually, never enter arbitrary values. The video tutorial shows how to estimate the real DPI.
Tulon
 
Posts: 536
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: First build with automatic dewarping

Postby emmerick » 01 Feb 2011, 07:21

Tulon wrote:Here comes beta 9 where you can adjust the auto-detected grid. This build also contains new features introduced by new developers, though I don't guarantee all of them will make it into 1.0


Thanks man. Great job
Iam Sorry for MY English, i am use GOOGLE translate. :)))))))
emmerick
 
Posts: 30
Joined: 06 Jan 2011, 14:35
Location: Rio de Janeiro/Brazil

Re: First build with automatic dewarping

Postby JonEP » 02 Feb 2011, 21:45

Is it? Can it be? YES! The manual select content control is in ST. Huge cheers emerge from under the snow.

Thanks Tulon + crew.

Jon
User avatar
JonEP
 
Posts: 79
Joined: 19 Apr 2010, 15:09

Re: First build with automatic dewarping

Postby knk » 03 Feb 2011, 11:44

Hi,

first of all, thank you for this great piece of software. But there is a bug in beta 9 (a major one for me).
I scan 2 pages a once with a single camera setup (120°) and my plan was to correct the keystone effect using the new dewarping feature.
The dewraping algorithm works excellent, but the aspect ratio gets messed up (or is not corrected).

Here is a picture of what I mean:


Image

Should be relatively simple to fix, I hope you guys can manage to do that.

Sorry for my bad english (its not my first language)
knk
 
Posts: 1
Joined: 03 Feb 2011, 11:12

Re: First build with automatic dewarping

Postby Anonymous1 » 03 Feb 2011, 12:31

I think ST's dewarping feature is for more subtle warps. What you are looking at is the Keystone Effect: http://en.wikipedia.org/wiki/Keystone_effect.

The other problem is that the book's width is not known from the original picture. If it were, you could just scale the image appropriately to adjust (in this case, just scale the image on the X-axis by a factor of 25/20 = 1.25).

So for to batch process using ImageMagick, run this:
Code: Select all
mogrify -resize 125%x100% *.tif


Quality will degrade slightly due to the resizing and scaling, though.
Anonymous1
 

Re: First build with automatic dewarping

Postby Tulon » 03 Feb 2011, 16:31

Scan Tailor can actually handle any kind of dekeystoning, provided the camera had enough megapixels to get acceptable quality.

As for the aspect ratio, it's actually quite hard to calculate from a perspectively projected rectangle. Think about it: are you going to divide a horizontal edge by a vertical one? Which vertical edge are you going to take? They are quite different. Anyway, I may take a look at this problem when I am done with more important stuff.
When Scan Tailor asks you to enter DPIs manually, never enter arbitrary values. The video tutorial shows how to estimate the real DPI.
Tulon
 
Posts: 536
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: First build with automatic dewarping

Postby Anonymous1 » 03 Feb 2011, 16:44

Does ST have some hidden de-keystoning features besides the super-epic dewarping? The only thing I could think of was if you delete all but 4 vertices on the grid, you basically get de-keystoning...
Anonymous1
 

Re: First build with automatic dewarping

Postby Tulon » 03 Feb 2011, 16:54

Anonymous wrote:The only thing I could think of was if you delete all but 4 vertices on the grid, you basically get de-keystoning...

Right. BTW, you don't even have to delete midpoints - as long as they are on the same line. The control points don't matter by themselves - they only help the user to control the shape of the top and bottom curves. If these curves are straight lines, you get dekeystoning without dewarping.
When Scan Tailor asks you to enter DPIs manually, never enter arbitrary values. The video tutorial shows how to estimate the real DPI.
Tulon
 
Posts: 536
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: First build with automatic dewarping

Postby zamacam » 03 Feb 2011, 17:32

Tulon wrote:
Anonymous wrote:The only thing I could think of was if you delete all but 4 vertices on the grid, you basically get de-keystoning...

Right. BTW, you don't even have to delete midpoints - as long as they are on the same line. The control points don't matter by themselves - they only help the user to control the shape of the top and bottom curves. If these curves are straight lines, you get dekeystoning without dewarping.


I'm not sure to understand correctly. Does this mean that software like qprc (http://diybookscanner.org/forum/viewtopic.php?f=3&t=784), PhotoShop or DxO are useless and that is better to do de-keystonne in ScanTailor?
zamacam
 
Posts: 20
Joined: 07 Dec 2010, 05:01

PreviousNext

Return to Scan Tailor

Who is online

Users browsing this forum: No registered users and 1 guest