Summary of the invention
What the present invention solved is digital pathological section scanner slide glass platform repetitive positioning accuracy measuring method in prior art, easily causes the technical matters of measuring error in measuring process because of the variation of laser equipment or infrored equipment position.
In order to solve the problem, the embodiment of the present invention provides a kind of pathological section scanner slide glass platform positioning precision measuring method, comprising:
Described slide glass platform loads characteristic slice, and described characteristic slice comprises n unique point, and n is natural number;
Control described slide glass platform to move to the first assigned address;
The first image of described characteristic slice is obtained by the picture pick-up device be arranged in described pathological section scanner, the relative position of described picture pick-up device and described pathological section scanner is constant, the positional information of described unique point before slide glass platform resetting described in described first image record;
Control after described slide glass platform leaves described first assigned address, then control described slide glass platform and move to described first assigned address, this step is carried out m time, and m is natural number;
After m time controls the resetting of described slide glass platform, obtained the second image of described characteristic slice by described picture pick-up device, the positional information of described unique point after slide glass platform resetting described in described second image record;
Described first image and described second image are compared, to draw the side-play amount corresponding respectively to a described n unique point;
Calculate the precision of described slide glass platform resetting according to the resolution of platform positioning equipment and the side-play amount of a described n unique point, described platform positioning equipment is used to indicate the movement of described slide glass platform.
Optionally, described characteristic slice is section white background being printed on black cross, and described characteristic slice comprises 5 unique points, using the center of described cross and 4 end points as described 5 unique points.
Optionally, described pathological section scanner is digital pathological section scanner, and described picture pick-up device is digital photographing apparatus, and described first image and described second image are digital picture.
Optionally, the precision of slide glass platform resetting according to following formulae discovery:
Wherein, A
xrepresent precision, the A on horizontal ordinate
yrepresent the precision on ordinate, n represents the quantity of described unique point, R
xrepresent the platform positioning equipment resolution on horizontal ordinate, R
yrepresent the platform positioning equipment resolution on ordinate,
represent the horizontal ordinate sum of a described n unique point after the resetting of described slide glass platform,
represent the horizontal ordinate sum of a described n unique point before the resetting of described slide glass platform,
represent the ordinate sum of a described n unique point after the resetting of described slide glass platform,
represent the ordinate sum of a described n unique point before the resetting of described slide glass platform.
In order to solve the problem, the embodiment of the present invention also provides a kind of pathological section scanner slide glass platform positioning precision measurement mechanism, comprising:
Loading unit, for loading characteristic slice on described slide glass platform, described characteristic slice comprises n unique point, and n is natural number;
First control module, for after described loading unit executable operations, controls described slide glass platform and moves to the first assigned address;
First image acquisition unit, for after described first control module executable operations, the first image of described characteristic slice is obtained by the picture pick-up device be arranged in described pathological section scanner, the relative position of described picture pick-up device and described pathological section scanner is constant, the positional information of described unique point before slide glass platform resetting described in described first image record;
Second control module, for after described first image acquisition unit executable operations, after described slide glass platform leaves described first assigned address, then control described slide glass platform and move to described first assigned address, this step is carried out m time, and m is natural number;
Second image acquisition unit, after controlling the resetting of described slide glass platform m time at described second control module, the second image of described characteristic slice is obtained, the positional information of described unique point after slide glass platform resetting described in described second image record by described picture pick-up device;
Comparing unit, after described second image acquisition unit executable operations, compares described first image and described second image, to draw the side-play amount corresponding respectively to a described n unique point;
Computing unit, for after described comparing unit executable operations, calculate the precision of described slide glass platform resetting according to the resolution of platform positioning equipment and the side-play amount of a described n unique point, described platform positioning equipment is used to indicate the movement of described slide glass platform.
Optionally, described characteristic slice is section white background being printed on black cross, and described characteristic slice comprises 5 unique points, using the center of described cross and 4 end points as described 5 unique points.
Optionally, described pathological section scanner is digital pathological section scanner, and described picture pick-up device is digital photographing apparatus, and described first image and described second image are digital picture.
Optionally, the precision of slide glass platform resetting according to following formulae discovery:
Wherein, A
xrepresent precision, the A on horizontal ordinate
yrepresent the precision on ordinate, n represents the quantity of described unique point, R
xrepresent the platform positioning equipment resolution on horizontal ordinate, R
yrepresent the platform positioning equipment resolution on ordinate,
represent the horizontal ordinate sum of a described n unique point after the resetting of described slide glass platform,
represent the horizontal ordinate sum of a described n unique point before the resetting of described slide glass platform,
represent the ordinate sum of a described n unique point after the resetting of described slide glass platform,
represent the ordinate sum of a described n unique point before the resetting of described slide glass platform.
In order to solve the problem, the embodiment of the present invention also provides a kind of pathological section scanner, comprise the picture pick-up device be arranged in described pathological section scanner, the relative position of described picture pick-up device and described pathological section scanner is constant, described picture pick-up device, for obtaining the image of the characteristic slice on the slide glass platform being carried in described pathological section scanner, also comprises above-mentioned pathological section scanner slide glass platform positioning precision measurement mechanism.
Compared with prior art, technical scheme of the present invention has following beneficial effect:
The picture pick-up device carried by pathological section scanner obtains the image of the characteristic slice on slide glass platform, avoid the impact that the variation due to laser equipment or infrored equipment position causes measurement result, thus improve the accuracy of measurement, meanwhile, also reduce the cost of measuring equipment.
Further, described characteristic slice is section white background being printed on black cross, using the center of described cross and 4 end points as described 5 unique points, thus makes the location of unique point and reads more accurate, more convenient.
Further, described picture pick-up device is digital photographing apparatus, and described first image and described second image are digital picture, calculate in units of pixel, thus make the measurement of precision to reach pixel scale, further increase the accuracy of measurement.
Embodiment
As shown in Figure 1, in the embodiment of the present invention, described pathological section scanner comprises slide glass platform 102 and picture pick-up device 104, and described slide glass platform 102 is positioned on workbench 101, and described slide glass platform 102 loads characteristic slice 103; Described picture pick-up device 104 is positioned at above described slide glass platform 102, obtains the image of the characteristic slice 103 be carried on described slide glass platform 102 through object lens 105 from top to bottom; Described picture pick-up device 104 is arranged in described pathological section scanner, and in measuring process, described picture pick-up device 104 does not change with the relative position of described pathological section scanner.
The scheme provided in the embodiment of the present invention, for measuring in the precision of same position the slide glass platform resetting of pathological section scanner, that is: first control slide glass platform and leave the first assigned address, control described slide glass platform again to move to described first assigned address, more described slide glass platform is before carrying out above-mentioned resetting operation and after having carried out above-mentioned resetting operation, whether same position can be positioned at, record the error amount of resetting, and in conjunction with the resolution of platform positioning equipment, calculate the precision of resetting.
As can be seen from such scheme, in the embodiment of the present invention, the picture pick-up device carried by pathological section scanner obtains the image of the characteristic slice on slide glass platform, avoid the impact that the variation due to laser equipment or infrored equipment position causes measurement result, thus improve the accuracy of measurement, meanwhile, the cost of measuring equipment is also reduced.
For making those skilled in the art understand better and realize the present invention, referring to accompanying drawing, be described in detail by specific embodiment.
Embodiment one
With reference to the pathological section scanner slide glass platform positioning precision measuring method process flow diagram shown in Fig. 2, be described in detail below by way of concrete steps:
S201, described slide glass platform loads characteristic slice, and described characteristic slice comprises n unique point, and n is natural number.
In order to make follow-up digital independent work more accurate, more convenient, characteristic slice therefore can be adopted to measure.Described characteristic slice can be arranged foreground and the larger image of background colour contrast, on described image, the corner of pattern can be sharper keen.Such as, the section of black cross can be printed on as characteristic slice in white background.Described characteristic slice is got n unique point, and n is natural number, such as, can get the center of described cross and 4 end points as unique point, amount to 5 unique points.
Can be found out by such scheme, in the present embodiment, described characteristic slice is section white background being printed on black cross, using the center of described cross and 4 end points as described 5 unique points, thus makes the location of unique point and reads more accurate, more convenient.
Be understandable that, described characteristic slice is not limited to the section being printed on specific pattern, can adopt any section, as long as can get several points as unique point in described section.Under normal circumstances, the quantity of the unique point of getting is more, and the accuracy of measurement is higher.
S202, controls described slide glass platform and moves to the first assigned address.
Described first assigned address is not limited to specific position, as long as described picture pick-up device can obtain the image of the characteristic slice on described slide glass platform.Consider the middle part normally described slide glass platform being placed in workbench in actual use procedure, therefore, described first assigned address can be certain position in the middle part of described workbench.
In concrete enforcement, described workbench and described pathological section scanner can be integrated, also can be that described pathological section scanner is removably fixed on described workbench.In test process, the position of described workbench and described pathological section scanner does not change.
S203, the first image of described characteristic slice is obtained by the picture pick-up device be arranged in described pathological section scanner, the relative position of described picture pick-up device and described pathological section scanner is constant, the positional information of described unique point before slide glass platform resetting described in described first image record.
Described pathological section scanner carries picture pick-up device, and in test process, the relative position of described picture pick-up device and described pathological section scanner does not change.Described picture pick-up device is positioned at above described slide glass platform, obtains the image of the characteristic slice be carried on described slide glass platform through object lens from top to bottom.
In order to simulate the situation of described pathological section scanner in practical application better, in concrete enforcement, described picture pick-up device can be arranged on by the optical microscope of described pathological section scanner, and with described optical microscope towards identical direction.
Can be found out by such scheme, in the present embodiment, the picture pick-up device carried by pathological section scanner obtains the image of the characteristic slice on slide glass platform, avoid the impact that the variation due to laser equipment or infrored equipment position causes measurement result, thus improve the accuracy of measurement, meanwhile, the cost of measuring equipment is also reduced.
The action that described picture pick-up device obtains image can be carried out according to the instruction of operator, and the instruction of described operator can be assigned by the button be arranged in described pathological section scanner, also can be assigned by the method for software.
The image that picture pick-up device obtains can be stored in the storer of external computing machine, and the work such as follow-up comparison, calculating also can be performed by external computing machine.
Be understandable that, described pathological section scanner also can self-contained storing devices and processor, thus no longer needs external computing machine, can realize corresponding function voluntarily.
S204, controls after described slide glass platform leaves described first assigned address, then controls described slide glass platform and move to described first assigned address, and this step is carried out m time, and m is natural number.
Control after described slide glass platform leaves described first assigned address, then control described slide glass platform and move to described first assigned address, this step is " resetting ".
In order to reduce the impact of front one-time positioning on follow-up location, this step can be carried out m time, and m is natural number.In concrete enforcement, it can be hundreds of times or thousands of times.
S205, after m time controls the resetting of described slide glass platform, obtains the second image of described characteristic slice, the positional information of described unique point after slide glass platform resetting described in described second image record by described picture pick-up device.
Described second image is used for comparing with described first image in subsequent step, and then calculates the precision of described slide glass platform resetting.The obtain manner of described second image and storage mode and described first image similar.
S206, compares described first image and described second image, to draw the side-play amount corresponding respectively to a described n unique point.
Identify the unique point on described first image and described second image, obtain the side-play amount of the position of described unique point on described first image and the position on described second image, each unique point corresponds to a side-play amount, therefore, can obtain n side-play amount.
Be two dimensional image due to described first image and described second image record, therefore, can two-dimensional coordinate system be set up, obtain the side-play amount of described unique point in x-axis and the side-play amount in y-axis respectively.In order to simplify calculating, orthogonal x-axis and y-axis can be got.
When described picture pick-up device is digital photographing apparatus, described side-play amount can be calculated by pixel difference.Such as, when picture pick-up device adopts 40 times of object lens to take pictures, on the image that described picture pick-up device is caught, every 100 pixels represent the length (on image, every 1 millimeter is 100 pixels) of on subject 25 microns.
Can be found out by such scheme, in the present embodiment, described picture pick-up device is digital photographing apparatus, described first image and described second image are digital picture, calculate in units of pixel, thus make the measurement of precision to reach pixel scale, further increase the accuracy of measurement.
S207, calculate the precision of described slide glass platform resetting according to the resolution of platform positioning equipment and the side-play amount of a described n unique point, described platform positioning equipment is used to indicate the movement of described slide glass platform.
In concrete enforcement, described platform positioning equipment can be grating scale.Grating is a thin slice be made up of strip lens, and grating scale may be used for the movement indicating described slide glass platform.The resolution of grating scale determines the unit distance of slide glass platform movement, also determines the maximum error value that an often mobile slide glass platform may cause further.Such as, when adopt resolution be the grating scale of 0.05 micron to indicate described slide glass platform movement time, an often mobile slide glass platform, maximum possible causes the error of 0.05 micron.By calculating the ratio of described side-play amount relative to described maximum error value, the precision of described slide glass platform resetting can be drawn.
In concrete enforcement, following formula can be adopted to carry out calculating the precision of described slide glass platform resetting:
Wherein, A
xrepresent precision, the A on horizontal ordinate
yrepresent the precision on ordinate, n represents the quantity of described unique point, R
xrepresent the platform positioning equipment resolution on horizontal ordinate, R
yrepresent the platform positioning equipment resolution on ordinate,
represent the horizontal ordinate sum of a described n unique point after the resetting of described slide glass platform,
represent the horizontal ordinate sum of a described n unique point before the resetting of described slide glass platform,
represent the ordinate sum of a described n unique point after the resetting of described slide glass platform,
represent the ordinate sum of a described n unique point before the resetting of described slide glass platform.
Embodiment two
With reference to the pathological section scanner slide glass platform positioning precision measurement mechanism structured flowchart shown in Fig. 3, described measurement mechanism comprises: loading unit, the first control module, the first image acquisition unit, the second control module, the second image acquisition unit, comparing unit and computing unit, wherein:
Loading unit, for loading characteristic slice on described slide glass platform, described characteristic slice comprises n unique point, and n is natural number;
First control module, for after described loading unit executable operations, controls described slide glass platform and moves to the first assigned address;
First image acquisition unit, for after described first control module executable operations, the first image of described characteristic slice is obtained by the picture pick-up device be arranged in described pathological section scanner, the relative position of described picture pick-up device and described pathological section scanner is constant, the positional information of described unique point before slide glass platform resetting described in described first image record;
Second control module, for after described first image acquisition unit executable operations, after described slide glass platform leaves described first assigned address, then control described slide glass platform and move to described first assigned address, this step is carried out m time, and m is natural number;
Second image acquisition unit, after controlling the resetting of described slide glass platform m time at described second control module, the second image of described characteristic slice is obtained, the positional information of described unique point after slide glass platform resetting described in described second image record by described picture pick-up device;
Comparing unit, after described second image acquisition unit executable operations, compares described first image and described second image, to draw the side-play amount corresponding respectively to a described n unique point;
Computing unit, for after described comparing unit executable operations, calculate the precision of described slide glass platform resetting according to the resolution of platform positioning equipment and the side-play amount of a described n unique point, described platform positioning equipment is used to indicate the movement of described slide glass platform.
Can be found out by such scheme, in the present embodiment, the picture pick-up device carried by pathological section scanner obtains the image of the characteristic slice on slide glass platform, avoid the impact that the variation due to laser equipment or infrored equipment position causes measurement result, thus improve the accuracy of measurement, meanwhile, the cost of measuring equipment is also reduced.
In concrete enforcement, described characteristic slice is section white background being printed on black cross, and described characteristic slice comprises 5 unique points, using the center of described cross and 4 end points as described 5 unique points.
Can be found out by such scheme, in the present embodiment, described characteristic slice is section white background being printed on black cross, using the center of described cross and 4 end points as described 5 unique points, thus makes the location of unique point and reads more accurate, more convenient.
In concrete enforcement, described pathological section scanner is digital pathological section scanner, and described picture pick-up device is digital photographing apparatus, and described first image and described second image are digital picture.
Can be found out by such scheme, in the present embodiment, described picture pick-up device is digital photographing apparatus, described first image and described second image are digital picture, calculate in units of pixel, thus make the measurement of precision to reach pixel scale, further increase the accuracy of measurement.
In concrete enforcement, following formula can be adopted to carry out calculating the precision of described slide glass platform resetting:
Wherein, A
xrepresent precision, the A on horizontal ordinate
yrepresent the precision on ordinate, n represents the quantity of described unique point, R
xrepresent the platform positioning equipment resolution on horizontal ordinate, R
yrepresent the platform positioning equipment resolution on ordinate,
represent the horizontal ordinate sum of a described n unique point after the resetting of described slide glass platform,
represent the horizontal ordinate sum of a described n unique point before the resetting of described slide glass platform,
represent the ordinate sum of a described n unique point after the resetting of described slide glass platform,
represent the ordinate sum of a described n unique point before the resetting of described slide glass platform.
Embodiment three
As shown in Figure 1, in the present embodiment, described pathological section scanner comprises slide glass platform 102 and picture pick-up device 104, and described slide glass platform 102 is positioned on workbench 101, and described slide glass platform 102 loads characteristic slice 103; Described picture pick-up device 104 is positioned at above described slide glass platform 102, obtains the image of the characteristic slice 103 be carried on described slide glass platform 102 through object lens 105 from top to bottom; Described picture pick-up device 104 is arranged in described pathological section scanner, and in measuring process, described picture pick-up device 104 does not change with the relative position of described pathological section scanner.
Described pathological section scanner also comprises the pathological section scanner slide glass platform positioning precision measurement mechanism provided in enforcement two, adopts the pathological section scanner slide glass platform positioning precision measuring method provided in embodiment one to measure the precision of slide glass platform resetting.
In concrete enforcement, described pathological section scanner can be digital pathological section scanner.
Can be found out by such scheme, in the present embodiment, the picture pick-up device carried by pathological section scanner obtains the image of the characteristic slice on slide glass platform, avoid the impact that the variation due to laser equipment or infrored equipment position causes measurement result, thus improve the accuracy of measurement, meanwhile, the cost of measuring equipment is also reduced.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.