Skip to content

Commit

Permalink
corrected zernikeProcess.cpp null_unwrap by removing debug code that …
Browse files Browse the repository at this point in the history
…limits error height
  • Loading branch information
githubdoe committed Jul 14, 2022
1 parent e7a0909 commit 1da2b3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion profileplot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ QPolygonF ProfilePlot::createProfile(double units, wavefront *wf){
wf->lambda/outputLambda) +y_offset * units);
}
else {
points << QPointF(radx,(units * (wf->workData((int)dy,(int)dx) ) *
points << QPointF(radx,(units * (wf->workData((int)dy,(int)dx) ) *
wf->lambda/outputLambda) +y_offset * units);
}
}
Expand Down
2 changes: 1 addition & 1 deletion zernikeprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ cv::Mat zernikeProcess::null_unwrapped(wavefront&wf, std::vector<double> zerns,

}

nulled.at<double>(y,x) = min(sz +nz, .04);
nulled.at<double>(y,x) = sz +nz;
}
}
}
Expand Down

0 comments on commit 1da2b3e

Please sign in to comment.