This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2007-267852 filed on Oct. 15, 2007.
1. Technical Field
The present invention relates to an image reading device, a recording medium storing an image reading program, an image reading method and a data signal.
2. Related Art
In a conventional image reading device (e.g. scanner) that scans and reads an original document placed on a platen, an edge of the original document is matched with a reading start position by placing the original document to an original document positioning guide provided to the platen of the image reading device. However, a slight positional difference between the edge of the original document and the reading start position has frequently occurred. Such positional difference, for example, occurs due to a mechanical deterioration with time or exists even at the time of shipment from a factory. If the reading start position is displaced, for example, if the reading start position exists in the outside of the edge of the original document, image reading is performed for the inside of the original document positioning guide. As a result, the actual read image has a black band corresponding to a portion where the image reading is performed for the portion of the original document positioning guide, resulting in a poor-quality reading image.
A first aspect of the present invention provides an image reading device, which includes: an original document reading section that emits light to an original document and in the vicinity of the original document, receives reflected light and outputs image signals; an original document positioning guide that has at least a first color and a second color on a side receiving the light emitted from the original document reading section, and is used for settling a position of the original document; a detection section that monitors a first image signal in a scanning direction from the first color to the original document and a second image signal in a scanning direction from the second color to the original document, and detects a position for extracting the image signals corresponding to light reflected on the original document on the basis of a change occurring in either of the first image signal or the second image signal.
An exemplary embodiment of the present invention will be described in detail based on the following figures, wherein:
Hereinbelow, an exemplary embodiment of an image reading device, a recording medium storing an image reading program, an image reading method and a data signal according to the present invention will be described in detail with reference to the attached drawings.
As shown in
It should be noted that the original document holder 1 includes, in its inside, a light source that emits light to the platen glass 2 having a carriage that reciprocatingly moves in a sub scanning direction and opposite direction thereto, and an image detection unit, such as CCD line sensor, that receives light emitted from the light source and reflected on the original document placed on the platen glass 2 or a cover (not shown) for holding the original document, and sequentially outputs image signals in a main scanning direction (hereinafter, these components are collectively referred to as a reading section).
The image detection unit in the reading section sequentially outputs image signals of the original document along an arrow shown in
Next, as shown in
As shown in
The original document reading position detection section 8 detects a position where the original document is read on the basis of image signals outputted from the reading section 7.
The image processing section 9 generates a read image of the original document based on the image signals outputted from the reading section 7, and performs various kinds of image processing to the generated read image.
It should be noted that it may be possible to employ a configuration in which an original document reading position detection program having a function of the original document reading position detection section 8 described above is incorporated in a general image reading device 6. In this case, the original document reading position detection program is stored in a storage in the image reading device 6, and a CPU in the image reading device 6 implements the original document reading position detection program stored in the storage. Additionally, the original document reading position detection program may be provided, for example, by being stored in various memories, an optical disc or other recording media, and may be distributed, for example, through a communication line, a network and so on.
Next, a process of detecting the original document reading position implemented by the original document reading position detection section 8 will be described.
The original document reading position detection section 8 determines a position where the change occurs in the graph shown in
The original document reading position detection section 8 determines a position where the change occurs in the graph shown in
Next, an example flow of processing of detecting the original document reading position implemented by the original document reading position detection section 8 will be described with reference to a flowchart shown in
Upon receiving the image signals outputted from the reading section (S601), the original document reading position detection section monitors a change in the density in a scanning direction from the white pattern to the original document (S602). If the density in the scanning direction from the white pattern to the original document does not change (NO in S602), the processing proceeds to S603. If the density in the scanning direction from the white pattern to the original document changes from high to low (YES in S602), the processing proceeds to S604.
If the density in the scanning direction from the white pattern to the original document does not change (NO in S602), the original document reading position detection section monitors a change in the density in a scanning direction from the black pattern to the original document (S603). If the density in the scanning direction from the black pattern to the original document does not change (NO in S603), the processing returns to S602. If the density in the scanning direction from the black pattern to the original document changes from low to high (YES in S603), the processing proceeds to S604.
Then, the original document reading position detection section determines a position where the change occurs as an original document reading position (S604), and ends the processing.
It should be noted that positions where the white and the black patterns are marked are not necessarily limited to the edge portion of the original document positioning guide. It may be possible to make the marking to a location in a distance from the edge portion. If the distance from the edge portion to the marking is known, the original document reading position can be detected based on the known distance.
The foregoing description of the exemplary embodiment of the present invention is provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The exemplary embodiment was chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2007-267852 | Oct 2007 | JP | national |