Skip to content

Commit

Permalink
brightness equalization
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelchang committed Sep 27, 2019
1 parent 7b33038 commit 8e5a355
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ros/eval_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ void EvalBase<Stereo>::FrameCallback(const sensor_msgs::ImageConstPtr &image, co
cv::cvtColor(cvImage->image, monoImg, CV_BGR2GRAY);
cv::Mat monoImg2;
cv::cvtColor(cvStereoImage->image, monoImg2, CV_BGR2GRAY);
cv::equalizeHist(monoImg, monoImg);
cv::equalizeHist(monoImg2, monoImg2);
cv::Mat depthFloatImg;
if (depth_image != nullptr)
{
Expand Down

0 comments on commit 8e5a355

Please sign in to comment.