×

Incremental contour-extraction scheme for binary image segments

  • US 9,275,467 B2
  • Filed: 03/29/2012
  • Issued: 03/01/2016
  • Est. Priority Date: 03/29/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for extracting contours in a digital image, the method comprising:

  • performing a first one-directional pass across the digital image, the pass comprising;

    i. loading rows or columns of the digital image from an external memory to a local memory,ii. identifying pixels in each row or column that correspond to a contour of an object in the digital image, andiii. adding the identified pixels to a list of contour pixels corresponding to the object for the current pass; and

    iv. combining the list of contour pixels from the pass into the contour of the object; and

    performing a second pass, comprising analyzing the contour pixels to classify the contour as a full closed-path contour comprising identifying an edge pixel for a first contour portion, identifying an edge pixel for a second contour portion, traversing the contour from the edge pixel of the second contour portion until finding a pixel having coordinates the same as the edge pixel for the first contour portion, identifying an overlapping portion of the first and second contour portions, and discarding the overlapping portion.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×