Machriam / PlantMonitor

GNU Affero General Public License v3.0
1 stars 0 forks source link

Stitch a photo tour to one large image with temperature information #113

Closed Machriam closed 2 weeks ago

Machriam commented 4 weeks ago

Summary: Not feasible via stitching. The perspective differences are to large and the resulting image will always have artifacts, which goes against the idea of having a publishable image. See #117 for better approach.

Things to consider when dealing with homographies:

  1. You want to detect many keypoints via an algorithm like ORB and then calculate a proper homography via a consensus algorithm like RANSAC
  2. The next image illustrates bad matching of keypoints: BadFeatureMatchingViaORBAndBFMatcher
  3. The following image illustrates better matching via RANSAC, but they are not well distributed over the whole image GoodFeatureMatching_ORB9000_BF_KNN2_LoweFilter_RANSAC
  4. The result of the above homography when used for stitching: HomographyOverlappingIssues
  5. The grid does not allign properly in the stitched images - likely cause of a bad homography. The default stitching algorithm produces the following result: stitchingResult
  6. This result is not good either, because it is to soft. It seems to make a consensus between both images.
github-actions[bot] commented 2 weeks ago

Changes of Pull Request #116

Commit messages for #113

The StichPhotos2 Method explains the overall steps, which are used to stitch photos together.