Merge pull request #29757 from bmad4ever:5.x

Fixed orientation thresholding in tutorial: anisotropic_image_segmentation.py
This commit is contained in:
Alexander Smorkalov
2026-08-21 12:09:03 +03:00
committed by GitHub
@@ -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]