The present invention relates generally to a scanner apparatus and scanning method, and more particularly relates to technology that digitizes printed information on a medium such as a book or a magazine by scanning
The need for a scanner that can appropriately scan a medium such as a book or a magazine is increasing. For example, Patent Literature 1 discloses a configuration of a scanning device that can reproduce a scanned image of a book, a magazine, or the like not as a split image of individual pages but as one image.
[Patent Literature 1] Japanese Unexamined Patent Application Publication No. 2013-157775
Various size standards exist for a bound medium in a closed state, such as a “Shinsho” size and a “Bunko” size (paperback pocket size). However, in a spread state, a size in a spread direction changes individually due to a binding method, a paper quality, a paper thickness, and the like of the bound medium. Because of this, when scanning the bound medium in the spread state, a slightly larger size needs to be set in the spread direction. In this situation, an acquired scan data comes to include many unnecessary portions, which renders the scan data difficult for a user to view and increases a data amount of the scan data.
In one or more embodiments of the invention, a scanner apparatus is provided that improves readability of the scanned medium and decreases the data size of the scanned medium in a spread state.
A scanner according to one or more embodiments of the invention comprises a spread position acquisition unit that acquires a spread position of a target medium placed in a spread state in a scan area, an effective area determination unit that determines a necessary effective area in the target medium based on the spread position acquired by the spread position acquisition unit, and a data acquisition unit that acquires scan data of the target medium in the effective area determined by the effective area determination unit.
According to this aspect, the spread position acquisition unit may acquire the spread position of the target medium placed in the spread state in the scan area, and the effective area determination unit determines the necessary effective area in the target medium based on the spread position. Moreover, the data acquisition unit acquires the scan data of the target medium in the determined effective area. By this, the scan data is acquired for the effective area determined based on the spread position; therefore, a needless portion is not included in the acquired scan data, scan data that is easy-to-view for a user is obtained, and a data size of the scan data can be kept small.
Furthermore, in the scanner of the above aspect, the effective area determination unit may use size standard information of a bound medium to acquire a vertical size and a horizontal size of the target medium, and use the acquired vertical size and horizontal size to determine the effective area.
According to this configuration, the effective area is determined using the vertical size and the horizontal size of the target medium acquired using the size standard information; therefore, an appropriate effective area can be reliably determined.
Furthermore, in the scanner of the above aspect, the acquired scan data in the effective area may be split into two at a position of a spread centerline of the target medium and respectively saved.
According to this configuration, scan data of one page at a time of the spread pages can be easily acquired in one scanning operation.
Furthermore, in the scanner of the above aspect, a reference index for aligning the position of the spread centerline of the target medium therewith may be provided, or the reference index may be configured to be displayable in the scan area.
According to this configuration, the user can easily align the spread position of the target medium with a predetermined position by referencing the reference index.
Furthermore, the scanner may be of a flatbed type provided with an image sensor, the reference index may be provided on the image sensor, and the image sensor may move to a position that aligns the spread centerline.
According to this configuration, when scanning the target medium in the spread state, the user can easily align the spread position of the target medium with the predetermined position by referencing the reference index provided in the moved image sensor.
Furthermore, in the scanner of the above aspect, the spread position acquisition unit may detect a rectangular region occupied by the target medium in the scan area by image processing, and the effective area determination unit may use coordinate values of four vertices of the rectangular region to estimate the vertical size of the target medium.
By this configuration, the vertical size of the target medium in the spread state can be automatically estimated regardless of where the user places it in the scan area.
Furthermore, in the scanner of the above aspect, the effective area determination unit may detect a concave portion in two long sides of the rectangular region, and detect a line connecting positions of the concave portions as the spread centerline of the target medium.
By this configuration, the position of the spread centerline of the target medium in the spread state can be automatically detected.
In one or more embodiments of the invention, a scanning method that uses an apparatus having a scanning function to scan a target medium of a bound type placed in a spread state in a scan area is provided. According to this method, the apparatus or a computer that can communicate with the apparatus acquires a spread position of the target medium, determines a necessary effective area in the target medium based on the acquired spread position, and acquires scan data of the target medium in the determined effective area.
According to this aspect, the apparatus having the scanning function or the computer connected to the apparatus having the scanning function acquires the spread position of the target medium placed in the spread state and determines the necessary effective area in the target medium based on the acquired spread position. Moreover, the scan data of the target medium in the determined effective area is acquired. By this, the scan data is acquired for the effective area determined based on the spread position; therefore, the needless portion is not included in the acquired scan data, scan data that is easy-to-view for the user is obtained, and the data size of the scan data can be kept small.
A scanner apparatus comprising an image sensor according to one or more embodiments of the invention comprises: a spread position acquisition portion that acquires a center position of a medium placed on a scan area; an effective area determination portion that determines an effective area of the scan area occupied by the medium based on the acquired center position; a data acquisition portion that scans the determined effective area by the image sensor; and a memory that stores data of the scanned effective area in two pieces split at the center position.
A scanning method executed by an apparatus having an image sensor according to one or more embodiments of the invention comprises: acquiring a center position of a medium placed on a scan area; determining an effective area of the scan area occupied by the medium based on the acquired center position; scanning the determined effective area by the image sensor; splitting data of the scanned effective area into two pieces at the center position; and storing on a memory the two pieces of the data.
According to one or more embodiments of the present invention, scan data is acquired for an effective area determined based on a spread position of a target medium in a spread state; as a result, readability for the scan data may be improved, and the size of the scan data may decrease.
Embodiments of the invention will be described in detail below with reference to the drawings. In the present specification, concerning a bound medium in a spread state, a direction in which a back cover extends is defined as a vertical direction and a spread direction is defined as a horizontal direction. Moreover, concerning the bound medium in a closed state, a size in the vertical direction is referred to as a vertical size and a size in the horizontal direction is referred to as a horizontal size.
Furthermore, in a border surrounding the flatbed 11, a marking (or marker) 13 as a reference index (or reference guide) for aligning a spread centerline of the book 5 therewith is labeled. In
The scanning operation in the first example will be described according to
When the book 5 is placed on the flatbed 11 in the spread state, the scanner 1 may acquire a vertical size and a horizontal size of the book 5 (S12). For example, the scanner 1 is configured so a size standard such as a “Shinsho” size or a “Bunko” size (paperback pocket size) can be set and input from the outside. When the user sets and inputs, for example, “Shinsho,” the scanner 1 uses size standard information of the Shinsho size to acquire 182 mm as the vertical size and 103 mm as the horizontal size. Other than this, the scanner 1 may be configured so a numerical value of the vertical size of the book 5 can be set and input from the outside. When the user sets and inputs as the vertical size 145 mm for example, the scanner 1 references each type of size standard information to estimate a “Bunko size” and acquires 105 mm as the horizontal size.
Next, the scanner 1 may use the vertical size and the horizontal size of the book 5 acquired at step S12 to set a necessary effective area of the scan area occupied by the book 5 based on a position of the spread centerline of the book 5 (S13). Here, the scanner 1, based on the position indicated by the marking 13, may set as the effective area a range of an extent corresponding to the acquired vertical size in a downward direction in the drawing and a range of an extent corresponding to the acquired horizontal size in the leftward and rightward directions respectively in the drawing. As now illustrated in
Next, the scanner 1 may scan the effective area set at step S13 according to, for example, an operation of the user (S14). At this time, as illustrated in
Afterward, the scanner 1 may acquire scan data (S15). For example, original data obtained by scanning is split into two pieces at the position of the spread centerline of the book 5 and saved respectively as scan data of two pages, left and right. Alternatively, the original data obtained by scanning may be acquired as-is as scan data of one page.
Furthermore, the scanner 1A is configured to be able to be set to a spread book scan execution mode from the outside; when set to the spread book scan execution mode, as illustrated in
The other example of the scanning operation according to the present embodiment will be described according to
When the book 5 is placed on the flatbed 11 in the spread state, the scanner 1A may acquire the vertical size and the horizontal size of the book 5 (S12). The user may refer to the scale 15 of the image sensor 12A to set and input the size standard to the scanner 1A. The scanner 1A may use the information about the input size standard to acquire the vertical size and the horizontal size. Alternatively, for example, the image sensor 12A may be labeled with markings indicating dimensions from the upper border of the flatbed 11. When the user refers to the markings of the image scanner 12A to set and input the vertical size to the scanner 1A, the scanner 1 refers to the various types of size standard information and acquires the horizontal size.
Subsequently, similarly to the operation example above, the scanner 1A may set the effective area (S13), scan the set effective area (S14), and generate and save the scan data (S15). As illustrated in
As above, according to the present example, the scanners 1, 1A may comprise the marking 13 and the positioning line 14 for aligning the position of the spread centerline of the book 5 therewith. When the user places the book 5 in the spread state on the flatbed 11, the scanners 1, 1A set the effective area based on a spread position (or center position) of the book 5 and acquire the scan data in the effective area. That is, the scan data is acquired for the effective area determined based on the spread position; therefore, waste is eliminated in the acquired scan data, scan data that is easy-to-view for the user is obtained, and the data size of the scan data can be kept small.
Furthermore, in the present example, the scanners 1, 1A may acquire the vertical size and the horizontal size of the book 5 using the size standard information and use the acquired vertical size and horizontal size to determine the effective area based on the position of the spread centerline of the book 5. By this, an appropriate effective area can be reliably determined.
In the above example, the marking 13 labeled in the border of the flatbed 11 and the positioning line 14 of the image sensor 12A may be used as the reference index for aligning the spread centerline of the book 5 therewith, but the example is not limited thereto. Alternatively, for example, in the spread book scan execution mode, when placing the book 5, a line or a point may be indicated by irradiating a laser light to a flatbed 11 side from the image sensor 12A. That is, the scanner according to the present example may comprise the reference index for aligning the spread centerline of the book or the like therewith or configure the reference index for aligning the spread centerline of the book or the like therewith to be displayable in a scan area.
The scanning operation in the present example will be described according to
Next, the scanner 2 may scan according to, for example, the operation of the user (S22). Scanning here may be performed for an entire region of the flatbed 21 since it is not known in which position on the flatbed 21 the book 5 is placed. At this time, a cover of the flatbed 21 may be left open. This is because, as will be described below, a rectangular region occupied by the book 5 in the spread state needs to be detected by an imaging process, and leaving the cover open can generate a large brightness difference in an image between a region in which the book 5 is placed and the remaining region.
The following processing may be automatically performed by the scanner 2. First, the scanner 2 may detect the rectangular region occupied by the book 5 in the spread state on the flatbed 21 by the imaging process from original data acquired at step S22 (S23). For example, as illustrated in
Then, the scanner 2 may estimate the vertical size of the book 5 from the coordinates of the four vertices (A) to (D) (S24). The vertical size is estimated by a computation such as follows.
Vertical size=min (α, β)
Furthermore, the scanner 2 may use the image data including the rectangular region 5A to detect the position of the spread centerline of the book 5 (S25). For example, as illustrated in
Furthermore, the scanner 2 may estimate the horizontal size of the book 5 by referring to the various types of size standard information based on the vertical size estimated at step S24 (S26).
Then, the scanner 2 may use the vertical size of the book 5 estimated at step S24 and the horizontal size of the book 5 estimated at step S26 to set the necessary effective area in the book 5 based on the position of the spread centerline of the book 5 detected at step S25 (S27). That is, in the rectangular region 5A, the ranges of the extent corresponding to the acquired horizontal size are respectively set as the effective area in the horizontal direction based on the position of the centerline.
Then, the scanner 2 may acquire the scan data (S28). For example, the data in the effective area set at step S27 is cut out from the original data obtained at step 22. Then, this data is split into two at the position of the spread centerline of the book 5 and saved respectively as the scan data of two pages, left and right. Alternatively, the data cut out from the effective area may be acquired as-is as the scan data of one page.
As above, according to the present example, when the user places the book 5 on the flatbed 21 in the spread state, the scanner 2 may detect the rectangular region 5A occupied by the book 5 by image processing and set the effective area based on the position of this rectangular region 5A. Moreover, the scan data in the effective area may be acquired. Because of this, the scan data may be acquired for the effective area determined based on the spread position; therefore, waste is eliminated in the acquired scan data, the scan data that is easy-to-view for the user is obtained, and the data size of the scan data can be kept small. Moreover, in the present example, the user has only to place the book 5 on the flatbed 21 and perform a scan execution operation.
Furthermore, the scanner 2 may estimate the vertical size of the book 5 from the detected rectangular region 5A and acquires the horizontal size of the book 5 using the size standard information. Moreover, the position of the spread centerline of the book 5 may be detected from the rectangular region 5A. Moreover, the acquired vertical size and horizontal size may be used to set the effective area based on the position of the spread centerline of the book 5. By this, the appropriate effective area can be reliably determined.
In the present example, the scan data of the set effective area is acquired after the entire region of the flatbed 21 is scanned, but this effective area may be scanned, for example, after first detecting the rectangular region 5A occupied by the book 5 and setting the effective area.
In one or more embodiments of the first example, the user sets the position of the book 5 in alignment with the reference index and inputs the information relating to the vertical size, and in one or more embodiments of the second example, the scanner automatically detects the vertical size and the centerline position of the book 5; however, these may be executed in combination. For example, in the other operation according to one or more embodiment of the first example, the vertical size of the book 5 may be automatically detected by the image sensor 12A. Alternatively, in one or more embodiments of the second example, the user may input the information relating to the vertical size of the book 5 to the scanner 2.
Furthermore, in each example above, the effective area does not need to be set in precise alignment with the acquired vertical size and horizontal size and may be set, for example, with somewhat of a margin.
In one or more embodiments of the first example, the spread position acquisition unit 51 may acquire the position indicated by the reference index labeled on the scanner 1 as the spread position; the effective area determination unit 52 may execute steps S12, S13; and the data acquisition unit 53 may execute steps S14, S15. In one or more embodiments of the second example, the spread position acquisition unit 51 may execute step S23; the effective area determination unit 52 may execute steps S24 to S27; and the data acquisition unit 53 may execute steps S22, S28. Moreover, the recording unit 55 may record or store the scan data in the effective area. For example, the scan data of two pages, left and right, split into two at the position of the spread centerline of the target medium 5 may be stored respectively in the recording unit 55.
Furthermore, in each example above, the scanning operation may be performed by the scanner alone, but alternatively, a scanning operation such as above may be performed using, for example, a scanner connected to a PC or the like. In this situation, the operation input, image processing, and the like described in each embodiment may be executed by the scanner or executed by the PC or the like.
Furthermore, in each example above, description is given with the scanner of the flatbed type as the example, but a scanning operation such as above may be performed using a scanner of another type. For example, an overhead scanner may be used. In this situation, for example, in one or more embodiments of the first example, as the reference index for aligning the position of the spread centerline of the book therewith, a line, a point, or the like may be indicated in the scan area by a laser light from a scanner main body.
Alternatively, a mobile terminal mounted with a camera or the like may be used as the scanner. In this situation, for example, in one or more embodiments of the second example, there is a possibility that the rectangular region occupied by the book 5 will deform into a trapezoid in the image due to an inclination of the mobile terminal relative to the scan area. Because of this, it is favorable to perform processing such as above upon performing image processing that deforms this trapezoidal region into a rectangle.
That is, the scan method described in each example above can be executed by an apparatus having a scan function or a computer that can communicate with the apparatus having the scan function.
Furthermore, in each example above, description is given as scanning the book 5, but a book is but an example of a bound medium; the aforementioned examples are also applicable to scanning another bound medium, such as a magazine, a note, a pamphlet, or the like. Moreover, other than this, the aforementioned examples are applicable to scanning a document enclosed in a binder or the like.
A scanner apparatus and scanning method according to one or more embodiments of the invention is useful in improving an ease-of-viewing of scan data and suppressing a data size in a scanner that scans a medium in a spread state.
Although the disclosure has been described with respect to only a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that various other embodiments may be devised without departing from the scope of the present invention. Those skilled in the art will also appreciate that certain “units” or “portion” described above may be realized by known techniques, including hardware circuits and processors. Accordingly, the scope of the invention should be limited only by the attached claims.
1, 1A, 2 Scanner (scanner apparatus)
5 Book (target medium)
5A Rectangular region
11, 21 Flatbed (scan area)
12, 12A, 22 Image sensor
13 Marking (reference index or reference guide)
14 Positioning line (reference index)
31, 32 Concave portion
51 Spread position acquisition unit (spread position acquisition portion)
52 Effective area determination unit (effective area determination portion)
53 Data acquisition unit (data acquisition portion)
55 Recording unit (memory)
Number | Date | Country | Kind |
---|---|---|---|
2014-209633 | Oct 2014 | JP | national |