Skip to content

Commit

Permalink
Update transform_plugin.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
sonam-packt committed Aug 18, 2020
1 parent 51d24de commit 2480055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch06/transform_plugin/transform_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void Transform_Plugin::processImage(const cv::Mat &inputImage, cv::Mat &outputIm
}
else if(ui->remapRadio->isChecked())
{
cvtColor(inputImage, outputImage, CV_GRAY2RGBA);
cvtColor(inputImage, outputImage, CV_32FC(1));;
Mat mapX, mapY;
mapX.create(inputImage.size(), CV_32FC(1));
mapY.create(inputImage.size(), CV_32FC(1));
Expand Down

0 comments on commit 2480055

Please sign in to comment.