Skip to content

Commit

Permalink
Appli topoadj works except for MMVII_ASSERT_INVERTIBLE_VALUE...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmuller committed May 3, 2024
1 parent 6cf1c95 commit 90971da
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions MMVII/src/BundleAdjustment/cAppliTopoAdj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,9 @@ void cAppliTopoAdj::AddOneSetGCP(const std::vector<std::string> & aVParStd)
cSetMesImGCP aFullMesGCP;
mPhProj.LoadGCPFromFolder(aFolder,aFullMesGCP,"",mGCPFilter,mGCPFilterAdd);

for (const auto & aSens : mBA.VSIm())
{
// Load the images measure + init sens
mPhProj.LoadImFromFolder(aFolder,aFullMesGCP,aSens->NameImage(),aSens,SVP::Yes);
}
//here no 2d mes, fake it
cSetMesPtOf1Im aSetMesIm;
aFullMesGCP.AddMes2D(aSetMesIm);
cSetMesImGCP * aMesGCP = aFullMesGCP.FilterNonEmptyMeasure(0);

cStdWeighterResidual aWeighter(aGCPW,1);
Expand Down Expand Up @@ -184,8 +182,6 @@ int cAppliTopoAdj::Exe()
mPhProj.SaveCamPC(*aCamPC);
*/

mPhProj.CpSysIn2Out(true,true);

mBA.Save_newGCP();
mBA.SaveTopo(); // just for debug for now

Expand Down

0 comments on commit 90971da

Please sign in to comment.