> For example, see the function at
> https://sourceforge.net/p/lensfun/code/ci/099f390d5d7f0df7ae2242f3bbc5973d29442950/tree/libs/lensfun/mod-coord.cpp#l883
>
> The "asin" returns a NaN if its argument is larger than 1, which
> means that both iocoord's also become NaN. You cannot recover it:
> For such pixels, there is no counterpart in the sensor image.
>

That's a good example. I don't know the value range of inv_dist but if the x/y
are bound to -1..1 the
radius sqrt(x^2+y^2) can easily reach values greater than 1 if
inv_dist>sqrt(0.5).

What is inv_dist meant to be? Inverse distance? How is it normalized?

Sebastian
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to