Referring to
The processing unit 110 is connected with a control panel 150 that includes a plurality of input units. The input units are configured for receiving the operation inputs and outputting operation instructions to the processing unit 110 correspondingly. The input units may include but not be limited to an image select button 151, a resize button 152, a rotate button 153, a color button 154, and an image save button 155. It must be stated that the “buttons” used here refer to all types of input devices that can be operated on to receive operational inputs and accordingly produce operation instructions. The “buttons” may be mechanical input devices, electronical input devices (e.g., touch panels) or software icons displayed on a user interface. Accordingly, the operation instructions include but are not limited to image select instructions, modifying instructions (including zoom-in instructions, zoom-out instructions, rotate instructions, and color modification instructions), and save image instructions. These operation instructions can be produced through the image select button 151, the resize button 152, the rotate button 153, the color button 154, and the image save button 155 correspondingly.
Referring to
Referring to
When the modifying instructions are received from the control panel 150, the original image reading module 1110 transmits the original image data to the modification module 1120 as a temporary image file. The modification module 1120 is configured for modifying data of the temporary image file according to the modification instructions, thereby yielding modified image data. The modification module 1120 is further configured for displaying a modified image of the modified image data on the display via the display controller 120. The control panel 150 includes the resize button 152, the rotate button 153, and the color button 154 that are configured for producing and transmitting the modifying instructions. The resize button 152, the rotate button 153, and the color button 154 are provided for illustration purpose only, and the control panel 150 may include other buttons used to produce and transmit the modifying instructions. The modification module 1120 includes a resizing sub-module 1121, a rotation sub-module 1122, and a color modification sub-module 1123. The resizing sub-module 1121, the rotation sub-module 1122 and the color modification sub-module 1123 are also provided for illustration purpose only, and the modification module 1120 may include other sub-modules used to modify data of the temporary image file according to the modifying instructions.
In particular, the resizing sub-module 1121 is configured for modifying data of the temporary image file, such that an image size of the modified image is different than a size of the original image according to the zoom-in instructions and/or the zoom-out instruction from the resize button 152.
The rotation sub-module 1122 is configured for modifying data of the temporary image file such that an orientation of the modified image can be rotated 90 degrees clockwise or 90 degrees counterclockwise relative to the original image according to the rotate instructions from the rotate button 153.
The color modification sub-module 1123 is configured for modifying data of the temporary image file, such that a color of the modified image is different than a color of the original image according to the color modification instructions from the color button 154.
The processing unit 110 further includes a saving module 1130. The saving module 1130 is configured for receiving a save image instruction and for generating an image modification file 31 according to the temporary image file and the original image file 21. The image modification file 31 consists of at least one modifying parameter. In a first preferred embodiment, the at least one modifying parameter is a total modification result of the modified image relative to the original image of a same modifying instruction type. In a second embodiment, the at least one modifying parameter is a modification instruction transmitted by the control panel 150 and applied to the temporary image file.
As an overview, after the modifying parameters corresponding to an original image are stored, each time the original image is selected according to the image select instructions transmitted from the image selector button 510, a modified image derived from applying the modifying parameters on the original image is outputted and displayed on the display unit 130. This process is described more detail below.
The processing unit 110 further includes a modifying parameter obtaining module 1140 and a processing module 1150. The original image reading module 1110 reads the original image data from the original image file 21 according to the image select instruction transmitted by the image selector button 510. The modifying parameter obtaining module 1140 obtains the modifying parameters from the image modification file 31 corresponding to the original image file 21. The processing module 1150 processes the original image data according to the modifying parameters to produce the modified image and outputs the modified image to the display unit 130.
Referring to
If the image modification file 31 does not exist, in step S503, the original image reading module 1110 transmits the original image data to the display controller 120, thereby displaying an original image of the original image file 21 on the display unit 130. In step S504 the modification module 1120 determines whether any modifying instruction is received and the procedure finishes if no modifying instruction is received. If any modifying instruction is received, the procedure advances to Step S505, the original image reading module 1110 transmits the original image data as a temporary image file to the modification module 1120, and the modification module 1120 modifies data of the temporary image file according to the modifying instruction, thereby producing modified image data.
Step S505 may include one or more sub-steps depending on that the number of modification instructions is received. For example, Sub-steps 5051, S5052 and S5053 are included in Step S505 if a zoom-in instruction (or a zoom-out instruction), a rotate instruction and a color modification instruction are received. In Sub-step S5051 the resizing sub-module 1121 modifies data of the temporary image file, such that an image size of a modified image of the modified data is different from a size of the original image according to the received zoom-in instruction (or zoom-out instruction). In Sub-step S5052 the rotation sub-module 1122 modifies data of the temporary image file, such that the modified image is rotated by 90 degrees clockwise or counterclockwise relative to the original image according to the rotate instruction. In Sub-step S5053 the color modification sub-module 1123 modifies data of the temporary image file, such that a color of the modified image is different from a color of the original image according to the color modification instruction. The modified image is accordingly produced by the modification module 1120 in step S505 and displayed on the display unit 130 in Step S506 by the display controller 120. The saving module 1130 receives a save image instruction from the image save button 155 in Step S507, and generates an image modification file 31 to record modifying parameters resulted by Step S505 in Step S508. The procedure then finishes.
If the image modification file 31 already exists according to step S502, the procedure advances to step S509, the modifying parameter obtaining module 1140 obtains modifying parameters recorded by the image modification file 31 and the processing module 1150 modifies the original image data according to the modifying parameters, so as to produce a modified image. The modified image is displayed on the display unit 130 in step S510 and the procedure accordingly finishes.
It must be stated that when the modified image is displayed on the display unit 130 and any modifying instruction is received from the control panel 150, a procedure similar to Steps S504-S508 described in
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the invention or sacrificing all of its material advantages, the examples hereinbefore described merely being preferred or exemplary embodiments of the invention.
Number | Date | Country | Kind |
---|---|---|---|
200610061978.4 | Aug 2006 | CN | national |
This application is related to a pending application entitled “APPARATUS AND METHOD FOR PROCESSING, STORING AND DISPLAYING DIGITAL IMAGES”, filed around the same time that this application is filed. The entire contents of the related application are incorporated herein by reference.