Skip to content

Commit

Permalink
[Trifocal+P2Pt] revert chirality simplification due to fails
Browse files Browse the repository at this point in the history
  • Loading branch information
rfabbri committed Nov 12, 2024
1 parent b0e1d5f commit a316e03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/openMVG/cameras/Camera_Intrinsics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,9 @@ inline bool CheiralityTest
const Vec3 & X
)
{
assert(bearing.dot(pose(X)) > 0.0 == pose(X)(2) > 0.0);
return pose(X)(2) > 0.0;
// assert(bearing.dot(pose(X)) > 0.0 == pose(X)(2) > 0.0);
return bearing.dot(pose(X)) > 0.0;
// return pose(X)(2) > 0.0;
}

/**
Expand Down
4 changes: 4 additions & 0 deletions src/openMVG_Samples/multiview_trifocal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,8 @@ Since your solver is using less points than some other solver, we could perhaps

# Export matches/tracks

/Users/rfabbri/cprg/vxlprg/lemsvpe/openMVG/src/openMVG/matching
- see indMatch_test.cpp for the format of matches.txt
- you can also convert a matches.f.bin to matches.f.txt using a utility - matches connverter


0 comments on commit a316e03

Please sign in to comment.