On 10 Feb., 10:09, Bart van Andel <[email protected]> wrote:
> I haven't looked at the algorithms used (or the source code at all), but if
> RANSAC (random sampling consensus) is used, the differences can be caused
> by different seeds for the randomizer. Note that in this case it isn't
> really a bug, although it may seem strange. RANSAC needs randomization. The
> results would be the same every time if the "random" values used by RANSAC
> were more or less static (e.g. same initial seed instead of based on the
> computer clock) which would solve this apparent issue. But this is a mere
> guess.
good guss. a quick look at ransac.h reveals:
// intialize random generator
boost::mt19937 rng;
// start with a different seed every time.
rng.seed(static_cast<unsigned int>(std::time(0)));
I suspected a different random generator state myself, but was too
lazy to check...
If any of the people affected by the 'bug' have compile capability,
they can try and simply seed the rng with, say, 23 and see if the
problem persists
Kay
--
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