In openCV, the low and high thresholds for the canny operator are mandatory:
cvCanny(input,output,thresh1,thresh2)
In Matlab, there's an option to calculate those automatically:
edge(input,'canny')
I've looked into Matlab's code for edge, and this is really not straight forward to calculate those automatically.
Are you aware of any implementation of the canny operator along with automatic threshold calculation for opencv?
thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…