Skip to content

Commit 986d57c

Browse files
smileface123vpisarev
authored andcommitted
Update canny_detector.markdown (opencv#8684)
1 parent fe24165 commit 986d57c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/tutorials/imgproc/imgtrans/canny_detector/canny_detector.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Code
6868

6969
-# **What does this program do?**
7070
- Asks the user to enter a numerical value to set the lower threshold for our *Canny Edge
71-
Detector* (by means of a Trackbar)
71+
Detector* (by means of a Trackbar).
7272
- Applies the *Canny Detector* and generates a **mask** (bright lines representing the edges
7373
on a black background).
7474
- Applies the mask obtained on the original image and display it in a window.
@@ -85,19 +85,19 @@ Explanation
8585

8686
Note the following:
8787

88-
-# We establish a ratio of lower:upper threshold of 3:1 (with the variable *ratio*)
88+
-# We establish a ratio of lower:upper threshold of 3:1 (with the variable *ratio*).
8989
-# We set the kernel size of \f$3\f$ (for the Sobel operations to be performed internally by the
90-
Canny function)
90+
Canny function).
9191
-# We set a maximum value for the lower Threshold of \f$100\f$.
9292

9393
-# Loads the source image:
9494
@snippet cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp load
9595

96-
-# Create a matrix of the same type and size of *src* (to be *dst*)
96+
-# Create a matrix of the same type and size of *src* (to be *dst*):
9797
@snippet cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp create_mat
98-
-# Convert the image to grayscale (using the function @ref cv::cvtColor :
98+
-# Convert the image to grayscale (using the function @ref cv::cvtColor ):
9999
@snippet cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp convert_to_gray
100-
-# Create a window to display the results
100+
-# Create a window to display the results:
101101
@snippet cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp create_window
102102
-# Create a Trackbar for the user to enter the lower threshold for our Canny detector:
103103
@snippet cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp create_trackbar

0 commit comments

Comments
 (0)