Re: [Lensfun-users] Shift Lens Support

2018-04-04 Thread Robin Kramer
There is a center parameter in lensfun, it seems to work OK to just create a 
version of the lens that I had previously calibrated the distortion parameters 
then add a y value.

Hugin lens calibration will also calculate the parameter eg "d", however you 
have to give it a starting point that is pretty close.  It's not intuitive, but 
it seems to be in pixel units.

I think just using the lensfun with a couple of choices will be good enough, 
because in practice, I won't know the precise shift values, so would be 
guessing anyway.

Conceptually, should the other parameters be the same?

Sincerely yours,

Robin

> On Apr 4, 2018, at 12:11 AM, junkyardspar...@yepmail.net wrote:
> 
> 
> 
>> On Tue, Apr 3, 2018, at 15:38, Robin Kramer wrote:
>> Is there any support for lenses with movements.  I'm especially 
>> interested in shift. I have a lens with a shift adapter.  When I load 
>> the straight image, the hugin gui calibrates the lens just fine, but 
>> when I load the shifted calibration chart images(all with the same 
>> movement), it seems to hang, or at least take a very long time to 
>> converge.  I'm not sure how to interface this with lensfun, since I 
>> suspect another parameter is needed.
>> 
>> I use shift often it's a very nice effect, for making trees look 
>> straight, or capturing the sky without looking up.
> 
> Unfortunately, these types of lenses don't play nicely with lens corrections. 
> There's some discussion of this here:
> 
> https://github.com/lensfun/lensfun/issues/299
> 
> -- 
> jys
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Lensfun-users mailing list
> Lensfun-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lensfun-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Lensfun-users mailing list
Lensfun-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lensfun-users


Re: [Lensfun-users] Shift Lens Support

2018-04-04 Thread Robin Kramer
Yeah, I get the sense that hugin et al comes from the school of thought that 
you should digitally shift the images.

Though the answers in thread don't really make sense, because the lens 
distortion model is still circular, it's not like it was tilted.

I wonder if tca_correct can deal with it.

> On Apr 4, 2018, at 12:11 AM, junkyardspar...@yepmail.net wrote:
> 
> 
> 
>> On Tue, Apr 3, 2018, at 15:38, Robin Kramer wrote:
>> Is there any support for lenses with movements.  I'm especially 
>> interested in shift. I have a lens with a shift adapter.  When I load 
>> the straight image, the hugin gui calibrates the lens just fine, but 
>> when I load the shifted calibration chart images(all with the same 
>> movement), it seems to hang, or at least take a very long time to 
>> converge.  I'm not sure how to interface this with lensfun, since I 
>> suspect another parameter is needed.
>> 
>> I use shift often it's a very nice effect, for making trees look 
>> straight, or capturing the sky without looking up.
> 
> Unfortunately, these types of lenses don't play nicely with lens corrections. 
> There's some discussion of this here:
> 
> https://github.com/lensfun/lensfun/issues/299
> 
> -- 
> jys
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Lensfun-users mailing list
> Lensfun-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lensfun-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Lensfun-users mailing list
Lensfun-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lensfun-users