chamfer¶
This module defines constants and coefficients used to calculate distance transforms
-
wsize= 5¶ chamfer window size
-
ncoef= 8¶ chamfer num coefficients
-
a1= 2.2062¶ chamfer coefficient
-
a2= 1.4141¶ chamfer coefficient
-
a3= 0.9866¶ chamfer coefficient
-
threshold= 0.5¶ threshold for distance transform convergence