Image processing system
The present invention relates to a kind of image processing system, particularly relate to a kind of image processing system with image correction function.
Scanner is used in the various computer systems at large, is used for converting file data to picture signal with the input computer.General scanner includes a housing, which is provided with a transparent platform and be used for placing file to be scanned, and the one scan membrane module is located in the housing, is used for scanning document so that convert corresponding picture signal to by the light that file transmitted.Scanning mold assembly is made up of the optical element of many precisions, and the set-up mode of Scanning mold assembly in housing be through careful calculating, to form accurate optical path.When carrying scanner then, usually because of collision causes the slight displacement of Scanning mold assembly, the document image after causing scanning presents crooked phenomenon.If the user is crooked with the position that file is positioned on the platform, the document image after also can causing scanning presents crooked phenomenon.
No matter be to place the crooked crooked document image that produces, all can influence quality of scanning widely because of Scanning mold assembly displacement or file.For this crooked document image, the user can utilize some image processing programs to come decorative image usually, crooked document image levelling is the square chart picture, yet the action of these modifications is very trifling numerous and diverse, wastes time and energy very much even the professional operates also.
The object of the present invention is to provide a kind of image processing system with image correction function, can be from the crooked document image of normal moveout correction, thus simple to operate.
The object of the present invention is achieved like this, a kind of image processing system promptly is provided, it includes: the one scan instrument, it includes the one scan membrane module and is used for scanning a square file and produces corresponding picture signal, this square file includes the corner that four angles are 90 degree, and this picture signal contains the document image of this document; And a computer, being electrically connected on this scanner, it includes: a storer is used for stored programme and file; One processor is used for scanning the program that is stored in this storer; The one scan control program is stored in this storer, is used for controlling the operation of this scanner and deposits the picture signal that this scanner produced in a master image file; And one image processing program be stored in this storer, be used for detecting the inclined position degree of this document image of being deposited in this master image file and the angle of at least one corner and change, and change according to the inclined position degree of this document image and angle and to proofread and correct this document image to produce a document image file that contains the square chart picture of this document.
Below in conjunction with accompanying drawing, describe embodiment of the present utility model in detail, wherein:
Fig. 1 is the synoptic diagram of image processing system of the present invention;
Fig. 2 is the synoptic diagram of Fig. 1 computer;
Fig. 3 detects the synoptic diagram of document image inclined position degree for Fig. 2 image processing program;
Fig. 4 detects the synoptic diagram that the document image angle changes for Fig. 2 image processing program.
Please refer to Fig. 1.It is for the synoptic diagram of image processing system 10 of the present invention.Image processing system 10 includes one scan instrument 12 and is used for scanning document and produce corresponding picture signal, and a computer 20 is electrically connected on scanner 12, is used for handling picture signal, and a display 21 is used for the display file image.Scanner 12 includes a housing 14, its upper end is provided with a transparent platform 16 and is used for placing a file 13 to be scanned, one scan membrane module 18 is located in the housing 14 in a movable manner, be used for scanning document 13 and produce the picture signal that contains file 13 document images, and one button 34 be located at housing 14 outsides, be used for producing an automatic processing signals.
Please refer to Fig. 2.It is the synoptic diagram of Fig. 1 computer 20.Computer 20 includes a storer 22 and is used for stored programme and file, one processor 24 is used for carrying out the program that is stored in the storer 22, one scan control program 26 is stored in the storer 22, be used for the operation of gated sweep instrument 12 and deposit the picture signal that scanner 12 is produced in a master image file 28, and one image processing program 30 be stored in the storer 22, be used for the correction file image to contain the document image file 32 of proofreading and correct the back document image to produce one.
When the file 13 that is scanned when scanner 12 was a square file, promptly the angle of 13 4 corners of file all was 90 degree, and the user can push button 34, to produce automatic processing signals.When computer 20 was received automatic processing signals, scan control program 26 can start image processing program 30, removed to proofread and correct the document image in the master image file 28, to produce document image file 32.The angle that image processing program 30 can detect the master image file 28 interior document image inclined position degree of being deposited and at least one corner changes, and change according to the inclined position degree of document image and angle and to come the correction file image, contain the square chart of file 13 as document image file 32 to produce one.
Please refer to Fig. 3 and Fig. 4.Fig. 3 is the synoptic diagram that Fig. 2 image processing program 30 detects document image 44 inclined position degree.Fig. 4 is that Fig. 2 image processing program 30 detects the synoptic diagram that document image 44 angles change.The O point that is positioned at 44 1 corners of document image among Fig. 3 and Fig. 4 is a reference point, and dotted line 40 and 42 vertically also is the datum line of the square chart picture after proofreading and correct mutually.Because it is crooked that file 13 is placed, make that the document image 44 after the scanning produces inclined position degree θ 1.The angle of 42 of the side 45 of document image 44 and datum lines is inclined position degree θ 1 as shown in Figure 3.Because Scanning mold assembly 18 produces displacement, make the angle of four corners of document image produce the variation of θ 2, the angle of 40 of the side 48 of document image 44 and datum lines as shown in Figure 4, be angle and change θ 2, and the angle of two corners, upper left and bottom right of document image 44 is (90-θ 2) degree, and the angle of lower-left and upper right two corners then is (90+ θ 2) degree.Image processing program 30 can rotate document image 44 according to detected inclined position degree θ 1 earlier, inclined position degree with the correction file image, then the angle of four corners of the detected document image of foundation changes the shape that θ 1 comes the correction file image again, make document image 44 revert to the square chart picture, and square chart is looked like to deposit in document image file 32.
Image processing system 10 of the present invention can produce automatic processing signals by the button 34 that the user presses on the scanner, make the scan control program 26 of computer start image processing program 30, and image processing program 30 can detect the document image of scanning back gained, and change according to the inclined position degree of document image and angle and to come the correction file image, and the square chart after will proofreading and correct looks like to deposit in document image file 32.Image processing system 10 of the present invention does not need the user to operate image processing program to carry out trifling modification action, image processing system 10 just can produce square file crooked document image correction automatically and be the square chart picture, therefore the present invention not only improves the quality of scanning, and operation is very time saving and energy saving concerning the user.
Preferred embodiment of the present invention below only is described, all equalizations of doing by claim of the present invention change and modify, and all should belong to the covering scope of patent of the present invention.