Embodiments described herein relate generally to an image processing device, an image processing method, and a non-transitory storage medium.
In the related art, a large-scaled mechanism such as a document feeder (DF) is necessary for a scanner when automatically scanning both faces of the original document. Meanwhile, high performance of a mobile terminal such as a smart phone is progressing. For example, in a mobile terminal on which a camera is mounted, there is a mobile terminal which has a function of outputting image data captured by a camera to an image processing device such as a digital multi-functional peripheral or a printer. However, in the related art, it is not easy to simply obtain image data on both faces of the original document by causing a scanner and a mobile terminal to cooperate in a simple configuration.
An object of an exemplary embodiment is to provide an image processing device, an image processing method, and a non-transitory storage medium in which it is possible to simply obtain desired image data by causing a scanner and a mobile terminal to cooperate in a simple configuration.
According to an embodiment, an image processing device includes a document table, a scanner, a document table cover, a holder, a communication interface, and a processor. The document table has the original document reading region on which the original document is placed. The scanner reads an image of the original document in the original document reading region from under the document table. The document table cover includes a mechanism which is openable and closeable, covers the original document reading region in a closed state, and a side end portion thereof stops above the original document reading region in an open state. The holder is provided in the side end portion of the document table cover, and holds a mobile terminal provided with a camera in the upper part of the document table, in a state in which the document table cover is stopped in the open state. The communication interface communicates with the mobile terminal which is held by the holder. The processor obtains image data in which the document table is captured from the upper part, using the camera of the mobile terminal, and generates image data on both faces of the original document in which image data obtained from the mobile terminal, and image data read by the scanner are combined.
Hereinafter, an embodiment will be described using drawings.
The image reading system illustrated in
First, a configuration of the digital multi-functional peripheral (MFP) 1 will be described.
As illustrated in
The scanner 11 is provided at the upper part of the main body of the digital multi-functional peripheral 1. The scanner 11 is an image reading apparatus which optically reads an image of the original document, and converts the image into image data. A configuration example of the scanner 11 will be described later.
The printer 12 prints an image on a sheet as a medium for image forming. For example, the printer 12 prints an image of the original document which is read by the scanner 11 on a sheet. In addition, the printer 12 may print an image on a sheet based on image data which is received through a network, or the like. An image forming method of the printer 12 is not limited to a specific method, and the printer may be an electro-photographic printer, an ink jet printer, and a thermal transfer printer.
The operation panel 13 is a user interface. The operation panel 13 includes a display unit 13a which displays a guide, or the like, and an operation unit 13b such as an operation button, or a touch panel which receives an input of an icon. A user instructs a start of scanning, or copying, in the operation panel 13. In addition, in double-sided processing of the original document in which the MFP 1, which will be described later, and the mobile terminal 2 are caused to cooperate, an operation instruction is input, in the operation panel 13.
Subsequently, a configuration of the scanner 11 will be described.
In the configuration example illustrated in
The document table 21 is a table on which the original document is placed. The document table 21 is configured of a transparent member such as glass.
The lighting unit 23, and an optical system such as a mirror are mounted on a carriage 22. The lighting unit 23 is configured of a light source 46 (refer to
The carriage 22 moves the lower part of the document table 21 using a movement mechanism 45 (refer to
The photoelectric conversion unit 24 includes a lens, a photoelectric conversion sensor 47 (refer to
The document table cover 25 is installed so as to be openable or closeable. The document table cover 25 covers the original document reading region in the document table 21 in a closed state. The document table cover 25 has a function of being stopped in an open state. In the document table cover 25, a side end portion on the near side stops at a position which is the upper part of the original document reading region in the document table 21, in the open state.
The holding stay 26 is provided at the side end portion on the near side in the document table cover 25. The holding stay 26 holds the mobile terminal 2. The holding stay 26 includes a first stay 26a and a second stay 26b. The first stay 26a and the second stay 26b interpose the mobile terminal 2 therebetween, for example. The first stay 26a and the second stay 26b hold the mobile terminal 2 so that a camera 2a faces the document table 21, at the side end portion of the document table cover 25 in an open state.
For example, the first stay 26a and the second stay 26b are installed so as to be rotatable, respectively, by setting an installation portion to a rotation center, at the side end portion of the document table cover 25. When the mobile terminal 2 is held, the first stay 26a and the second stay 26b are moved to a position at which the mobile terminal 2 is interposed. The first stay 26a and the second stay 26b are configured so as to be stored along the side end portion of the document table cover 25, in a state in which the document table cover 25 is closed. In this manner, the holding stay 26 can be stored by being folded so as not to be obstructive when opening or closing the document table cover 25, when the mobile terminal 2 is not used.
The first stay 26a and the second stay 26b are moved to a position of interposing the mobile terminal 2 therebetween, in a state in which the document table cover 25 is opened. As illustrated in
Subsequently, a configuration of a control system of the digital multi-functional peripheral 1 will be described.
The digital multi-functional peripheral 1 includes a system control unit 14 which controls the entire apparatus. The system control unit 14 is connected to the scanner 11, the printer 12, and the operation panel 13 through a system bus, or the like.
In the configuration example illustrated in
The processor 31 controls the entire digital multi-functional peripheral. The processor 31 includes an operating circuit which executes various processing, by executing a program. The processor 31 is a CPU, for example. The processor 31 is connected to each unit in the apparatus through the system bus. The processor 31 inputs information denoting a detection signal, an operation state, and the like, of various sensors which are installed in each unit in the apparatus.
The processor 31 can be connected not only to each unit in the system control unit 14 but also to the scanner 11, the printer 12, the operation panel 13, and the like, through the system bus. The processor 31 outputs an operation instruction to each unit, or obtains various information from each unit by performing a bidirectional communication among the scanner 11, the printer 12, and the operation panel 13.
The RAM 32 functions as a working memory, or a buffer memory. The ROM 33 is a non-rewritable and non-volatile memory which stores a program, control data, and the like. The processor 31 executes various processing by executing a program stored in the ROM 33 (or, in non-volatile memory 34) while using the RAM 32. For example, the processor 31 executes a control of communicating with the mobile terminal 2, generating processing of an image file, or the like, by executing the program.
The non-volatile memory 34 is a rewritable non-volatile memory. The non-volatile memory 34 stores a control program executed by the processor 31, and control data. In addition, the non-volatile memory 34 stores set information, processing conditions, or the like.
The page memory 35 is a memory for developing image data as a processing target. For example, the page memory 35 stores image data which is read by the scanner 11 or image data which is captured by the mobile terminal 2.
The image processing unit 36 has an input image processing function in which input image data is processed, and an output image processing function in which image data to be output is processed. For example, the image processing unit 36 performs a resolution conversion, adjusting of brightness, adjusting of contrast, adjusting of chroma, adjusting of sharpness, or the like, with respect to image data as the input image processing function. The image processing unit 36 has a processing function of converting into image data for printing, as the output image processing function. The image processing unit 36 may have a compression processing function in which image data is compressed, and an extension processing function in which compressed image data is extended.
The communication interface 37 is an interface for communicating with the mobile terminal 2. For example, the communication interface 37 communicates with the mobile terminal 2 using wireless communication. The communication interface 37 may be an interface which communicates with the mobile terminal 2 using short-distance wireless communication. In addition, the communication interface 37 may have a function as an interface for communicating with an external device such as a server through a network.
In the configuration example illustrated in
The processor 41 controls the scanner 11. The processor 41 includes an operating circuit which executes processing by executing a program. The processor 41 is a CPU, for example. The processor 41 is connected to each unit in the scanner 11 through a system bus. In addition, the processor 41 is also connected to the system bus in the system control unit 14. The processor 41 controls an operation of the scanner 11 according to an operation instruction from the processor 31 of the system control unit 14. In addition, the processor 41 outputs an output signal of each sensor in the scanner 11 to the system control unit 14.
The RAM 42 functions as a working memory or a buffer memory. The ROM 43 is a non-volatile memory which stores a program, control data, and the like. In addition, as the ROM 43, a rewritable non-volatile memory which stores a program, control data, information to be set, processing conditions, and the like, may be included. The processor 41 executes various processing by executing a program which is stored in the ROM 43 while using the RAM 42.
The image processing unit 44 has a function of processing image data (output signal of line sensor 47) which is scanned. For example, the image processing unit 44 executes shading correction processing, grayscale conversion processing, correction processing between lines, and the like, with respect to image data which is read by the scanner 11.
The movement mechanism 45 is a mechanism which moves the carriage 22. The movement mechanism 45 includes a stepping motor as a driving source, and moves the carriage 22 by driving the stepping motor. The movement mechanism 45 moves the carriage 22 according to an operation instruction from the processor 31 of the system control unit 14 or the processor 41. For example, the processor 41 moves the carriage 22 from a reading start position in the sub-scanning direction (FWD direction) when the original document on the document table 21 is scanned. In addition, the processor 41 moves the entire original document reading region of the carriage 22 when the entire original document reading region is also illuminated.
The light source 46 configures the lighting unit 23. The light source 46 emits light which radiates the original document reading region of the document table 21. The light source 46 emits light according to a lighting instruction from the processor 41. The light source 46 is not limited to a specific configuration. The light source 46 may be a light source in which radiated light is input to the photoelectric conversion sensor 47 as reflected light from the original document which is mounted on the original document reading region in the document table 21.
The photoelectric conversion sensor 47 is configured of a photoelectric conversion element which converts input light into an electric signal. According to the embodiment, the photoelectric conversion sensor 47 is set to a line sensor which generates pixel data of lines which are read in the main scanning direction. Light guided by an optical system which is mounted on the carriage 22 is input to the photoelectric conversion sensor 47 through a lens. The carriage 22 guides light of lines which are read in the main scanning direction in the original document reading region of the document table 21 to the photoelectric conversion unit 24. The photoelectric conversion unit 24 condenses light from the carriage 22 using the lens, and inputs the light to the photoelectric conversion sensor 47. The photoelectric conversion sensor 47 successively outputs pixel data of lines which are read in the main scanning direction on the original document face, according to a movement of the carriage 22 in the sub-scanning direction. In this manner, the photoelectric conversion sensor 47 outputs pixel data of the entire original document face.
The system control unit 14 may be set so as to function as a control unit of the scanner 11, and configure an image reading apparatus (image processing device) using the scanner 11 and the system control unit 14. It may be a configuration in which the scanner 11 is realized as the image reading apparatus, when the processor 41 has the same function as that of the processor 31 of the system control unit 14 which will be described later. In descriptions below, it is set so that the processor 31 of the system control unit 14 mainly executes various processing functions. However, these processing functions may be executed by the processor 41 of the scanner 11.
Subsequently, a configuration of the mobile terminal 2 will be described later.
As illustrated in
The processor 51, the RAM 52, and the ROM 53 configure a control unit which controls the mobile terminal 2. The processor 51 executes various processing functions by executing a program. The processor 51 is a CPU, for example. The processor 51 is connected to each unit in the mobile terminal 2 through a bus. The processor 51 executes various processing by executing a program which is stored in the ROM 53 or the storage device 54. For example, the processor 51 executes a basic operation control of the mobile terminal 2 by executing a program of an operating system (OS). The processor 51 executes various processing by executing an application program (application) which is designed according to processing contents.
The RAM 52 and the ROM 53 configure a system memory for causing the processor 51 to be operated. The RAM 52 is a volatile memory. The RAM 52 is used as a work area in which data temporarily used is stored. The ROM 53 is a non-volatile memory. The ROM 53 stores various programs such as an OS program which is executed by the processor 51, or an application.
The storage device 54 is a rewritable non-volatile memory. The storage device 54 is configured of, for example, an HDD, an SSD, an EEPROM (registered trademark), or the like. In addition, the storage device 54 stores various applications, control data, user data, and the like. The storage device 54 includes a storage region 54a as a storage medium in which an application is stored. For example, the storage region 54a stores an application for communicating with the MFP 1, an application which extracts an original document image from an image captured by the camera 55, and the like. In addition, the storage region 54a may store an application in which image data on both faces of the original document are set to a file from an image read by the scanner 11 and an image read by the camera 55.
The camera 55 captures an image. The camera 55 captures an image in a region including the original document reading region on the document table 21 in a state of being set in the holding stay 26 of the MFP 1. The camera 55 may be a general camera mounted on a smart phone, a mobile phone, a tablet PC, or the like, which is used as the mobile terminal 2. In addition, the mobile terminal 2 may be a terminal which is provided with a light which illuminates a region captured by the camera 55.
The communication interface 56 is an interface for communicating with the MFP 1. According to the embodiment, the communication interface 56 is set to an interface for communicating with the MFP 1 using short-distance wireless communication. As the short-distance wireless communication using the communication interface 56, communication using non-contact communication such as NFC may be included. In addition, the communication interface 56 may be an interface for communicating with the MFP 1 through a wireless LAN, or the like, and may be an interface for performing communication in a wired manner.
In the display device 57, display contents, or the like, is controlled by the processor 51. The touch panel 58 is an input device for inputting an operation instruction by a user. As the input device, a button such as a ten key, a keyboard, or the like, may be provided, in addition to the touch panel. The touch panel 58 supplies an operation instruction which is input by a user to the processor 51. For example, the display device 57 and the touch panel 58 are integrally configured as a display device with a touch panel.
Subsequently, a processing example in which image data in an original document region is obtained from a captured image captured by the camera 55 of the mobile terminal 2 will be described.
The mobile terminal 2 is set in the holding stay 26 by causing the camera 55 to face the document table 21, in a state in which the document table cover 25 is open. The camera 55 of the mobile terminal 2 which is set in the holding stay 26 in this state captures an image in a capturing range including the original document reading region of the document table 21. In this case, as illustrated in
In the embodiment, the mobile terminal 2 which is set in the holding stay 26 adjusts (sets) the original document reading region in an image captured by the camera 55 as an effective capturing range in advance. The mobile terminal 2 extracts image data of the original document from an image captured by the camera 55 based on the adjusted effective capturing range. The process of adjusting the effective capturing range (adjusting processing of effective capturing range) is described as processing performed by the mobile terminal 2; however, the MFP 1 may perform the processing.
The camera 55 captures halation image in an overexposure state, when a light which the camera 55 faces is turned on. When the carriage 22 is moved in the sub-scanning direction in a state in which the lighting unit 23 is turned on, the camera 55 captures the original document reading region as a halation image region, when there is no original document on the document table 21.
For example, the mobile terminal 2 captures an image by setting the camera 55 to a long-time exposure mode, while the carriage 22 in which the lighting unit 23 is turned on is moving in the original document reading region. Then, as illustrated in
It is also possible to specify distortion, or the like, which is caused by an inclination of the mobile terminal 2, or the like, based on a shape of a region of the white image in the captured image illustrated in
Subsequently, an example of detecting processing in which an original document region is detected will be described.
The captured image illustrated in
When the carriage 22 is moved in the sub-scanning direction by turning on the lighting unit 23 while placing the original document D on the document table 21, the camera 55 captures the image illustrated in
The captured image illustrated in
Subsequently, double-sided processing of the original document using cooperation between the MFP 1 in the embodiment and the mobile terminal 2 will be described.
First, a user starts up an application for causing the MFP to cooperate, in the mobile terminal 2. When the application for causing the MFP to cooperate is started up, the user sets the mobile terminal 2 in the holding stay 26 in a state in which the document table cover 25 is opened. The processor 51 of the mobile terminal 2 sends a connection request to the MFP 1 through the communication interface 56, by executing an application.
The system control unit 14 of the MFP 1 receives the connection request from the mobile terminal 2 using the communication interface 37. The processor 31 of the system control unit 14 performs a communication connection to the mobile terminal 2 according to the connection request from the mobile terminal 2 (Yes in ACT 11). When the communication connection with the mobile terminal 2 is established, the processor 31 displays an operation screen for a cooperation operation with the mobile terminal 2 on the operation panel 13, as an operation mode in which an operation cooperated with the mobile terminal 2 is possible (ACT 12). For example, the operation panel 13 displays the operation screen for the cooperation operation including a button for instructing a start of adjusting processing of the effective capturing range which can be selected in a touch panel 13b on a display unit 13a.
When the start of adjusting processing of the effective capturing range is instructed (Yes in ACT 13), the processor 31 executes the adjusting processing of the effective capturing range (ACT 14). The adjusting processing of the effective capturing range is processing for setting the original document reading region in an image captured by the camera 55 of the mobile terminal 2 to the effective capturing range. The adjusting processing of the effective capturing range will be described in detail later.
In addition, the processor 31 receives processing for reading both faces of the original document on the document table 21 (hereinafter, referred to as double-sided reading processing) using the camera 55 of the mobile terminal 2 (ACT 15). When the double-sided reading processing is instructed in the operation panel 13 (Yes in ACT 15), the processor 31 checks whether or not the adjusting processing of the effective capturing range is completed (ACT 16).
When the adjusting processing of the effective capturing range is not completed (No in ACT 16), the processor 51 displays a guide which promotes executing of the adjusting processing of the effective capturing range (ACT 17), and returns to ACT 13. When double-sided reading presupposes a completion of the adjusting processing of the effective capturing range, the processor 31 may set the instruction of the double-sided reading processing to be ineffective until the adjusting processing of the effective capturing range is completed.
When the adjusting processing of the effective capturing range is completed (Yes in ACT 16), the processor 51 executes the double-sided reading processing which is cooperated with the mobile terminal 2 (ACT 18). Here, the double-sided reading processing is processing in which an image on a first face (front face) of the original document which is read by the scanner 11, and an image on a second face (rear face) of the original document which is captured by the camera 55 of the mobile terminal 2 are obtained. In the double-sided reading processing, it assumes that image data (image file) on both faces of the original document including image data on the first face of the original document, and image data on the second face of the original document are generated. The double-sided reading processing cooperated with the mobile terminal 2 will be described in detail later.
When the image data on both faces of the original document are generated in the double-sided reading processing cooperated with the mobile terminal 2, the processor 31 outputs the image data on both faces of the original document (ACT 19). For example, when copying the both faces of the original document, the processor 31 generates images for printing on the first face (front face) and the second face (rear face) of a sheet, and supplies the images to the printer 12. In this manner, the printer 12 prints the images on both faces of the original document which are obtained in the double-sided reading processing on both faces of the sheet. In addition, when the both faces of the original document are supplied to the mobile terminal 2, the processor 31 supplies the generated image data on both faces to the mobile terminal 2 through the communication interface 37.
Subsequently, the adjusting processing of the effective capturing range will be described.
When the adjusting processing of the effective capturing range is instructed, as illustrated in
In addition, the adjusting processing of the effective capturing range is based on the premise that the original document is not mounted on the document table 21. For this reason, the processor 31 may display a guide of not mounting the original document on the document table 21 on the operation panel 13. The processor 31 may detect that there is no original document on the document table 21 using an original document detecting sensor. In this case, when it is detected that there is the original document on the document table 21, the processor 31 may display a guide of removing the original document, or stop the processing.
When radiating of light to the entire original document reading region is completed (Yes in ACT 23), the processor 31 instructs the mobile terminal 2 to detect the effective capturing range (or, ending of capturing in long-time exposure mode) (ACT 24). After instructing the detection of the effective capturing range, the processor 31 determines that the adjusting processing of the effective capturing range is ended, based on a notification of ending of adjusting from the mobile terminal 2 (ACT 25). When it is determined that the adjusting processing of the effective capturing range is ended, the processor 31 ends the process by holding information denoting that the mobile terminal 2 ends the adjustment in the RAM 32, or the like.
Meanwhile, as illustrated in
When capturing in the long-time exposure mode is ended, the processor 51 performs detecting processing of the effective capturing range based on an image captured in the long-time exposure mode using the camera 55 (ACT 33). Here, the camera 55 captures a capturing region including the entire original document reading region to which light is radiated in a state in which there is no original document on the document table 21. For this reason, as illustrated in
As described above, the processor 51 detects the effective capturing range as the original document reading region by detecting a white image from the image captured by the camera 55. When the effective capturing range is detected, the processor 51 sets the effective capturing range by holding information denoting the effective capturing range which is detected in the memory such as the RAM 52 (ACT 34). When the effective capturing range is set, the processor 51 notifies the MFP 1 of information denoting a completion of adjusting (setting) of the effective capturing range (ACT 35), and ends the processing.
Subsequently, double-sided reading processing in which the MFP 1 and the mobile terminal 2 are cooperated will be described.
When the double-sided reading processing is instructed in the operation panel 13, as illustrated in
In the scanning processing, the scanner 11 obtains an image signal denoting an image of the original document using the photoelectric conversion unit 24, by turning on the lighting unit 23, and moving the carriage 22. Here, in the scanning processing, the scanner 11 is set so as to radiate light to the entire original document reading region, by moving the carriage 22 in which the lighting unit 23 is turned on.
When the scanning processing is completed (Yes in ACT 43), the processor 31 instructs the mobile terminal 2 to detect an original document region (or, ending of capturing in long-time exposure mode) (ACT 44). After instructing detecting of the original document region, the processor 31 instructs the mobile terminal 2 to capture the original document (image on second face (rear face) of original document) (ACT 45). After instructing capturing of the original document, the processor 31 receives image data as an image on the second face (rear face) of the original document from the mobile terminal 2 (ACT 46).
When receiving image data from the mobile terminal 2, the processor 31 generates image data on both faces of the original document using the image data read by the scanner 11 and the image data received from the mobile terminal 2 (ACT 47). The processor 31 generates reading results on both faces of the original document in which the image data read by the scanner 11 is set to the front face of the original document, and the image data received from the mobile terminal 2 is set to the rear face of the original document. The reading results on both faces of the original document may be generated as an image file including the image data on the front face and the image data on the rear face. In addition, the processor 31 may perform processing of correcting any one, or both of image data according to characteristics of the scanner 11 and the camera 55 of the mobile terminal 2.
Meanwhile, as illustrated in
Here, the scanner 11 of the MFP 1 is set to radiate light to the entire original document reading region in the scanning processing. Accordingly, when the scanning processing by the scanner 11 ends, the image captured by the camera 55 in the long-time exposure mode becomes the image illustrated in
When the original document region is detected, the processor 51 captures an image of the original document on the document table 21 using the camera 55 (ACT 54). For example, the processor 51 captures an image in a range including the original document reading region of the document table 21 using the camera 55 in a usual capturing mode. When the camera 55 captures the image including the image of the original document, the processor 51 extracts image data of the original document from the captured image using the camera 55 (ACT 55). For example, the processor 51 extracts image data on the second face (rear face) of the original document by cutting out an image in the original document region in the captured image based on the detected original document region. When the image data of the original document is extracted, the processor 51 transmits the image data of the original document extracted from the captured image of the camera 55 (ACT 56) to the MFP 1, and ends the processing.
The processor 51 may perform geometric correction processing such as a rotation of an image, a trapezoid correction, or the like, with respect to image data of the original document which is cut out from the captured image. For example, the processor 51 may determine distortion of an image according to a shape of the original document region, and may perform image processing such as a correction of distortion of an image. In addition, the processor 51 may set a correction value with respect to distortion of an image caused by a setting state of the mobile terminal 2, in the adjusting processing of the effective capturing range. In this case, the processor 51 may correct image data of the original document based on a correction value which is set in the adjusting processing of the effective capturing range.
A part of the above described processing of the MFP 1 illustrated in
Subsequently, a modification example of the above described embodiment will be described.
In the modification example, another processing example as the double-sided processing of the original document using cooperation between the MFP 1 and the mobile terminal 2 will be described.
In the modification example, a method of extracting an original document image from an image captured by the camera 55 of the mobile terminal 2 is different from that in the above described embodiment. The MFP 1 and the mobile terminal 2 according to the modification example are set to be realized in the same hardware configuration as that in
In the scanner 11 according to the modification example, the background face is formed using a predetermined image pattern. The image pattern of the background face may be a pattern which can be easily identified from the original document, and is not limited to a particular pattern. In
The MFP 1 in the modification example performs setting processing of a reference image as processing corresponding to the adjusting processing of the effective capturing range in
In a difference image illustrated in
Subsequently, double-sided processing of the original document in which the MFP 1 and the mobile terminal 2 are cooperated, as the modification example, will be described.
In the modification example, the MFP 1 executes double-sided processing of the original document in the flow illustrated in
Subsequently, processing corresponding to the adjusting processing of the effective capturing range (setting processing of reference image) as a modification example will be described.
When the setting processing of the reference image is instructed from the operation panel 13 of the MFP 1, as illustrated in
After instructing capturing of the reference image the processor 31 determines ending of the setting processing of the reference image based on a notification of ending of adjusting from the mobile terminal 2 (ACT 62). When determining ending of setting of the reference image (Yes in ACT 62), the processor 31 holds information denoting that setting of the reference image is ended in the RAM 32 or the like, and ends the processing. In addition, a difference image between the image captured by the camera 55 and the reference image may be generated on the MFP 1 side. In this case, the processor 31 of the MFP 1 may hold the reference image in the memory such as the RAM 32 by obtaining the reference image from the mobile terminal 2.
Meanwhile, as illustrated in
When the camera 55 captures an image as the reference image, the processor 51 holds the image captured by the camera 55 in the memory (RAM 52 or storage device 54) as the reference image (ACT 72). When holding the reference image in the memory, the processor 51 notifies the MFP 1 of a completion of setting of the reference image (ACT 73), and ends the processing. In addition, when a difference image between the image captured by the camera 55 and the reference image is generated on the MFP 1 side, the processor 51 may transmit the reference image to the MFP 1.
Subsequently, the double-sided reading processing as the modification example will be described.
When the double-sided reading processing is instructed in the operation panel 13 of the MFP 1, as illustrated in
When the scanning processing is completed (Yes in ACT 82), the processor 31 instructs the mobile terminal 2 to capture the original document (image on second face (rear face) of original document) (ACT 83). After instructing capturing of the original document, the processor 31 receives image data from the mobile terminal 2 as the image on the second face (rear face) of the original document which is captured by the camera 55 (ACT 84). When receiving the image data from the mobile terminal 2, the processor 31 generates image data on both faces of the original document using the image data read by the scanner 11 and the image data received from the mobile terminal 2 (ACT 85).
The processor 31 generates a reading result of both faces of the original document in which the image data read by the scanner 11 is set to the front face, and the image data received from the mobile terminal 2 is set to the rear face. The reading result of both faces of the original document may be generated as an image file including the image data on the front face and the image data on the rear face. In addition, the processor 31 may perform processing of correcting any one or both of the image data according to characteristics of the scanner 11 and the camera 55 of the mobile terminal 2.
Meanwhile, as illustrated in
When the camera 55 captures an image, the processor 51 holds the image captured by the camera 55 in the RAM 52, or the like, and generates a difference image between the captured image and the reference image (ACT 55). When generating the difference image between the captured image and the reference image, the processor 51 detects an image in the original document region in the captured image from the generated difference image (ACT 56). For example, as described above, the processor 51 detects an original document region based on a region of which a pixel value (difference value with respect to reference image) is large in the difference image.
When the original document region in the captured image is detected, the processor 51 extracts image data on the second face (rear face) of the original document by cutting out a portion of the detected original document region from the captured image (ACT 94). When extracting the image data of the original document, the processor 51 transmits the image data of the original document which is extracted from the captured image of the camera 55 to the MFP 1 (ACT 95), and ends the processing.
In addition, a part of the above described processing of the MFP 1 illustrated in
For example, when the difference image is generated by the MFP 1, the processing in ACTs 92 to 94 may be performed by the MFP 1. In this case, the mobile terminal 2 may transmit the image captured by the camera 55 in the same condition as that of the reference image to the MFP 1. In addition, in the above described operation example, the MFP 1 generates image data as a reading result of the both faces of the original document; however, the reading result of the both faces of the original document may be generated by the mobile terminal 2.
As described above, the MFP as the image processing device according to the embodiment and the modification example is provided with a mechanism in which a mobile terminal in which a camera is built such as a smart phone is attached to the document table cover. The MFP obtains image data of both faces of the original document by causing a scanning operation using the scanner and a capturing operation using a camera of the mobile terminal to cooperate with each other. In this manner, an image processing device in which it is possible to simply read both faces of the original document which is placed on the document table can be provided.
In the above described embodiment, correction processing in which an original document image is cut out from an image captured by a camera of the mobile terminal, a portion except for the original document is removed, or the like, is performed using light from illumination provided in the scanner. In this manner, it is possible to extract an image of the original document from an image captured by a camera with high accuracy, even when there is a degree of freedom when attaching the mobile terminal. As a result, since a high accuracy is not necessary when attaching the mobile terminal to the MFP, it is possible to execute reading processing of both faces of the original document according to the embodiment in a simple configuration.
In the above described modification example, an image captured by a camera in a state in which the original document is not placed on the document table is set to a reference image, by forming a predetermined image pattern on the rear face of the document table which is captured by the camera. In addition, an original document region is detected by a difference image between an image captured by a camera in a state in which the original document is placed on the document table and a reference image, and an original document image is extracted from the captured image. In this manner, it is possible to extract the original document image from the image captured by the camera with high accuracy, and execute reading processing of both faces of the original document in a simple configuration.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.