Summary of the invention
In view of above-mentioned deficiencies of the prior art place, the purpose of the present invention is to provide a kind of cancer cell diagnose automatically it is fast
Fast processing method and its system, it is intended to it is low to solve the problems, such as that cellscan to cyto-diagnosis makes a definite diagnosis a whole set of flow path efficiency.
In order to achieve the above object, this invention takes following technical schemes:
A kind of immediate processing method that cancer cell diagnoses automatically, includes the following steps:
S1, the thickness for obtaining precise measurement full wafer sample, determine the variation range of the thickness;
S2, the adjusting step-length for determining each step of microscope;
S3, definition judgment is carried out to scanning area;
S4, it takes pictures to the highest position of clarity;
S5, pass through clarity decision boundaries;
The image data that S6, reading are taken pictures;
Image data is stored in corresponding archives if there are historical records in database by S7, reading patient history information
Otherwise library creates the file store of patient;
S8, image segmentation, feature extraction and screening are carried out to each of visual field region, obtains diagnostic result;
S9, confirmation diagnostic result
S10, output save diagnostic result and printed report list.
Further, the region of the sample is circle, and the visual field lap of scanning is equal to 13 microns.
Further, the definition judgment is that micro- lens head moves up 3 steps on Z axis, moves down 3 steps to focus,
Clarity comparison is carried out to 7 positions including home position.
Further, the clarity comparison obtains the highest position of clarity, and carries out to the highest position of clarity
It takes pictures.
Further, it is described by clarity decision boundaries be by testing setup threshold value, when be lower than the threshold value when determine
Without effective cell image in the visual field.
Further, scanning process is first to carry out upper semi-circle sector scanning, and after upper semi-circle sector scanning, camera lens is automatic
It is restored to the center location of original records, carries out symmetrical lower half circle sector scanning.
Further, the S7 should by whether there is in medical card sequence number or casebook sequence number detection database
The historical record of patient.
Further, the S9 is that its identification may make to output and input information through example repetition training neural network, from
And AD HOC is established, realize that computer neural network confirms diagnostic result.
Further, the immediate processing method use USB encrypted counter mode, it is only necessary to remote authorization rather than return
Mode realizes quick counter and authorization.
A kind of processing system for the immediate processing method that cancer cell diagnoses automatically, comprising:
Thickness measure module determines the variation range of the thickness for the thickness of precise measurement full wafer sample;
Top control module, for determining the adjusting step-length of each step of microscope and controlling micro- lens head movement;
Clarity detection module, for detecting and the clarity in contrast scans region;
Picture obtains module, for taking pictures to the highest position of clarity;
Boundary discrimination module, for differentiating the boundary of scanning;
Image data read module, for reading the image data taken pictures;
Patient history information's read module, will if there are historical records in database for reading patient history information
Image data is stored in corresponding file store, otherwise creates the file store of patient;
Intelligent diagnostics module is obtained for carrying out image segmentation, feature extraction and screening to each of visual field region
Diagnostic result;
Module is made a definite diagnosis, for confirming diagnostic result;
As a result output saves and print module, saves diagnostic result and printed report list for exporting.
Compared with prior art, beneficial effects of the present invention:
(1) high degree of automation is made a definite diagnosis from cellscan to diagnosis and ultimately generates diagnosis report, all automatically completes;
(2) a large amount of chart-informations with the comparison of patient history's illness information are generated in intelligent diagnostics module, by artificial
Neural network substitution doctor is accurately made a definite diagnosis;
(3) clarity is determined to select to take pictures by multiple position versus, speed can achieve five minutes 800 pictures;
(4) using directly quick USB encrypted counter mode, compared to traditional IC card cipher mode, it is only necessary to remotely award
It weighs rather than returns mode, all operations can be completed by network, save the time, improve efficiency.
Specific embodiment
To make the purpose of the present invention, technical solution and effect clearer, clear and definite, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not used to
Limit the present invention.
As shown in Figure 1-3, the immediate processing method that a kind of cancer cell provided by the invention diagnoses automatically, this method includes such as
Lower step:
S1, the thickness for obtaining precise measurement full wafer sample, determine the variation range of the thickness;
Specifically, taking pictures according to certain arrangement regulation to different positions, the z-axis position of initial position is defined
It sets, then as reference point in focal length judgement later.It is clear to naked eyes that focal length manually adjusted to different photos, then
The focal length variations in z-axis are observed, record its variation range, the focus adjustment the big, illustrates that thickness change is big herein, so that it may right
The thickness of sample is judged.
S2, the adjusting step-length for determining each step of microscope;
The step-length that focus adjustment is determined by the variation range of plate coating thickness realizes that multiple positions are caught by focusing
It catches, and all visuals field is covered.
S3, definition judgment is carried out to scanning area;
Specifically, carrying out definition judgment automatically, image transforms to HSV and Lab by algorithm process from rgb space respectively
Then color model calculates separately gradient both horizontally and vertically using Sobel operator using Tenengrad gradient method,
Same Scene descending stair angle value is higher, and image is more clear, and the index of measurement is the average ash by Sobel operator treated image
Angle value, value is bigger, and representative image is more clear.
S4, it takes pictures to the highest position of clarity;
The high position of clarity is judged by S3, industrial camera carries out automatic camera to the highest position of clarity, and
Picture is sent to background process center processing and is saved.
S5, pass through clarity decision boundaries.
The image data that S6, reading are taken pictures;
Image data is stored in corresponding archives if there are historical records in database by S7, reading patient history information
Otherwise library creates the file store of patient;
S8, image segmentation, feature extraction and screening are carried out to each of visual field region, obtains diagnostic result;
First determine whether suspicious region is cell.If suspicious region is cell, feature extraction is carried out to cell, and protect
Deposit this feature data;If not cell, then do not analyze.After being extracted to all cell characteristics, with classifier to cell
Classify, filters out cancer cell therein.All cancer cells are exported and are saved, 1. as diagnostic result.In conjunction with history disease
The data such as cancer cell number, cell average area, cell average gray value are checked that data compare with history respectively by feelings,
Corresponding variation tendency chart is generated, 2. as diagnostic result.By the partial feature value during system diagnostics, generate corresponding
Chart, as auxiliary diagnosis result, 3. (such as cell area corresponds to the histogram of cell quantity, other charts can be required according to doctor
It generates).
It should be noted that image segmentation: being divided using Otsu algorithm and through row black and white inverse;Edge detection is carried out again,
Corresponding ROI region outer profile is found using Canny and findContours.Feature extraction: gray scale, circularity, area, week are extracted
Long, main shaft length, secondary axial length, compactness, eccentricity etc. feature.Classifier uses python decision tree, calculates separately out each
The impact factor of feature obtains the calculation formula of cancer cell.
S9, confirmation diagnostic result
1. 2. 3. diagnostic result is forwarded to doctor diagnosed, diagnostic result is made a definite diagnosis by doctor.Knot will largely be confirmed
Fruit is as data training artificial neural network.Its identification may make to output and input information through example repetition training neural network,
To establish AD HOC, realize that computer pathological diagnosis, that is, neural network is made a definite diagnosis.
S10, output save diagnostic result and printed report list.
It is noted that required focus adjustment parameter is compiled pst file in advance, from the background by reading pst text
Part carrys out focusing and is adjusted, when needing replacing other parameters adjusting, it is only necessary to edit pst file and re-enter wanted parameter i.e.
It can.
Scanning principle is in scanning process, and objective table is automatically stepped in two dimensions of X, Y, and then industrial camera is by acquisition
Image is sent to automatic focusing module, obtains focal plane by the feeding of Z axis (object lens) vertical direction.In order to keep system hardware flat
Platform meets actual need of work, in the design of the platform, should follow all standing principle of cell, as avoid missing inspection cancer thin
Born of the same parents should follow cell all covering principles when controlling objective table X, Y-axis feeding.
In the present embodiment, the region of the sample is circle, as shown in Figure 2 about the visual field of scanning, the visual field 1 and the visual field
2 laps are equal to 13 microns.Because being directed to cervical exfoliated cell smear, when lap is less than 13 microns, image border
Nuclei picture be possible to be destroyed, normal process object cannot be included in, cause incomplete cell bank;And work as overlapping portion
Divide more than 13 microns, then may cause and duplicate hypercellularity in cell bank, increase calculation amount simultaneously, influences conclusive judgement essence
Degree.It needs on the basis of biomicroscope, by adding stepper motor and corresponding transmission mechanism to objective table, realizes simultaneously
The automatic scanning of smear.
In the present embodiment, the definition judgment is that micro- lens head moves up 3 steps on Z axis, moves down 3 steps to adjust coke
Away to 7 positions progress clarity comparison including home position.
In the present embodiment, the clarity comparison obtains the highest position of clarity, and to the highest position of clarity
It takes pictures.
In the present embodiment, it is described by clarity decision boundaries be by testing setup threshold value, when be lower than the threshold value when
Determine then to be determined as boundary without effective cell image in the visual field.
In the present embodiment, the scan method is first to carry out upper semi-circle sector scanning, after upper semi-circle sector scanning,
Camera lens automatically restores to the center location of original records, carries out symmetrical lower half circle sector scanning, symmetrical expression scanning is so that scanning
Path is more stable, scans more acurrate.
In the present embodiment, whether the S7 in medical card sequence number or casebook sequence number detection database by depositing
In the historical record of the patient, if it does, this final result checked is stored in corresponding file store;Otherwise patient is created
File store, and save idagnostic logout.
In the present embodiment, the S9 is that its identification may make to output and input letter through example repetition training neural network
Breath realizes that computer neural network confirms diagnostic result to establish AD HOC.
In the present embodiment, the immediate processing method use USB encrypted counter mode, it is only necessary to remote authorization rather than
Mode is returned, quick counter and authorization are realized.
It should be noted that the present invention uses parallel rejection tablet technology quick Fabrication smear, system is greatly improved from efficiency
Piece speed is quickly handled cell sample provided with parallel multichannel centrifuge, for gynaecology's sample, Pleural effusions sample and
Phlegm, urine humoral specimen, the following steps are included:
A, gynaecology's sample is put concussion 2~10 minutes on the oscillator together with bottle is saved by Pretreated, is drawn and is saved bottle
In indsole confluent monolayer cells make sample;It takes 40~50 milliliters to be centrifuged 10 minutes after mixing with 2000 revs/min, takes centrifugation bottom of the tube 1/3
Liquid is added preservation bottle and makees sample;Or sputum specimen add 5~10 milliliters of mucolytic liquid after put on the oscillator shake 2~10 points
Clock takes the liquid phlegm after decomposing that preservation bottle is added and makees sample;
B, it takes common centrifuge tube that 5 milliliters of adherency separating liquids are added, is slowly added to along centrifugation tube wall through step a Pretreated
Above-mentioned equivalent sample afterwards;
C, the sample mixture of step b is placed in a centrifuge and is centrifuged 5~10 minutes with 1200~2000 revs/min, according to
Centrifuged deposit object amount abandons supernatant in centrifuge tube, then mixes stand-by;
D, numbered sheet glass will be write to be put into the elongated slot of film-making corollary equipment natural settling device fixing seat, sheet glass
It is tightly attached to the elongated slot bottom edge of fixing seat, is centrifugated after fixed and is regarded as sample, constant temperature drying platform is dried again later, and is suppressed
The sample needed.Speed is faster, the bigger centrifugation systems of intensity realize cell on the basis of quickly more has
The separation of effect, to obtain the promotion of performance in subsequent display effect and two aspect of speed.
In the following way, the region of cell sample is circle to auto-focusing, passes through the judgement realization pair to sample boundary
Cell does not weigh leak-free scanning.The material and glass thickness of every one kind biological sample are different, first acquisition precise measurement full wafer sample
This thickness, determines the rough variation range of thickness.Then it calculates and determines each microscopical adjusting step-length of step.It is swept each time
Before retouching, it is clear that manually field of microscope is adjusted in center location, and then microscope automatically begins to scan.To often sweeping
Retouch region and all carry out definition judgment, camera lens setting moves up 3 steps, move down 3 steps and to 7 positions including home position into
Row judgement, compares and is called industrial camera to the maximum position of clarity and takes pictures.Pst has been made into for the adjusting of focal length
File carries out convenient modification editor, so as to realize target that speed and clarity are taken into account.It is same for the judgement on boundary
Carry out decision boundaries using clarity, by testing setup threshold value, determines in the visual field when being lower than the threshold value without effective cell
Image, so as to realize the judgement on boundary.The mode that scanning is scanned respectively using upper lower half circle area, upper semi-circle region terminates to sweep
After retouching, camera lens is automatically moved back to the center location of original records, carries out symmetrical lower half circle scan procedure.In scanning process
In, counting is synchronized for the polyploids such as diploid and cell quantity, is realized by later logical algorithm to overall flow
Control, reach and just stop scanning after object count.The scanning mode may be implemented to five minutes 800 pictures, high-efficient.
It should be noted that the movement of micro- lens head is to control by backstage master control stepper motor, stepper motor
It is mobile that camera lens is controlled again.
On the other hand the present invention also provides a kind of processing system of immediate processing method that cancer cell diagnoses automatically, the systems
Include:
Thickness measure module determines the variation range of the thickness for the thickness of precise measurement full wafer sample;
Top control module, for determining the adjusting step-length of each step of microscope and controlling micro- lens head movement;
Clarity detection module, for detecting and the clarity in contrast scans region;
Picture obtains module, for taking pictures to the highest position of clarity;
Boundary discrimination module, for differentiating the boundary of scanning;
Image data read module, for reading the image data taken pictures;
Patient history information's read module, will if there are historical records in database for reading patient history information
Image data is stored in corresponding file store, otherwise creates the file store of patient;
Intelligent diagnostics module is obtained for carrying out image segmentation, feature extraction and screening to each of visual field region
Diagnostic result;
Module is made a definite diagnosis, for confirming diagnostic result;
As a result output saves and print module, saves diagnostic result and printed report list for exporting;The top control module
It controls the module of all whole systems and is electrically connected with the module of the whole system.
It, can according to the technique and scheme of the present invention and its hair it is understood that for those of ordinary skills
Bright design is subject to equivalent substitution or change, and all these changes or replacement all should belong to the guarantor of appended claims of the invention
Protect range.