CN109270066A - A kind of line-scan digital camera scan method and device - Google Patents

A kind of line-scan digital camera scan method and device Download PDF

Info

Publication number
CN109270066A
CN109270066A CN201811137914.7A CN201811137914A CN109270066A CN 109270066 A CN109270066 A CN 109270066A CN 201811137914 A CN201811137914 A CN 201811137914A CN 109270066 A CN109270066 A CN 109270066A
Authority
CN
China
Prior art keywords
line
digital camera
mark point
scan digital
scan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811137914.7A
Other languages
Chinese (zh)
Other versions
CN109270066B (en
Inventor
薛凯
谢镐泽
李亚坤
张晋
陈永强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shengshi Intelligent Equipment Co ltd
Original Assignee
SHENZHEN SHENGSHI INTELLIGENT EQUIPMENT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN SHENGSHI INTELLIGENT EQUIPMENT Co Ltd filed Critical SHENZHEN SHENGSHI INTELLIGENT EQUIPMENT Co Ltd
Priority to CN201811137914.7A priority Critical patent/CN109270066B/en
Publication of CN109270066A publication Critical patent/CN109270066A/en
Application granted granted Critical
Publication of CN109270066B publication Critical patent/CN109270066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation

Abstract

The invention discloses a kind of line-scan digital camera scan methods, are used for line-scan digital camera scanning system, comprising steps of obtaining target object image;Multiple mark points are chosen on target object image;High-precision focusing is carried out to the multiple mark point according to the first sequence, successively with the focal position of each mark point of determination;Object is scanned using line-scan digital camera according to the focal position of each mark point.The clarity existing in the prior art using single scan line is overcome as the selection gist of pinpointed focus, so as to cause being easy to appear the unsharp phenomenon of near focal point area image, also generated by the shooting trigger signals of line-scan digital camera by the mobile triggering of carrier, it in this way can be after the mobile stopping of carrier, send shooting trigger signals, line-scan digital camera is avoided to take pictures when carrier is mobile, caused by image fault or inconsistent phenomenon, line-scan digital camera focusing accuracy is improved, to improve scanning accuracy.

Description

A kind of line-scan digital camera scan method and device
Technical field
The present invention relates to pathological section scanning imaging technology field, in particular to a kind of line-scan digital camera scan method and dress It sets.
Background technique
Linear array scanning camera high speed acquisition just moves to next unit length after having acquired a line every time, continues The acquisition of next line gets off just to be combined into so a two-dimensional picture for a period of time, is also similar to area array cameras acquisition The picture arrived.It is uneven due to target object surface in the line-scan digital camera scanning system course of work, it puts object and (is clapped Take the photograph object/scanned) carrier also have inclination, the focus that will lead to object entirety may vary widely, therefore scan Before target object, generally requires and focus in the region to be scanned multiple mark points of selection.
In the prior art, line-scan digital camera scanning system focuses to multiple mark points, and that there are accuracy is low, sweeps with scan method The problem of retouching low efficiency.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention One purpose is to provide that a kind of accuracy is higher, the faster line-scan digital camera scan method of scan efficiency and device.
The technical scheme adopted by the invention is that:
A kind of line-scan digital camera scan method, is used for line-scan digital camera scanning system, and the line-scan digital camera scanning system includes For the area array cameras and linear array shooting unit of photographic subjects object and for the carrier of drop target object, the linear array shooting unit Including line-scan digital camera and object lens, comprising steps of
Obtain target object image;
Multiple mark points are chosen on target object image;
High-precision focusing is carried out to the multiple mark point according to the first sequence, successively with the focus of each mark point of determination Position;
Object is scanned using line-scan digital camera according to the focal position of each mark point.
Further, described that multiple mark points are chosen on target object image, it specifically includes:
Obtain image border and the color information of target object image;
Mark point is chosen according to described image edge, the color information;
According to mark point density degree, mark point is deleted or increased;
The color information includes the shades of gray, and the acquisition image border and color information specifically include:
The image border of target object image is extracted by Edge extraction algorithm;
By handling to obtain grayscale image to object image gray processing, the gray value of grayscale image is extracted, the grey depth is obtained Degree;
The mark point includes edge labelling point and central marks point, described to be believed according to described image edge, the color Breath is chosen mark point and is specifically included:
According to image border, several edge labelling points are chosen on described image edge according to the first selection rule;
According to the shades of gray, region is entreated to choose several central marks points in the picture according to the second selection rule;
First selection rule is that the spacing distance between the two neighboring mark point chosen is fixed value;Described second Selection rule is that default gray value threshold value is chosen for mark point when pixel gray value is greater than gray value threshold value;
It is described to be specifically included according to mark point density degree, deletion or increase mark point:
Spacing distance Low threshold and spacing distance high threshold between default adjacent marker point, judge that each mark point is adjacent thereto Whether the spacing distance between mark point is greater than spacing distance Low threshold and is less than spacing distance high threshold;
If the spacing distance between mark point mark point adjacent thereto is greater than spacing distance Low threshold and is less than spacing distance High threshold then retains the mark point;
If the spacing distance between mark point mark point adjacent thereto is less than spacing distance Low threshold, the mark point is deleted;
If the spacing distance between mark point mark point adjacent thereto is higher than spacing distance high threshold, in the mark point and its Increase mark point between adjacent marker point.
Further, the high-precision focusing specifically includes full focus process or half focus process:
The full focus process includes thick focus process and smart focus process;
Half focus process specifically: with the focal position of previous mark point for the second center, it is right to execute essence Burnt process;
The thick focus process specifically:
Using linear array shooting unit in multiple shooting height position photographic subjects objects;
In each shooting height position, controls carrier and moved along transverse direction, the line-scan digital camera is according to triggering of taking pictures Signal shoots multi-strip scanning line image in carrier moving process, to form the reference picture of the shooting height position, the cross To the direction that direction is perpendicular to the line-scan digital camera scan line;
According to the clarity of the reference picture of different height position, the corresponding height and position of the first focus is determined;
The multiple shooting height position is to terminate between height and position positioned at default first starting height and position and first, The object lens according to the first default step distance vertically axis from first starting height and position be moved to the first termination height position It sets, forms multiple shooting height positions;
Described first originates the upper surface that the corresponding focal position of height and position is higher than object, and described first terminates height The corresponding focal position in position is lower than object lower surface;
The essence focus process specifically:
The corresponding height and position of the first focus is chosen to obtain as the second center, and centered on the second center The second starting altitude position and second is taken to terminate height and position;
The object lens according to the second default step distance vertically axis from the second starting altitude position be moved to second eventually Only height and position forms multiple secondary shooting height positions;
Using linear array shooting unit in multiple secondary shooting height position photographic subjects objects;
It in each secondary shooting height position, controls carrier and is moved along transverse direction, the line-scan digital camera is according to taking pictures Trigger signal shoots multi-strip scanning line image in carrier moving process, to form the reference picture of the shooting height position, institute Stating transverse direction is the direction perpendicular to the line-scan digital camera scan line;
According to the clarity of the reference picture of different height position, the corresponding height and position of the second focus is determined.
Further, described in each shooting height position, carrier is moved along transverse direction, the line-scan digital camera according to Trigger signal of taking pictures shoots multi-strip scanning line image in carrier moving process to form the reference picture of the shooting height position, Including two kinds of embodiments:
First embodiment specifically includes:
After the object lens are moved to current shooting height and position, carrier is moved to along transverse direction from the first lateral position Second lateral position, the line-scan digital camera shoot multi-strip scanning line image according to trigger signal of taking pictures in carrier moving process; Then the object lens are moved to next shooting height position, and carrier is moved to the first lateral position from the second lateral position, described Line-scan digital camera shoots multi-strip scanning line image according to trigger signal of taking pictures in carrier moving process;
Second embodiment specifically includes:
After the object lens are moved to current shooting height and position, carrier is moved to along transverse direction from the first lateral position Second lateral position, the line-scan digital camera shoot multi-strip scanning line image according to trigger signal of taking pictures in carrier moving process, Carrier moves back to the first lateral position from the second lateral position;Then the object lens are moved to next shooting height position, carry Tool is moved to the second lateral position from the first lateral position along transverse direction, and the line-scan digital camera exists according to trigger signal of taking pictures Multi-strip scanning line image is shot in carrier moving process.
Further, the line-scan digital camera scanning system further includes the controller connecting with the line-scan digital camera and Y-axis electricity Machine, the carrier move under the driving of the y-axis motor along Y-axis, are taken pictures using the generation of carrier transverse mobile motor and trigger letter Number;
Frame trigger signal is provided previously to line-scan digital camera;
When reaching default initial position, output line triggering signal driving line-scan digital camera shooting;
The initial position is arranged after the frame trigger signal starts;
The frame trigger signal that is provided previously is specifically included to line-scan digital camera: frame trigger signal is provided previously to line in controller Array camera, line-scan digital camera enter pre- shooting state;
The line triggering signal is square-wave signal, each rising edge of the line triggering signal or failing edge trigger the line Array camera shooting is primary, and when the shooting number of the line-scan digital camera reaches preset value, the line-scan digital camera stops shooting.
Further, first sequence refers to:
It determines the first mark point, as full focus marks point, carries out full focus process;
Next mark point is selected according to the first constraint condition, as 1 focus marks point, carries out half focus process;
The mark point for meeting the second constraint condition is re-used as full focus marks point to focus;
First constraint condition includes:
C0 is less than pre-determined distance threshold value with upper mark point distance;
C1, it is minimum with upper mark point distance;
C2 is located in the same connected region with a upper mark point;
Second constraint condition are as follows: be greater than the mark point of pre-determined distance with upper mark point distance or focus using half Multiple reference picture clarity that process obtains are respectively less than the mark point of default clarity.
Further, scanning uses column scan mode, is scanned according to preset sweep length, schemes in each scan columns As including at least one mark point.
Further, further include step, after the completion of scanning, by scanning obtain strip scanning area image carry out splicing and Fusion.
Further, further include step, before scanning starts, white space detection is carried out to the target object image, works as inspection When measuring the width of white space and being greater than default space width, when scanning, skips the white space.
On the other hand, the present invention also provides a kind of line-scan digital camera scanning means, comprising:
Target image obtains module, for obtaining target object image;
Mark point obtains module, for choosing multiple mark points on target object image;
Focusing module, it is each to determine for successively carrying out high-precision focusing to the multiple mark point according to the first sequence The focal position of a mark point;
Scan module, for being scanned according to the focal position of each mark point to object.
The beneficial effects of the present invention are:
The present invention is moved by the object lens of line-scan digital camera with carrier jointly, is focused and is marked in different shooting height position acquisitions Zonule reference picture near note point, overcomes the clarity existing in the prior art using single scan line as pinpointed focus Selection gist, so as to cause the unsharp phenomenon of near focal point area image is easy to appear, also by be provided previously frame triggering Signal is to line-scan digital camera;When reaching default initial position, output line triggering signal driving line-scan digital camera shooting solves the prior art Middle line-scan digital camera shoots the problem of image stretch come or image fault, improves image taking effect.
In addition the present invention includes to some mark points also by using multiple mark points are chosen on target object image The full focus process of thick focus process and smart focus process, to obtain the focal position of correspondence markings point, to other mark points It carries out with the focal position of previous mark point executing half focus process of smart focus process for the second center, overcome The defect of focusing low efficiency caused by full focusing one by one is needed when multiple focus marks points existing in the prior art are focused.
It the composite can be widely applied to various line-scan digital camera scanning systems.
Detailed description of the invention
Fig. 1 is the line-scan digital camera scan method flow chart of one embodiment of the present invention;
Fig. 2 is the schematic diagram that mark point is chosen in the line-scan digital camera scan method of one embodiment of the present invention;
Fig. 3 is the high-precision focus process schematic diagram of the line-scan digital camera scan method of one embodiment of the present invention;
Fig. 4 is that carrier movement is shown in the high-precision focus process of the line-scan digital camera scan method of one embodiment of the present invention It is intended to;
Fig. 5 is that scanning area is shown in the high-precision focus process of the line-scan digital camera scan method of one embodiment of the present invention It is intended to;
Fig. 6 is burnt when being the essence focusing of the high-precision focus process of the line-scan digital camera scan method of one embodiment of the present invention Point position selects schematic diagram;
Fig. 7 is trigger signal timing waveform in line-scan digital camera scan method in the prior art;
Fig. 8 is frame trigger signal, line triggering signal and Y-axis driving signal in line-scan digital camera scanning process in the prior art Timing waveform;
Fig. 9 is that timing synchronization flow diagram is triggered in the line-scan digital camera scan method of one embodiment of the present invention;
Figure 10 is that frame triggers during triggering timing synchronization in the line-scan digital camera scan method of one embodiment of the present invention The timing waveform of signal, position signal and line triggering signal;
Figure 11 is that the first sequence of the focus process of the line-scan digital camera scan method of one embodiment of the present invention chooses mark Note point flow chart;
Figure 12 is that the label of the high-precision focus process of the line-scan digital camera scan method of one embodiment of the present invention clicks Take schematic diagram;
Figure 13 is the column scan schematic diagram of the line-scan digital camera scan method of one embodiment of the present invention;
Figure 14 is the scanning schematic diagram of the line-scan digital camera scan method of one embodiment of the present invention;
Figure 15 is the objective focal length track schematic diagram of the line-scan digital camera scan method of one embodiment of the present invention;
Figure 16 is a kind of line-scan digital camera scanning means structural block diagram of one embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.
The present invention is used for line-scan digital camera scanning system, including the area array cameras and linear array shooting unit for photographic subjects object With the carrier and y-axis motor driver for drop target object, carrier is moved under the driving of y-axis motor driver along Y-axis, line Battle array shooting unit includes line-scan digital camera and object lens.
As shown in Figure 1, be the line-scan digital camera scan method flow chart of one embodiment of the present invention, including step: S1: target object image is obtained;S2: multiple mark points are chosen on target object image;S3: according to the first sequence to the multiple mark Note point successively carries out high-precision focusing, with the focal position of each mark point of determination;S4: according to the focal position of each mark point Object is scanned.
In some embodiment, obtains target object image and use an area array cameras, take pictures to object, obtain Its image is as the reference picture for choosing mark point.
As shown in Fig. 2, to choose the schematic diagram of mark point in the line-scan digital camera scan method of one embodiment of the present invention, Mark point 1, mark point 2 2042, mark point 3 2043, mark point 4 2044 and mark point 5 2045 are shown in figure.
The mark point selection that multiple mark points are chosen on target object image specifically includes:
1) it obtains the image border of target object image and color information, color information includes the shades of gray, obtain image Edge and color information specifically include: the image border of target object image are extracted by Edge extraction algorithm, by mesh Mark object image gray processing handles to obtain grayscale image, extracts the gray value of grayscale image, obtains the shades of gray.
2) mark point is chosen according to described image edge, the color information, mark point includes edge labelling point and center Mark point is chosen mark point and is specifically included according to image border, color information:
According to image border, several edge labelling points are chosen on described image edge according to the first selection rule;
According to the shades of gray, region is entreated to choose several central marks points in the picture according to the second selection rule;
First selection rule is that the spacing distance between the two neighboring mark point chosen is fixed value;Described second chooses Rule is that default gray value threshold value is chosen for mark point when pixel gray value is greater than gray value threshold value;
3) according to mark point density degree, mark point is deleted or is increased, is specifically included:
Spacing distance Low threshold and spacing distance high threshold between default adjacent marker point, judge that each mark point is adjacent thereto Whether the spacing distance between mark point is greater than spacing distance Low threshold and is less than spacing distance high threshold;
If the spacing distance between mark point mark point adjacent thereto is greater than spacing distance Low threshold and is less than spacing distance High threshold then retains the mark point;
If the spacing distance between mark point mark point adjacent thereto is less than spacing distance Low threshold, the mark point is deleted;
If the spacing distance between mark point mark point adjacent thereto is higher than spacing distance high threshold, in the mark point and its Increase mark point between adjacent marker point.
In the present embodiment, object image gray processing is handled to obtain grayscale image, extracts the gray value of grayscale image, obtain ash Color depth either shallow, gray processing processing are specifically included weighted mean method, are weighted to tri- components of R, G, B with different weights flat , grayscale image is obtained;Or mean value method is used, and the average value of tri- components of R, G, B of each pixel is found out, it then will be former Average value in beginning color image assigns the component of these three pixels;Or maximum value process is used, it will be in original color image R, gray value of the maximum value of tri- component intensities of G, B as grayscale image.
According to the first selection rule, several edge labelling points, the adjacent edge of any two are chosen on image border Spacing distance between mark point is fixed value d.According to the second selection rule, region is entreated to choose several center marks in the picture Remember point, it is assumed that the intensity value ranges of grayscale image are 0-255, and presetting gray value threshold value is 133, then when the image middle section pixel When point gray value is greater than 133, it is chosen for mark point.
As shown in Figure 2, measured zone edge and inside are distributed with mark point, according to the method that mark point obtains, lead to The image border that Edge extraction algorithm extracts image is crossed, according to image border, according to the first selection rule in described image Several edge labelling points are chosen on edge, wherein the first selection rule is the interval distance between the two neighboring mark point chosen From for fixed value, therefore mark point 1, mark point 2 2042 are image border mark point, by handling image gray processing Grayscale image is obtained, the gray value of grayscale image is extracted, obtains the shades of gray, according to the shades of gray, according to the second selection rule Several central marks points are chosen in centre region in the picture, and the second selection rule is default gray value threshold value, work as pixel gray level When value is greater than gray value threshold value, it is chosen for mark point, mark point 3 2043, mark point 4 2044 and mark point 5 2045 are located at figure As inside, it is marked according to gray scale weight.
Spacing distance range between default adjacent marker point is (a, b), between judging between each mark point and adjacent marker point Whether gauge is from the spacing distance range (a, b), if so, retaining the mark point, if mark point and one adjacent marker point Between spacing distance be less than a, then delete the mark point, if the spacing distance between mark point and one adjacent marker point be greater than b, Increase mark point between the mark point and its this adjacent marker point.
Therefore mark point 3 2043 and mark point 4 2044 shown in Figure 2 should be deleted.
By obtaining image border and the color information of target object image, label is chosen according to image border, color information Point, and according to mark point density degree, deletes or increases mark point, and randomly selects mark point or simple mathematical in the prior art Operation is chosen mark point and is compared, more reasonable to the selection of image focal length mark point, avoids subsequent line-scan digital camera scan image Unsharp problem.
High-precision focusing method includes step of focusing twice in the present embodiment: full focus process and half focus process.
Full focus process includes thick focus process and smart focus process, half focus process specifically: with previous mark point Focal position be the second center, execute smart focus process.
Wherein thick focus process is as follows:
Comprising steps of 1) shoot mesh in multiple shooting height positions (a shooting height position) using linear array shooting unit Mark object;2) according to the clarity of the reference picture of different height position, the corresponding height and position of the first focus is determined.
Wherein referred in multiple shooting height position photographic subjects objects in each shooting height position using linear array shooting unit, It is mobile along transverse direction (Y direction) to control carrier, line-scan digital camera is clapped according to trigger signal is taken pictures in carrier moving process Multi-strip scanning line image is taken the photograph, to form the reference picture of the shooting height position, transverse direction is to scan perpendicular to line-scan digital camera The direction of line;
Multiple shooting height positions are to terminate between height and position positioned at default first starting height and position and first, object lens According to the first default step distance, vertically axis from the first starting height and position is moved to the first termination height and position, is formed more A shooting height position.In the present embodiment, using object lens, independently of line-scan digital camera movement, (i.e. line-scan digital camera is motionless, and object lens are along Z axis Direction is mobile) realize that the focusing of linear array shooting unit acts, so that linear array shooting unit is easy to operate.
The corresponding focal position of first starting height and position is higher than the upper surface of object, and first, which terminates height and position, corresponds to Focal position be lower than object lower surface, in this way setting focusing position, it is ensured that during the focusing process, image clearly obtained Nonmonotonicity is presented in degree, can guarantee that image that line-scan digital camera obtains from obscuring to clearly again to fuzzy process, that is, covers Lid can take most clear focusing position.
Smart focus process is as follows:
The corresponding height and position of the first focus is chosen to obtain as the second center, and centered on the second center The second starting altitude position and second is taken to terminate height and position;Object lens according to the second default step distance vertically axis from second Starting altitude position is moved to the second termination height and position, forms multiple secondary shooting height positions;Utilize linear array shooting unit Carrier is controlled along transverse direction in each secondary shooting height position in multiple secondary shooting height position photographic subjects objects Mobile, line-scan digital camera shoots multi-strip scanning line image according to trigger signal of taking pictures in carrier moving process, to form the shooting The reference picture of height and position, transverse direction are the direction perpendicular to the line-scan digital camera scan line;According to different height position Reference picture clarity, determine the corresponding height and position of the second focus.
Wherein focus determines method are as follows: 1) selects the corresponding shooting height position of the highest reference picture of clarity as coke Point position, 2) by different height reference by location image definition one articulation curve of fitting, select the highest position of clarity The position on corresponding Z axis is set as focal position.
As shown in figure 3, the high-precision focus process signal of the line-scan digital camera scan method for one embodiment of the present invention Figure, including line-scan digital camera 102, object lens 101, object lens axis 103, first starting height and position 104, first terminate height and position 105, object lens moving direction (Z-direction) 106, carrier 201, object 203, focus marks point 204 and carrier moving direction (Y Axis direction) 205.
Target object image is acquired first with area array cameras, and focus marks point is set on the target object image of acquisition 204。
Object 203 is the glass slide for being mounted with pathological section, is placed on carrier 201, avoids connecting with object lens 101 Touching, in order to avoid pollution object lens 101, when focusing, carrier 201 is mobile along carrier moving direction (Y direction) 205.
Line-scan digital camera 102 is connected with object lens 101, and when focusing, line-scan digital camera 102 is fixed, and object lens 101 are along the object lens side of movement Mobile to (Z-direction) 106, the focusing position of object lens 101 is right from the first starting height and position 104 with the first default step distance The focal position answered terminates the corresponding focal position of height and position 105, the first starting corresponding focus of height and position 104 to first Position is higher than the upper surface of object, and first, which terminates the corresponding focal position of height and position 105, is lower than object lower surface, the model It encloses to cover and shoots most clear focusing position, in actual use, the first starting height and position 104 and first terminates height and position 105 determine in debugging process, are engineering preset value.
As shown in figure 4, for one embodiment of the present invention line-scan digital camera scan method high-precision focus process in carry Has mobile schematic diagram, including line-scan digital camera 102, object lens 101, object lens axis 103, object lens moving direction (Z-direction) 106, object 203, focus marks point 204, the 205, first lateral position of carrier moving direction (Y direction) 301, second are lateral Position 302, line-scan digital camera scanning line direction 303, line-scan digital camera scan line peak width 304 and focus marks point motion track 305。
Line-scan digital camera scan line peak width 304 is the distance of the 301 to the second lateral position of the first lateral position 302, right Jiao Shi, the carrier of drop target object 203 is along carrier moving direction (Y direction) 205 with pre-determined distance movement, carrier movement side To (Y direction) 205 perpendicular to line-scan digital camera scanning line direction 303, object 203 is in the first lateral position 301 finger: focusing The center of mark point 204 is located on the first lateral position 301, and object 203 is in the second lateral position 302 finger: focus marks The center of point 204 is located on the first lateral position 302.
The center of focus marks point 204 is moved between the first lateral position 301 and the second lateral position 302 in moving process Dynamic, motion track intersects vertically with object lens axis 103.
In each shooting height position, carrier is moved along transverse direction, and line-scan digital camera is being carried according to trigger signal of taking pictures Multi-strip scanning line image is shot in tool moving process to form the reference picture of the shooting height position, including two kinds of embodiment party Formula:
First embodiment refers in one embodiment of the invention:
After object lens 101 step to current shooting height and position along object lens moving direction (Z-direction) 106 mobile one, Carrier drives object 203 to be efficiently translated to the second lateral position 302, linear array phase from the first lateral position 301 with pre-determined distance Machine shoots multi-strip scanning line image according to trigger signal of taking pictures in carrier moving process;Then object lens 101 continue on object lens The mobile stepping of moving direction (Z-direction) 106 is moved to next shooting height position, and carrier drives object 203 from the Two lateral positions 302 are moved to the first lateral position 301, and the line-scan digital camera is according to trigger signal of taking pictures in carrier moving process Middle shooting multi-strip scanning line image;
I.e. first embodiment refer to carrier drive object 203 the first lateral position 301 and the second lateral position 302 it Between move back and forth, in moving process, taken pictures trigger signal line-scan digital camera using the generation of carrier transverse mobile motor.
Second embodiment refers in another embodiment of the present invention:
After object lens 101 step to current shooting height and position along object lens moving direction (Z-direction) 106 mobile one, Carrier drives object 203 to be efficiently translated to the second lateral position 302, linear array phase from the first lateral position 301 with pre-determined distance Machine shoots multi-strip scanning line image according to trigger signal of taking pictures in carrier moving process, and carrier drives object 203 from second Lateral position 302 moves back to the first lateral position 301;Then object lens 101 continue on object lens moving direction (Z-direction) A 106 mobile steppings are moved to next shooting height position, and carrier drives object 203 mobile from the first lateral position 301 To the second lateral position 302, the line-scan digital camera shoots multi-strip scanning line according to trigger signal is taken pictures in carrier moving process Image;
I.e. second embodiment refers to that carrier drives object 203 to be only moved to the second cross from the first lateral position 301 During position 302, trigger signal is taken pictures to line-scan digital camera using the generation of carrier transverse mobile motor.
As shown in figure 5, for one embodiment of the present invention line-scan digital camera scan method high-precision focus process in sweep Retouch area schematic, including the first lateral position 301, the second lateral position 302, line-scan digital camera scanning line direction 303, linear array phase Machine scan line peak width 304, scan line 310, object 203 and carrier moving direction (Y direction) 205.
The scanning range of line-scan digital camera is as shown in fig. 6, being the first lateral position 301 to the second along carrier moving direction The distance of lateral position 302 is being scanning line direction length along scanning line direction, and line-scan digital camera focusing method of the invention is swept Retouch acquisition is an area image.
The every movement of object lens is primary, object 203 along perpendicular to the line-scan digital camera scanning line direction 303 with pre-determined distance It is mobile.
In some embodiment, line-scan digital camera scan line peak width 304 is 16um (i.e. in each shooting height position Set, the distance that carrier moves along the y axis), line-scan digital camera scanning line direction length is 2000pixel (i.e. along line-scan digital camera Scanning line direction 303), object 203 moves between the first lateral position (X, Y1) 301 and the second lateral position (X, Y2) 302 Dynamic pre-determined distance is 0.25um or 0.5um.
When pre-determined distance is 0.25um, indicate that the every movement of object lens is primary, object 203 is in 301 He of the first lateral position When moving between the second lateral position 302,64 trigger signals of taking pictures are sent, that is, there are 64 scan lines to constitute a width shooting figure Picture, according to 2000pixel*0.25um=500um, 64*0.25um=16um, the scanning area of linear array shooting unit is 500um* 16um or 2000pixel*64pixel.
When pre-determined distance is 0.5um, indicate that the every movement of object lens is primary, object 203 is in the first lateral position 301 and the When moving between two lateral positions 302,32 trigger signals of taking pictures are sent, that is, there are 32 scan lines to constitute width shooting image, According to 2000pixel*0.5um=1000um, 32*0.5um=16um, the scanning area of linear array shooting unit is 1000um* 16um or 2000pixel*32pixel.
The selection of pre-determined distance and line-scan digital camera relating to parameters.
Object lens according to the first default step distance vertically axis from first starting height and position be moved to the first termination height Position is spent, line-scan digital camera obtains multiple pictures and determines that the first focus is corresponding according to the clarity of the image of different height position Height and position.
Wherein focus determines method are as follows: 1) selects the corresponding shooting height position of the highest reference picture of clarity as coke Point position, 2) by different height reference by location image definition one articulation curve of fitting, select the highest position of clarity The position on corresponding Z axis is set as focal position.
As shown in fig. 6, the essence of the high-precision focus process for the line-scan digital camera scan method of one embodiment of the present invention Focal position selects schematic diagram, including object lens axis 103, first to originate height and position 104, first and terminate height and position when focusing 105, object lens moving direction (Z-direction) 106, the first default step distance 309, the corresponding height and position 401 of the first focus, Two default step distances 306, the second starting altitude position 307, the second final position 308 and the corresponding height and position of the second focus 402。
In the embodiment, focus method of determination is that the corresponding shooting height position of the selection highest reference picture of clarity is made For focal position, it is assumed that the first default step distance 309 of setting refers to: being terminated in the first starting height and position 104 and first high Object lens are mobile (as interval value range may be configured as 20um to 40um) with the first default step distance 309 between degree position 105 10 times, the second default stepping 306 of setting refer between the second starting altitude position 307 and the second final position 308 object lens with Second default step distance 306 is 12 times mobile (as interval value range may be configured as 8um to 10um), wherein the first focus is corresponding Height and position 401 refer to: first starting height and position 104 and first terminate height and position 105 between object lens shooting image The corresponding height and position of shooting focus of the middle highest image of clarity, i.e. the second center, the second starting altitude position 307 With the second final position 308 be centered on the corresponding height and position 401 of the first focus, on it under between 6 movements of each setting Every, and the second default step distance 306 is less than the first default step distance 309, finally in 307 He of the second starting altitude position The corresponding height of focus where the highest image of clarity is selected in the image that the shooting of second final position, 308 line-scan digital camera obtains Degree position is defined as the corresponding height and position 402 of the second focus.
In smart focus process, carrier move mode and shooting Signal trigger mode height corresponding with the first focus is obtained It is identical when position.
This method is to first pass through the big mobile interval of object lens, immediate focal position is obtained, then again with this Based on focal position, descends setting in range closely-spaced on it, obtain more accurate focal position, pass through the side of essence focusing Formula increases focusing accuracy.
Fig. 7 is trigger signal timing waveform in line-scan digital camera scan method in the prior art;
Fig. 8 is frame trigger signal, line triggering signal and Y-axis driving signal in line-scan digital camera scanning process in the prior art Timing waveform;
As shown in fig. 7, each row pulse triggering signal b shooting is primary when frame trigger signal a is high level.
In the prior art, detected object is usually that carrier is followed to move in Y direction, as shown in figure 8, carrier is by Y Axis linear motor driver provides Y-axis driving signal c driving, and is that line-scan digital camera persistently provides using encoder or grating scale Row pulse triggering signal b provides frame triggering high level signal when needing to be scanned shooting to drive line-scan digital camera to shoot. In this way when scanning, if the frame trigger signal a and subject of line-scan digital camera start mobile signal (Y-axis driving letter Number c) asynchronous, camera will be made, which to shoot the figure come, stretching or distortion, for example, as in Figure 10, when frame trigger signal a is (high Level is in trigger position 2), when earlier than Y-axis driving signal c triggering (object to be detected starts to move in t=t1), due to quilt Detection object does not move, causes to shoot actual detected object repeatedly in same position, and it is existing image stretch occur As;As frame trigger signal a (when high level is in trigger position 3), (object to be detected is in t=when being later than Y-axis driving signal c triggering Start to move when t1), since object to be detected has moved a distance, cause to clap actual detected object parts leakage It takes the photograph, image fault phenomenon occurs.
Fig. 9 is that timing synchronization flow diagram, line are triggered in the line-scan digital camera scan method of one embodiment of the present invention Array camera scanning system further includes the controller connecting with line-scan digital camera and y-axis motor driver, and the carrier is in the Y-axis electricity It is moved under the driving of machine driver along Y-axis, the triggering method of synchronization of trigger signal are as follows:
Frame trigger signal (high level) is provided previously to line-scan digital camera in S21;
S22, when reaching default initial position, output line triggering signal driving line-scan digital camera shooting.
Wherein, initial position is arranged after frame trigger signal starts.
Step S21 is specifically included: frame trigger signal (high level) is provided previously to line-scan digital camera in controller, line-scan digital camera into Enter pre- shooting state.
Step S22 is specifically included: when carrier moves to default initial position, y-axis motor starts to export row triggering letter Number driving line-scan digital camera shooting.Line triggering signal is square-wave signal, each rising edge of line triggering signal or failing edge triggering Line-scan digital camera shooting is primary, and when the shooting number of line-scan digital camera reaches preset value, line-scan digital camera stops shooting.
Figure 10 is that frame triggers during triggering timing synchronization in the line-scan digital camera scan method of one embodiment of the present invention The timing waveform of signal, position signal and line triggering signal, referring to Fig.1 0, controller sends frame trigger signal to line-scan digital camera A, when frame trigger signal a becomes high level from low level, i.e. when t=t1, line-scan digital camera detects the rising of frame trigger signal Edge, line-scan digital camera enter pre- shooting state, and y-axis motor starts that carrier is driven to move along Y-direction, when carrier is moved to default starting When point y=y1, i.e., when initial position is t=t2, y-axis motor sends line triggering signal b, row triggering letter to line-scan digital camera is synchronous Number b is square-wave signal, and line-scan digital camera starts to shoot, and y-axis motor drives the every mobile preset interval distance of carrier, correspondingly, Y-axis is electric Machine sends a square-wave signal to line-scan digital camera, when line triggering signal c becomes high level from low level, i.e. when t=t2, and linear array Camera detects that the rising edge of line triggering signal, line-scan digital camera carry out first time shooting, the touching of each rising edge of line triggering signal The shooting of hair line array camera is primary, when carrier is moved to default end point y=y2, i.e., when end position is t=t3, and linear array phase When the shooting number of machine reaches preset value, line-scan digital camera stops shooting.It can be according to the default starting of the length of practical examined object (starting point, that is, object under test enters first point of the line-scan digital camera shooting visual field, and end point, that is, object under test removes for point and end point The maximal end point in the line-scan digital camera visual field), according to line triggering signal pulse width and mobile preset interval distance, determine initial position and End position determines that y-axis motor sends the square wave number of line triggering signal, and then triggers line-scan digital camera shooting, control linear array The number of camera shooting.Or starting point is preset according to the length of practical examined object and terminates end point, it is triggered according to row Signal pulse width and mobile preset interval distance, are arranged the shooting number of line-scan digital camera, under the triggering of line triggering signal, line Array camera calculates shooting number, and when line-scan digital camera shooting number reaches preset value, line-scan digital camera stops shooting.The present embodiment In, first rising edge signal of line triggering signal is synchronous with initial position, triggers between starting point y1 and end point y2 more Secondary line-scan digital camera shooting, avoids shooting image stretch or distortion, shooting effect more preferable.
It as shown in figure 11, is the first sequence of the focus process of the line-scan digital camera scan method of one embodiment of the present invention Mark point flow chart is chosen, wherein the step of focusing to multiple mark points are as follows: S111: the first mark point is determined, as complete Focus marks point, carries out full focus process;S112: selecting next mark point according to the first constraint condition, as half focusing mark Remember point, carries out half focus process;S113: the mark point for meeting the second constraint condition is re-used as full focus marks point and is carried out pair It is burnt.
Wherein the first constraint condition includes:
C0 is less than pre-determined distance threshold value with upper mark point distance;
C1, it is minimum with upper mark point distance;
C2 is located in the same connected region with a upper mark point;
Second constraint condition are as follows: be greater than the mark point of pre-determined distance with upper mark point distance or utilize half focus process The multiple reference picture clarity obtained are respectively less than the mark point of default clarity.
In the present embodiment, pre-determined distance threshold value d chooses with upper mark point distance less than pre-determined distance threshold value d's Meet the minimum with upper mark point distance to select in focus marks point of C0 condition to focus marks point, then from what is selected To focus marks point, and this mark point is judged and whether a upper mark point is located in the same connected region, if being located at same In one connected region, then this is selected to wait for that focus marks point is carried out as next mark point, and to it according to half focusing mode Focusing, if not be located at the same connected region in, find it is next meet the first constraint condition to focus marks point conduct Next mark point.By full focusing mode being respectively adopted or half focusing mode is focused to different mark points, imitate focusing Rate is higher.
In another embodiment, the mark point of pre-determined distance will be greater than with upper mark point distance or focused using half The mark point that multiple reference picture clarity that process obtains are respectively less than default clarity is re-used as full focus marks point and carries out Focusing.
The case where being wherein greater than the mark point of pre-determined distance with upper mark point distance refers to: if current markers point is with before The distance between one mark point is greater than pre-determined distance, then the point belongs to full focus marks point, needs to carry out full focus process, Mark point is with reference to half focus process of progress with the mark point in subsequent order.
Using Figure 12 as the mark point of the high-precision focus process of the line-scan digital camera scan method of one embodiment of the present invention Schematic diagram is chosen, is with mark point 6 2046, mark point 7 2047, mark point 8 2048 and the mark point 9 2049 enumerated in scheming Example.
When the distance between mark point 8 2048 and mark point 9 2049 are greater than some pre-determined distance, mark point nine 2049, using the corresponding height and position of the second focus of mark point 8 2048 as when focusing with reference to progress essence, can generate biggish mistake Difference, therefore mark point 9 2049 is revised as the mark point focused entirely, carries out full focus process, that is, it is thick right to need to re-start Burnt process and smart focus process.
The mark point focused entirely is chosen: multiple reference picture clarity to be obtained using half focus process are respectively less than The case where mark point of default clarity, refers to: if current markers point (1 focus marks point) utilizes the more of half focus process acquisition A reference picture clarity is respectively less than default clarity, then the point is converted to full focus marks point, carries out full focus process, thereafter Mark point is with reference to half focus process of progress with the full focus marks point in continuous sequence.
In some embodiment, presetting clarity is 60, i.e., when judgement essence focusing the image of all acquisitions it is clear Degree is respectively less than 60, then the mark point need to be converted to full focus marks point, needs to re-start thick focus process and smart focus process, The adjacent marker point of subsequent order is then with reference to half focus process of progress with the mark point, and this avoid caused by multiple focusing Deviation accumulation can carry out dynamic calibration in time, guarantee the accuracy of focusing.
It as shown in figure 13, is the column scan schematic diagram of the line-scan digital camera scan method of one embodiment of the present invention, wherein Scanning uses column scan mode, is scanned according to preset sweep length, at least one label is included in each scan columns Point, these mark points have different Y locations, and corresponding Z axis position is also different, after the completion of scanning, by the item of scanning acquisition Shape scanning area image is spliced and is merged, visible in figure to be scanned by column with sweep length 501 to image, until covering Entire testing image.
It further include white space detection being carried out to described image, when detecting before scanning starts in some embodiment When the width of white space is greater than default space width, when scanning, skips the white space, blank area field width as shown in the figure When degree 502 is greater than preset space width, scanning when, skips the region, when carrying out image mosaic after scanning is completed, herein Area filling blank image or other reasonable images.
It as shown in figure 14, is the scanning schematic diagram of the line-scan digital camera scan method of one embodiment of the present invention, including line Array camera 102, object lens 101, object lens moving direction 106, carrier 201, object 203, carrier moving direction (Y direction) 205, Sweep length 501 and scanning direction 601, as seen from the figure, scanning are column scan mode, scanning direction 601 and object lens moving direction (Z-direction) 106 and carrier moving direction (Y direction) 205 intersect vertically, according to preset sweep length 501, along scanning Testing image region division at column region, is carried out one column scan of a column by direction 601 in sequence, and each column scanning area includes At least one mark point.
It as shown in figure 15, is the objective focal length track signal of the line-scan digital camera scan method of one embodiment of the present invention Figure, including line-scan digital camera 102, object lens 101, object lens moving direction (Z-direction) 106, carrier 201, object 203, focusing mark Note point 204, corresponding second focal position 701 of focus marks point, objective focal length track 107 and carrier moving direction (Y direction) 205。
In this embodiment it is assumed that including six mark points in a column scan region, each mark point is one second corresponding Focal position, the second focal position i.e. best focus position of the mark point, when scanning, the focal length of object lens is not unalterable , body surface is uneven, and different location is distributed different mark points, the focal lengths of object lens along these mark points best coke Dynamic adjustment is carried out away from position, to reach optimal scan resolution.
It as shown in figure 16, is a kind of line-scan digital camera scanning means structural block diagram of one embodiment of the present invention, comprising: mesh Logo image obtains module, and for obtaining target object image, mark point obtains module, multiple labels are chosen on target object image Point, Focusing module, for successively carrying out high-precision focusing to the multiple mark point according to the first sequence, with each label of determination The focal position of point, scan module, for being scanned according to the focal position of each mark point to object.In some implementations It further include image mosaic module in example, for after the completion of scanning, the strip scanning area image that scanning obtains to be spliced And fusion, the present apparatus is for executing any of the above-described kind of line-scan digital camera scan method.
The present invention is moved by the object lens of line-scan digital camera with carrier jointly, is focused and is marked in different shooting height position acquisitions Zonule reference picture near note point, overcomes the clarity existing in the prior art using single scan line as pinpointed focus Selection gist also pass through the shooting of line-scan digital camera so as to cause the unsharp phenomenon of near focal point area image is easy to appear Trigger signal is generated by the mobile triggering of carrier, can be sent shooting trigger signals after the mobile stopping of carrier in this way, be avoided linear array Camera is taken pictures when carrier is mobile, caused by image fault or inconsistent phenomenon, improve line-scan digital camera focusing accuracy, from And improve scanning accuracy.
In addition the present invention includes to some mark points also by using multiple mark points are chosen on target object image The full focus process of thick focus process and smart focus process, to obtain the focal position of correspondence markings point, to other mark points It carries out with the focal position of previous mark point executing half focus process of smart focus process for the second center, overcome The defect of focusing low efficiency caused by full focusing one by one is needed when multiple focus marks points existing in the prior art are focused.
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to the implementation above Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.

