A kind of image-pickup method
Technical field
The present invention relates to a kind of image-pickup method, relate to a kind of method of computer-automatic collection image of multiple light courcess multi-angle particularly.
Background technology
Image-pickup method to lithograph has two kinds at present: adopt scanner or digital camera.The advantage of utilizing scanner is exactly to be input to the image of printed matter in the computer very easily, and can reach very high resolution, the stability of system is also very high, do not allow to be subject to external disturbance, but the problem that general scanner exists is only to comprise white light source, and can't regulate the irradiating angle of light source, and brightness, therefore can only obtain the image of printed matter fixed angle under white light, that just can't well analyze printed matter under the various Different Light, present the digital picture of different characteristics under the different angles, be unfavorable for image is analyzed.
Use digital camera, cooperate different camera lenses, light source etc., can obtain the image of various satisfied analysis needs, but generally all be the parameter that adopts the manual adjustments camera, the operation of selecting light source at present.When needs are gathered the image of different characteristic point on the printed matter, just need manual mobile article, can't reach very high precision.Though some cameras, camera lens etc. have been equipped with Control Software, all be separately control, the very trouble that operates, and this system influenced by ambient lighting etc. bigger.
Summary of the invention
The objective of the invention is shortcoming and defect at above-mentioned two kinds of methods existence, a kind of various piece of controlling whole acquisition system by computer is provided, the control of realization all computer, can select light source easily, carry out multi-angle collection and local the collection, avoid manually operated inconvenience simultaneously and image-pickup method that the error brought is disturbed.
The present invention realizes that the technical scheme that goal of the invention adopts is: a kind of image-pickup method, the image collecting device that is used for this method comprises computer, acquisition target adjusting device and the digital camera that system controlling software is housed, wherein the acquisition target adjusting device is made up of monolithic processor controlled mechanical moving element, single-chip microcomputer links to each other by the RS232 serial ports with computer, single-chip microcomputer connects the stepping motor of control acquisition target adjusting device, digital camera links to each other with computer by USB interface, it is characterized in that this method specifically may further comprise the steps:
A fixing acquisition target on the acquisition target adjusting device, described acquisition target adjusting device comprises: frames part, acquisition target clamping and fixedly rotating part and frames movable part;
Frames partly comprises: support base plate 1, supporting vertical plate 2, guide rail 3 and mobile gong mother 4, guide rail 3 and mobile gong mother 4 be fixedly installed on support base plate 1 below, 2 fens two correspondences of supporting vertical plate be arranged on support base plate 1 above;
Acquisition target clamping and fixing rotating part, comprise: acquisition target grip block 5, fixedly swivel mount 6, runner 7, driving wheel 8 and first stepping motor 9, acquisition target grip block 5 is installed in fixedly on the swivel mount 6, fixedly swivel mount 6 constitutes rotating flexible connection through rotating shaft 21 and supporting vertical plate 2, fixedly swivel mount 6 is connected with runner 7 with rotating shaft 21, runner 7 and driving wheel 8 are connected through driving-belt, driving wheel 8 and 9 coaxial connections of first stepping motor, first stepping motor 9 are fixed on and support on the base plate 1;
The frames movable part is the vertically disposed travel mechanisms by second stepping motor, 10 drive leading screws 11 in two cover planes, and formation is spacing by guide rail between two travel mechanisms, and leading screw drives the flexible connection of mobile gong parent phase to displacement;
Guide rail 3 in the frames part constitutes slidably with travel mechanism that guide rail is connected, and the mobile gong mother 4 of frames in partly is connected with leading screw 11 in the travel mechanism;
The initialization of b computer system, computer show initial control interface, the image of the real-time shooting, collecting object of digital camera, and be presented on the control interface;
C is on the computer control panel, input digit video camera acquisition parameters, by computer system control software set digital camera acquisition parameters, be provided with according to the feature of concrete collection point on the acquisition target resolution, time for exposure, contrast, white balance parameter to digital camera;
D is on the computer control panel, the accurate distance that the input acquisition target moves and the accurate angle of rotation, to adjust position and the state that acquisition target reaches to be needed, select suitable radiation source by computer control acquisition target adjusting device simultaneously as required;
After e determines the position and state of acquisition target, then the image that current screen shows is saved in the computer, otherwise continues to carry out the adjustment and the modification of acquisition parameters according to photographing request according to the image that computer real-time shows if can reach photographing request;
After f adjusts and modification finishes, acquisition parameters and acquisition target adjustment parameter are preserved, the image that current screen is shown is saved in the computer, and the step that then repeats c to f is carried out the IMAQ of next shooting point.
The invention has the beneficial effects as follows: this system applies is in the image field of taking lithographic plate thin slice printed matter (as stamp, various bill, antifalsification label etc.), have multiple light courcess, multi-angle, can carry out microcosmic and amplify functions such as observation, also have advantages such as to change light source, camera lens combination very easily; By this system, can take the digital picture of the high definition of printed matter under Different Light, angle, provide advanced technological means to aspects such as research digital image processing techniques, printing technology, anti-counterfeiting technology, paper optical characteristics.
Description of drawings
Accompanying drawing 1 is an IMAQ adjusting device structural representation.
Accompanying drawing 2 is fixing swivel mount schematic diagram.
Accompanying drawing 3 is a control card hook structure schematic diagram.
Accompanying drawing 4 is fixedly swivel mount and slide plate syndeton schematic diagram.
Accompanying drawing 5 is a slide plate backsight structural representation.
Accompanying drawing 6-1, accompanying drawing 6-2, accompanying drawing 6-3, accompanying drawing 6-4 are the skateboarding schematic diagram.
Accompanying drawing 7 is fixedly swivel mount and supporting vertical plate connection diagram.
Accompanying drawing 8-1 is grip block and magnetic patch connection diagram.
Accompanying drawing 8-2 is that accompanying drawing 8-1A-A is to generalized section.
In the accompanying drawing, 1 supports base plate, 2 supporting vertical plate, 3 guide rails, 4 move the gong mother, 5 picture grip blocks, 6 fixing swivel mounts, 7 runners, 8 driving wheels, 9 first stepping motors, 10 second stepping motors, 11 leading screws, 12 magnetic patch, 13 rollers, 14 slide plates, 15 chutes, 16 grooves, 17 grabs, 18 blocks, 19 control projectioies, 20 spacing preiections, 21 rotating shafts, 22 are gathered picture.
Embodiment
A kind of image-pickup method, with reference to accompanying drawing,
A will be clamped between two picture grip blocks 5 by collection picture 22 on the acquisition target adjusting device, fixedly acquisition target;
The initialization of b computer system, computer show initial control interface, and the real-time photographic images of video camera is shown on the control interface;
C imports corresponding video camera acquisition parameters on the computer control panel, by computer system control software set video camera acquisition parameters, according to the feature of concrete acquisition target parameters such as resolution, time for exposure, contrast, white balance are provided with;
D imports the accurate distance that acquisition target moves and the accurate angle of rotation on the computer control panel, to adjust position and the state that acquisition target reaches to be needed, select suitable radiation source by computer control acquisition target adjusting device simultaneously as required;
After e determines the position and state of acquisition target, continue to carry out the adjustment and the modification of acquisition parameters according to photographing request according to the image that computer real-time shows;
After f adjusts and modification finishes, can preserve acquisition parameters and acquisition target adjustment parameter, the image that current screen is shown is saved in the computer, and the step that then repeats c to f is carried out the IMAQ of next shooting point.
The user can select full-automatic drainage pattern in step b, detailed process is: before gathering automatically, at first the object that is taken must be placed on the acquisition target adjusting device, realize fixing and smooth object, and in database, import each acquisition parameters for the treatment of shooting point by hand; After entering automatic drainage pattern, digital camera is presented at realtime graphic in the computer screen, computer is according to the data of reading from database, automatically locate earlier, by single-chip microcomputer each hardware device on the acquisition target adjusting device is sent instruction, make stepping motor drive clamping device and move, tested point is moved to the focal plane, select suitable light source then, regulate shooting angle and enlargement ratio, realize focusing on, regulate the various parameters of video camera at last, the digital picture that to need judges whether that then last treats shooting point, if not, then proceed circulation, up to remaining shooting point all take finish after, release circulation; System controlling software control on whole steps c to f process all uses a computer only needs the manual printed matter of packing into.
Detailed process in the c step is, the parameter that computer system control software elder generation call number video camera carries is provided with database, by related with it control panel relevant parameter is provided with and revises again, thereby realization is to the acquisition parameters setting of digital camera.
Detailed process in the d step is:
(i) the acquisition target adjusting device is installed, referring to accompanying drawing 1, the acquisition target adjusting device comprises: frames part, picture clamping and fixedly rotating part, frames movable part;
Frames partly comprises: support base plate 1, supporting vertical plate 2, guide rail 3 and mobile gong mother 4, guide rail 3 and mobile gong mother 4 be fixedly installed on support base plate 1 below, 2 fens two correspondences of supporting vertical plate be arranged on support base plate 1 above.
Referring to accompanying drawing 8-1, accompanying drawing 8-2, picture grip block 5 is two block-shaped identical transparent panels, on two transparent panels, is provided for respectively transparent panel is inhaled and the opposite polarity magnetic patch 12 of all-in-one-piece on correspondence position.
Picture clamping and fixing rotating part, comprise: picture grip block 5, fixedly swivel mount 6, runner 7, driving wheel 8 and first stepping motor 9, picture grip block 5 is installed in fixedly on the swivel mount 6, fixedly swivel mount 6 constitutes rotating flexible connection through rotating shaft 21 and supporting vertical plate 2, fixedly swivel mount 6 is connected with runner 7 with rotating shaft 21, runner 7 and driving wheel 8 are connected through driving-belt, and driving wheel 8 and 9 coaxial connections of first stepping motor, first stepping motor 9 are fixed on and support on the base plate 1.
The frames movable part is the vertically disposed travel mechanisms by second stepping motor, 10 drive leading screws 11 in two cover planes, and formation is spacing by guide rail between two travel mechanisms, and leading screw drives the flexible connection of gong parent phase to displacement.
In the frames part, guide rail 3 and travel mechanism constitute slidably that guide rail connects, and mobile gong female 4 is connected with leading screw 11 in the travel mechanism.
During use, to be gathered picture 22 is clamped in two picture grip blocks 5, between two picture grip blocks 5, grip block 5 is installed in fixedly on the swivel mount 6, fixedly swivel mount 6 drives driving wheel 8 through driving-belt by first stepping motor 9, and runner 7 drives to be realized 21 being rotated around the shaft on horizontal plane by collection picture 22.Mobile gong mother 4 is driven by the leading screw in the travel mechanism 11, realizes that mobile gong mother 4 does straight line by support base plate 1 drive grip block 5 and moves on horizontal plane.
The frames movable part is the vertically disposed travel mechanism by second stepping motor, 10 drive leading screws 11 in the identical plane of two nested structures, and formation support base plate 1 drive grip block 5 is done vertical direction on horizontal plane straight line moves.
That the straight line of vertical direction moves grip block 5 on horizontal plane is synthetic, can realize that grip block 5 is done any how much straight lines on horizontal plane or curve accurately moves, and satisfies the needs of image acquistion system to the automatic collection of being gathered picture.
Referring to accompanying drawing 2, enter for making grip block 5 that fixedly swivel mount 6 is smooth, fixedly on the swivel mount 6, press the corresponding two groups of rollers 13 that are provided with of grip block 5 thickness, grip block 5 is arranged between two groups of rollers 13.By the rotation of roller 13, realize that grip block 5 enters between two groups of rollers 13 of fixing swivel mount 6 smoothly.
Referring to accompanying drawing 4 and accompanying drawing 5, for ease of grip block 5 and the fixedly installation and the release of swivel mount 6, fixedly on the swivel mount 6, also be provided with the slide plate 14 that grip block 5 withdraws from fixing swivel mount 6, slide plate 14 constitutes with roller 13 through chute 15 and slidably is connected, and an end of slide plate 14 is provided with the spacing preiection 20 of grip block 5, in the groove 16 on the contact-making surface of slide plate 14 and fixing swivel mount 6, be provided with spring, spring one end and slide plate 14 is fixing, and the other end is fixed with fixing swivel mount 6.
During use, grip block 5 is installed on two groups of slide plates 14 between the roller 13, and grip block 5 is spacing by spacing preiection 20, promotes grip block 5, and grip block 5 promotes spacing preiection 20 together enters between two groups of rollers 13 slide plate 14 and grip block 5.This moment, groove 16 interior springs were in the state of being stretched, and in the time of need withdrawing from grip block 5, by the recovery of the spring in the groove 16, release grip block 5 were withdrawed from automatically.
(ii) connect and gather adjusting device, single-chip microcomputer and computer, single-chip microcomputer links to each other by the RS232 serial ports with computer, and single-chip microcomputer connects first stepping motor 9 and second stepping motor 10 of control acquisition target adjusting device;
(iii) in computer control software, set up database according to the design size and the theory of mechanics of gathering adjusting device;
(iv) between computer control panel and database, set up related, the concrete Control Parameter of control panel contains the angle (unit degree) of acquisition target displacement (unit millimeter), moving direction, image zoom, rotation, gathers adjusting device system reset or to gathering each reset separately of adjusting device.