Research Article
Dynamic Granularity Matrix Space Based Adaptive Edge Detection Method for Structured Light Stripes
Algorithm 1
Adaptive edge detection iterative algorithm.
Input: Input image F, max iteration t=200, populations size G=8, member size Ms=10. | Output: Segmented image ; | Begin | . Based on of DGS model, obtain the hierarchical structure of the image; | . Compute the optimal granularity layer; | . Calculate the 2D segmentation threshold; | for it =1 to t do | Use QGH algorithm to solve image segmentation threshold; | if maximum iterations t is researched, stop. | End | . The segmentation threshold of the image is obtained through the above steps. | . Taken as the adaptive threshold for Canny operator, and get the segmented image, . | end |
|