mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Misc. modules/ typos (cont.)
Found via `codespell`
This commit is contained in:
@@ -27,16 +27,16 @@ Explanation / Result
|
||||
@snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp load_image
|
||||

|
||||
|
||||
-# Then if we have an image with a white background, it is good to transform it to black. This will help us to descriminate the foreground objects easier when we will apply the Distance Transform:
|
||||
-# Then if we have an image with a white background, it is good to transform it to black. This will help us to discriminate the foreground objects easier when we will apply the Distance Transform:
|
||||
@snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp black_bg
|
||||

|
||||
|
||||
-# Afterwards we will sharp our image in order to acute the edges of the foreground objects. We will apply a laplacian filter with a quite strong filter (an approximation of second derivative):
|
||||
-# Afterwards we will sharpen our image in order to acute the edges of the foreground objects. We will apply a laplacian filter with a quite strong filter (an approximation of second derivative):
|
||||
@snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp sharp
|
||||

|
||||

|
||||
|
||||
-# Now we transfrom our new sharped source image to a grayscale and a binary one, respectively:
|
||||
-# Now we transform our new sharpened source image to a grayscale and a binary one, respectively:
|
||||
@snippet samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp bin
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user