OpenStitching / stitching

A Python package for fast and robust Image Stitching
Apache License 2.0
1.93k stars 148 forks source link

implement feature masks #130

Closed lukasalexanderweber closed 11 months ago

lukasalexanderweber commented 11 months ago

this is a follow up to https://github.com/OpenStitching/stitching/pull/55 and https://github.com/OpenStitching/stitching/pull/104

Co-authored-by: Pierre Colle piercus@gmail.com Co-authored-by: Leon Wenzler leon.wenzler@uni.kn

@piercus @3nol thanks for your precious input

here the test:

the images are stitched at the barcode since it has many features: 01_feat
![barcode1](https://github.co
![barcode2](https://github.com/OpenStitching/stitching/assets/32765578/5f5b0319-3bd5-4360-8201-3437485fc035)
m/OpenStitching/stitching/assets/32765578/5e3d3000-fff8-41e6-9f00-f1835d0b071c)
ures_img1 01_features_img2 02_matches_img1_to_img2 09_result

We can now add feature masks so features are NOT searched at the barcode: mask1 mask2 01_features_img1 01_features_img2 02_matches_img1_to_img2 09_result