Skip to content

Commit

Permalink
fix ReportGCP: handle missing 3D points
Browse files Browse the repository at this point in the history
  • Loading branch information
amrosu committed Jan 8, 2024
1 parent c868782 commit c299a3b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions MMVII/src/OrientReport/GCPQuality.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,12 @@ void cAppli_CGPReport::MakeOneIm(const std::string & aNameIm)
aImaFieldRes.ToJpgFileDeZoom(mPhProj.DirVisu() + "FieldRes-"+aNameIm+".tif",aDeZoom);
}

auto aMesX = (aAvg2d.SW()>0.) ? ToStr(aAvg2d.Average().x()) : "XXX";
auto aMesY = (aAvg2d.SW()>0.) ? ToStr(aAvg2d.Average().y()) : "XXX";
AddStdStatCSV
(
mNameReportIm,aNameIm,aStat,mPropStat,
{ToStr(aAvg2d.Average().x()),ToStr(aAvg2d.Average().y())}
mNameReportIm,aNameIm,aStat,mPropStat,
{aMesX, aMesY}
);

}
Expand Down

0 comments on commit c299a3b

Please sign in to comment.