From: Weld defect detection using a modified anisotropic diffusion model
Initialisation |
---|
Chose initial zone parameters: K, c1(x, y) |
Step1: Digitization |
Step2: Region of Interest selection |
Step3: Median filtering |
Step4: Compute the 2D convolution masks: hN, hS, hF and hW |
Step5: For i = 1 to number of image windows |
- Compute the gradient |
- Compute the diffusion function c1(x, y) of 4 neighbors |
- Compute the sharpening diffusion coefficient |
|
- Compute |
|
End |
Step6: Thresholding |