Search found 69 matches

by jumpjack
2010-12-13T00:36:12-07:00
Forum: Users
Topic: ebook distortion
Replies: 27
Views: 46325

Re: ebook distortion

Ops, my mistake, actual situation is this:
Image
by jumpjack
2010-12-13T00:21:28-07:00
Forum: Users
Topic: ebook distortion
Replies: 27
Views: 46325

Re: ebook distortion

Actually I think it is a curve in the paper itself. which is why I do not think barrel will fix the problem. A more general approach is needed, which is why I suggested polynomial. I don't think if also barrel distortion is present, but by sure I know that the paper is curved, and the curve radius ...
by jumpjack
2010-12-12T05:18:06-07:00
Forum: Users
Topic: ebook distortion
Replies: 27
Views: 46325

Re: ebook distortion

A 1.5 order polynomial may not be enough. That is only bilinear. You may need a much higher order, 2 many be 3, with a even larger number of control points. Note you can read the order and control points from a separate text file new of lines juts count as another type of argument separator (along ...
by jumpjack
2010-12-12T04:41:54-07:00
Forum: Users
Topic: ebook distortion
Replies: 27
Views: 46325

Re: ebook distortion

Thanks. I did some test, but with poor results. How would you transform this image to get straight lines?!? http://img638.imageshack.us/img638/1394/rightch.th.jpg Uploaded with ImageShack.us This is the best I can get: http://img249.imageshack.us/img249/9598/rightp.th.jpg I used this commandline: co...
by jumpjack
2010-12-11T11:18:42-07:00
Forum: Windows COM+ & Visual Basic
Topic: ImageMagickObject: Cannot create object
Replies: 1
Views: 16391

Re: ImageMagickObject: Cannot create object

After installing the .MSI executable, even specifying to install the VB come objects, I had to manually enter the command:

Code: Select all

regsvr32 F:\programmi\grafica\ImageMagick-6.6.6-Q16\ImageMagickObject.dll
by jumpjack
2010-12-11T10:39:46-07:00
Forum: Users
Topic: ebook distortion
Replies: 27
Views: 46325

Re: ebook distortion

My new source: rem This script transform the "v-scanning" of a paper book into a rectangular image, rem by compensating perspective diastortion. @echo off rem *********************************************** rem ************ CUSTOM SETTINGS ****************** set SOURCEIMGPATH=F:\documenti\Progetti\e...
by jumpjack
2010-12-10T09:18:19-07:00
Forum: Users
Topic: ebook distortion
Replies: 27
Views: 46325

Re: ebook distortion

Ok, I got it: rem This script transform the "v-scanning" of a paper book into a rectangular image, rem by compensating perspective diastortion. @echo off set SOURCEIMG="c:\temp\libro-new.JPG" rem Each distorted page is defined by TopLeft X,Y , TopRight X,Y, BottomRight X,Y and BottomLeft X,Y coordin...
by jumpjack
2010-12-10T08:38:28-07:00
Forum: Users
Topic: ebook distortion
Replies: 27
Views: 46325

Re: ebook distortion

They're "quite" straight (I can consider them as straight, at least for now)
by jumpjack
2010-12-10T06:33:04-07:00
Forum: Users
Topic: ebook distortion
Replies: 27
Views: 46325

ebook distortion

I want to perform such a transformation on an image: http://penolo.com/sketch/r/rrLJ.png I tried with convert -distort Perspective but it does not work. Which option should I sue to the define the "source polygon" and the "destination polygon" for this transformation? Alternativeli I could divide im...