Claims (10)

1. a kind of line-scan digital camera scan method, is used for line-scan digital camera scanning system, the line-scan digital camera scanning system includes using In the area array cameras and linear array shooting unit of photographic subjects object and for the carrier of drop target object, the linear array shooting unit packet Include line-scan digital camera and object lens, which is characterized in that comprising steps of
Obtain target object image;
Multiple mark points are chosen on target object image;
High-precision focusing is carried out to the multiple mark point according to the first sequence, successively with the focus position of each mark point of determination It sets;
Object is scanned using line-scan digital camera according to the focal position of each mark point.
2. a kind of line-scan digital camera scan method according to claim 1, which is characterized in that described to be selected on target object image Multiple mark points are taken, are specifically included:
Obtain image border and the color information of target object image;
Mark point is chosen according to described image edge, the color information;
According to mark point density degree, mark point is deleted or increased;
The color information includes the shades of gray, and the acquisition image border and color information specifically include:
The image border of target object image is extracted by Edge extraction algorithm;
By handling to obtain grayscale image to object image gray processing, the gray value of grayscale image is extracted, the shades of gray are obtained;
The mark point includes edge labelling point and central marks point, described to be selected according to described image edge, the color information Mark point is taken to specifically include:
According to image border, several edge labelling points are chosen on described image edge according to the first selection rule;
According to the shades of gray, region is entreated to choose several central marks points in the picture according to the second selection rule;
First selection rule is that the spacing distance between the two neighboring mark point chosen is fixed value;Described second chooses Rule is that default gray value threshold value is chosen for mark point when pixel gray value is greater than gray value threshold value;
It is described to be specifically included according to mark point density degree, deletion or increase mark point:
Spacing distance Low threshold and spacing distance high threshold between default adjacent marker point, judge each mark point label adjacent thereto Whether the spacing distance between point is greater than spacing distance Low threshold and is less than spacing distance high threshold;
If the spacing distance between mark point mark point adjacent thereto is greater than spacing distance Low threshold and is less than the high threshold of spacing distance Value, then retain the mark point;
If the spacing distance between mark point mark point adjacent thereto is less than spacing distance Low threshold, the mark point is deleted;
If the spacing distance between mark point mark point adjacent thereto is higher than spacing distance high threshold, adjacent thereto in the mark point Increase mark point between mark point.
3. a kind of line-scan digital camera scan method according to claim 1, which is characterized in that the specific packet of high-precision focusing Include full focus process or half focus process:
The full focus process includes thick focus process and smart focus process;
Half focus process specifically: with the focal position of previous mark point for the second center, execute essence and focused Journey;
The thick focus process specifically:
Using linear array shooting unit in multiple shooting height position photographic subjects objects;
In each shooting height position, controls carrier and moved along transverse direction, the line-scan digital camera is according to trigger signal of taking pictures Multi-strip scanning line image is shot, in carrier moving process to form the reference picture of the shooting height position, the transverse direction side To for the direction perpendicular to the line-scan digital camera scan line;
According to the clarity of the reference picture of different height position, the corresponding height and position of the first focus is determined;
The multiple shooting height position is to terminate between height and position positioned at default first starting height and position and first, described Object lens according to the first default step distance vertically axis from first starting height and position be moved to the first termination height and position, shape At multiple shooting height positions;
Described first originates the upper surface that the corresponding focal position of height and position is higher than object, and described first terminates height and position Corresponding focal position is lower than object lower surface;
The essence focus process specifically:
The corresponding height and position of the first focus is chosen as the second center, and obtains centered on the second center Two starting altitude positions and second terminate height and position;
The object lens according to the second default step distance vertically axis from the second starting altitude position be moved to the second termination height Position is spent, multiple secondary shooting height positions are formed;
Using linear array shooting unit in multiple secondary shooting height position photographic subjects objects;
In each secondary shooting height position, controls carrier and moved along transverse direction, the line-scan digital camera is according to triggering of taking pictures Signal shoots multi-strip scanning line image in carrier moving process, to form the reference picture of the shooting height position, the cross To the direction that direction is perpendicular to the line-scan digital camera scan line;
According to the clarity of the reference picture of different height position, the corresponding height and position of the second focus is determined.
4. a kind of line-scan digital camera scan method according to claim 3, which is characterized in that described in each shooting height position It sets, carrier is moved along transverse direction, and the line-scan digital camera is a plurality of according to taking pictures trigger signal in carrier moving process and shooting Scanning yoke picture is to form the reference picture of the shooting height position, including two kinds of embodiments:
First embodiment specifically includes:
After the object lens are moved to current shooting height and position, carrier is moved to second from the first lateral position along transverse direction Lateral position, the line-scan digital camera shoot multi-strip scanning line image according to trigger signal of taking pictures in carrier moving process;Then The object lens are moved to next shooting height position, and carrier is moved to the first lateral position, the linear array from the second lateral position Camera shoots multi-strip scanning line image according to trigger signal of taking pictures in carrier moving process;
Second embodiment specifically includes:
After the object lens are moved to current shooting height and position, carrier is moved to second from the first lateral position along transverse direction Lateral position, the line-scan digital camera shoot multi-strip scanning line image, carrier according to trigger signal of taking pictures in carrier moving process The first lateral position is moved back to from the second lateral position;Then the object lens are moved to next shooting height position, carrier edge Transverse direction be moved to the second lateral position from the first lateral position, the line-scan digital camera is according to trigger signal of taking pictures in carrier Multi-strip scanning line image is shot in moving process.
5. a kind of line-scan digital camera scan method according to claim 4, which is characterized in that the line-scan digital camera scanning system It further include the controller and y-axis motor being connect with the line-scan digital camera, the carrier is under the driving of the y-axis motor along Y-axis Movement generates trigger signal of taking pictures using carrier transverse mobile motor;
Frame trigger signal is provided previously to line-scan digital camera;
When reaching default initial position, output line triggering signal driving line-scan digital camera shooting;
The initial position is arranged after the frame trigger signal starts;
The frame trigger signal that is provided previously is specifically included to line-scan digital camera: frame trigger signal is provided previously to linear array phase in controller Machine, line-scan digital camera enter pre- shooting state;
The line triggering signal is square-wave signal, each rising edge of the line triggering signal or failing edge trigger the linear array phase Machine shooting is primary, and when the shooting number of the line-scan digital camera reaches preset value, the line-scan digital camera stops shooting.
6. a kind of line-scan digital camera scan method according to claim 3, which is characterized in that first sequence refers to:
It determines the first mark point, as full focus marks point, carries out full focus process;
Next mark point is selected according to the first constraint condition, as 1 focus marks point, carries out half focus process;
The mark point for meeting the second constraint condition is re-used as full focus marks point to focus;
First constraint condition includes:
C0 is less than pre-determined distance threshold value with upper mark point distance;
C1, it is minimum with upper mark point distance;
C2 is located in the same connected region with a upper mark point;
Second constraint condition are as follows: be greater than the mark point of pre-determined distance with upper mark point distance or utilize half focus process The multiple reference picture clarity obtained are respectively less than the mark point of default clarity.
7. a kind of line-scan digital camera scan method according to claim 1, which is characterized in that scanning uses column scan mode, It is scanned according to preset sweep length, image includes at least one mark point in each scan columns.
8. a kind of line-scan digital camera scan method according to claim 7, which is characterized in that further include step, scanning is completed Afterwards, the strip scanning area image that scanning obtains is spliced and is merged.
9. a kind of line-scan digital camera scan method according to claim 1, which is characterized in that further include step, scanning starts Before, white space detection is carried out to the target object image, when the width for detecting white space is greater than default space width, The white space is skipped when scanning.
10. a kind of line-scan digital camera scanning means characterized by comprising
Target image obtains module, for obtaining target object image;
Mark point obtains module, for choosing multiple mark points on target object image;
Focusing module, for successively carrying out high-precision focusing to the multiple mark point according to the first sequence, with each mark of determination Remember the focal position of point;
Scan module, for being scanned according to the focal position of each mark point to object.
CN201811137914.7A 2018-09-28 2018-09-28 Scanning method and device for linear array camera Active CN109270066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811137914.7A CN109270066B (en) 2018-09-28 2018-09-28 Scanning method and device for linear array camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811137914.7A CN109270066B (en) 2018-09-28 2018-09-28 Scanning method and device for linear array camera

