mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-03 14:28:41 +08:00
Add HDR metric/alignment helper scripts and combine READMEs
- align_two_folders.py: model-free contour+homography alignment of two image folders, with diagnostics (checkerboards, thresholds, matched contours, SIFT match panels). - align_fast_to_well.py: expose the pre-RANSAC SIFT correspondences so the new visualizations can consume them. - ldr_res_jpg.py: LDR (jpg) variant of ldr_res.py metric computation. - run_metrics_all.sh: run calculate_metrics_fast across all scenes. - collect_metrics_sheet.py: gather per-scene result JSONs into a CSV. - README.md: merge README-pandora.md and README-hdrnerfacto.md into one guide (PanDORA + HDR-Nerfacto paths). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
1748a9256c
commit
287f56176b
6 files changed
+809
-331
No files matched your search
@@ -68,6 +68,8 @@ class AlignImages:
|
||||
except ContourTooSmallException as e:
|
||||
continue
|
||||
self.matched_well_contours = [None] * len(self.fast_contours)
|
||||
self.well_points_combined = []
|
||||
self.fast_points_combined = []
|
||||
self.well_image = Image(well_image)
|
||||
self.well_images = []
|
||||
self.well_thresholds = (230, 235, 240, 245, 250)
|
||||
@@ -165,6 +167,9 @@ class AlignImages:
|
||||
well_matched_points, fast_matched_points = self.match_points(well_contour, fast_contour)
|
||||
well_points_combined.extend(well_matched_points)
|
||||
fast_points_combined.extend(fast_matched_points)
|
||||
# Expose the SIFT/BFMatcher point correspondences (pre-RANSAC) for visualization.
|
||||
self.well_points_combined = well_points_combined
|
||||
self.fast_points_combined = fast_points_combined
|
||||
if len(well_points_combined) >= 4:
|
||||
well_points = np.float32(well_points_combined)
|
||||
fast_points = np.float32(fast_points_combined)
|
||||
|
||||
Reference in new issue
Block a user