Fixed bug in StitchImagesMiniApp and helper function.
+ Introduced StitchStrategy (Mean, BorderDistance)