Method of extracting a selected configuration from an image according to a range search and direction search of portions of the image with respect to a reference point
First Claim
1. A method of extracting a region of a specific contour configuration from an image comprises:
- a) measuring a density or a luminance of each of a plurality of portions of the image;
b) determining an amount of change in density or an amount of change in luminance in a plurality of directions at each of said plurality of portions of the image, according to the density or the luminance measured in said measuring step;
c) setting, as a reference point, a portion from said plurality of portions having an amount of change in density along a predetermined direction of the image or having an amount of change in luminance along a predetermined direction of the image is greater than or equal to a predetermined value;
d) setting, as a search range for proximate portions near the reference point, a range of portions whose distance from the reference point is within a predetermined distance and which is within an angle range with respect to the reference point, wherein the angle range is determined in accordance with a contour configuration in a direction determined in advance, or a direction in which the amount of change in density at the reference point is greater than or equal to a predetermined value, or the amount of change in luminance at the reference point is greater than or equal to a predetermined value;
e) setting a search direction pattern which is to be searched at respective portions in said search range and which expresses a direction in which the density or the luminance changes, based on the contour configuration in a direction determined in advance, or a direction in which the amount of change in density at the reference point is greater than or equal to a predetermined value, or the amount in change in luminance at the reference point is greater than or equal to a predetermined value;
f) searching for portions which exist within said search range and whose amount of change in density along a direction expressed by said search direction pattern or amount of change in luminance along the direction expressed by said search direction pattern is greater than or equal to a predetermined value to thereby satisfy a search condition, and wherein when a portion which satisfies the search condition is detected, setting the detected portion as a next reference point; and
g) extracting, as a contour line a line formed by connecting a plurality of portions of the image which were set in order as reference points.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of extracting a specific configuration including: measuring a density or luminance of portions of an image; determining a change in density or luminance for each direction at each portion of the image. Based on the results of the measurement, setting a reference point corresponding to a portion whose amount of change along a predetermined direction of the image is greater than or equal to a predetermined value; setting a search range, corresponding to a distance from the reference point which is within an angle range with respect to the reference point. The angle range is determined in accordance with a contour configuration of the region based on a direction determined in advance or a direction in change in density or luminance at the reference point which is greater than or equal to a predetermined value; and setting a search direction pattern in the search range which expresses a direction in which the density or luminance changes, and searching for portions which exist within the search range and whose amount of change in density or luminance along a direction expressed by the search direction is greater than or equal to a predetermined value; and when a portion which satisfies a search condition is detected, repeating setting of a detected portion as a next reference point; and extracting the line formed by connecting a plurality of reference points as the contour line.
-
Citations
12 Claims
-
1. A method of extracting a region of a specific contour configuration from an image comprises:
-
a) measuring a density or a luminance of each of a plurality of portions of the image; b) determining an amount of change in density or an amount of change in luminance in a plurality of directions at each of said plurality of portions of the image, according to the density or the luminance measured in said measuring step; c) setting, as a reference point, a portion from said plurality of portions having an amount of change in density along a predetermined direction of the image or having an amount of change in luminance along a predetermined direction of the image is greater than or equal to a predetermined value; d) setting, as a search range for proximate portions near the reference point, a range of portions whose distance from the reference point is within a predetermined distance and which is within an angle range with respect to the reference point, wherein the angle range is determined in accordance with a contour configuration in a direction determined in advance, or a direction in which the amount of change in density at the reference point is greater than or equal to a predetermined value, or the amount of change in luminance at the reference point is greater than or equal to a predetermined value; e) setting a search direction pattern which is to be searched at respective portions in said search range and which expresses a direction in which the density or the luminance changes, based on the contour configuration in a direction determined in advance, or a direction in which the amount of change in density at the reference point is greater than or equal to a predetermined value, or the amount in change in luminance at the reference point is greater than or equal to a predetermined value; f) searching for portions which exist within said search range and whose amount of change in density along a direction expressed by said search direction pattern or amount of change in luminance along the direction expressed by said search direction pattern is greater than or equal to a predetermined value to thereby satisfy a search condition, and wherein when a portion which satisfies the search condition is detected, setting the detected portion as a next reference point; and g) extracting, as a contour line a line formed by connecting a plurality of portions of the image which were set in order as reference points. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
Specification