Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aebb7b3

Browse files
authored
Code usage example
1 parent e9f5211 commit aebb7b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ int main()
3939
cv::Mat matImage = cv::imread("your_input_file_name", cv::IMREAD_COLOR); //read images using opencv from file into Mat type
4040

4141
int kernelSize = 3; //set kernelSize = 3 for filtering with 3x3 kernel
42-
Filter<float, uint8_t> filter; //create the instance of filter
43-
cv::Mat matOutput = filter(matImage, kernelSize); //filter image
42+
Filter<float, uint8_t> filter; //create the instance of filter
43+
cv::Mat matOutput = filter(matImage, kernelSize); //filter image
4444

45-
cv::imwrite("your_output_file_name", matOutput); //write the result
45+
cv::imwrite("your_output_file_name", matOutput); //write the result
4646
return 0;
4747
}
4848
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /