Skip to content

Commit

Permalink
[software] colorCheckerDetection: linux build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Apr 21, 2021
1 parent d877c92 commit 9c2e672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/software/utils/main_colorCheckerDetection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ struct MacbethCCheckerQuad : Quad {
// Check current pixel for the current image mask
if(_cellMasks[i].at<uchar>(y,x) == 255)
{
image::RGBAfColor& px = img(y + _bbox.min.y, x + _bbox.min.x);
const image::RGBAfColor& px = img(y + _bbox.min.y, x + _bbox.min.x);
_colorData.at< cv::Vec3d >(i,0) += cv::Vec3d(px.r(), px.g(), px.b());
++pixelsCount.at<int>(i);
}
Expand Down

0 comments on commit 9c2e672

Please sign in to comment.