Rapid symbol distance function calculating method for horizontal set image segmentation
A technology of signed distance function and image segmentation, applied in image analysis, image data processing, calculation and other directions, can solve the problems of large amount of calculation and large amount of calculation of signed distance function, and achieve the effect of fast speed and reduced processing time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] A fast signed distance function calculation method, it comprises the following steps:
[0025] Step 1, read in the image containing the closed curve from the hard disk of the computer, wherein the pixel value of the point of the closed curve is 1, and the pixel value of other points is 0.
[0026] Step 2, using the region growing method to obtain the interior and exterior of a closed curve, the interior distance sign is set to negative, and the exterior distance sign is set to positive.
[0027] Step 3, calculate the normal direction of the closed curve, and discretize it into eight directions of 0, 30, 45, 60, 90, 120, 135, and 150 degrees.
[0028] Step 4, define the extension step size according to the normal direction, the step size of 0 and 90 degrees is , the 45 and 135 degree steps are
[0029] , 30, 60, 120, 150 degree step size is , for each point (source point) on the closed curve, the ray is extended to the image boundary with the step size, and the di...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 