Patent ID: 8311332
Filing Date: 2012-11-13
Classification: G06K,G06T

Abstract:
1. An image processing system for preparing a mask for cutting out an image of a predetermined object from an image, said image processing system comprising: an edge extraction unit configured to extract the edges of said image; a pixel extraction unit configured to extract a string of first pixels included in a first region contiguous with a first reference line set on a plane of said image so as to pass through an inside of the image of said object, located on a plurality of parallel second reference lines set on the plane of said image, and nearest to said first reference line on the respective plurality of second reference lines and a string of second pixels included in a second region contiguous with said first reference line on an opposite side of said first region, located on said plurality of second reference lines, and nearest said first reference line on the respective plurality of second reference lines from among edges extracted at said edge extraction unit; a first intermediate point extraction unit configured to extract a string of intermediate points located between said first pixels and said second pixels on the respective plurality of second reference lines and in which a distance from the first pixels and the distance from the second pixels have a predetermined ratio; a division unit configured to divide the string of intermediate points extracted at said first intermediate point extraction unit into at least one section in which adjacent intermediate points are within a predetermined distance of each other; an approximation line acquisition unit configured to acquire an approximation line of the string of intermediate points extracted at said first intermediate point extraction unit based on the intermediate points forming the longest section divided at said division unit; a second intermediate point extraction unit configured to extract the string of intermediate points having a difference from the approximation line acquired at said approximation line acquisition unit within a predetermined range from among intermediate points extracted at said first intermediate point extraction unit; and a first border line acquisition unit configured to acquire a first border line of said mask based on an approximation line of the string of first pixels located on the same second reference lines as the string of intermediate points extracted at said second intermediate point extraction unit and acquire a second border line of said mask based on an approximation line of the string of second pixels located on the second reference lines.