Publications (2)

Publication Number Publication Date
CN109270066A true CN109270066A (en) 2019-01-25
CN109270066B CN109270066B (en) 2021-11-05

Family

ID=65198650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811137914.7A Active CN109270066B (en) 2018-09-28 2018-09-28 Scanning method and device for linear array camera

Country Status (1)

Country Link
CN (1) CN109270066B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399038A (en) * 2019-08-15 2021-02-23 上海微电子装备(集团)股份有限公司 Image scanning device, laser packaging equipment, mask plate measuring equipment and method
CN113766131A (en) * 2021-09-15 2021-12-07 广州市明美光电技术有限公司 Multi-target-point focusing method and application thereof
CN115546172A (en) * 2022-10-19 2022-12-30 广州纳动半导体设备有限公司 Machine vision-based chip carrier plate-substrate near-zero gap measuring method
CN117148477A (en) * 2023-09-05 2023-12-01 中国人民解放军国防科技大学 Precipitation particle multi-angle stereoscopic imaging measurement device and method

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008039968A2 (en) * 2006-09-28 2008-04-03 The Research Foundation Of State University Of New York Apparatus, system, kit and method for heart mapping
CN101335837A (en) * 2007-06-28 2008-12-31 索尼株式会社 Image pickup device, photographing control method and program
US20100172020A1 (en) * 2008-10-14 2010-07-08 Burnham Institute For Medical Research Automated scanning cytometry using chromatic aberrtation for multiplanar image acquisition
US20100231728A1 (en) * 1997-08-25 2010-09-16 Holub Richard A System for distributing and controlling color reproduction at multiple sites
US20100289835A1 (en) * 1996-02-26 2010-11-18 Holub Richard A Color calibration of color image rendering devices
CN202017854U (en) * 2010-12-31 2011-10-26 深圳市盛世天创传媒科技有限公司 Camera auxiliary system
CN102333171A (en) * 2011-09-22 2012-01-25 山东易创电子有限公司 Image scanning method and system based on linear array CCD (charge coupled device) system
CN102439979A (en) * 2009-04-22 2012-05-02 雷特利克斯股份有限公司 Digital imaging system, plenoptic optical device and image data processing method
CN102724401A (en) * 2012-05-18 2012-10-10 深圳大学 System and method of linear array CCD camera multi-point automatic focusing
CN102752511A (en) * 2012-07-09 2012-10-24 宁波江丰生物信息技术有限公司 Linear array scanning system, method and device for obtaining focal point of linear array scanning system
CN105701809A (en) * 2016-01-11 2016-06-22 宁波江丰生物信息技术有限公司 Flat-field correction method based on line-scan digital camera scanning
CN106573336A (en) * 2014-07-01 2017-04-19 奇欧瓦公司 Micromachining method and system for patterning a material, and method for using one such micromachining system
US9866916B1 (en) * 2016-08-17 2018-01-09 International Business Machines Corporation Audio content delivery from multi-display device ecosystem
CN108369331A (en) * 2015-12-10 2018-08-03 佳能株式会社 Microscopic system and its control method
CN108572438A (en) * 2017-03-07 2018-09-25 伊鲁米那股份有限公司 The system and method for the focus tracking being improved using barrier structure
CN108989690A (en) * 2018-09-28 2018-12-11 深圳市盛世生物医疗科技有限公司 A kind of line-scan digital camera multiple labeling point focusing method, device, equipment and storage medium
CN109151319A (en) * 2018-09-28 2019-01-04 深圳市盛世生物医疗科技有限公司 A kind of processing method and processing device of multiple labeling point target substance markers point focusing sequence
CN109286751A (en) * 2018-09-28 2019-01-29 深圳市盛世智能装备有限公司 A kind of line-scan digital camera focusing method, device, equipment and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100289835A1 (en) * 1996-02-26 2010-11-18 Holub Richard A Color calibration of color image rendering devices
US20100231728A1 (en) * 1997-08-25 2010-09-16 Holub Richard A System for distributing and controlling color reproduction at multiple sites
WO2008039968A2 (en) * 2006-09-28 2008-04-03 The Research Foundation Of State University Of New York Apparatus, system, kit and method for heart mapping
CN101335837A (en) * 2007-06-28 2008-12-31 索尼株式会社 Image pickup device, photographing control method and program
US20100172020A1 (en) * 2008-10-14 2010-07-08 Burnham Institute For Medical Research Automated scanning cytometry using chromatic aberrtation for multiplanar image acquisition
CN102439979A (en) * 2009-04-22 2012-05-02 雷特利克斯股份有限公司 Digital imaging system, plenoptic optical device and image data processing method
CN202017854U (en) * 2010-12-31 2011-10-26 深圳市盛世天创传媒科技有限公司 Camera auxiliary system
CN102333171A (en) * 2011-09-22 2012-01-25 山东易创电子有限公司 Image scanning method and system based on linear array CCD (charge coupled device) system
CN102724401A (en) * 2012-05-18 2012-10-10 深圳大学 System and method of linear array CCD camera multi-point automatic focusing
CN102752511A (en) * 2012-07-09 2012-10-24 宁波江丰生物信息技术有限公司 Linear array scanning system, method and device for obtaining focal point of linear array scanning system
CN106573336A (en) * 2014-07-01 2017-04-19 奇欧瓦公司 Micromachining method and system for patterning a material, and method for using one such micromachining system
CN108369331A (en) * 2015-12-10 2018-08-03 佳能株式会社 Microscopic system and its control method
CN105701809A (en) * 2016-01-11 2016-06-22 宁波江丰生物信息技术有限公司 Flat-field correction method based on line-scan digital camera scanning
US9866916B1 (en) * 2016-08-17 2018-01-09 International Business Machines Corporation Audio content delivery from multi-display device ecosystem
CN108572438A (en) * 2017-03-07 2018-09-25 伊鲁米那股份有限公司 The system and method for the focus tracking being improved using barrier structure
CN108989690A (en) * 2018-09-28 2018-12-11 深圳市盛世生物医疗科技有限公司 A kind of line-scan digital camera multiple labeling point focusing method, device, equipment and storage medium
CN109151319A (en) * 2018-09-28 2019-01-04 深圳市盛世生物医疗科技有限公司 A kind of processing method and processing device of multiple labeling point target substance markers point focusing sequence
CN109286751A (en) * 2018-09-28 2019-01-29 深圳市盛世智能装备有限公司 A kind of line-scan digital camera focusing method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NEJATI MANSOUR: "Surface area-based focus criterion for multi-focus image fusion", 《INFORMATION FUSION》 *
王丽英: ""电润湿法"使拍照手机实现无机械配件自动对焦", 《技术前沿》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399038A (en) * 2019-08-15 2021-02-23 上海微电子装备(集团)股份有限公司 Image scanning device, laser packaging equipment, mask plate measuring equipment and method
CN113766131A (en) * 2021-09-15 2021-12-07 广州市明美光电技术有限公司 Multi-target-point focusing method and application thereof
CN115546172A (en) * 2022-10-19 2022-12-30 广州纳动半导体设备有限公司 Machine vision-based chip carrier plate-substrate near-zero gap measuring method
CN117148477A (en) * 2023-09-05 2023-12-01 中国人民解放军国防科技大学 Precipitation particle multi-angle stereoscopic imaging measurement device and method

