Image processing apparatus and method
First Claim
1. Image processing apparatus, comprising:
- scan line set means for arbitrarily setting a scan line on a binary image;
cumulative histogram creation means for examining each pixel on the scan line of the binary image and for creating a cumulative histogram display having a first axis representing a pixel position in the scan line and a second axis perpendicular to the first axis representing a cumulative value;
means for adding a predetermined value to the cumulative value on the second axis whenever a black pixel is detected on the scan line, wherein a position of the cumulative value corresponds to the pixel position on the scan line of the first axis; and
boundary point extraction means for extracting a pixel position on the scan line of the first axis corresponding to a point on a curve of the histogram, the histogram moving from a relatively flat part to a monotone increasing part at a predetermined angle with respect to a direction of the flat part and for detecting a point corresponding to the extracted pixel position from the binary image when a length of the relatively flat part is above a first threshold value and a length of the monotone increasing part is above a second threshold value, wherein the detected point is a boundary point which indicates a transition from the white pixel area to the black pixel area of the binary image.
1 Assignment
0 Petitions
Accused Products
Abstract
An image processing apparatus of the present invention extracts a boundary point between a white pixel area and a black pixel area on a binary image. In the image processing apparatus, a scan line set section sets a scan line on the binary image. A cumulative histogram creation section examines each pixel on the scan line and creates a cumulative histogram, a predetemined value being added whenever one of a black pixel and a white pixel is extracted, corresponding to pixel position of the scan line. A boundary point extraction section extracts a point from the binary image corresponding to a point on the histogram where the display moves from a relatively flat part to a monotone increasing part and determines the pixel position corresponding to the extracted point on the scan line as a boundary point which indicates a transition from one pixel area to the other pixel area.
38 Citations
12 Claims
-
1. Image processing apparatus, comprising:
-
scan line set means for arbitrarily setting a scan line on a binary image; cumulative histogram creation means for examining each pixel on the scan line of the binary image and for creating a cumulative histogram display having a first axis representing a pixel position in the scan line and a second axis perpendicular to the first axis representing a cumulative value; means for adding a predetermined value to the cumulative value on the second axis whenever a black pixel is detected on the scan line, wherein a position of the cumulative value corresponds to the pixel position on the scan line of the first axis; and boundary point extraction means for extracting a pixel position on the scan line of the first axis corresponding to a point on a curve of the histogram, the histogram moving from a relatively flat part to a monotone increasing part at a predetermined angle with respect to a direction of the flat part and for detecting a point corresponding to the extracted pixel position from the binary image when a length of the relatively flat part is above a first threshold value and a length of the monotone increasing part is above a second threshold value, wherein the detected point is a boundary point which indicates a transition from the white pixel area to the black pixel area of the binary image. - View Dependent Claims (2, 3, 4, 5)
-
-
6. Image processing apparatus, comprising:
-
scan line set means for arbitrarily setting a scan line of a binary image; cumulative histogram creation means for examining each pixel on the scan line of the binary image and for creating a cumulative histogram display having a first axis representing a pixel position in the scan line and a second axis perpendicular to the first axis representing a cumulative value; means for adding a predetermined value to the cumulative value on the second axis whenever a white pixel is detected on the scan line, wherein a position of the cumulative value corresponds to the pixel position on the scan line of the first axis; and boundary point extraction means for extracting a pixel position on the scan line of the first axis corresponding to a point on a curve of the histogram, the histogram moving from a relatively flat part to a monotone increasing part at a predetermined angle with respect to a direction of the flat part and for detecting a point corresponding to the extracted pixel position from the binary image when a length of the relatively flat part is above a first threshold value and a length of the monotone increasing part is above a second threshold value, wherein the detected point is a boundary point which indicates a transition from the black pixel area to the white pixel area of the binary image. - View Dependent Claims (7, 8, 9, 10)
-
-
11. Image processing method comprising the steps of:
-
setting a scan line on a binary image arbitrarily; examining each pixel on the scan line of the binary image; creating a cumulative histogram having a first axis representing a pixel position in the scan line and a second axis perpendicular to the first axis representing a cumulative value; adding a predetermined value to the cumulative value on the second axis whenever a black pixel is detected on the scan line, where a position of the cumulative value corresponds to the pixel position on the scan line of the first axis; extracting a pixel position on the scan line corresponding to a point on the curve of the histogram, the histogram moving from a relatively flat part to a monotone increasing part at a predetermined angle with respect to a direction of the flat part; and detecting a point corresponding to the extracted pixel position from the binary image when a length of the relatively flat part is above a first threshold value and a length of the monotone increasing part is above a second threshold value, wherein the detected point is a boundary point which indicates a transition from the white pixel area to the black pixel area of the binary image.
-
-
12. Image processing method comprising the steps of:
-
setting a scan line on a binary image arbitrarily; examining each pixel on the scan line of the binary image; creating a cumulative histogram having a first axis representing a pixel position in the scan line and a second axis perpendicular to the first axis representing a cumulative value; adding a predetermined value to the cumulative value on the second axis whenever a white pixel is detected on the scan line, where a position of the cumulative value corresponds to the pixel position on the scan line of the first axis; extracting a pixel position on the scan line corresponding to a point on the curve of the histogram, the histogram moving from a relatively flat part to a monotone increasing part at a predetermined angle with respect to a direction of the flat part; and detecting a point corresponding to the extracted pixel position from the binary image when a length of the relatively flat part is above a first threshold value and a length of the monotone increasing part is above a second threshold value, wherein the detected point is a boundary point which indicates a transition from the black pixel area to the white pixel area of the binary image.
-
Specification