This Nonprovisional application claims priority under 35 U.S.C. § 119(a) on Patent Application No. 2011-170411 filed in Japan on Aug. 3, 2011, the entire contents of which are hereby incorporated by reference.
The present invention relates to: an image forming apparatus for forming an image on a sheet-like recording medium based on a display image displayed on a display section; an image editing method; and a non-transitory computer-readable recording medium in which a computer program is recorded.
In recent years, an electronic apparatus, in which a transparent touch panel, for example, is superimposed on a display section so that a touch operation performed on a display image displayed on the display section is detected to receive a given instruction, has been put into widespread use.
For example, Japanese Patent Application Laid-Open No. 2000-163031 discloses a portable information apparatus that displays a display image such as a map on a display section, and allows a user to touch the display image with his or her two fingers via a transparent touch panel so as to perform a so-called “pinch-in” or “pinch-out” operation for changing a distance between the two fingers, thus enabling enlargement/reduction of the display image.
On the other hand, in editing a display image displayed on a display section, there is a demand for partial editing in which a part of the display image is edited. However, in order to perform such partial editing, a cumbersome operation for selecting a target part is required every time such partial editing is performed. The above-described portable information apparatus disclosed in Japanese Patent Application Laid-Open No. 2000-163031 does not have any contrivance to solve such a problem.
The present invention has been made in view of the above-described circumstances, and its object is to provide an image forming apparatus, an image editing method and a non-transitory computer-readable recording medium, which allow an editing target, included in a display image displayed on a display section, to be identified based on the direction of a straight line connecting two points detected by a position detecting section for detecting a position of contact with a display screen of the display section, and which allow partial editing to be performed on the target, thus making it possible to receive both of a target selection instruction and an editing instruction at the time in partial editing and to reduce user's time and effort.
A first aspect of the present invention provides an image forming apparatus that includes a display section, and a position detecting section for detecting a position of contact with a display screen of the display section, and that forms an image on a sheet-like recording medium based on a display image displayed on the display section, wherein the image forming apparatus includes an editing section for partially editing the display image based on the direction of a straight line connecting two points detected by the position detecting section.
In the first aspect of the present invention, upon detection of two points on the display screen by the position detecting section, the editing section edits a target in the display image, which is identified based on the direction of the straight line connecting the two points.
A second aspect of the present invention provides the image forming apparatus, wherein the display image includes: an object image indicative of an object for the image formation; and a medium image indicative of the recording medium, wherein the image forming apparatus includes a selection a receiving section for receiving selection of the object image and/or medium image based on the direction of the straight line, and wherein based on a result of the selection received by the selection receiving section, the editing section edits the object image and/or medium image.
In the second aspect of the present invention, upon reception of selection of the object image by the selection receiving section, the editing section edits the object image, and upon reception of selection of the medium image by the selection receiving section, the editing section edits the medium image. Further, upon reception of selection of the object image and medium image by the selection receiving section, the editing section edits both of the object image and medium image.
A third aspect of the present invention provides the image forming apparatus, wherein there are provided a plurality of types of recording media having different sizes, and wherein the image forming apparatus includes a medium deciding section for deciding, upon reception of selection of the medium image by the selection receiving section, the recording medium concerning the image formation based on a change in distance between the two points.
In the third aspect of the present invention, upon reception of selection of the medium image by the selection receiving section, the medium deciding section decides, from among the plurality of types of recording media, the recording medium for the image formation based on a change in distance between the two points, and the image formation is performed by using the decided recording medium.
A fourth aspect of the present invention provides the image forming apparatus, wherein there are provided a plurality of types of recording media having different sizes, wherein the image forming apparatus includes a medium deciding section concerning deciding the recording medium for the image formation based on a change in distance between the two points, and wherein upon reception of selection of the object image and medium image by the selection receiving section, the editing section edits the size of the object image based on the size of the recording medium decided by the medium deciding section.
In the fourth aspect of the present invention, upon reception of selection of the object image and medium image by the selection receiving section, the medium deciding section decides, from among the plurality of types of recording media, the recording medium concerning the image formation based on a change in distance between the two points, for example. Furthermore, in this case, the editing section edits the size of the object image based on the size of the recording medium decided by the medium deciding section. Based on the edited object image, an image is formed on the recording medium decided by the medium deciding section.
A fifth aspect of the present invention provides the image forming apparatus, wherein the image forming apparatus includes a display control section for displaying, on the display section, information concerning the recording medium decided by the medium deciding section.
In the fifth aspect of the present invention, when a given recording medium is decided by the medium deciding section, information concerning the decided recording medium is displayed on the display section.
A sixth aspect of the present invention provides the image forming apparatus, wherein when the direction of the straight line connecting the two points is changed due to a movement of one or both of the two points, the editing section performs, based on the change, editing for changing the orientation of the display image.
In the sixth aspect of the present invention, for example, when one or both of the two points is/are moved by a user and the direction of the straight line connecting the two points is thus changed, the editing section performs, based on the change in the direction of the straight line, editing for changing the orientation of the display image.
A seventh aspect of the present invention provides the image forming apparatus, wherein the selection receiving section receives a selection of the medium image when the direction of the straight line extends along one of two directions intersecting at a center of the display image, and wherein the selection receiving section receives a selection of the object image when the direction of the straight line extends along the other one of the two directions.
In the seventh aspect of the present invention, when the direction of the straight line extends along one of the two directions intersecting at the center of the display image, the selection receiving section receives a selection of the medium image, and the medium image is to be edited by the editing section. On the other hand, when the direction of the straight line extends along the other one of the two directions, the selection receiving section receives a selection of the object image, and the object image is to be edited by the editing section.
An eighth aspect of the present invention provides the image forming apparatus, wherein the selection receiving section receives a selection of the object image and medium image when the direction of the straight line extends along neither of the two directions.
In the eighth aspect of the present invention, when the direction of the straight line extends along neither of the two directions intersecting at the center of the display image, the selection receiving section receives a selection of the object image and medium image, and the object image and medium image are to be edited by the editing section.
A ninth aspect of the present invention provides an image editing method for editing a display image by using an image forming apparatus that includes a display section, and a position detecting section for detecting a position of contact with a display screen of the display section, and that forms an image on a sheet-like recording medium based on the display image displayed on the display section, wherein the image editing method includes a step of editing the display image based on the direction of a straight line connecting two points detected by the position detecting section.
A tenth aspect of the present invention provides a non-transitory computer-readable recording medium in which a computer program for causing a computer to edit a display image, the computer constituting an image forming apparatus that comprises a display section, and a position detecting section for detecting a position of contact with a display screen of the display section, and that forms an image on a sheet-like recording medium based on the display image displayed on the display section, is recorded and wherein the computer program causes the computer to execute a step of making the position detecting section to detect the position of contact and a step editing the display image based on the direction of a straight line connecting two points detected by the position detecting section.
In the ninth and tenth aspects of the present invention, upon detection of two points on the display screen by the position detecting section, the display image is edited based on the direction of the straight line connecting the two points.
In the tenth aspect of the present invention, the foregoing computer program is recorded in the non-transitory computer-readable recording medium. The computer reads the computer program from the non-transitory computer-readable recording medium, and the foregoing image forming apparatus and image editing method are implemented by the computer.
According to the present invention, an editing target in a display image displayed on the display section is identified based on the direction of a straight line connecting two points detected by the position detecting section, and the target is partially edited, thus making it possible to receive both of a target selection instruction and an editing instruction at the time in partial editing and to reduce user's time and effort.
The above and further objects and features will more fully be apparent from the following detailed description with accompanying drawings.
Referring to the drawings, the present invention will be described in detail using an example in which an image forming apparatus, an image editing method and a computer program according to embodiments of the present invention are applied to a multi-function peripheral 100 having a so-called “touch panel function”.
In the ROM 3, various control programs, fixed data of arithmetic parameters, etc. are basically stored in advance. The RAM 4 temporarily stores data, and allows the data to be read irrespective of a stored order, a stored position, etc. Further, the RAM 4 stores, for example, the program read from the ROM 3, various data generated by execution of the program, and a parameter that is appropriately changed at the time of execution of the program.
The CPU 2 loads the control programs, stored in advance in the ROM 3, into the RAM 4 and executes the control programs, thereby controlling various pieces of hardware mentioned above and allowing the entire apparatus to operate as the multi-function peripheral 100 of the present invention. Furthermore, the CPU 2 receives an instruction for a given process from a user via the position detecting section 8.
The storage 5 includes a nonvolatile non-transitory computer-readable storage medium such as a flash memory, an EEPROM, an HDD, an MRAM (magnetoresistive random-access memory), an FeRAM (ferroelectric random-access memory) or an OUM, for example.
The display section 6 includes an LCD or EL (Electroluminescence) panel, for example, and an image (display image) to be outputted (printed) via the image output section 10 on a given recording sheet is displayed on the display section 6. Further, the display section 6 displays information that should be provided to the user. The information includes: a state of the multi-function peripheral 100; a job processing status; a document image read by the image input section 9; and a confirmation of details of an operation performed on the operation panel 12. Furthermore, a display screen 61 of the display section 6 is covered with the position detecting section 8.
The display controller 7 includes a processor such as a DSP (Digital Signal Processor), and controls display of an image on the display section 6. For example, in response to an instruction from the CPU 2, the display controller 7 generates image data of an image to be displayed on the display section 6.
The position detecting section 8 has a touch panel 81, and the touch panel 81 is provided so as to cover the display screen 61 of the display section 6. Accordingly, the position detecting section 8 is capable of detecting a given position on the display screen 61 of the display section 6 in response to a touch operation performed by the user. The position detecting section 8 detects a change in pressure or an electrostatically-induced electric signal, caused by a touch operation performed by the user's fingertip(s), so that the position detecting section 8 detects coordinates on the display screen 61 of the display section 6, which correspond to contact position(s) of the user's fingertip(s), and generates signals that identify the coordinates. Moreover, the position detecting section 8 is not limited to the above-described structure but may be formed by using a pointing device (e.g., a stylus pen) or the like.
The image input section 9 includes a light source for applying light to a document to be read, and an image sensor such as a CCD (Charge Coupled Device), and optically reads image data of the document. Further, the image input section 9 allows the image sensor to form. a reflected light image obtained from the document placed at a given read position, and outputs RGB (R: Red, G: Green, and B: Blue) analog data.
On a recording medium such as a recording sheet or an OHP film, the image output section 10 prints an image that is based on image data outputted from the image processing section 11. The image output section 10 includes: a photosensitive drum; a charging unit for charging the photosensitive drum to a given potential; a laser writing device for generating an electrostatic latent image on the photosensitive drum by emitting laser light in accordance with image data received from outside; a developing unit for performing development by supplying toner to the electrostatic latent image formed on a surface of the photosensitive drum; and a transfer unit for transferring a toner image, formed on the surface of the photosensitive drum, onto the recording medium. The image output section 10 outputs the image on the recording medium by electrophotography, for example.
The image processing section 11 generates digital image data based on the analog data inputted from the image input section 9, for example, or reads image data stored in the storage 5, and processes each image in accordance with its type; then, the image processing section 11 generates image data to be outputted (printed). The image data, which is generated by the image processing section 11 and to be outputted, is outputted to the image output section 10.
Furthermore, the operation panel 12 includes: function keys for allowing switching among functions such as “fax”, “copying”, “printing” and “mail” functions in the multi-function peripheral 100; a numeric keypad; a start key; a cancel key; an Enter key for confirming a received instruction; and an “output” or “copy” key for forming, on a sheet-like recording medium, a document image read via the image input section 9.
The tray section 13 has a plurality of trays (not illustrated), and the trays contain a plurality of types of recording sheets. More specifically, a plurality of types of standard sheets, having standard A4, A3, B4 and B5 sizes, for example, are contained in the corresponding trays. Moreover, each tray is provided with a tray sensor (not illustrated). The tray sensors are publicly known tray sensors for detecting whether or not the trays contain the sheets.
Using the above-described components, the multi-function peripheral 100 according to Embodiment 1 of the present invention receives, from the user, a touch operation performed on the display section 6, and edits an image displayed on the display section 6.
For example, the user touches the display screen 61 of the display section 6 (or the position detecting section 8) with his or her fingertip, and thus the position detecting section 8 receives a touch operation. In this case, the position detecting section 8 detects a position of a point at which the display screen 61 is touched, and sends a signal, which identifies coordinates of the point, to the CPU 2.
The CPU 2 acquires the signal (coordinates) from the position detecting section 8, and recognizes that a soft key, included in those displayed on the display section 6 and located at a position corresponding to the coordinates, has been operated.
On the other hand, for example, when the user touches the display screen 61 of the display section 6 (or the position detecting section 8) with his or her thumb and forefinger, the position detecting section 8 receives a touch operation for two points. In this case, the position detecting section 8 detects the position of a first point touched by the thumb and that of a second point touched by the forefinger, and sends a signal, which identifies coordinates of the two points, to the controller 1 and the CPU 2.
Subsequently, when the user performs a so-called “pinch-in” or “pinch-out” operation, a signal, which identifies the coordinates of the resulting two points, is further sent from the position detecting section 8 to the controller 1 and the CPU 2 in accordance with the operation. In this case, based on a positional relationship between the two points and a position change caused by the operation, i.e., a change in distance between the first and second points, the controller 1 and the CPU 2 receive an editing instruction for an image displayed on the display section 6.
For example, the controller 1 and the CPU 2 receive, based on the signal from the position detecting section 8, selection of an editing target concerning the editing instruction for the image in accordance with the direction of a straight line connecting the two points detected by the position detecting section 8. Further, based on a change in the distance between the first and second points, the controller 1 and the CPU 2 receive an editing instruction for enlarging or reducing the image.
Upon reception of a touch operation for two points from the user, the selection receiving section 14 receives, based on the signal emitted from the position detecting section 8, selection of an editing target for an image (display image), displayed on the display section 6 at this time, in accordance with the direction of a straight line connecting the two points. For example, the selection receiving section 14 receives the selection of the editing target in accordance with the direction of the straight line extending along either one of two directions intersecting at a center of the image displayed on the display section 6.
For example, the display section 6 displays an image (display image) including: an object image such as a picture, a graphic or a character, which is to be outputted via the image output section 10; and a sheet image (medium image) in which the object image is written and which is indicative of a recording sheet to be used at the time of output of the object image.
In this case, when a touch operation is performed on two points by the user, the selection receiving section 14 receives, based on the direction of a straight line connecting the two points, selection of the object image and/or sheet image as an editing target for the image (display image) displayed on the display section 6.
Upon reception of selection of the sheet image as the editing target by the selection receiving section 14, the sheet deciding section 15 decides a recording sheet to be used when the object image is actually outputted via the image output section 10.
More specifically, in the multi-function peripheral 100 according to Embodiment 1 of the present invention, a plurality of types of standard sheets, having standard A4, A3, B4 and B5 sizes, for example, are contained in the corresponding trays as mentioned above, and the sheet deciding section 15 selects, based on a change in the distance between the two points, the standard sheet contained in one of the trays. In the following description, standard sheets having A4, A3, B4 and B5 sizes will be referred to as “A4 sheet”, “A3 sheet”, “B4 sheet” and “B5 sheet”, respectively.
For example, suppose that the distance between the two points is increased or reduced and the editing section 17 edits the size of the sheet image as described later. In that case, each time the distance is changed by 1 cm, the sheet deciding section 15 decides the sheet in the following order (or reverse order): A3 sheet, B4 sheet, A4 sheet and B5 sheet. For example, when the distance between the two points is increased by 1 cm, 2 cm, 3 cm and 4 cm or more, the sheet deciding section 15 selects, as the recording sheet, in the following order: B5 sheet, A4 sheet, B4 sheet and A3 sheet. On the other hand, when the distance between the two points is reduced by 1 cm, 2 cm, 3 cm and 4 cm or more, the sheet deciding section 15 selects, as the recording sheet, in the following order: A3 sheet, B4 sheet, A4 sheet and B5 sheet.
Via the display controller 7, the information display section 16 displays, on the display section 6, information concerning the sheet decided by the sheet deciding section 15. For example, the information display section 16 displays a text such as “A3 sheet”, “B4 sheet” or “A4 sheet” on the display section 6, or displays a text such as “297 mm×420 mm”, “257 mm×364 mm” or “210 mm×297 mm”, indicating the size of the recording sheet, on the display section 6.
Furthermore, also when editing for enlarging/reducing the object image is performed by the editing section 17, the information display section 16 displays, on the display section 6, a scaling factor for enlargement/reduction of the object image.
Based on the direction of the straight line connecting the two points and a change in the distance between the two points, the editing section 17 partially or totally edits the image displayed on the display section 6. More specifically, for the image including the object image and sheet image as mentioned above, the editing section 17 performs partial editing for editing either one of the object image and sheet image, or total editing for editing both of the images concurrently.
For example, for the selected editing target received by the selection receiving section 14 based on the direction of the straight line connecting the two points, the editing section 17 performs partial editing for enlargement/reduction based on a change in the distance between the two points.
For example, the editing section 17 performs editing so that when the distance between the two points is increased, the object image or sheet image is increased by 1% each time the distance is increased by 1 mm, and when the distance between the two points is reduced, the object image or sheet image is reduced by 1% each time the distance is reduced by 1 mm.
Moreover, when the direction of the straight line connecting the two points is rotated and changed due to movement of one or both of the two points by the user, the CPU 2 receives this change as a rotation instruction for rotating the orientation of the image displayed on the display section 6. Further, based on this change, the editing section 17 performs editing (total editing) for rotating the orientation of the image displayed on the display section 6. For example, when the direction of the straight line is rotated in a clockwise direction, the editing section 17 performs editing for rotating the image in the clockwise direction.
Based on data concerning the image edited by the editing section 17 as described above, the display controller 7 displays the edited object image or sheet image on the display section 6.
Note that the selection receiving section 14, the sheet deciding section 15, the information display section 16 and the editing section 17 may be implemented by hardware logic, or may be implemented by software by using the CPU.
Hereinafter, image editing processing performed in the multi-function peripheral 100 according to Embodiment 1 of the present invention will be described.
The CPU 2 determines whether or not a document is placed at the read position of the image input section 9 (Step S101). The determination is made based on an image obtained by pre-scanning of the read position, for example.
Upon determination that no document is placed (Step S101: NO), the CPU 2 repeatedly makes the determination until a document is placed.
On the other hand, upon determination that a document is placed (Step S101: YES), the CPU 2 detects a size of the placed document (Step S102). For example, the detection may be performed by using a so-called “reflection type size detection sensor” by which a document size is detected, or pre-scanning may be performed so as to obtain an image for document size detection.
Subsequently, the CPU 2 confirms a sheet status (Step S103). Specifically, based on a detection result obtained by the tray sensor provided for each tray of the tray section 13, the CPU 2 confirms whether or not A4 sheet, A3 sheet, B4 sheet and B5 sheet are contained in the respective trays.
Based on the document size detected in Step S102 and a result of confirmation of the sheet status, the CPU 2 determines whether or not there is a recording sheet having an appropriate size (Step S104). Upon determination that there is no recording sheet having an appropriate size (Step S104: NO), the CPU 2 makes a request for a recording sheet having an appropriate size (Step S108). For example, the CPU 2 provides an instruction to the display controller 7, thereby displaying, on the display section 6, a text that urges the user to fill the tray(s) with recording sheets or to supply a sheet having an appropriate size to a manual feed tray. Then, the processing returns to Step S104.
Upon determination that there is a recording sheet having an appropriate size (Step S104: YES), the CPU 2 selects this recording sheet as an appropriate sheet (Step S105), and stores a result of the selection in the RAM 4. In the present embodiment, an A4 sheet is selected as the appropriate sheet.
Subsequently, the CPU 2 monitors the operation panel 12, thereby determining whether or not a copying instruction is received (Step S106).
For example, when the “copy” key of the operation panel 12 is operated by the user, the CPU 2 determines that a copying instruction is received (Step S106: YES), and provides an instruction for copying to the image input section 9 and the image output section 10. Specifically, image data of the document placed at the read position of the image input section 9 is read by the image input section 9, and the image output section 10 performs printing on the recording sheet based on the image data of the document (Step S107).
On the other hand, upon determination that no copying instruction is received (Step S106: NO), the CPU 2 determines whether or not a scanning instruction is received (Step S109). Upon determination that no scanning instruction is received (Step S109: NO), the CPU 2 returns the processing to Step S106.
Upon determination that a scanning instruction is received (Step S109: YES), the CPU 2 instructs the image input section 9 to read the document placed at the read position of the image input section 9. The image input section 9 reads the document in response to the instruction from the CPU 2 (Step S110). The image data of the document read by the image input section 9 is stored in the RAM 4.
The display controller 7 displays a preview image on the display section 6 based on the image data of the document stored in the RAM 4 (Step S111). The preview image is a rectangular image.
The preview image displayed on the display section 6 includes: an object image indicative of contents of the document, such as a picture, a graphic and/or a character; and a sheet image indicative of the recording sheet to be used at the time of output of the object image. The user, who wishes to execute printing based on the preview image, operates the start key of the operation panel 12, thereby providing an instruction for printing.
On the other hand, the user, who wishes to edit the preview image, touches two points as mentioned above, thereby editing the object image or sheet image.
Based on a signal from the position detecting section 8, the CPU 2 determines whether or not the display screen 61 of the display section 6 is touched at two points (Step S112).
Upon determination that two points are not touched (Step S112: NO), the CPU 2 determines whether or not an instruction for starting printing is received (Step S119). The determination is made by the CPU 2 by monitoring an operation performed on the start key of the operation panel 12.
Upon determination that an instruction for starting printing is received (Step S119: YES), the CPU 2 moves the processing to Step S107, thus the printing is performed by the image output section 10.
On the other hand, upon determination that an instruction for starting printing is not received (Step S119: NO), the CPU 2 determines whether or not an instruction for canceling processing of the document is received (Step S120). The determination is made by the CPU 2 by monitoring an operation performed on the cancel key of the operation panel 12.
Upon determination that an instruction for canceling processing of the document is received (Step S120: YES), the CPU 2 ends the processing.
But upon determination that an instruction for canceling processing of the document is not received (Step S120: NO), CPU 2 returns the processing to Step S112.
On the other hand, upon determination in Step S112 that the display screen 61 of the display section 6 is touched at two points (Step S112: YES), the CPU 2 further determines whether or not an instruction for rotating the preview image is received (Step S113).
More specifically, based on a signal from the position detecting section 8, the CPU 2 monitors whether or not the direction of a straight line connecting the two points is rotated and changed due to movement of one or both of the two points, and when the direction of the straight line is changed, the CPU 2 determines that an instruction for rotating the preview image is received.
For example, in a state where the display screen 61 of the display section 6 is touched by the user with his or her left thumb and forefinger, the user twists his left hand in a counterclockwise direction (i.e., in a direction indicated by the arrow in
Upon determination that an instruction for rotating the preview image is received (Step S113: YES), the CPU 2 instructs the editing section 17 to perform editing for rotating the preview image. In response to the instruction from the CPU 2, the editing section 17 performs an editing process for rotating the orientation of the preview image as illustrated in
Upon determination that an instruction for rotating the preview image is not received (Step S113: NO), the CPU 2 determines whether or not the direction of the straight line connecting the two points extends along either one of diagonal lines of the preview image (which will hereinafter be referred to as a “first direction”) based on a signal from the position detecting section 8 and the preview image, i.e., the coordinates of the points (Step S114).
Upon determination by the CPU 2 that the direction of the straight line connecting the two points extends along the first direction (Step S114: YES), the selection receiving section 14 receives selection of the object image f (Step S115). In this case, in order to allow the user to visually recognize the above fact, the object image f may be colored with a given color, or may be allowed to blink.
Then, the user performs a pinch-in or pinch-out operation to provide an instruction for reducing or enlarging the object image f.
Based on a signal from the position detecting section 8, the CPU 2 determines whether or not an instruction for enlarging the object image f is received (Step S116). In other words, the CPU 2 determines whether or not a pinch-out operation is performed based on a signal from the position detecting section 8.
Upon determination by the CPU 2 that an instruction for enlarging the object image f is received (Step S116: YES), i.e., when a pinch-out operation is performed by the user, the editing section 17 performs an editing process for enlarging the object image f in accordance with a change in the distance between the two points, which is caused by the pinch-out operation (Step S117). Editing for enlargement, performed by the editing section 17, has already been described above, and therefore, the detailed description thereof will be omitted.
Upon determination by the CPU 2 that an instruction for enlarging the object image f is not received (Step S116: NO), i.e., when a pinch-in operation is performed by the user, the editing section 17 performs an editing process for reducing the object image f in accordance with a change in the distance between the two points, which is caused by the pinch-in operation (Step S127). Editing for reduction, performed by the editing section 17, has already been described above, and therefore, the detailed description thereof will be omitted.
For example, when the user performs a pinch-in operation by moving his or her thumb and forefinger in a direction indicated by the arrows as illustrated in
Note that in this case, the information display section 16 displays, as illustrated in
Then, the user, who has completed an operation for editing the preview image, removes his or her fingers from the display screen 61 of the display section 6. On the other hand, the user, who continues to perform an operation for editing the object image f, rotates his or her fingers and performs a pinch-in or pinch-out operation again.
Based on a signal from the position detecting section 8, the CPU 2 determines whether or not the user's fingers are removed from the display screen 61 of the display section 6 (Step S118).
Upon determination that the user's fingers are removed from the display screen 61 of the display section 6 (Step S118: YES), the CPU 2 ends the processing. But upon determination that the user's fingers are not removed from the display screen 61 of the display section 6 (Step S118: NO), the CPU 2 returns the processing to Step S113 again.
On the other hand, when the CPU 2 determines in Step S114 that the direction of the straight line connecting the two points does not extend along the first direction (Step S114: NO), i.e., when the direction of the straight line connecting the two points is the second direction (L2 in
Based on a signal from the position detecting section 8, the CPU 2 determines whether or not an instruction for enlarging the sheet image p is received (Step S123). In other words, the CPU 2 determines whether or not a pinch-out operation is performed based on a signal from the position detecting section 8.
Upon determination by the CPU 2 that an instruction for enlarging the sheet image p is received (Step S123: YES), i.e., when a pinch-out operation is performed by the user, the editing section 17 performs an editing process for enlarging the sheet image p in accordance with a change in the distance between the two points, which is caused by the pinch-out operation (Step S124). Editing for enlargement, performed by the editing section 17, has already been described above, and therefore, the detailed description thereof will be omitted.
Upon determination by the CPU 2 that an instruction for enlarging the sheet image p is not received (Step S123: NO), i.e., when a pinch-in operation is performed by the user, the editing section 17 performs an editing process for reducing the sheet image p in accordance with a change in the distance between the two points, which is caused by the pinch-in operation (Step S125). Editing for reduction, performed by the editing section 17, has already been described above, and therefore, the detailed description thereof will be omitted.
When editing for enlarging the sheet image p is performed in Step S124 or when editing for reducing the sheet image p is performed in Step S125, the information display section 16 displays, on the display section 6, information concerning a recording sheet that replaces a previous recording sheet due to the editing (Step S126). Specifically, when the editing section 17 edits the size of the sheet image p, the sheet deciding section 15 decides a recording sheet to be outputted, and information concerning the decided recording sheet is displayed by the information display section 16.
For example, when the user performs a pinch-in operation by moving his or her thumb and forefinger in a direction indicated by the arrows as illustrated in
On the other hand, when the user performs a pinch-out operation by moving his or her thumb and forefinger in a direction indicated by the arrows as illustrated in
Then, the object image f edited by the editing section 17 is printed on the recording sheet decided by the sheet deciding section 15.
When partial editing is performed by the editing section 17 as mentioned above, the multi-function peripheral 100 according to the present invention can receive both of an instruction for selecting a partial editing target and an editing instruction, and thus can reduce the user's time and effort.
Further, the above description has been made on the example in which an image displayed on the display section 6 has contents such as an object image and a sheet image, and partial editing is performed for each of the contents; however, the present invention is not limited to this example. For example, partial editing may be performed for each type of contents such as a photograph and a character, and/or may be performed for each color.
In other words, different types of contents may be selected and/or contents having different colors may be selected based on the direction of a straight line connecting two points detected by the position detecting section 8.
For example, when editing for enlarging/reducing an object image displayed on the display section 6 is performed, there arises the need to appropriately replace a recording sheet with another recording sheet, on which printing is to be performed, in accordance with a change in the size of the object image caused by the editing. Therefore, in order to select a recording sheet, the user might be forced to perform a cumbersome operation for calling up another screen so as to select a recording sheet having an appropriate size. However, in the multi-function peripheral 100 according to the present invention, editing of an image and selection of a recording sheet are performed on the same screen as described above, thus making it possible to avoid a cumbersome operation.
A multi-function peripheral 100 according to Embodiment 2 of the present invention is formed substantially similarly to the multi-function peripheral 100 according to Embodiment 1, but configurations and functions of the storage 5 and the controller 1 of the multi-function peripheral 100 according to Embodiment 2 differ from those of the storage 5 and controller 1 of the multi-function peripheral 100 according to Embodiment 1.
The storage 5 includes a nonvolatile non-transitory computer-readable storage medium such as a flash memory, an EEPROM, an HDD, an MRAM, an FeRAM or an OUM, for example. Further, the storage 5 stores a correspondence table in which changes of recording sheets to be outputted and scaling factors for the size of the object image f are associated with each other.
When a touch operation performed on two points is received from the user, the selection receiving section 14 of the controller 1 receives, based on a signal emitted from the position detecting section 8, selection of the object image f or sheet image p as an editing target for an image displayed on the display section 6, in accordance with the direction of a straight line connecting the two points.
For example, the selection receiving section 14 receives selection of the object image f or sheet image p in accordance with the direction of the straight line extending along either one of two directions intersecting at a center of the image displayed on the display section 6.
On the other hand, when the direction of the straight line extends along neither of the two directions, the selection receiving section 14 receives selection of the object image f and sheet image p. In other words, both of the object image f and sheet image p are selected.
Furthermore, when the selection of the object image f and sheet image p is received by the selection receiving section 14 as mentioned above, the editing section 17 edits the image based on the correspondence table.
Specifically, upon reception of selection of the object image f and sheet image p by the selection receiving section 14, the editing section 17 performs editing as follows. When a pinch-in or pinch-out operation is performed by the user and the scaling factor for the object image f, resulting from the operation, corresponds to 122%; then, the editing section 17 concurrently performs editing for enlarging the sheet image p, which is associated with “A4 sheet”, to the sheet image p associated with “B4 sheet”. On the other hand, when a pinch-in or pinch-out operation is performed by the user and the scaling factor for the object image f, resulting from the operation, corresponds to 81%; then, the editing section 17 concurrently performs editing for reducing the sheet image p, which is associated with “B4 sheet”, to the sheet image p associated with “A4 sheet”.
Hereinafter, image editing processing performed in the multi-function peripheral 100 according to Embodiment 2 of the present invention will be described.
The CPU 2 determines whether or not a document is placed at the read position of the image input section 9 (Step S201). Upon determination that no document is placed (Step S201: NO), the CPU 2 repeatedly makes the determination until a document is placed.
On the other hand, upon determination that a document is placed (Step S201: YES), the CPU 2 detects a size of the placed document (Step S202).
Subsequently, the CPU 2 confirms a sheet status (Step S203). Specifically, based on a detection result obtained by the tray sensor provided for each tray of the tray section 13, the CPU 2 confirms whether or not A4 sheet, A3 sheet, B4 sheet and B5 sheet are contained in the respective trays.
Based on the document size detected in Step S202 and a result of confirmation of the sheet status, the CPU 2 determines whether or not there is a recording sheet having an appropriate size (Step S204). Upon determination that there is no recording sheet having an appropriate size (Step S204: NO), the CPU 2 makes a request for a recording sheet having an appropriate size (Step S208). Then, the processing returns to Step S204.
Upon determination that there is a recording sheet having an appropriate size (Step S204: YES), the CPU 2 selects this recording sheet as an appropriate sheet (Step S205), and stores a result of the selection in the RAM 4. In the present embodiment, an A4 sheet is selected as the appropriate sheet.
Subsequently, the CPU 2 monitors the operation panel 12, thereby determining whether or not a copying instruction is received (Step S206).
For example, when the “copy” key of the operation panel 12 is operated by the user, the CPU 2 determines that a copying instruction is received (Step S206: YES); then, image data of the document placed at the read position of the image input section 9 is read by the image input section 9, and the image output section 10 performs printing on the recording sheet based on the image data of the document (Step S207).
On the other hand, upon determination that no copying instruction is received (Step S206: NO), the CPU 2 determines whether or not a scanning instruction is received (Step S209). Upon determination that no scanning instruction is received (Step S209: NO), the CPU 2 returns the processing to Step S206.
Upon determination that a scanning instruction is received (Step S209: YES), the CPU 2 instructs the image input section 9 to read the document placed at the read position of the image input section 9, and the image input section 9 reads the document (Step S210). The image data of the document read by the image input section 9 is stored in the RAM 4.
The display controller 7 displays a preview image on the display section 6 based on the image data of the document stored in the RAM 4 (Step S211). The preview image is a rectangular image, and includes the object image f and sheet image p similarly to Embodiment 1.
The user, who wishes to execute printing based on the preview image, operates the start key of the operation panel 12, thereby providing an instruction for printing. On the other hand, the user, who wishes to edit the preview image, touches two points as mentioned above, thereby editing the object image f or sheet image p.
Based on a signal from the position detecting section 8, the CPU 2 determines whether or not the display screen 61 of the display section 6 is touched at two points (Step S212). Upon determination that two points are not touched (Step S212: NO), the CPU 2 determines whether or not an instruction for starting printing is received (Step S219).
Upon determination that an instruction for starting printing is received (Step S219: YES), the CPU 2 moves the processing to Step S207, thus the printing is performed by the image output section 10.
On the other hand, upon determination that an instruction for starting printing is not received (Step S219: NO), the CPU 2 determines whether or not an instruction for canceling processing of the document is received (Step S220).
Upon determination that an instruction for canceling processing of the document is received (Step S220: YES), the CPU 2 ends the processing. But upon determination that an instruction for canceling processing of the document is not received (Step S220: NO), CPU 2 returns the processing to Step S212.
On the other hand, upon determination in Step S212 that the display screen 61 of the display section 6 is touched at two points (Step S212: YES), the CPU 2 further determines whether or not an instruction for rotating the preview image is received (Step S213).
Upon determination that an instruction for rotating the preview image is received (Step S213: YES), the CPU 2 instructs the editing section 17 to perform editing for rotating the preview image, and the editing section 17 performs an editing process for rotating the orientation of the preview image (Step S221).
Upon determination that an instruction for rotating the preview image is not received (Step S213: NO), the CPU 2 determines, based on a signal from the position detecting section 8 and the preview image (i.e., the coordinates), whether or not the direction of the straight line connecting the two points extends along the direction of a vertical line (hereinafter referred to as a “first direction”), which is included in vertical and horizontal lines intersecting at a center of the preview image (Step S214).
Upon determination by the CPU 2 that the direction of the straight line connecting the two points extends along the first direction (Step S214: YES), the selection receiving section 14 receives selection of the object image f (Step S215). In this case, in order to allow the user to visually recognize the above fact, the object image f may be colored with a given color, or may be allowed to blink. Then, the user performs a pinch-in or pinch-out operation to provide an instruction for reducing or enlarging the object image f.
Based on a signal from the position detecting section 8, the CPU 2 determines whether or not an instruction for enlarging the object image f is received (Step S216). Upon determination by the CPU 2 that an instruction for enlarging the object image f is received (Step S216: YES), i.e., when a pinch-out operation is performed by the user, the editing section 17 performs an editing process for enlarging the object image f in accordance with a change in the distance between the two points, which is caused by the pinch-out operation (Step S217). Editing for enlargement, performed by the editing section 17, has already been described above, and therefore, the detailed description thereof will be omitted.
Upon determination by the CPU 2 that an instruction for enlarging the object image f is not received (Step S216: NO), i.e., when a pinch-in operation is performed by the user, the editing section 17 performs an editing process for reducing the object image f in accordance with a change in the distance between the two points, which is caused by the pinch-in operation (Step S228). Editing for reduction, performed by the editing section 17, has already been described above, and therefore, the detailed description thereof will be omitted.
For example, when the user performs a pinch-in operation by moving his or her thumb and forefinger in a direction indicated by the arrows as illustrated in
Then, the user, who has completed an operation for editing the preview image, removes his or her fingers from the display screen 61 of the display section 6. On the other hand, the user, who continues to perform an operation for editing the object image f, rotates his or her fingers and performs a pinch-in or pinch-out operation again.
Based on a signal from the position detecting section 8, the CPU 2 determines whether or not the user's fingers are removed from the display screen 61 of the display section 6 (Step S218). Upon determination that the user's fingers are removed from the display screen 61 of the display section 6 (Step S218: YES), the CPU 2 ends the processing. But upon determination that the user's fingers are not removed from the display screen 61 of the display section 6 (Step S218: NO), the CPU 2 returns the processing to Step S213 again.
On the other hand, upon determination in Step S214 that the direction of the straight line connecting the two points does not extend along the first direction (Step S214: NO), the CPU 2 determines whether or not the direction of the straight line extends along the second direction (L2 in
Upon determination by the CPU 2 that the direction of the straight line extends along the second direction (Step S222: YES), the selection receiving section 14 receives selection of the sheet image p (Step S223). In this case, in order to allow the user to visually recognize the above fact, the sheet image p may be colored with a given color, or may be allowed to blink. Then, the user performs a pinch-in or pinch-out operation to provide an instruction for reducing or enlarging the sheet image p.
Based on a signal from the position detecting section 8, the CPU 2 determines whether or not an instruction for enlarging the sheet image p is received (Step S224). Upon determination by the CPU 2 that an instruction for enlarging the sheet image p is received (Step S224: YES), i.e., when a pinch-out operation is performed by the user, the editing section 17 performs an editing process for enlarging the sheet image p in accordance with a change in the distance between the two points, which is caused by the pinch-out operation (Step S225). Editing for enlargement, performed by the editing section 17, has already been described above, and therefore, the detailed description thereof will be omitted.
Upon determination by the CPU 2 that an instruction for enlarging the sheet image p is not received (Step S224: NO), i.e., when a pinch-in operation is performed by the user, the editing section 17 performs an editing process for reducing the sheet image p in accordance with a change in the distance between the two points, which is caused by the pinch-in operation (Step S226). Editing for reduction, performed by the editing section 17, has already been described above, and therefore, the detailed description thereof will be omitted.
When editing for enlarging the sheet image p is performed in Step S225 or when editing for reducing the sheet image p is performed in Step S226, the information display section 16 displays, on the display section 6, information concerning a recording sheet that replaces a previous recording sheet due to the editing (Step S227).
For example, when the user performs a pinch-out operation by moving his or her thumb and forefinger in a direction indicated by the arrows as illustrated in
On the other hand, when it is determined in Step S222 by the CPU 2 that the direction of the straight line does not extend along the second direction (Step S222: NO), i.e., when the direction of the straight line connecting the two points is neither the first direction nor the second direction, the selection receiving section 14 receives selection of the sheet image p and object image f (Step S229).
In this case, the direction of the straight line connecting the two points, touched by the user's thumb and forefinger, will be determined as the direction of a diagonal line of the rectangular image displayed on the display section 6, and then the user will perform a pinch-in or pinch-out operation, thereby providing an instruction for reducing or enlarging the sheet image p and object image f.
Based on a signal from the position detecting section 8, the CPU 2 determines whether or not an instruction for enlarging the sheet image p and object image f is received (Step S230). Upon determination by the CPU 2 that an instruction for enlarging the sheet image p and object image f is received (Step S230: YES), i.e., when a pinch-out operation is performed by the user, the editing section 17 performs an editing process for enlarging the sheet image p in accordance with a change in the distance between the two points, which is caused by the pinch-out operation (Step S231).
Furthermore, based on the correspondence table stored in the storage 5, the editing section 17 performs an editing process for enlarging the object image f by a scaling factor corresponding to the foregoing editing for enlarging the sheet image p (Step S232).
Subsequently, the sheet deciding section 15 decides a sheet by the above-described method, and the information display section 16 displays, on the display section 6, information concerning the sheet decided by the sheet deciding section 15 (Step S235).
On the other hand, upon determination by the CPU 2 that an instruction for enlarging the sheet image p and object image f is not received (Step S230: NO), i.e., when a pinch-in operation is performed by the user, the editing section 17 performs an editing process for reducing the sheet image p in accordance with a change in the distance between the two points, which is caused by the pinch-in operation (Step S233).
Furthermore, based on the correspondence table stored in the storage 5, the editing section 17 performs an editing process for reducing the object image f by a scaling factor corresponding to the foregoing editing for reducing the sheet image p (Step S234).
Subsequently, the sheet deciding section 15 decides a sheet by the above-described method, and the information display section 16 displays, on the display section 6, information concerning the sheet decided by the sheet deciding section 15 (Step S235). In this case, the information display section 16 may concurrently display the scaling factor for the editing of the object image f.
For example, when the user performs a pinch-in operation by moving his or her thumb and forefinger in a direction indicated by the arrows as illustrated in
On the other hand, when the user performs a pinch-out operation by moving his or her thumb and forefinger in a direction indicated by the arrows as illustrated in
The above description of Embodiment 2 has been made using an example where editing for enlargement/reduction of the sheet image p is performed and then editing of the object image f is performed in accordance with the editing of the sheet image p, but the present invention is not limited to this example. Alternatively, editing for enlargement/reduction of the object image f may be first performed and then editing of the sheet image p may be performed in accordance with the editing of the object image f.
Note that the configuration of the multi-function peripheral 100 according to the present invention is not limited to the above description. The above description has been made using an example in which when the selection receiving section 14 receives selection of the object image f and the object image f is edited based on a pinch-in or pinch-out operation performed by the user, the scaling factor for the object image f is changed sequentially in accordance with a change in the distance between two points associated with the user's two fingers, but the present invention is not limited to this example. For example, as illustrated in the correspondence table of
Components similar to those of the Embodiment 1 are identified by the same reference characters, and the detailed description thereof will be omitted.
The multi-function peripheral 100 according to Embodiment 3 includes an exterior (or interior) recording medium reader (not illustrated). The portable non-transitory computer-readable recording medium A records a program or the like for editing an image (display image), displayed on the display section 6, based on the direction of a straight line connecting two points detected by the position detecting section 8, and the portable non-transitory computer-readable recording medium A is inserted into the recording medium reader, so that the CPU 2, for example, installs the program on the ROM 3. The program is loaded into the RAM 4 and is executed. Thus, the multi-function peripheral 100 according to Embodiment 3 of the present invention performs its functions.
The non-transitory computer-readable recording medium may be a so-called program medium. Specifically, the non-transitory computer-readable recording medium may be a medium carrying a program code in a fixed manner, and examples thereof may include: tapes such as a magnetic tape and a cassette tape; disks including magnetic disks such as a flexible disk and a hard disk, and optical disks such as a CD-ROM, an MO, an MD and a DVD; cards such as an IC card (including a memory card) and an optical card; and semiconductor memories such as a mask ROM, an EPROM, an EEPROM and a flash ROM.
Alternatively, the non-transitory computer-readable recording medium may be a medium carrying a program code in a state of flux so that a program code is downloaded from a network via the communication section 30. Note that when a program is downloaded from a communication network in this manner, the program to be downloaded may be stored in a main apparatus in advance or may be installed from another non-transitory computer-readable recording medium. It should also be noted that the present invention can also be realized in a form of a computer data signal embedded in a carrier wave, in which the program code is implemented by electronic transmission.
Components similar to those of the Embodiment 1 are identified by the same reference characters, and the detailed description thereof will be omitted.
The above description has been made using an example in which two fingers are used in performing an operation on a single document image to provide an editing instruction such as an instruction for changing a sheet size, an instruction for changing an image size or an instruction for rotating an image, but the present invention is not limited to this example.
For example, when document images of a batch of documents including a plurality of pages are read, a result of editing performed in response to an editing instruction for a given document image may be reflected on all the document images. Alternatively, the result may be reflected only on the document image(s) of selected specific page(s). Moreover, the user may be allowed to select either one of the above functions.
In this case, the multi-function peripheral according to the present invention may be provided with a key for receiving, from the user, an instruction by which an editing instruction for the document image(s) of selected specific page(s) is also reflected on the other document image(s), thus implementing the above functions.
Furthermore, the multi-function peripheral according to the present invention is not limited to the above description, but may be used in conjunction with operation keys for conventional enlargement, reduction, sheet size selection and rotation functions, for example. In addition, an instruction may also be provided in combination with the other editing function.
As this description may be embodied in several forms without departing from the spirit of essential characteristics thereof, the present embodiments are therefore illustrative and not restrictive, since the scope is defined by the appended claims rather than by the description preceding them, and all changes that fall within metes and bounds of the claims, or equivalence of such metes and bounds thereof are therefore intended to be embraced by the claims.
Number | Date | Country | Kind |
---|---|---|---|
2011-170411 | Aug 2011 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5444550 | Enokida | Aug 1995 | A |
8139257 | Fabrice | Mar 2012 | B2 |
8266529 | Ooi | Sep 2012 | B2 |
8934109 | Matsumoto | Jan 2015 | B2 |
20060026536 | Hotelling | Feb 2006 | A1 |
20090201543 | Tonami | Aug 2009 | A1 |
20090265625 | Tamai | Oct 2009 | A1 |
20110043639 | Yokohata | Feb 2011 | A1 |
Entry |
---|
Matsumoto et al., “Image Editing Method for Modifying an Object Image With Respect to a Medium Image”, U.S. Appl. No. 15/598,338, filed May 18, 2017. |
Number | Date | Country | |
---|---|---|---|
20180295246 A1 | Oct 2018 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15598338 | May 2017 | US |
Child | 16006940 | US | |
Parent | 15214542 | Jul 2016 | US |
Child | 15598338 | US | |
Parent | 14575326 | Dec 2014 | US |
Child | 15214542 | US | |
Parent | 13565393 | Aug 2012 | US |
Child | 14575326 | US |