CN102333171A - Image scanning method and system based on linear array CCD (charge coupled device) system - Google Patents

Image scanning method and system based on linear array CCD (charge coupled device) system Download PDF

Info

Publication number
CN102333171A
CN102333171A CN201110283732A CN201110283732A CN102333171A CN 102333171 A CN102333171 A CN 102333171A CN 201110283732 A CN201110283732 A CN 201110283732A CN 201110283732 A CN201110283732 A CN 201110283732A CN 102333171 A CN102333171 A CN 102333171A
Authority
CN
China
Prior art keywords
initial
sampled point
definition
image
flow process
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.)
Pending
Application number
CN201110283732A
Other languages
Chinese (zh)
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.)
SHANDONG ECHUANG ELECTRONICS CO Ltd
Original Assignee
SHANDONG ECHUANG ELECTRONICS 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 SHANDONG ECHUANG ELECTRONICS CO Ltd filed Critical SHANDONG ECHUANG ELECTRONICS CO Ltd
Priority to CN201110283732A priority Critical patent/CN102333171A/en
Publication of CN102333171A publication Critical patent/CN102333171A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an image scanning method and system based on linear array CCD (charge coupled device) scanning system. In the method, the focusing technology is applied to the linear array CCD scanning system, and multiple sampling points are set for an image to be scanned before scanning the image to be scanned on the basis of the characteristics of the acquisition mode of the linear array CCD scanning system; the sampling points are focused separately before scanning; and in the scanning process, the focus length is adjusted automatically according to the recorded best focusing plane of each sampling point, the sampling points are scanned in sequence line by line to finally complete the clear scanning of the whole image to be scanned. By adopting the system, digital microsections can be scanned rapidly and efficiently.

Description

