PTGui has had viewpoint correction for several years already:
http://www.ptgui.com/examples/vptutorial.html
Joost
Probably you just need to disable lens distortion correction and don't
optimize the focal length to get the same result. At least PTGui should
be capable of exactly the same projection through viewpoint correction.
A dedicated mosaic mode (which would lock the above settings) might be
an idea but this will probably raise new questions and expectations by
people attempting to stitch unstitchable images with lots of parallax.
To properly stitch mosaics one should be aware of the effects of
parallax (and obviously you are).
Joost
I'm sure Joost meant to disable optimization for lens correction, not
lens correction as such. It should be obvious that it might be hard or
impossible to determine lens correction parameters from a mosaic. But of
course you can and should use lens correction parameters and FoV from a
previous calibration.
--
Erik Krause
http://www.erik-krause.de
> Probably you just need to disable lens distortion correction and don't
> optimize the focal length to get the same result. At least PTGui should
> be capable of exactly the same projection through viewpoint correction.
Probably not. Since Straight Line control points don't work together
with viewpoint correction, it might be difficult to get a straight
mosaic this way. Vertical and horizontal control points might be of
little help either, since they work differently with PTGui optimizer
than in classical panotools...
Instead, may I suggest you look for a photogrammetric tool capable of
orthophoto export.
These programs can automatically reconstruct all camera poitions, and
then generate an extremely accurate 3D model of your subject.
They can subsequently make a perfect flat projection of that 3D model
without any (unwanted) geometric distortion.
...and prices...
Taken from http://www.pvts.net/pdfs/ortho/photosftw_purch.pdf
"Given the complexity of this type of software, and a price tag that
runs between $5,000 and $70,000, prospective users of photogrammetry
software are advised to research all of the options out there."
What about 123D Catch?
If you could make your images available I'd like to take a look. As long
as the subject is flat stitching should be feasible.
Joost
> Hi All
>
> Agree that we don't need photogrammetry s/w. My point is just that
> with PTGui I am not able to get a satisfactory mosaic, while with
> Hugin I can.
Although I use phtotogrammetry tools a lot I agree that they are not the right tool for mosaic stitching.
In theory I guess PTgui should be able to do the job, but in my tests I have never been able to avoid tapering at the ends.
What I would love to see is a tool that could handle flat, mosaic type stitching,
as well as "inverse cylindrical mapping" - in lack of a berter word...
With this I mean that you could make slit scan type "mosaics. Like if you have a cylindrical tower that you want to "unfold".
Or any other curved wall as well.
--
Bjï¿œrn K Nilssen - b...@bknilssen.no - 3D and panoramas
Can you upload the file to your website or to a file sharing site (for
example http://get.tt)? Then post the link here, or if you don't want to
share the files send it to sup...@ptgui.com .
Joost
Please share them! I'd like to try as well...
Hi Tim,
Can you upload the file to your website or to a file sharing site (for example http://get.tt)? Then post the link here, or if you don't want to share the files send it to sup...@ptgui.com .
Joost
Am 16.01.2012 18:52, schrieb PTGui Support:Then post the link here, or if you don't want toshare the files send it tosu...@ptgui.com .
Please share them! I'd like to try as well...
Of course it can be retouched a bit further. After some trial and error
I found this worked best:
Take an image at the center as a reference image, I used image 4. Set
the yaw and pitch of all images to zero. And don't optimize yaw and
pitch for all but the reference image, so that we only use viewpoint
correction and not the regular yaw/pitch transform. I guess this may in
fact be what the mosaic mode in hugin does. Optimize viewpoint for all
images except the reference image. Don't optimize the field of view.
See the Optimizer tab of my project file for my settings.
Then drag the panorama around in the panorama editor until the sides of
the image are horizontal and vertical, then place yellow crop lines
around it.
Joost
On 18-1-2012 4:47, Tom Sharpless wrote:
> DRAT! Google has killed the link by trying to hide the password. So
> you will have to enter it yourself....
> user: tksftp
> password: TKSpwd1
> host: tksharpless.net
>
> On Jan 17, 10:41 pm, Tom Sharpless<tksharpl...@gmail.com> wrote:
>> OK the mosaic example is in a public ftp area on my website. Follow
>> this link
>> ftp://tksftp:TKSp...@tksharpless.net then download directory mosaic-
>> sample.
>> This area allows only one ftp session at a time, so try again if you
>> are refused access.
>>
>> Some details: focal length 35mm (Leica); crop factor 1.6 (Sony
>> NEX-5N); viewpoints roughly 30 feet from wall and roughly 8 feet
>> apart.
>>
>> -- Tom
>>
>> On Jan 16, 2:36 pm, Michel Thoby<thobymic...@wanadoo.fr> wrote:
>>
>>
>>
>>
>>
>>
>>
>>> Eh Tim,
>>
>>>> Hi Tim,
>>
>>>> Can you upload the file to your website or to a file sharing site (for examplehttp://get.tt)?Thenpost the link here, or if you don't want to share the files send it to supp...@ptgui.com .
>>
>>>> Joost
>>
>>> Le 16 janv. 2012 � 20:17, Erik Krause a �crit :
On 18-1-2012 16:03, Tom Sharpless wrote:
> For example my bulgy images squared up when I
> simply enabled full lens optimization (Michel's path) whereas on
> Joost's path one disallows lens optimization.
I've only disabled FoV optimization. This is necessary because with
mosaics the optmizer gets no clues regarding the focal length (for this
it would need at least two images with different yaw or pitch). Lens
distortion (abc) is optimized though.
Joost
I noticed the same problem, will look into it.
Joost
> If the images are accurately aligned with each other and the lens parameters
> are correct, then the panorama image can be levelled manually by dragging it
> about in the Panorama Editor window to get the verticals vertical and roof
> line straight and horizontal. (The grid feature is an invaluable aid when
> doing this). This is what Joost and I did.
>
> [snip]the t3/t4... points are not supported at all, and t1/t2 points are only
> used to level the whole panorama as a separate process after the image
> alignment phase. If the lens parameters are already accurately known from a
> calibration exercise, then these can be used without further optimization, in
> which case only two control points per image overlap are needed to accurately
> align the images with each other. More will be needed for viewpoint
> correction, though, and many more will be needed if the lens parameters are
> not known and do need to be evaluated.
>
> John
Yes, two images can be alined with only two control points, but sometime a line
is the only thing connecting two images. And having that line show up crooked in
the final output is very obvious.
--
Jim Watters
http://photocreations.ca