Excuse me, canny operator detected edge discontinuity how should solve? To solve, thank you
CodePudding user response:
Adjust the parameters, try moreCodePudding user response:
What is the original? Parameter is what you use?CodePudding user response:
May be in front of the filter function is wrongCodePudding user response:
You put your process, or other people how to solveCodePudding user response:
1. The adjustable parameters, Canny threshold1 and threshold2 two threshold, the parameters of the effect is more than threshold2 must be considered edge pixels, between threshold1 and threshold2 is candidate pixels, can also according to the rules of other judge whether the selected edge pixels, below threshold1 think the edge pixels directly, so reducing threshold1 and threshold2 can increase the edge pixels, the edge is not so easy to disconnect, deterrent to other edge will more, of course,2. The use of closed operation (after the first expansion corrosion), can be connected to some off the edge of the short,