A kind of image scan method and system based on the line array CCD system
Technical field
The present invention relates to the digital scan field, in particular, relate to the method for a kind of microscopic digital section line array CCD scanning system image focusing.
Background technology
Along with the fast development of modern science and technology and the raising of people's living standard, daily life is electronization, digitlization more and more.Many electronic products slowly get into like camera, video camera, scanner etc. in more and more users' the life.
Scanning system in the electronic product of these images acquired has two kinds; Wherein a kind of is to adopt area array CCD camera to obtain the area array CCD scanning system of image; The drainage pattern of area array CCD scanning system is that the pixel element with the face direction is the collection that acquisition target carries out image, can directly scan two dimensional image; Another kind is to adopt linear array CCD camera to obtain the linear array CCD scanning system of image; The drainage pattern of linear array CCD scanning system is that the pixel element with the line direction is the collection that acquisition target carries out image; For a secondary two dimensional image, line style CCD scanning system can be lined by line scan and accomplished the scanning of entire image.
The image-forming objective lens of existing area array CCD scanning system all can have the imaging plane position an of the best for the microscopic digital section of uneven thickness; If departed from the optimum position as the plane; The definition that will cause being formed images is not high even smudgy, and image quality descends.Therefore in order to make scan image more clear, need advanced line focusing or automatic focus when using area array CCD scanning system scan image.
Because linear array CCD scanning system image acquisition modality has determined it can not in the process of image scanning, focus on the calculating of evaluation function; Promptly can't realize focusing on; So in the prior art; The microscopic digital sectioning image is scanned common employing area array CCD scanning system; The calculating of area array CCD scanning system advanced line focusing evaluation function in the process of scan image through calculating the best focus plane position of confirming image, and then obtains the scan image of microsection according to the best focus plane position of image.
But the one dimension pixel prime number that the area array CCD scanning system can be gathered is less, and the size of the pixel of its collection element is also restricted, has caused its sweep speed slower.Therefore, how a kind of method of new image scanning being provided, under the prerequisite that can guarantee the scan image quality, realizing scanning efficiently the microscopic digital section, is those skilled in the art's urgent problems.
Summary of the invention
In view of this, the invention provides a kind of image focusing method and system, to solve in the prior art because the image scanning characteristics of area array CCD scanning system can not realize the problem of scanning digital microsection quickly and efficiently based on the linear array CCD scanning system.
For realizing above-mentioned purpose, the present invention provides following technical scheme:
A kind of image scan method based on the linear array CCD scanning system, this method comprises:
To a plurality of sampled points that set in advance in the image to be scanned; With any said sampled point is that initial sampled point is carried out the focusing flow process; Said sampled point is a zone in the said image to be scanned; Said focusing flow process comprises: the definition of the sampled point image of the said initial sampled point that is in the Different Plane position that relatively collects, and the said definition of foundation is confirmed the best focus plane of said initial sampled point;
Judge and whether have other sampled points of not carrying out said focusing flow process in the said image to be scanned; If; Then with said other sampled points of not carrying out said focusing flow process as said initial sampled point, carry out said focusing flow process, if not; Then, scan each sampled point corresponding sampling points image according to the best focus plane position of each sampled point.
Wherein, said focusing flow process is specially:
Calculate the initial definition that said initial sampled point is in the sampled point image of initial position;
After changing the position of said initial sampled point in vertical direction with preset distance; Said initial definition is carried out relatively flow process of definition; Said definition comparison flow process comprises: calculate the current definition on frontal plane after said initial sampled point is positioned at change; Said current definition and initial definition are compared; Under the situation of said current definition: said current definition as initial definition, and along the position that the direction of said change continues to change with preset distance said initial sampled point, is repeated said definition and compares flow process greater than said initial definition; Till current definition was less than initial definition, the plan position approach that initial definition is corresponding was as the best focus plane of said initial sampled point;
Under the situation of said current definition less than said initial definition: the distance of on the opposite direction that changes said initial sampled point position, presetting with twice changes the position of said initial sampled point; And the current definition after will moving compares with initial definition; If the current definition after changing is greater than initial definition; That just continues to change the position of said initial sampled point along said opposite direction with preset distance, and carries out relatively flow process of said definition; If the current definition after changing is less than initial definition, so that initial definition is corresponding plan position approach is as the best focus plane of said initial sampled point.
Wherein, the said definition of said foundation is confirmed also to comprise after the best focus plane of said initial sampled point, is write down the best focus plane of said initial sampled point.
Wherein, saidly judge whether exist other sampled points of not carrying out said focusing flow process to be specially in the said image to be scanned: the record that judges whether to contain the best focus plane of said other sampled points.
Wherein, optional, also comprise in execution focused flow Cheng Qian:
Said initial sampled point is carried out blank to be detected; And blank testing result and pre-set threshold compared; Under the situation of said blank testing result, confirm that said initial sampled point is not a blank image, carries out said focusing flow process to this sampled point more than or equal to said threshold value;
Under the situation of said blank testing result less than said threshold value; Confirm that said initial sampled point is a blank image; With the best focus plane of the current plan position approach that is in of said initial sampled point, carry out the said step that whether has other sampled points of not carrying out said focusing flow process in the said image to be scanned of judging as said initial sampled point.
A kind of image scanning system based on the linear array CCD scanning system, this system comprises:
Focus on comparison module; Be used for being directed against a plurality of sampled points that image to be scanned sets in advance; With any said sampled point is that initial sampled point is carried out the focusing flow process; Said sampled point is a zone in the said image to be scanned, and said focusing flow process comprises: the definition of the sampled point image of the said initial sampled point that is in the Different Plane position that relatively collects, and the said definition of foundation is confirmed the best focus plane of said initial sampled point;
Judge the sampled point module, be used for judging whether said image to be scanned exists other sampled points of not carrying out said focusing flow process;
Focus on relatively trigger module, the judged result that is used in said judgement sampled point module is under the situation that is, said other sampled points of not carrying out said focusing flow process as said initial sampled point, are triggered said focusing comparison module and carry out said focusing flow process;
Scan module, the judged result that is used in said judgement sampled point module is under the situation not, according to the best focus plane position of each sampled point, scans each sampled point corresponding sampling points image.
Wherein, said focusing comparison module specifically comprises:
Calculating sub module is used to calculate the initial definition and the current definition of calculating after said initial sampled point is positioned at change on frontal plane that said initial sampled point is in the sampled point image of initial position;
Focus on comparison sub-module; After being used for changing the position of said initial sampled point in vertical direction with preset distance; Said initial definition is carried out relatively flow process of definition, said current definition is compared with initial definition, under the situation of said current definition greater than said initial definition: with said current definition as initial definition; And the position of continuing to change said initial sampled point along the direction of said change with preset distance; Repeat relatively flow process of said definition, till current definition was less than initial definition, the plan position approach that initial definition is corresponding was as the best focus plane of said initial sampled point;
Under the situation of said current definition less than said initial definition: the distance of on the opposite direction that changes said initial sampled point position, presetting with twice changes the position of said initial sampled point; If the current definition after changing is greater than initial definition, that just continues to change with preset distance along said opposite direction the position of said initial sampled point; If current definition is less than initial definition, so that initial definition is corresponding plan position approach is as the best focus plane of said initial sampled point.
Wherein, also comprise:
Logging modle is used to write down the best focus plane of said initial sampled point.
Wherein, said judgement sampled point module specifically is used for: the record that judges whether to contain the best focus plane of said other sampled points.
Wherein, optional, also comprise:
Detection module is used for that said initial sampled point is carried out blank and detects;
The compare threshold module is used for blank testing result and pre-set threshold are compared;
Judge trigger module; Be used under the situation of said blank testing result less than said threshold value; Confirm that said initial sampled point is a blank image,, trigger said judgement sampled point module the best focus plane of the current plan position approach that is in of said initial sampled point as said initial sampled point;
Then said focusing is trigger module relatively, also is used under the situation of said blank testing result more than or equal to said threshold value, confirming that said initial sampled point is not a blank image, and triggers said focusing comparison module and carry out the focusing flow process.
Can know via above-mentioned technical scheme; Compared with prior art, the invention discloses a kind of image focusing method and system based on the linear array CCD scanning system, this method has been applied to focusing technology in the linear array CCD scanning system; Characteristics to linear array CCD scanning system acquisition pattern; Before treating scan image scanning, for it is provided with a plurality of sampled points, earlier each sampled point is focused on separately before the scanning, the best focus plane according to each sampled point that writes down scans said a plurality of sampled points line by line successively then; Through this system, can realize scanning fast and efficiently the purpose of microscopic digital section.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is embodiments of the invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to the accompanying drawing that provides.
Fig. 1 is the sketch map of sampled point in the disclosed image to be scanned of the embodiment of the invention;
Fig. 2 is the disclosed image scanning schematic flow sheet of the embodiment of the invention;
Fig. 3 is the disclosed gathering schematic flow sheet of the embodiment of the invention;
Fig. 4 is the disclosed another kind of image scanning schematic flow sheet of the embodiment of the invention;
Fig. 5 is the disclosed scanning system structural representation of the embodiment of the invention;
Fig. 6 is the disclosed another kind of scanning system structural representation of the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment one
The disclosed scan method of the embodiment of the invention is applied in the linear array CCD scanning system; Fig. 1 is the sketch map of sampled point in the disclosed scan image of the embodiment of the invention; As shown in Figure 1; Area dividing to be scanned is become a plurality of zonules, and each zonule is a sampled point, and sectioning image to be scanned is positioned at said zone to be scanned.Fig. 2 is the disclosed image scanning schematic flow sheet of the embodiment of the invention, with reference to Fig. 2, and can be following to the step of image scanning:
Step 201:, be that initial sampled point is carried out the focusing flow process with any said sampled point to a plurality of sampled points that are provided with in advance in the image to be scanned.
In this step; Treat a plurality of sampled points that are provided with in advance in the scan image, focus on the optional one of which of comparison module, said initial sampled point is carried out focusing on flow process as the initial sampled point; To find the best focus plane of said initial sampled point; Wherein, said sampled point is a zone in the said image to be scanned, and said focusing flow process comprises: the moving of the automatic platform through being loaded with digital micro-analysis section; The definition of the sampled point image of the said initial sampled point that is in the Different Plane position that relatively collects, the said definition of foundation is confirmed the best focus plane of said initial sampled point.
Wherein, the step of said focusing flow process can be referring to Fig. 3, and Fig. 3 is the disclosed focusing schematic flow sheet of the embodiment of the invention, the concrete steps of said focusing flow process can for:
Step 301: calculate the initial definition that said initial sampled point is in the sampled point image of initial position.
In this step, calculate the definition of said initial sampled point sampled point image when the initial position, and this definition is designated as initial definition by calculating sub module.
Step 302: change the position of said initial sampled point in vertical direction with preset distance, calculate the current definition of change position post-sampling dot image.
In this step, through moving of said automatic platform, said initial sampled point is moved preset distance in vertical direction, can be to move up or move down, and said preset distance is based on the empirical value setting.
Step 303: whether judge said current definition more than or equal to initial definition, if get into step 304, if not, then get into step 305.
In this step, carry out relatively flow process by focusing on comparison sub-module, more said current definition and initial definition are judged its size.
Step 304: with said current definition as initial definition; And the position of continuing to change said initial sampled point along the direction of said change with preset distance; Repeated execution of steps 304; Till current definition was less than initial definition, the plan position approach that initial definition is corresponding was as the best focus plane of said initial sampled point.
In this step; Under the situation of said current definition more than or equal to initial definition; The moving direction of confirming said initial sampled point is correct, so said initial sampled point is moved along said moving direction always, in moving process, also the current definition bigger than initial definition is updated to initial definition; Till current definition is less than initial definition, confirm that the corresponding plan position approach of initial definition is the best focus plane of said initial sampled point.
Step 305: the distance of on the opposite direction of the said initial sampled point of change position, presetting with twice changes the position of said initial sampled point, the current definition of said initial sampled point behind the calculating change position.
In this step; Under the situation of said current definition less than initial definition; The moving direction of confirming said initial sampled point is wrong; The distance of so said initial sampled point being preset with twice along the opposite direction of said moving direction moves said initial sampled point, and calculates the current definition behind the change position.
Step 306: whether judge current definition more than or equal to initial definition, if, get into step 304, if not, get into step 307.
Step 307: the plan position approach that initial definition is corresponding is as the best focus plane of said initial sampled point.
In this step, under the situation of current definition less than initial definition, the moving direction of confirming said initial sampled point is wrong, and the corresponding plan position approach of so initial definition is the best focus plane of said initial sampled point.
Wherein, after confirming the best focus plane of said initial sampled point, can also write down the best focus plane of said initial sampled point according to said definition.
After step 201 pair initial sampled point is carried out the focusing flow process, get into step 202.
Step 202: judge whether there are other sampled points of not carrying out said focusing flow process in the said image to be scanned, if then get into step 203; If, then do not get into step 204.
In this step, be by judging the sampled point module judges whether there are other sampled points of not carrying out said focusing flow process in the image to be scanned.
Wherein, saidly judge that the sampled point module is to write down through the best focus plane that judges whether to contain said other sampled points to judge whether other sampled points do not carry out said focusing flow process.
Step 203: said other sampled points of not carrying out said focusing flow process are carried out said focusing flow process as said initial sampled point.
Through step 202; Judge that the sampled point module judges other sampled points that said focusing flow process is not carried out in existence, focus on relatively trigger module and trigger said focusing comparison module and will not carry out other sampled points of said focusing flow process and carry out said focusing flow process as initial sampled point and to it.
Step 204:, scan each sampled point corresponding sampling points image according to the best focus plane position of each sampled point.
Through step 202; Judgement sampled point module is judged and is not had other sampled points of not carrying out said focusing flow process; Be that preset sampled points all in the said image to be scanned has all focused on and finishes; Scan module will be according to the best focus plane of each sampled point of noting so, line by line each sampled point corresponding sampling points image of sequential scanning.
In the present embodiment; Said scan method is based on the realization of linear array CCD scanning system, and this scan method is provided with a plurality of sampled points to it earlier before treating scan image scanning, through the focusing respectively of each sampled point being noted the best focus plane of each sampled point; All sampled points begin scanning after focusing on and finishing; When each sampled point was scanned line by line successively, according to the best focus plane of each sampled point of said record, digital slices was focused automatically; Guarantee the definition of each sampled point scan image, finally accomplish the scanning of view picture image to be scanned.
Embodiment two
The disclosed scan method of the embodiment of the invention is applied in the linear array CCD scanning system, and Fig. 4 is the disclosed another kind of image scanning schematic flow sheet of the embodiment of the invention, with reference to Fig. 4, and can be following to the step of image scanning:
Step 401:, be the initial sampled point with any said sampled point to a plurality of sampled points that are provided with in advance in the image to be scanned.
Step 402: said initial sampled point is carried out blank detect.
In this step, by detection module said initial sampled point is carried out blank and detect.
Step 403: whether judge said blank testing result more than or equal to pre-set threshold, if said blank testing result more than or equal to said threshold value, gets into step 404; If said blank testing result then gets into step 405 less than said threshold value.
In this step, blank testing result and pre-set threshold are compared, judge its magnitude relationship by focusing on comparison module.
Step 404: confirm that said initial sampled point is not a blank image, carries out said focusing flow process to this sampled point.
In this step, confirm that in step 403 said initial sampled point is not under the situation of blank image, focus on comparison module this sampled point is carried out the focusing flow process.
Wherein, the step of said focusing flow process can be referring to Fig. 3.
Step 405: confirm that said initial sampled point is a blank image, with the best focus plane of the current plan position approach that is in of said initial sampled point as said initial sampled point.
In this step; Confirm that in step 403 said initial sampled point is under the situation of blank image; Need not carry out focusing work, directly with the best focus plane of the current plan position approach that is in of said initial sampled point as said initial sampled point to said initial sampled point.
Step 406: the best focus plane that writes down said initial sampled point.
In this step, write down the best focus plane of said initial sampled point by logging modle.
Step 407: judge whether there are other sampled points of not carrying out said focusing flow process in the said image to be scanned, if then get into step 402; If, then do not get into step 408.
Wherein, saidly judge that the sampled point module is to write down through the best focus plane that judges whether to contain said other sampled points to judge whether other sampled points do not carry out said focusing flow process.
Step 408:, scan each sampled point corresponding sampling points image according to the best focus plane position of each sampled point.
In the present embodiment; Said scan method is based on the realization of linear array CCD scanning system; This scan method can be given a plurality of sampled points of image setting to be scanned before treating scan image to carry out scanning work; Earlier each sampled point is focused on, the best focus plane according to each sampled point scans it line by line successively again, finally realizes the clear scanning of view picture image to be scanned.This embodiment disclosed method has been carried out blank detection to said sampled point before sampled point is focused on simultaneously, can skip blank sampled point and it not focused on, and has improved operating efficiency greatly.
Describe method in detail among the disclosed embodiment of the invention described above, can adopt the device of various ways to realize, therefore the invention also discloses a kind of device, provide concrete embodiment below and be elaborated for method of the present invention.
Embodiment three
The disclosed scanning system of the embodiment of the invention is based upon in the linear array CCD scanning system, and Fig. 5 is the disclosed a kind of scanning system structural representation of the embodiment of the invention, and as shown in Figure 5, this scanning system 50 can comprise:
Focus on comparison module 501; Be used for being directed against a plurality of sampled points that image to be scanned sets in advance; With any said sampled point is that initial sampled point is carried out the focusing flow process; Said sampled point is a zone in the said image to be scanned, and said focusing flow process comprises: the definition of the sampled point image of the said initial sampled point that is in the Different Plane position that relatively collects, and the said definition of foundation is confirmed the best focus plane of said initial sampled point;
Wherein, said focusing comparison module 501 specifically can comprise:
Calculating sub module 5011 is used to calculate the initial definition and the current definition of calculating after said initial sampled point is positioned at change on frontal plane that said initial sampled point is in the sampled point image of initial position;
Focus on comparison sub-module 5012; After being used for changing the position of said initial sampled point in vertical direction with preset distance; Said initial definition is carried out relatively flow process of definition; Said current definition and initial definition are compared; Under the situation of said current definition: said current definition as initial definition, and along the position that the direction of said change continues to change with preset distance said initial sampled point, is repeated said definition and compares flow process greater than said initial definition; Till current definition was less than initial definition, the plan position approach that initial definition is corresponding was as the best focus plane of said initial sampled point;
Under the situation of said current definition less than said initial definition: the distance of on the opposite direction that changes said initial sampled point position, presetting with twice changes the position of said initial sampled point; If the current definition after changing is greater than initial definition, that just continues to change with preset distance along said opposite direction the position of said initial sampled point; If current definition is less than initial definition, so that initial definition is corresponding plan position approach is as the best focus plane of said initial sampled point.
Judge sampled point module 502, be used for judging whether said image to be scanned exists other sampled points of not carrying out said focusing flow process;
Wherein, said judgement sampled point module 502 specifically can be used for: the record that judges whether to contain the best focus plane of said other sampled points;
Focus on relatively trigger module 503; The judged result that is used in said judgement sampled point module 502 is under the situation that is; Said other sampled points of not carrying out said focusing flow process as said initial sampled point, are triggered said focusing comparison module 501 and carry out said focusing flow process;
Scan module 504, the judged result that is used in said judgement sampled point module 502 is under the situation not, according to the best focus plane position of each sampled point, scans each sampled point corresponding sampling points image.
In other embodiment, said system can also comprise:
Logging modle is used to write down the best focus plane of said initial sampled point.
In the present embodiment; Said scanning system is based on the realization of linear array CCD scanning system, and this scanning system is provided with a plurality of sampled points to it earlier before treating scan image scanning, through the focusing respectively of each sampled point being noted the best focus plane of each sampled point; All sampled points begin scanning after focusing on and finishing; When each sampled point was scanned line by line successively, according to the best focus plane of each sampled point of said record, digital slices was focused automatically; Guarantee the definition of each sampled point scan image, finally accomplish the scanning of view picture image to be scanned.
Embodiment four
The disclosed scanning system of the embodiment of the invention is based upon in the linear array CCD scanning system, and Fig. 6 is a sketch map for the disclosed another kind of scanning system structure of the embodiment of the invention, and as shown in Figure 6, this scanning system 60 can comprise:
Focusing on comparison module 501, be used for being directed against a plurality of sampled points that image to be scanned is provided with in advance, is that initial sampled point is carried out the focusing flow process with any said sampled point, and said sampled point is a zone in the said image to be scanned;
Wherein, said focusing comparison module 501 specifically can comprise:
Calculating sub module 5011 is used to calculate the initial definition and the current definition of calculating after said initial sampled point is positioned at change on frontal plane that said initial sampled point is in the sampled point image of initial position;
Focus on comparison sub-module 5012; After being used for changing the position of said initial sampled point in vertical direction with preset distance; Said initial definition is carried out relatively flow process of definition; Said current definition and initial definition are compared; Under the situation of said current definition: said current definition as initial definition, and along the position that the direction of said change continues to change with preset distance said initial sampled point, is repeated said definition and compares flow process greater than said initial definition; Till current definition was less than initial definition, the plan position approach that initial definition is corresponding was as the best focus plane of said initial sampled point;
Under the situation of said current definition less than said initial definition: the distance of on the opposite direction that changes said initial sampled point position, presetting with twice changes the position of said initial sampled point; If the current definition after changing is greater than initial definition, that just continues to change with preset distance along said opposite direction the position of said initial sampled point; If current definition is less than initial definition, so that initial definition is corresponding plan position approach is as the best focus plane of said initial sampled point.
Detection module 601 is used for that said initial sampled point is carried out blank and detects;
Compare threshold module 602 is used for blank testing result and pre-set threshold are compared;
Judge trigger module 603; Be used under the situation of said blank testing result less than said threshold value; Confirm that said initial sampled point is a blank image; With the best focus plane of the current plan position approach that is in of said initial sampled point, trigger said judgement sampled point module 502 as said initial sampled point;
Focus on relatively trigger module 503, be used under the situation of said blank testing result, confirming that said initial sampled point is not a blank image, and trigger said focusing comparison module 501 and carry out the focusing flow process more than or equal to said threshold value;
Then said focusing comparison module 501 also is used for: carry out focusing on flow process; Said focusing flow process comprises: the definition of the sampled point image of the said initial sampled point that is in the Different Plane position that relatively collects, and the said definition of foundation is confirmed the best focus plane of said initial sampled point;
Judge sampled point module 502, be used for judging whether said image to be scanned exists other sampled points of not carrying out said focusing flow process;
Wherein, said judgement sampled point module 502 specifically can be used for: the record that judges whether to contain the best focus plane of said other sampled points;
Then said focusing comparison trigger module 503 also is used for: the judged result in said judgement sampled point module 502 is under the situation that is; Said other sampled points of not carrying out said focusing flow process as said initial sampled point, are triggered said focusing comparison module 501 and carry out said focusing flow process;
Scan module 504, the judged result that is used in said judgement sampled point module 502 is under the situation not, according to the best focus plane position of each sampled point, scans each sampled point corresponding sampling points image.
In other embodiment, said system can also comprise:
Logging modle is used to write down the best focus plane of said initial sampled point.
In the present embodiment; Said scanning system is based on the realization of linear array CCD scanning system; This scanning system can be given a plurality of sampled points of image setting to be scanned before treating scan image to carry out scanning work; Earlier each sampled point is focused on, the best focus plane according to each sampled point scans it line by line successively again, finally realizes the clear scanning of view picture image to be scanned.The disclosed system of this embodiment has carried out blank detection to said sampled point before sampled point is focused on simultaneously, can skip blank sampled point and it not focused on, and has improved operating efficiency greatly.
The step of the method for describing in conjunction with embodiment disclosed herein can be directly with the software module of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments among this paper.Therefore, the present invention will can not be restricted to these embodiment shown in this paper, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.

