Image analysis based on location sampling
First Claim
1. An image processing method;
- the method operating on image data, the image data defining an image that includes a first number of locations, the image having an image characteristic relative to each of the locations;
the method measuring the image characteristic for the image to a degree of statistical significance;
the method comprising steps of;
for each of a second number of locations in the image, operating on the image data to obtain respective sample result data, each location'"'"'s sample result data measuring the image characteristic relative to the location;
each location'"'"'s sample result data indicating a measurement in a direction extending from the location;
the direction being the same for each location;
each of the second number of locations being selected by;
randomly obtaining location data indicating one of the locations in the first number of locations;
the location data being randomly obtained in a way that can obtain data indicating any of the first number of locations and that would, over a sufficiently large group of locations, indicate locations evenly distributed among the first number of locations; and
applying a criterion to the image data to determine whether to select the location indicated by the location data as one of the second number of locations; and
combining the respective sample result data of the second number of locations to obtain image result data for the direction;
the second number being smaller than the first number but sufficient that the image result data measure the image characteristic for the image to the degree of statistical significance.
1 Assignment
0 Petitions
Accused Products
Abstract
An image is analyzed by random or pseudorandom sampling. Information about attributes such as skew, typeface, and character size and spacing is obtained by measuring a characteristic at a number of sampled locations and combining the results to obtain a measure of the characteristic for the image. The number of sampled locations is smaller than the number of locations in the image, but is large enough to achieve a degree of statistical significance. The sampled locations can be selected by obtaining a random or pseudorandom number indicating a candidate location and then applying a criterion to determine whether the candidate location is an appropriate starting point for the measurement. For example, the criterion can be that the location must be a pixel within a character or must be a pixel of a given color at an edge. The measurement can indicate a distance from each sampled location in each of a number of directions, such as the distance to an edge. The distances can be combined to obtain data indicating a distribution, such as by averaging. An image can be divided into segments, each of which has a prominent value for a characteristic being measured, by first dividing the image into starting segments, then sampling the starting segments to measure the characteristic, and then grouping the starting segments into larger segments based on the measurements. The starting segments can be rectangles or, for an image with words, can be segments that each include a word or a paragraph.
-
Citations
25 Claims
-
1. An image processing method;
- the method operating on image data, the image data defining an image that includes a first number of locations, the image having an image characteristic relative to each of the locations;
the method measuring the image characteristic for the image to a degree of statistical significance;
the method comprising steps of;for each of a second number of locations in the image, operating on the image data to obtain respective sample result data, each location'"'"'s sample result data measuring the image characteristic relative to the location;
each location'"'"'s sample result data indicating a measurement in a direction extending from the location;
the direction being the same for each location;
each of the second number of locations being selected by;randomly obtaining location data indicating one of the locations in the first number of locations;
the location data being randomly obtained in a way that can obtain data indicating any of the first number of locations and that would, over a sufficiently large group of locations, indicate locations evenly distributed among the first number of locations; andapplying a criterion to the image data to determine whether to select the location indicated by the location data as one of the second number of locations; and combining the respective sample result data of the second number of locations to obtain image result data for the direction;
the second number being smaller than the first number but sufficient that the image result data measure the image characteristic for the image to the degree of statistical significance. - View Dependent Claims (5, 6, 7, 8, 9)
- the method operating on image data, the image data defining an image that includes a first number of locations, the image having an image characteristic relative to each of the locations;
-
2. An image processing method;
- the method operating on image data, the image data defining an image that includes a first number of locations, the image having an image characteristic relative to each of the locations;
the method measuring the image characteristic for the image to a degree of statistical significance;
the method comprising steps of;for each of a second number of locations in the image, each of which is randomly selected, operating on the image data to obtain respective sample result data, each location'"'"'s sample result data measuring the image characteristic relative to the location;
each location'"'"'s sample result data including, for each of a set of two or more directions extending from the location, a respective data item; andcombining the respective sample result data of the second number of locations to obtain image result data;
the second number being smaller than the first number but sufficient that the image result data measure the image characteristic for the image to the degree of statistical significance;
the step of combining the respective sample result data comprising a substep of combining, for each of the set of two or more directions, the respective data items to obtain a respective direction data item. - View Dependent Claims (3)
- the method operating on image data, the image data defining an image that includes a first number of locations, the image having an image characteristic relative to each of the locations;
-
4. An image processing method;
- the method operating on image data, the image data defining an image that includes a first number of locations, the image having an image characteristic relative to each of the locations;
the method measuring the image characteristic for the image to a degree of statistical significance;
the method comprising steps of;for each of a second number of locations in the image, operating on the image data to obtain respective sample result data, each location'"'"'s sample result data measuring the image characteristic relative to the location;
each location'"'"'s sample result data indicating a measurement in a direction extending from the location;
the direction being the same for each location;
the locations in the second number of locations being selected by;for each location in the first number of locations, using the image data to obtain criterion data indicating whether the location meets a criterion; and using the criterion data to randomly obtain location data indicating locations in the second number of locations;
the location data being randomly obtained in a way that can obtain data indicating any of the locations that are indicated to meet the criterion and that would, over a sufficiently large group of locations, indicate locations evenly distributed among locations that are indicated to meet the criterion; andcombining the respective sample result data of the second number of locations to obtain image result data for the direction;
the second number being smaller than the first number but sufficient that the image result data measure the image characteristic for the image to the degree of statistical significance. - View Dependent Claims (10, 11)
- the method operating on image data, the image data defining an image that includes a first number of locations, the image having an image characteristic relative to each of the locations;
-
12. An image processing method;
- the method operating on image data, the image data defining an image that includes a number of locations, the image having an image characteristic relative to each of the locations;
the method comprising;two or more steps of obtaining sample result data, each step of obtaining sample result data comprising substeps of; randomly or pseudorandomly producing respective location data indicating a respective location in the image;
the location data being randomly or pseudorandomly obtained in a way that can obtain data indicating any of the locations in the image and that would, over a sufficiently large group of locations, indicate locations evenly distributed among the locations in the image; andoperating on the image data to obtain respective sample result data measuring the image characteristic relative to the respective location indicated by the respective location data;
the sample result data indicating a measurement in a direction extending from the location;
the direction being the same for each step of obtaining sample result data; anda step of combining the respective sample result data of the respective locations to obtain combined result data for the direction. - View Dependent Claims (15, 16, 17, 18, 19)
- the method operating on image data, the image data defining an image that includes a number of locations, the image having an image characteristic relative to each of the locations;
-
13. An image processing method;
- the method operating on image data, the image data defining an image that includes a number of locations, the image having an image characteristic relative to each of the locations;
the method comprising;two or more steps of obtaining sample result data, each step of obtaining sample result data comprising substeps of; randomly or pseudorandomly producing respective location data indicating a respective location in the image; and operating on the image data to obtain respective sample result data measuring the image characteristic relative to the respective location indicated by the respective location data;
each step'"'"'s sample result data including, for each of a set of two or more directions extending from the respective location, a respective data item; anda step of combining the respective sample result data of the respective locations to obtain combined result data;
the step of combining the respective sample result data comprising a substep of combining, for each of the set of two or more directions, the respective data items to obtain a respective direction data item. - View Dependent Claims (14)
- the method operating on image data, the image data defining an image that includes a number of locations, the image having an image characteristic relative to each of the locations;
-
20. An image processing method;
- the method operating on image data, the image data defining an image that includes a number of locations, the image having an image characteristic relative to each of the locations;
the method comprising;a step of operating on the image data to produce, for each of a set of two or more initial segments of the image, respective initial segment data defining the initial segment; for each initial segment, two or more steps of obtaining sample result data, each step of obtaining sample result data comprising substeps of; randomly or pseudorandomly producing respective location data indicating a respective location in the initial segment; and operating on the initial segment'"'"'s initial segment data to obtain respective sample result data measuring the image characteristic relative to the respective location indicated by the respective location data;
the respective sample result data indicating a measurement in a direction extending from the respective location;
the direction being the same for each step of obtaining sample result data; andfor each initial segment, a step of combining the respective sample result data of locations in the initial segment to obtain combined result data for the direction; and a step of using the combined result data of the initial segments to produce, for a group of the initial segments, grouped segment data defining a larger segment that includes the initial segments in the group. - View Dependent Claims (21, 22, 23, 24, 25)
- the method operating on image data, the image data defining an image that includes a number of locations, the image having an image characteristic relative to each of the locations;
Specification