Message from discussion
Dewarping
software <hugin-ptx@googlegroups.com>
Received: by 10.66.72.130 with SMTP id d2mr3051756pav.33.1349556343943;
Sat, 06 Oct 2012 13:45:43 -0700 (PDT)
X-BeenThere: hugin-ptx@googlegroups.com
Received: by 10.68.224.130 with SMTP id rc2ls1630724pbc.8.gmail; Sat, 06 Oct
2012 13:45:40 -0700 (PDT)
Received: by 10.66.88.200 with SMTP id bi8mr2917647pab.27.1349556340057;
Sat, 06 Oct 2012 13:45:40 -0700 (PDT)
Received: by 10.66.88.200 with SMTP id bi8mr2917646pab.27.1349556340048;
Sat, 06 Oct 2012 13:45:40 -0700 (PDT)
Return-Path: <jwatt...@photocreations.ca>
Received: from barmail6.idig.net (barmail6.idig.net. [64.34.111.239])
by gmr-mx.google.com with ESMTP id o10si3389935pax.0.2012.10.06.13.45.39;
Sat, 06 Oct 2012 13:45:39 -0700 (PDT)
Received-SPF: neutral (google.com: 64.34.111.239 is neither permitted nor denied by best guess record for domain of jwatt...@photocreations.ca) client-ip=64.34.111.239;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 64.34.111.239 is neither permitted nor denied by best guess record for domain of jwatt...@photocreations.ca) smtp.mail=jwatt...@photocreations.ca
X-ASG-Debug-ID: 1349556339-0538de1069109f560001-6WGg0o
Received: from cwh2.canadianwebhosting.com (cwh2.canadianwebhosting.com [66.199.174.80]) by barmail6.idig.net with ESMTP id mzSlJjYKCVEchIs7 for <hugin-ptx@googlegroups.com>; Sat, 06 Oct 2012 13:45:39 -0700 (PDT)
X-Barracuda-Envelope-From: jwatt...@photocreations.ca
X-Barracuda-Apparent-Source-IP: 66.199.174.80
Received: from localhost ([127.0.0.1]:49992 helo=cwh2.canadianwebhosting.com)
by cwh2.canadianwebhosting.com with esmtpa (Exim 4.80)
(envelope-from <jwatt...@photocreations.ca>)
id 1TKbFi-0004Od-Kg
for hugin-ptx@googlegroups.com; Sat, 06 Oct 2012 13:45:38 -0700
Received: from [192.168.0.100] ([99.252.112.65] helo=[192.168.0.100]) by
cwh2.canadianwebhosting.com with ESMTP (ASSP 1.9); 6 Oct 2012
13:45:37 -0700
Message-ID: <assp.7626c59ce1.50709853.9030003@photocreations.ca>
Date: Sat, 06 Oct 2012 17:45:07 -0300
From: Jim Watters <jwatt...@photocreations.ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: hugin-ptx@googlegroups.com
Subject: Re: [hugin-ptx] Re: Dewarping
References: <6e6f856c-65e1-4253-a97c-e8c948935...@cf4g2000vbb.googlegroups.com> <CAFa9FQtOV6u01f0cNZ06L1SdMcrd_Avm9WaMnEi0rUvzA8F...@mail.gmail.com> <CAFa9FQss5xWatE0UEK4ADDK7wPZsKWimcYkQRgfbvcjzB_B...@mail.gmail.com> <a9b80d50-0e95-4390-8ddf-bd2d92b02...@y8g2000yqy.googlegroups.com>
X-ASG-Orig-Subj: Re: [hugin-ptx] Re: Dewarping
In-Reply-To: <a9b80d50-0e95-4390-8ddf-bd2d92b02...@y8g2000yqy.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: cwh2.canadianwebhosting.com[66.199.174.80]
X-Barracuda-Start-Time: 1349556339
X-Barracuda-URL: http://64.34.111.239:8000/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at idig.net
X-Barracuda-Spam-Score: 0.12
X-Barracuda-Spam-Status: No, SCORE=0.12 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.5 tests=CN_BODY_332
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110600
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.12 CN_BODY_332 BODY: CN_BODY_332
Yuv,
I managed to get pretty good results using panotools.
On 2012-10-06 3:42 PM, Yuv wrote:
> Next step would be cool to do this with panotools directly, and maybe
> add functionality to Hugin (or another kind of dedicated front-end
> GUI) to automatically determine the center of the donut and use it to
> unwrap this kind of photo/video.
>
> For those with better skill and more time than me, here are:
> - original image [1]
> - unwrapped by 0-360 software [2]
> - unwrapped by ImageMagick with the command below [3]
If I set the lens as circular fisheye with 310 deg it looks pretty good to me.
I just eye balled the setting.
To optimize to even better setting. Set straight line control points on the
lights in the ceiling.
p w2000 h1000 f2 v360 u20 n"TIFF"
m g1 i0 f0
i n"Frame00001.png" w1920 h1080 f2 y0 r0 p-90 v310 a0 b0 c0 d0 e0 g0 t0
C431,1390,7,966
o n"Frame00001.png" w1920 h1080 f2 y0 r0 p-90 v310 a0 b0 c0 d0 e0 g0 t0
C431,1390,7,966
This simple script could easily be fed into mpremap.
> Thanks again for all the help
> Yuv
>
>
>
>
> [1] <https://www.dropbox.com/s/uq7rqzvy7fmlx9u/Frame00001.png>
> [2] <https://www.dropbox.com/s/5d27ceqq35i4ksy/Proprietary0-360.jpg>
> [3] <https://www.dropbox.com/s/hyn9vgzu4nxkmts/ImageMagick901.tif>
>
--
Jim Watters
http://photocreations.ca