Image processing system, mask fabrication method, and program
First Claim
Patent Images
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.
2 Assignments
0 Petitions
Accused Products
Abstract
An image processing system and a mask preparation method able to prepare a mask by simple processing and a program executed in such an image processing system are provided. To extract the edges of the image, strings of pixels corresponding to the contours of an object are extracted from the edge extracted image, and border lines for the masking are acquired based on an approximation line thereof.
-
Citations
24 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. 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 edges of said image; a first pixel extraction unit configured to extract a string of pixels included in one of two regions contiguous with a first reference line set on a plane of said image so as to pass through the 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 from among edges extracted at said edge extraction unit; a division unit configured to divide the string of pixels extracted at said first pixel extraction unit into at least one section in which adjacent pixels are within a predetermined distance of each other; an approximation line acquisition unit configured to acquire an approximation line of the string of pixels extracted at said first pixel extraction unit based on pixels forming the longest section divided at said division unit; a second pixel extraction unit configured to extract a string of pixels having a difference from the approximation line acquired at said approximation line acquisition unit within a predetermined range among pixels extracted at said first pixel extraction unit; and a first border line acquisition unit configured to acquire a first border line of said mask based on the approximation line of the string of pixels extracted at said second pixel extraction unit. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A mask preparation method for preparing a mask for cutting out an image of a predetermined object from an image, said mask preparation method including:
-
a first step of extracting the edges of said image; a second step of extracting 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 to said first reference line on the respective plurality of second reference lines from among edges extracted at said first step; a third step of extracting a string of intermediate points located between said first pixels and said second pixels on said plurality of second reference lines and in which a distance from the first pixel and the distance from the second pixel have a predetermined ratio; a fourth step of dividing the string of intermediate points extracted at said third step into one or more sections in which adjacent intermediate points are within a predetermined distance of each other; a fifth step of acquiring an approximation line of the string of intermediate points extracted at said third step based on the intermediate points forming the longest section divided at said fourth step; a sixth step of extracting a string of intermediate points having a difference from the approximation line acquired at said fifth step within a predetermined range from among intermediate points extracted at said third step; and a seventh step of acquiring a first border line of said mask based on the approximation line of the string of first pixels located on the same second reference lines as the string of intermediate points extracted at said sixth step and acquiring a second border line of said mask based on the approximation line of the string of second pixels located on the second reference lines.
-
-
13. A mask preparation method for preparing a mask for cutting out an image of a predetermined object from an image, said mask preparation method including:
-
a first step of extracting edges of said image; a second step of extracting a string of first pixels included in one of two regions contiguous with the first reference line set on the plane of said image so as to pass through the 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 from among edges extracted at said first step; a third step of dividing the string of first pixels extracted at said second step into at least one section in which adjacent first pixels are within a predetermined distance of each other; a fourth step of acquiring an approximation line of the string of first pixels extracted at said second step based on first pixels forming the longest section divided at said third step; a fifth step of extracting a string of first pixels having a difference from the approximation line acquired at said fourth step within a predetermined range among first pixels extracted at said second step; and a sixth step of acquiring a first border line of said mask based on the approximation line of the string of first pixels extracted at said fifth step. - View Dependent Claims (14)
-
-
15. A program on a non-transitory computer-readable medium for making an image processing system having a computer for preparing a mask for cutting out an image of a predetermined object from an image execute:
-
a first step of extracting the edges of said image; a second step of extracting 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 to said first reference line on the respective plurality of second reference lines from among edges extracted at said first step; a third step of extracting a string of intermediate points located between said first pixels and said second pixels on said plurality of second reference lines and in which a distance from the first pixel and the distance from the second pixel have a predetermined ratio; a fourth step of dividing the string of intermediate points extracted at said third step into one or more sections in which adjacent intermediate points are within a predetermined distance of each other; a fifth step of acquiring an approximation line of the string of intermediate points extracted at said third step based on the intermediate points forming the longest section divided at said fourth step; a sixth step of extracting a string of intermediate points having a difference from the approximation line acquired at said fifth step within a predetermined range from among intermediate points extracted at said third step; and a seventh step of acquiring a first border line of said mask based on the approximation line of the string of first pixels located on the same second reference lines as the string of intermediate points extracted at said sixth step and acquiring a second border line of said mask based on the approximation line of the string of second pixels located on the second reference lines.
-
-
16. A program on a non-transitory computer-readable medium for making an image processing system having a computer for preparing a mask for cutting out an image of a predetermined object from an image execute:
-
a first step of extracting edges of said image; a second step of extracting a string of first pixels included in one of two regions contiguous with the first reference line set on the plane of said image so as to pass through the 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 from among edges extracted at said first step; a third step of dividing the string of first pixels extracted at said second step into at least one section in which adjacent first pixels are within a predetermined distance of each other; a fourth step of acquiring an approximation line of the string of first pixels extracted at said second step based on first pixels forming the longest section divided at said third step; a fifth step of extracting a string of first pixels having a difference from the approximation line acquired at said fourth step within a predetermined range among first pixels extracted at said second step; and a sixth step of acquiring a first border line of said mask based on the approximation line of the string of first pixels extracted at said fifth step. - View Dependent Claims (17)
-
-
18. 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 extracting means for extracting edges of said image; a pixel extracting means for extracting 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 to said first reference line on the respective plurality of second reference lines from among edges extracted at said edge extracting means; a first intermediate point extracting means for extracting a string of intermediate points located between said first pixels and said second pixels on said plurality of second reference lines and in which a distance from the first pixels and a distance from the second pixels have a predetermined ratio; a dividing means for dividing the string of intermediate points extracted at said first intermediate point extracting means into at least one section in which adjacent intermediate points are within a predetermined distance of each other; an approximation line acquiring means for acquiring an approximation line of the string of intermediate points extracted at said first intermediate point extracting means based on the intermediate points forming the longest section divided at said dividing means; a second intermediate point extracting means for extracting a string of intermediate points having a difference from the approximation line acquired at said approximation line acquiring means within a predetermined range from among intermediate points extracted at said first intermediate point extracting means; and a first border line acquiring means for acquiring a first border line of said mask based on the 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 extracting means and acquiring a second border line of said mask based on the approximation line of the string of second pixels located on the second reference lines. - View Dependent Claims (19, 20)
-
-
21. 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 extracting means for extracting edges of said image; a first pixel extracting means for extracting a string of pixels included in one of two regions contiguous with a first reference line set on a plane of said image so as to pass through the 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 from among edges extracted at said edge extracting means; a dividing means for dividing the string of pixels extracted at said first pixel extracting means into at least one section in which adjacent pixels are within a predetermined distance of each other; an approximation line acquiring means for acquiring an approximation line of the string of pixels extracted at said first pixel extracting means based on pixels forming the longest section divided at said dividing means; a second pixel extracting means for extracting a string of pixels having a difference from the approximation line acquired at said approximation line acquiring means within a predetermined range among pixels extracted at said first pixel extracting means; and a first border line acquiring means for acquiring a first border line of said mask based on the approximation line of the string of pixels extracted at said second pixel extracting means. - View Dependent Claims (22, 23, 24)
-
Specification