Claims (10)

1. the image scan method based on the linear array CCD scanning system is characterized in that, this method comprises:
To a plurality of sampled points that set in advance in the image to be scanned; With any said sampled point is that initial sampled point is carried out the focusing flow process; Said sampled point is a zone in the said image to be scanned; Said focusing flow process comprises: the definition of the sampled point image of the said initial sampled point that is in the Different Plane position that relatively collects, and the said definition of foundation is confirmed the best focus plane of said initial sampled point;
Judge and whether have other sampled points of not carrying out said focusing flow process in the said image to be scanned; If; Then with said other sampled points of not carrying out said focusing flow process as said initial sampled point, carry out said focusing flow process, if not; Then, scan each sampled point corresponding sampling points image according to the best focus plane position of each sampled point.
2. according to the said method of claim 1, it is characterized in that said focusing flow process is specially:
Calculate the initial definition that said initial sampled point is in the sampled point image of initial position;
After changing the position of said initial sampled point in vertical direction with preset distance; Said initial definition is carried out relatively flow process of definition; Said definition comparison flow process comprises: calculate the current definition on frontal plane after said initial sampled point is positioned at change; Said current definition and initial definition are compared; Under the situation of said current definition: said current definition as initial definition, and along the position that the direction of said change continues to change with preset distance said initial sampled point, is repeated said definition and compares flow process greater than said initial definition; Till current definition was less than initial definition, the plan position approach that initial definition is corresponding was as the best focus plane of said initial sampled point;
Under the situation of said current definition less than said initial definition: the distance of on the opposite direction that changes said initial sampled point position, presetting with twice changes the position of said initial sampled point; And the current definition after will moving compares with initial definition; If the current definition after changing is greater than initial definition; That just continues to change the position of said initial sampled point along said opposite direction with preset distance, and carries out relatively flow process of said definition; If the current definition after changing is less than initial definition, so that initial definition is corresponding plan position approach is as the best focus plane of said initial sampled point.
3. according to the said method of claim 1, it is characterized in that the said definition of said foundation is confirmed also to comprise after the best focus plane of said initial sampled point, write down the best focus plane of said initial sampled point.
4. according to the said method of claim 3, it is characterized in that saidly judge whether exist other sampled points of not carrying out said focusing flow process to be specially in the said image to be scanned: the record that judges whether to contain the best focus plane of said other sampled points.
5. according to the said method of claim 1, it is characterized in that, also comprise in execution focused flow Cheng Qian:
Said initial sampled point is carried out blank to be detected; And blank testing result and pre-set threshold compared; Under the situation of said blank testing result, confirm that said initial sampled point is not a blank image, carries out said focusing flow process to this sampled point more than or equal to said threshold value;
Under the situation of said blank testing result less than said threshold value; Confirm that said initial sampled point is a blank image; With the best focus plane of the current plan position approach that is in of said initial sampled point, carry out the said step that whether has other sampled points of not carrying out said focusing flow process in the said image to be scanned of judging as said initial sampled point.
6. the image scanning system based on the linear array CCD scanning system is characterized in that, this system comprises:
Focus on comparison module; Be used for being directed against a plurality of sampled points that image to be scanned sets in advance; With any said sampled point is that initial sampled point is carried out the focusing flow process; Said sampled point is a zone in the said image to be scanned, and said focusing flow process comprises: the definition of the sampled point image of the said initial sampled point that is in the Different Plane position that relatively collects, and the said definition of foundation is confirmed the best focus plane of said initial sampled point;
Judge the sampled point module, be used for judging whether said image to be scanned exists other sampled points of not carrying out said focusing flow process;
Focus on relatively trigger module, the judged result that is used in said judgement sampled point module is under the situation that is, said other sampled points of not carrying out said focusing flow process as said initial sampled point, are triggered said focusing comparison module and carry out said focusing flow process;
Scan module, the judged result that is used in said judgement sampled point module is under the situation not, according to the best focus plane position of each sampled point, scans each sampled point corresponding sampling points image.
7. according to the said system of claim 6, it is characterized in that said focusing comparison module specifically comprises:
Calculating sub module is used to calculate the initial definition and the current definition of calculating after said initial sampled point is positioned at change on frontal plane that said initial sampled point is in the sampled point image of initial position;
Focus on comparison sub-module; After being used for changing the position of said initial sampled point in vertical direction with preset distance; Said initial definition is carried out relatively flow process of definition, said current definition is compared with initial definition, under the situation of said current definition greater than said initial definition: with said current definition as initial definition; And the position of continuing to change said initial sampled point along the direction of said change with preset distance; Repeat relatively flow process of said definition, till current definition was less than initial definition, the plan position approach that initial definition is corresponding was as the best focus plane of said initial sampled point;
Under the situation of said current definition less than said initial definition: the distance of on the opposite direction that changes said initial sampled point position, presetting with twice changes the position of said initial sampled point; If the current definition after changing is greater than initial definition, that just continues to change with preset distance along said opposite direction the position of said initial sampled point; If current definition is less than initial definition, so that initial definition is corresponding plan position approach is as the best focus plane of said initial sampled point.
8. according to the said system of claim 6, it is characterized in that, also comprise:
Logging modle is used to write down the best focus plane of said initial sampled point.
9. said according to Claim 8 system is characterized in that, said judgement sampled point module specifically is used for: the record that judges whether to contain the best focus plane of said other sampled points.
10. according to the said system of claim 6, it is characterized in that, also comprise:
Detection module is used for that said initial sampled point is carried out blank and detects;
The compare threshold module is used for blank testing result and pre-set threshold are compared;
Judge trigger module; Be used under the situation of said blank testing result less than said threshold value; Confirm that said initial sampled point is a blank image,, trigger said judgement sampled point module the best focus plane of the current plan position approach that is in of said initial sampled point as said initial sampled point;
Then said focusing is trigger module relatively, also is used under the situation of said blank testing result more than or equal to said threshold value, confirming that said initial sampled point is not a blank image, and triggers said focusing comparison module and carry out the focusing flow process.
CN201110283732A 2011-09-22 2011-09-22 Image scanning method and system based on linear array CCD (charge coupled device) system Pending CN102333171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110283732A CN102333171A (en) 2011-09-22 2011-09-22 Image scanning method and system based on linear array CCD (charge coupled device) system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110283732A CN102333171A (en) 2011-09-22 2011-09-22 Image scanning method and system based on linear array CCD (charge coupled device) system

