Hello again, I have a preliminary version of my patch ready.
I managed to nearly entirely separate the optimizer code from the mask generation code. I have a small problem with separating a few instructions from the code (the instruction for generating the mismatch image for each optimizer). The code should work, tested quickly for faults using hugin - as most changes were structural ones, there shouldn't be any problems. I constructed an abstract class for optimizers, as well as derived classes for the current annealing and dijkstra optimizers. I moved most of the optimizer-specific code from the mask.h file to the respective classes. Then I produced a simple optimizer chain class, which acts as a factory for optimizer classes, as well as allows to set up and run, as the name suggests, optimizer chains (sequences of optimizers designed to run sequentially). Where do I upload the diff? Best regards, Mikolaj -- 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