Also Published As

Publication number Publication date
CN109270066B (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN109270066A (en) A kind of line-scan digital camera scan method and device
CN103728315B (en) Heavy-calibre element surface detection apparatus and damage accordingly method for rapidly positioning
NO861076L (en) PROCEDURE AND APPARATUS FOR AA BRING COLOR SEPARATION MOVIES IN REGISTER.
CN104760812B (en) Product real-time positioning system and method on conveyer belt based on monocular vision
CN104769480A (en) Image acquisition device and method for focusing image acquisition device
CN109286751A (en) A kind of line-scan digital camera focusing method, device, equipment and storage medium
CN108614277A (en) Double excitation single camera three-dimensional imaging scan table and scanning, imaging method
CN102333171A (en) Image scanning method and system based on linear array CCD (charge coupled device) system
CN102752511B (en) The acquisition methods of linear array scanning system focus, device and linear array scanning system
CN101930606A (en) Field depth extending method for image edge detection
CN109272575A (en) A method of improving digital slices scanner modeling speed
CN109493418B (en) Three-dimensional point cloud obtaining method based on LabVIEW
CN110570408B (en) System and method for counting fine targets on outer surface of cylinder
CN109949308A (en) A kind of space Relative Navigation target rapid extracting method of anti-starlight interference
CN108989690A (en) A kind of line-scan digital camera multiple labeling point focusing method, device, equipment and storage medium
CN106767497A (en) A kind of white light interference contourgraph spacescan scope Adaptive Planning method
CN109151319A (en) A kind of processing method and processing device of multiple labeling point target substance markers point focusing sequence
CN107661862A (en) Express delivery automatic sorting array camera arrangement
JP5770021B2 (en) Book reading system and book reading method
CN105491264B (en) Device of image scanning and its localization method and corrector strip
CN114113116A (en) Accurate detection process method for micro-defects on surface of large-diameter element
CN112710662A (en) Generation method and device, generation system and storage medium
CN102313524A (en) Image acquiring device and method
CN107860933B (en) Digital image-based automatic detection method and device for fiber content in textile
CN114280083B (en) Detection method for realizing industrial X-ray nondestructive detection of large-size flat castings based on automatic CNC programming of linear array camera

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518108 Huike Industrial Park, No. 1 Industrial Road, Shilong Community, Shiyan Street, Baoan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Shengshi Intelligent Equipment Co.,Ltd.

Address before: 518108 Huike Industrial Park, No. 1 Industrial Road, Shilong Community, Shiyan Street, Baoan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN SUNSON INTELLIGENT EQUIPMENT Co.,Ltd.