Bruno Postle wrote:
> On Mon 01-Jun-2015 at 23:59 +0100, Bruno Postle wrote:
>> On 1 June 2015 13:15:59 BST, bugbear wrote:
>>> OK. Ptomorph has a tiny bug in its path handling.
>>>
>>> it uses the same path prefix for its output files
>>> as its PTO file.
>>>
>>> The upshot is, the path must be either absolute, or current.
>>> I'm creating my morphs in a sub-directory (snapily called morph).
>>
>> Oops, yes this needs fixing, the paths in the PTO file should be absolute or relative to the folder the PTO file is in.
>
> Thanks for the bug report, this should now be fixed in Mercurial.
> Note that ptomorph could still use testing and feedback since it is a prototype for possible future Hugin functionality.
Yes - so far I have found that "it works", but for resolving the particular effects
of creased/wrinkled maps I need a VERY large number of CPs. This may simply
speak of the complexity of my creases, and that "simpler" creases would
require less CPs.
And these CPs, by the very nature and need cannot be optimised by Hugin.
So you really need two classes of CP which hugin doesn't support.
At the moment, while experimenting, I have to set the "stitch" CPs,
optimise, and then NEVER OPTIMISE again.
I then add lots of "morph" CPs, (which by their very nature
are placed on points that show high errors) and use ptomorph, nona.
> By default it uses the 'Shepards' morph from ImageMagick, this is very stable and forces _all_ control points to line up - I could see this being integrated in the nona stitcher as a single option.
http://www.imagemagick.org/Usage/distorts/#shepards
>
> ptomorph also has an option to approximate a fit for the whole image with a 'polynomial' distortion - this is smoother, but isn't as stable. It potentially could be integrated into the entire panotools optimisation/remapping stack, but this would be a bad idea if it isn't useful.
http://www.imagemagick.org/Usage/distorts/#polynomial
BTW, Nona is dramatically faster!
BugBear