摘要 |
The present invention discloses a boundary extraction method and apparatus, the method including: a gradient estimation step of estimating a gradient of each pixel in a captured image; a gradient adjustment step of adjusting, by enhancing a gradient of a target boundary of an object contained in the captured image and weakening a gradient of a noise boundary, the estimated gradient, so that the adjusted gradient is considered as a current gradient; and a boundary extraction step of extracting a boundary of the object based on the current gradient. According to the embodiments of the invention, in a case of using a non-contact imaging device to capture an image, it is possible to more accurately extract a boundary of an object contained in the captured image. |