Publications (1)

Publication Number Publication Date
CN102333171A true CN102333171A (en) 2012-01-25

Family

ID=45484766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110283732A Pending CN102333171A (en) 2011-09-22 2011-09-22 Image scanning method and system based on linear array CCD (charge coupled device) system

Country Status (1)

Country Link
CN (1) CN102333171A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761708A (en) * 2012-05-18 2012-10-31 深圳大学 Linear array CCD image scanning method
CN103605203A (en) * 2013-11-07 2014-02-26 麦克奥迪实业集团有限公司 Automatic focusing method in digital slicing scanning process
CN104458579A (en) * 2014-12-12 2015-03-25 宁波江丰生物信息技术有限公司 Digital slide scanner and scanning focus number reducing method thereof
CN105657263A (en) * 2015-12-31 2016-06-08 杭州卓腾信息技术有限公司 Super resolution digital slice scanning method based on area-array camera
CN108628061A (en) * 2018-05-07 2018-10-09 凌云光技术集团有限责任公司 A kind of adaptive Atomatic focusing method of industrial camera and device
CN109270066A (en) * 2018-09-28 2019-01-25 深圳市盛世智能装备有限公司 A kind of line-scan digital camera scan method and device
CN110400281A (en) * 2019-08-05 2019-11-01 山东志盈医学科技有限公司 Image enchancing method in a kind of digital slices scanner
CN111240001A (en) * 2020-04-09 2020-06-05 麦克奥迪实业集团有限公司 Focusing method of microscopic specimen with cover glass
CN112697789A (en) * 2020-12-09 2021-04-23 山东志盈医学科技有限公司 Image focusing method and device for digital slice scanner
CN113324481A (en) * 2021-08-02 2021-08-31 武汉中导光电设备有限公司 Method and device for obtaining optimal focusing position of optical head
CN113358056A (en) * 2021-05-31 2021-09-07 深圳中科飞测科技股份有限公司 Scanning method, scanning system and storage medium for workpiece surface topography

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229931A (en) * 1998-03-25 1999-09-29 全友电脑股份有限公司 Automatic focusing method
US20040170312A1 (en) * 2000-05-03 2004-09-02 Soenksen Dirk G. Fully automatic rapid microscope slide scanner
CN1811576A (en) * 2005-12-19 2006-08-02 佛山普立华科技有限公司 Automatic focusing method for digit imaging system
US20090074284A1 (en) * 2004-08-31 2009-03-19 Carl Zeiss Microimaging Ais, Inc. System and method for creating magnified images of a microscope slide
WO2011080670A1 (en) * 2009-12-30 2011-07-07 Koninklijke Philips Electronics N.V. Sensor for microscopy.

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229931A (en) * 1998-03-25 1999-09-29 全友电脑股份有限公司 Automatic focusing method
US20040170312A1 (en) * 2000-05-03 2004-09-02 Soenksen Dirk G. Fully automatic rapid microscope slide scanner
US20090074284A1 (en) * 2004-08-31 2009-03-19 Carl Zeiss Microimaging Ais, Inc. System and method for creating magnified images of a microscope slide
CN1811576A (en) * 2005-12-19 2006-08-02 佛山普立华科技有限公司 Automatic focusing method for digit imaging system
WO2011080670A1 (en) * 2009-12-30 2011-07-07 Koninklijke Philips Electronics N.V. Sensor for microscopy.

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761708B (en) * 2012-05-18 2016-03-30 深圳大学 A kind of linear array CCD image scan method
CN102761708A (en) * 2012-05-18 2012-10-31 深圳大学 Linear array CCD image scanning method
CN103605203A (en) * 2013-11-07 2014-02-26 麦克奥迪实业集团有限公司 Automatic focusing method in digital slicing scanning process
CN103605203B (en) * 2013-11-07 2017-02-22 麦克奥迪实业集团有限公司 Automatic focusing method in digital slicing scanning process
CN104458579B (en) * 2014-12-12 2017-03-08 宁波江丰生物信息技术有限公司 A kind of digital slices scanner and its method for reducing swept-focus quantity
CN104458579A (en) * 2014-12-12 2015-03-25 宁波江丰生物信息技术有限公司 Digital slide scanner and scanning focus number reducing method thereof
CN105657263B (en) * 2015-12-31 2018-11-02 杭州卓腾信息技术有限公司 A kind of super-resolution digital slices scan method based on area array cameras
CN105657263A (en) * 2015-12-31 2016-06-08 杭州卓腾信息技术有限公司 Super resolution digital slice scanning method based on area-array camera
CN108628061A (en) * 2018-05-07 2018-10-09 凌云光技术集团有限责任公司 A kind of adaptive Atomatic focusing method of industrial camera and device
CN109270066A (en) * 2018-09-28 2019-01-25 深圳市盛世智能装备有限公司 A kind of line-scan digital camera scan method and device
CN110400281A (en) * 2019-08-05 2019-11-01 山东志盈医学科技有限公司 Image enchancing method in a kind of digital slices scanner
CN111240001A (en) * 2020-04-09 2020-06-05 麦克奥迪实业集团有限公司 Focusing method of microscopic specimen with cover glass
CN112697789A (en) * 2020-12-09 2021-04-23 山东志盈医学科技有限公司 Image focusing method and device for digital slice scanner
CN112697789B (en) * 2020-12-09 2023-01-13 山东志盈医学科技有限公司 Image focusing method and device for digital slice scanner
CN113358056A (en) * 2021-05-31 2021-09-07 深圳中科飞测科技股份有限公司 Scanning method, scanning system and storage medium for workpiece surface topography
CN113324481A (en) * 2021-08-02 2021-08-31 武汉中导光电设备有限公司 Method and device for obtaining optimal focusing position of optical head

