Image reduction/enlargement technique
First Claim
1. A method of reducing a binary input image to a binary reduced image, via one or more intermediate images, each intermediate image being of the same size as the reduced image and being produced by operating on the input image, wherein the input image includes non-overlapping subregions, each subregion having m rows of n pixels, each subregion corresponding to a respective pixel in the reduced image, the pixel in the reduced image corresponding to a given subregion in the input image being ON if and only if the number of ON pixels in the given subregion is no less than a designated threshold value, the threshold value being greater than 1 and less than mn, the method comprising the steps of:
- performing a set of logical operations between the rows of the input image or one of the intermediate images, designated row operations; and
performing a set of logical operations between the columns of the input image or one of the intermediate images, designated column operations;
wherein at least one of the column and row operations is a logical AND and at least one of the column and row operations is a logical OR;
the sets of column and row operations depending on the values of m, n, and the threshold value, and resulting in the reduced image.
3 Assignments
0 Petitions
Accused Products
Abstract
In brief, a method of reducing an M X N input binary image (M rows of N pixels each) by a factor of m vertically and n horizontally includes the steps of performing at least one logical operation between bits in consecutive groups of m adjacent rows to provide a resultant single row for each group of m rows, and performing at least one logical operation between bits in consecutive groups of n adjacent columns to provide a resultant single column for each groups of n columns. For certain types of reductions, the resulting reduced image will be the desired output image, while for other types, the resultant image will be one of a required plurality of intermediate images, which are then combined to provide the desired output image.
63 Citations
44 Claims
-
1. A method of reducing a binary input image to a binary reduced image, via one or more intermediate images, each intermediate image being of the same size as the reduced image and being produced by operating on the input image, wherein the input image includes non-overlapping subregions, each subregion having m rows of n pixels, each subregion corresponding to a respective pixel in the reduced image, the pixel in the reduced image corresponding to a given subregion in the input image being ON if and only if the number of ON pixels in the given subregion is no less than a designated threshold value, the threshold value being greater than 1 and less than mn, the method comprising the steps of:
-
performing a set of logical operations between the rows of the input image or one of the intermediate images, designated row operations; and performing a set of logical operations between the columns of the input image or one of the intermediate images, designated column operations; wherein at least one of the column and row operations is a logical AND and at least one of the column and row operations is a logical OR; the sets of column and row operations depending on the values of m, n, and the threshold value, and resulting in the reduced image. - View Dependent Claims (2)
-
-
3. A method of reducing a binary input image to a binary reduced image, via one or more intermediate images, each intermediate image being of the same size as the reduced image and being produced by operating on the input image, wherein the input binary image includes non-overlapping subregions, each subregion having m rows of n pixels, each subregion corresponding to a respective pixel in the reduced image, the pixel in the reduced image corresponding to a given subregion in the input image being ON if and only if the number of ON pixels in the given subregion is no less than a designated threshold value, the threshold value being greater than 1 and less than mn, the method comprising the steps of:
-
performing a set of operations between the rows of the input image or one of the intermediate images, designated row operations; and performing a set of operations between the columns of the input image or one of the intermediate images, designated column operations; wherein at least one of the column and row operations is a logical AND and at least one of the column and row operations is a logical OR; and wherein said step of performing column operations includes the step of performing a particular column operation on a particular image, the particular image being the input image or one of the intermediate images, the step of performing the particular column operation on the particular image including the substeps of copying a part of a row of the particular image, shifting the copy of the part of the row of the particular image, logically combining the part of the row and the copy of the part of the row, so shifted, and extracting a subset of the bits representing a part of the image resulting from performing the particular operation on the particular image and corresponding to the part of the row of the particular image; the sets of column and row operations depending on the values of m, n, and the threshold value, and resulting in the reduced image. - View Dependent Claims (4)
-
-
5. A method of reducing a binary input image to a binary reduced image wherein the input image includes non-overlapping subregions, each subregion having m rows of n pixels, each subregion corresponding to a respective pixel in the reduced image, the pixel in the reduced image corresponding to a given subregion in the input image being ON if and only if the number of ON pixels in the given subregion is no less than a designated threshold value, the threshold value being greater than 1 and less than mn, the method comprising the steps of:
-
producing a plurality of intermediate images, each intermediate image being of the same size as the reduced image and being produced by operating on the input image, the step of producing a particular one of the intermediate images including the substeps of performing a set of operations consisting solely of logical operations between all the rows in consecutive groups of m adjacent rows in the input image to produce a smaller image having a number of rows reduced by a factor of m, and performing a set of operations consisting solely of logical operations between all the columns in consecutive groups of n adjacent columns in the smaller image to produce the intermediate image having a number of columns reduced by a factor of n; and performing at least one logical operation between the intermediate images to obtain the reduced image; the sets of operations between rows, the sets of operations between columns, and the at least one logical operation between the intermediate images depending on the values of m, n, and the threshold value, and resulting in the reduced image. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A method of reducing a binary input image to a binary reduced image wherein the input image includes non-overlapping subregions, each subregion having m rows of n pixels, each subregion corresponding to a respective pixel in the reduced image, the pixel in the reduced image corresponding to a given subregion in the input image being ON if and only if the number of ON pixels in the given subregions is no less than a designated threshold value, the threshold value being greater than 1 and less than mn, the method comprising the steps of:
-
producing a plurality of intermediate images, each intermediate image being the same size as the reduced image, the step of producing a particular one of the plurality of intermediate images including the substeps of performing a set of logical operations between the rows of the input image to obtain a smaller image, each row of the smaller image corresponding to a respective group of m adjacent rows in the input image, and performing a set of logical operations between the columns of the smaller image to obtain the particular intermediate image, each column in the particular intermediate image corresponding to a respective group of n adjacent columns in the smaller image; and performing at least one logical operation between the intermediate images to obtain the reduced image; the sets of operations between rows, the sets of operations between columns, and the at least one logical operation between the intermediate images depending on the values of m, n, and the threshold value, and resulting in the reduced image; wherein said step of performing a set of logical operations between the columns of the smaller image to obtain the particular intermediate image includes the substeps of copying a part of a row of the smaller image, shifting the copy of the part of the row of the smaller image, logically combining the part of the row and the copy of the part of the row, so shifted, and extracting a subset of the bits representing a part of the particular intermediate image corresponding to the part of the row of the smaller image. - View Dependent Claims (11)
-
-
12. A method of performing a 2×
- 2 reduction with a threshold of 2 on a binary input image to produce a reduced image, the method comprising the steps of;
logically ORing pairs of adjacent rows in the input image to provide a first intermediate image having a reduced number of rows; logically ANDing pairs of adjacent columns in the first intermediate image to provide a second intermediate image having a reduced number of rows and columns; logically ANDing pairs of adjacent rows in the input image to provide a third intermediate image having a reduced number of rows; logically ORing pairs of adjacent columns in the third intermediate image to provide a fourth intermediate image having a reduced number of rows and columns; and logically ORing the second and fourth intermediate images to provide the reduced image. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 26)
- 2 reduction with a threshold of 2 on a binary input image to produce a reduced image, the method comprising the steps of;
-
20. A method of performing a 2×
- 2 reduction with a threshold of 3 on a binary input image to produce a reduced image, the method comprising the steps of;
logically ORing pairs of adjacent rows in the input image to provide a first intermediate image having a reduced number of rows; logically ANDing pairs of adjacent columns in the first intermediate image to provide a second intermediate image having a reduced number of rows and columns; logically ANDing pairs of adjacent rows in the input image to provide a third intermediate image having a reduced number of rows; logically ORing pairs of adjacent columns in the third intermediate image to provide a fourth intermediate image having a reduced number of rows and columns; and logically ANDing the second and fourth intermediate images to provide the reduced image. - View Dependent Claims (21, 22, 23)
- 2 reduction with a threshold of 3 on a binary input image to produce a reduced image, the method comprising the steps of;
-
24. A method of performing an m-by-n thresholded reduction on a binary input image to obtain a binary reduced image, the thresholded reduction being characterized by a threshold value that is greater than 1 and less than mn, the method comprising the steps of:
-
producing a plurality of intermediate images, each intermediate image being the same size as the input image and including one or more non-overlapping m-by-n rectangular arrays of pixels; a particular one of the plurality of intermediate images being produced by subjecting the input image to a corresponding particular one of a plurality of sequences of morphological operations, each morphological operation in the particular one of the plurality of sequences being performed with a solid structuring element (SE); performing at least one logical operation among the intermediate images to produce a final intermediate image; and subsampling the final intermediate image by selecting the pixel located in a predetermined position of each m-by-n array of pixels, thereby producing the reduced image; the plurality of sequences of morphological operations, and the at least one logical operation among the intermediate images depending on the values of m, n, and the threshold value, and resulting in the reduced image.
-
-
25. A method of performing a 2×
- 2 reduction with a threshold of 1 on a binary input image to obtain a binary reduced image, the method comprising the steps of;
subjecting the input image to a dilation operation with a respective solid 1×
2 horizontal structuring element (SE) having its center at a respective predetermined position to produce a resultant image;subjecting the resultant image to a dilation operation with a solid 2×
1 vertical SE having its center at a respective predetermined position to produce an intermediate image, wherein the intermediate image comprises one or more non-overlapping 2×
2 rectangular arrays of pixels; andsubsampling the intermediate image by selecting the pixel located in a predetermined position of each array of pixels, thereby producing the reduced image.
- 2 reduction with a threshold of 1 on a binary input image to obtain a binary reduced image, the method comprising the steps of;
-
27. A method of performing a 2×
- 2 reduction with a threshold of 4 on a binary input image to obtain a binary reduced image, the method comprising the steps of;
subjecting the input image to an erosion operation with a respective solid 1×
2 horizontal structuring element (SE) having its center at a respective predetermined position to produce a resultant image;subjecting the resultant image to an erosion operation with a solid 2×
1 vertical SE having its center at a respective predetermined position to produce an intermediate image, wherein the intermediate image comprises one or more non-overlapping 2×
2 rectangular arrays of pixels; andsubsampling the intermediate image by selecting the pixel located in a predetermined position of each array of pixels, thereby producing the reduced image. - View Dependent Claims (28)
- 2 reduction with a threshold of 4 on a binary input image to obtain a binary reduced image, the method comprising the steps of;
-
29. A method of performing a 2×
- 2 reduction with a threshold of 2 on a binary input image to obtain a binary reduced image, the method comprising the steps of;
dilating the input image with a first solid 1×
2 horizontal structuring element (SE) to provide a first intermediate image;eroding the first intermediate image with a first solid 2×
1 vertical SE to produce a second intermediate image;eroding the input image with a second solid 1×
2 horizontal SE to produce a third intermediate image;dilating the third intermediate image with a second solid 2×
1 vertical SE to produce a fourth intermediate image; andlogically ORing the second and fourth intermediate images to provide a fifth intermediate image, wherein the fifth intermediate image comprises one or more non-overlapping 2×
2 rectangular arrays of pixels;subsampling the fifth intermediate image by selecting the pixel located in a predetermined position of each array of pixels, thereby producing the reduced image. - View Dependent Claims (30)
- 2 reduction with a threshold of 2 on a binary input image to obtain a binary reduced image, the method comprising the steps of;
-
31. A method of performing a 2×
- 2 reduction with a threshold of 3 on a binary input image to obtain a binary reduced image, the method comprising the steps of;
dilating the input image with a first solid 1×
2 horizontal structuring element (SE) to provide a first intermediate image;
eroding the first intermediate image with a first solid 2×
1 vertical SE to produce a second intermediate image;eroding the input image with a second solid 1×
2 horizontal SE to produce a third intermediate image;dilating the third intermediate image with a second solid 2×
1 vertical SE to produce a fourth intermediate image; andlogically ANDing the second and fourth intermediate images to provide a fifth intermediate image, wherein the fifth intermediate image comprises one or more non-overlapping 2×
2 rectangular arrays of pixels;subsampling the fifth intermediate image by selecting the pixel located in a predetermined position of each array of pixels, thereby producing the reduced image. - View Dependent Claims (32)
- 2 reduction with a threshold of 3 on a binary input image to obtain a binary reduced image, the method comprising the steps of;
-
33. A method of performing a 2×
- 2 reduction with a threshold of 2 on a binary input image to produce a reduced image, the method comprising the steps of;
logically ANDing pairs of adjacent columns in the input image to provide a first intermediate image having a reduced number of rows and columns; logically ORing pairs of adjacent rows in the first intermediate image to provide a second intermediate image having a reduced number of rows; logically ORing pairs of adjacent columns in the input image to provide a third intermediate image having a reduced number of rows and columns; logically ANDing pairs of adjacent rows in the third intermediate image to provide a fourth intermediate image having a reduced number of rows; and logically ORing the second and fourth intermediate images to provide the reduced image with a threshold of 2. - View Dependent Claims (34, 35, 36)
- 2 reduction with a threshold of 2 on a binary input image to produce a reduced image, the method comprising the steps of;
-
37. A method of performing a 2×
- 2 reduction with a threshold of 3 on a binary input image to produce a reduced image, the method comprising the steps of;
logically ANDing pairs of adjacent columns in the input image to provide a first intermediate image having a reduced number of rows and columns; logically ORing pairs of adjacent rows in the first intermediate image to provide a second intermediate image having a reduced number of rows; logically ORing pairs of adjacent columns in the input image to provide a third intermediate image having a reduced number of rows and columns; logically ANDing pairs of adjacent rows in the third intermediate image to provide a fourth intermediate image having a reduced number of rows; and logically ANDing the second and fourth intermediate images to provide the reduced image with a threshold of 3. - View Dependent Claims (38, 39, 40)
- 2 reduction with a threshold of 3 on a binary input image to produce a reduced image, the method comprising the steps of;
-
41. A method of reducing a binary input image to a reduced image wherein the input image includes non-overlapping subregions, each subregion having m rows of n pixels, each subregion corresponding to a respective pixel in the reduced image, the pixel in the reduced image corresponding to a given subregion in the input image being ON if and only if the number of ON pixels in the given subregion is no less than a designated threshold value, the threshold value being greater than 1 and less than mn, the method comprising the steps of:
-
producing a plurality of intermediate images, each intermediate image being of the same size as the reduced image and being produced by operating on the input image, the step of producing a particular one of the intermediate images including the substeps of performing a set of operations consisting solely of logical operations between all the columns in consecutive groups of n adjacent columns in the input image to produce a smaller image having a number of columns reduced by a factor of n, and performing a set of operations consisting solely of logical operations between all the rows in consecutive groups of m adjacent rows in the smaller image to produce the intermediate image having a number of rows reduced by a factor of m; and performing at least one logical operation between the intermediate images to obtain the reduced image. - View Dependent Claims (42)
-
-
43. A method of performing an m-by-n thresholded reduction on a binary input image to obtain a binary reduced image, the method comprising the steps of:
-
subjecting the input image to a plurality of sequences of morphological operations, each morphological operation with a respective solid structuring element (SE), to produce a corresponding plurality of intermediate images, wherein each intermediate image comprises one or more non-overlapping m-by-n rectangular arrays of pixels; performing at least one logical operation among the intermediate images to produce a final intermediate image; and subsampling the final intermediate image by selecting the pixel located in a predetermined position of each array of pixels, thereby producing the reduced image, wherein one of the sequences comprises; dilating the input image with a solid horizontal SE having its center at a respective predetermined position to produce a resultant image; and eroding the resultant image with a solid vertical SE having its center at a respective predetermined position to produce the intermediate image.
-
-
44. A method of performing an m-by-n thresholded reduction on a binary input image to obtain a binary reduced image, the method comprising the steps of:
-
subjecting the input image to a plurality of sequences of morphological operations, each morphological operation with a respective solid structuring element (SE), to produce a corresponding plurality of intermediate images, wherein each intermediate image comprises one or more non-overlapping m-by-n rectangular arrays of pixels; performing at least one logical operation among the intermediate images to produce a final intermediate image; and subsampling the final intermediate image by selecting the pixel located in a predetermined position of each array of pixels, thereby producing the reduced image, wherein one of the sequences comprises; eroding the input image with a solid horizontal SE having its center at a respective predetermined position to produce a resultant image; and dilating the resultant image with a solid vertical SE having its center at a respective predetermined position to produce the intermediate image.
-
Specification