cdcseacave/openMVS

Assertion `!imageCosts.empty()

Abbsalehi opened this issue · 0 comments

Describe the bug
"Assertion `!imageCosts.empty()' failed" error when trying to generate disparity maps

21:22:12 [App] Selecting images for dense reconstruction completed: 46 images (46ms)
DensifyPointCloud: /home/user/openMVS/libs/MVS/SemiGlobalMatcher.cpp:876: void 
MVS::STEREO::SemiGlobalMatcher::Match(const MVS::STEREO::SemiGlobalMatcher::ViewData&, const
MVS::STEREO::SemiGlobalMatcher::ViewData&, MVS::STEREO::SemiGlobalMatcher::DisparityMap&,
MVS::STEREO::SemiGlobalMatcher::AccumCostMap&): Assertion `!imageCosts.empty()' failed.
Aborted (core dumped)

To Reproduce
$home/user/openMVS/make/bin/DensifyPointCloud scene.mvs --fusion-mode -1 -w "/home/user/Scenario_1/openmvs/mvs"

OS: Linux LTS 20

Update: same error with the sample images Sceaux Castle

@cdcseacave