Similar Documents

Publication Publication Date Title
CN102333171A (en) Image scanning method and system based on linear array CCD (charge coupled device) system
JP3867512B2 (en) Image processing apparatus, image processing method, and program
US9001200B2 (en) Cell characterization using multiple focus planes
WO2012017650A1 (en) Object detection device, object detection method, and program
JP4731608B2 (en) Biological information detection using sweep-type imaging device
EP1107166A3 (en) Device and method for face image extraction, and recording medium having recorded program for the method
CN105629628B (en) Atomatic focusing method and device
CN103698879B (en) A kind of device and method of real-time focusing
CN1716078A (en) Image pickup apparatus and image pickup method
JP5615247B2 (en) Imaging device, detection device, and imaging method
WO2005010495A3 (en) System and method for generating digital images of a microscope slide
CN1388482A (en) Method for obtaining fingerprint with linear fingerprint sensor
CN101957915A (en) Calligraphy and painting scanning equipment and identification method
JP2008542800A (en) Method and apparatus for scanning a sample by evaluating contrast
CN107133982A (en) Depth map construction method, device and capture apparatus, terminal device
CN103592754A (en) Digital section real-time scanning and automatic focusing tracking method
CN102752511A (en) Linear array scanning system, method and device for obtaining focal point of linear array scanning system
CN109286751B (en) Linear array camera focusing method, device, equipment and storage medium
CN109270066B (en) Scanning method and device for linear array camera
CN113556438B (en) Scanning control method, system, electronic device and storage medium
EP2202669B1 (en) Methods and apparatus for increased range of focus in image based bar code scanning
CN110896469B (en) Resolution testing method for three-shot photography and application thereof
JP6029293B2 (en) Scanning electron microscope image processing apparatus and scanning method
JP5132164B2 (en) Background image creation device
JP5770021B2 (en) Book reading system and book reading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120125