Re: [Gimp-user] How to flatten images of book page



I wrote a plugin to correct such distortion by drawing two paths:  http://registry.gimp.org/node/19214

Here is a sample I ran on the page you provided: http://www.majhost.com/gallery/ffaat/gimp/more2/corrected.jpg

I had to use it twice, once to correct the horizontal page bending, and once to correct the camera barreling after rotating the image.


-Rob A>




On Thu, Mar 21, 2013 at 11:35 AM, Mario Valle <mvalle cscs ch> wrote:
The new cage tool is fantastic to solve the following problem, but I need suggestions how to be more effective.

I take a photo with the smartphone of a book page. I need two hands for this. The page does not lies flat (see https://dl.dropbox.com/u/2571325/before.jpg) because no more hands available to keep the page flat (and no glass sheet at hand...). Using the cage tool with 3 nodes above and 3 below the text produces an acceptable result (see https://dl.dropbox.com/u/2571325/after.jpg).

Question: Is there any better method? Any GIMP plugin or even Android app to solve this problem?

I can trace the deformed rectangle that enclose the page text, but then I don't know how to pass this info to the cage tool and ask to make it a real rectangle.

Thanks for your help!
                                mario

--
Ing. Mario Valle
Swiss National Supercomputing Centre (CSCS) | http://mariovalle.name/
v. Trevano 131, 6900 Lugano, Switzerland    | Tel: +41 (91) 610.82.60
_______________________________________________
gimp-user-list mailing list
gimp-user-list gnome org
https://mail.gnome.org/mailman/listinfo/gimp-user-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]