On 07/04/2013 10:44 PM, paul womack wrote:
Bruno Postle wrote:
On 4 Jul 2013 13:48, "Florian H" wrote:
>
> So yesterday I asked myself: Is it possible to figure out the
camera-intern control parameters for lens correction with
out-of-the-box-JPGs?
> The Idea is to shot for each focal length ONE photo and let it save
by the camera as RAW and (lens-corrected) JPG. Then process the RAW
image without any distortion-correction.
> After that, the big question: Can Hugin stack these two images
about each other, so that the uncorrected image is "deformed" (with
the needed correction parameters) on top of the other?
Yes this will definitely work: just load both photos and make sure
they have different lens 'numbers'; set lots of control-points; then
optimise a,b,c,d,e,v for the distorted photo only.
This stacking technique should be foolproof, though I would still
expect to get better results using the standard Hugin technique of
stitching partially overlapping photos.
Why not just make a pano from RAW images, using lots of overlapping
CP's, and let the good ol'
optimiser both assemble the pano, AND calibrate your lens at the same time?
That's what I did with my new (Panasonic TZ8) camera when I first got it.
That's what I've always done. Never bothered to calibrate my lens(es)
because they're all zoom lenses, so I suspect distortion changes as zoom
changes, perhaps also as aperture changes.
I've not shot both RAW and JPG. I'd be really surprised if in-camera
processing can do any correction for lens distortion. Does the camera
contain a full database of the possible lenses you could put on the
camera (I use a DSLR)? If it does any kind of software distortion
correction in camera, I can't imagine how it could do anymore correction
than Hugin does, and quite possibly doesn't do it as well.
Maybe new cameras are fancier now, but I'm highly doubtful that any of
them can do any correction for lens distortion. Of course, probably
someone knows different. Or some camera makers marketing departments are
run by lunatics ...
--
David W. Jones
[email protected]
wandering the landscape of god
http://dancingtreefrog.com
http://www.clanjones.org/david/
http://dancing-treefrog.deviantart.com/
http://www.cafepress.com/otherend/
--
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/hugin-ptx/51D69541.1060404%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.