On Fri 20-Apr-2012 at 16:23 +0100, Bruno Postle wrote:

I mean to experiment with more real data and see what problems there are, hence this ptomorph script.

It currently uses a 'Shepards' distort, which forces each point to fit exactly. Though ImageMagick also has a polynomial distort where it applies a 'best fit' average. This looks promising since you can pick the order of the polynomial, and it will apply a distortion overall, just using the control points as a guide rather than requiring an exact fit.

OK, I implemented a ptomorph --polynomial option, you can choose a polynomial order between 1 and 5:

http://www.flickr.com/photos/36383814@N00/6951181084
http://www.flickr.com/photos/36383814@N00/6951183554
http://www.flickr.com/photos/36383814@N00/7097254813
http://www.flickr.com/photos/36383814@N00/7097256599
http://www.flickr.com/photos/36383814@N00/7097258147

It looks like 1 and 2 will be useful, and these should be quite robust in a project with 'bad' control points, unlike the default 'Shepards' distort.

3, 4 and 5 order polynomials clearly need a good spread of control points or they get a bit weird ;-)

--
Bruno

--
You received this message because you are subscribed to the Google Groups "Hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to