mirror of
https://github.com/opencv/opencv.git
synced 2026-09-25 04:09:57 +03:00
Merge pull request #29757 from bmad4ever:5.x
Fixed orientation thresholding in tutorial: anisotropic_image_segmentation.py
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ imgCoherency, imgOrientation = calcGST(imgIn, W)
|
||||
|
||||
## [thresholding]
|
||||
_, imgCoherencyBin = cv.threshold(imgCoherency, C_Thr, 255, cv.THRESH_BINARY)
|
||||
_, imgOrientationBin = cv.threshold(imgOrientation, LowThr, HighThr, cv.THRESH_BINARY)
|
||||
imgOrientationBin = cv.inRange(imgOrientation, LowThr, HighThr)
|
||||
## [thresholding]
|
||||
|
||||
## [combining]
|
||||
|
||||
Reference in New Issue
Block a user