Code cleanup, removed cv:: because using namespace cv is already used.

pull/8289/head
vskarlsruhe 8 years ago committed by GitHub
parent 220d1f0b3e
commit 6e12391c91
  1. 6
      samples/cpp/tutorial_code/ImgProc/HitMiss.cpp

@ -26,11 +26,11 @@ int main(){
const int rate = 10;
kernel = (kernel + 1) * 127;
kernel.convertTo(kernel, CV_8U);
cv::resize(kernel, kernel, cv::Size(), rate, rate, INTER_NEAREST);
resize(kernel, kernel, Size(), rate, rate, INTER_NEAREST);
imshow("kernel", kernel);
cv::resize(input_image, input_image, cv::Size(), rate, rate, INTER_NEAREST);
resize(input_image, input_image, Size(), rate, rate, INTER_NEAREST);
imshow("Original", input_image);
cv::resize(output_image, output_image, cv::Size(), rate, rate, INTER_NEAREST);
resize(output_image, output_image, Size(), rate, rate, INTER_NEAREST);
imshow("Hit or Miss", output_image);
waitKey(0);
return 0;

Loading…
Cancel
Save