CN110010227B - Method, device and system for generating picture - Google Patents

Method, device and system for generating picture Download PDF

Info

Publication number
CN110010227B
CN110010227B CN201910153492.0A CN201910153492A CN110010227B CN 110010227 B CN110010227 B CN 110010227B CN 201910153492 A CN201910153492 A CN 201910153492A CN 110010227 B CN110010227 B CN 110010227B
Authority
CN
China
Prior art keywords
pathological section
picture
scanner
blank
pathological
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.)
Active
Application number
CN201910153492.0A
Other languages
Chinese (zh)
Other versions
CN110010227A (en
Inventor
谢文龙
吕亚亚
李云鹏
沈军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910153492.0A priority Critical patent/CN110010227B/en
Publication of CN110010227A publication Critical patent/CN110010227A/en
Application granted granted Critical
Publication of CN110010227B publication Critical patent/CN110010227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/40ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing

Abstract

The invention provides a method, a device and a system for generating pictures. The method is applied to the medical field, and the medical field comprises the following steps: a pathological section scanner, the method comprising: pathological section scanner receives pathological section, cut pathological section according to predetermineeing the pixel, judge whether the pathological section pixel of cutting out is less than predetermineeing the pixel, be less than predetermineeing the pixel, then establish a blank picture, will cut out the pathological section subsides that are less than predetermineeing the pixel and mend to the blank picture, preserve the blank picture after the subsides, if equal to predetermineeing the pixel, then directly preserve the pathological section of cutting out, the blank picture after the subsides and the pathological section that cuts out that equals to predetermineeing the pixel of cutting out analyze and splice, scan again, generate the whole picture of pathological section. The invention has the advantages that the generated overall picture of the pathological section is complete and clear, the edge zone can not be stretched and deformed, and the diagnosis correctness of medical staff to diseases of patients is improved.

Description

Method, device and system for generating picture
Technical Field
The present invention relates to the medical field, and in particular, to a method, an apparatus, and a system for generating pictures.
Background
Pathological section is a medical means widely applied in the medical field, and is prepared by taking pathological tissues with certain sizes, preparing pathological sections by a histopathology method (usually, the pathological tissues are embedded in a paraffin block, cut into slices by a slicer, and stained by hematoxylin-eosin (H-E)), further checking the occurrence and development process of pathological changes by a microscope, and finally making pathological diagnosis. The pathological specimen is prepared through treating the pathological tissue or organ with various chemicals and embedding method, fixing and hardening, cutting into thin slices in microtome, adhering to glass slide, dyeing in different colors, and examining under microscope to observe pathological change and make pathological diagnosis.
The existing pathological sections are observed under a microscope to obtain results, generally in a picture format, but the picture definition is poor, so that medical professionals need to check the picture, or patients take the picture to other medical institutions and ask other medical workers to check the state of illness, misdiagnosis can be caused, and the consequences are serious.
The pathological section scanner replaces a traditional microscope with a high-precision digital pathological section scanner to realize digital informatization of the traditional pathological section, the image generated by the pathological section scanner is high in definition, the image generated by the pathological section scanner and the image generated by the traditional microscope adopt the same cutting technology, the image generated by the pathological section scanner is cut and analyzed and spliced according to 256 × 256 pixels in the whole part for simple cutting, when the edge part is cut, the length or width of the edge part is less than 256 pixels, but the cut image is still stored according to 256 × 256 pixels, so that the image is necessarily stretched and deformed to cause distortion, and although the distortion of the part is not large or even negligible to the whole image, when the pathological position is right at the position, misdiagnosis can be caused.
Disclosure of Invention
The method, the device and the system for generating the picture solve the problem that when the edge is not enough for the preset pixels, the picture is still cut according to the preset pixels by the cutting technology adopted for generating the picture, so that the picture is stretched, and deformation and distortion are caused.
In order to solve the technical problem, an embodiment of the present invention provides a method for generating a picture, which is applied to the medical field, where the medical field includes: a pathological section scanner, which is an intelligent device for digital informatization of pathological sections, the method comprising:
the pathological section scanner receives pathological sections;
the pathological section scanner cuts the pathological section according to preset pixels;
the pathological section scanner judges whether the cut pathological section pixels are smaller than the preset pixels;
if the cut pathological section pixel is smaller than the preset pixel, the pathological section scanner creates a blank picture, and the pixel of the blank picture is equal to the preset pixel;
the pathological section scanner is used for attaching the pathological section which is cut out to be smaller than the preset pixel to the blank picture;
the pathological section scanner stores the blank pictures after patching;
if the cut pathological section pixel is equal to the preset pixel, the pathological section scanner directly stores the cut pathological section;
the pathological section scanner analyzes and splices the attached blank picture and the cut pathological section which is equal to the preset pixel;
and the pathological section scanner scans the analyzed and spliced pathological sections to generate an overall picture of the pathological section.
Optionally, the patching, by the pathological section scanner, the pathological section cut out to be smaller than the preset pixel onto the blank image includes:
the pathological section scanner scans the blank picture;
and the pathological section scanner is used for pasting the pathological section which is cut out to be smaller than the preset pixel to the upper left corner of the blank picture.
Optionally, the pathological section scanner cuts the pathological section according to preset pixels, including:
the pathological section scanner sequentially cuts 256 × 256 pixels from left to right and from top to bottom.
Optionally, the pathological section scanner analyzes and splices the blank picture after patching and the pathological section cut out to be equal to the preset pixel, and includes:
if the number of the blank pictures after patching is only one, the pathological section scanner directly splices the blank pictures after patching and the cut pathological sections which are equal to the preset pixels;
and if the number of the blank pictures after patching is more than one, the pathological section scanner analyzes the position relation between the blank pictures after patching and the cut pathological sections equal to the preset pixels, and then splicing is carried out.
Optionally, after the pathological section scanner scans the analyzed and spliced pathological section to generate an overall pathological section picture, the method further includes:
if the overall pathological section picture does not conform to the preset picture, the pathological section scanner takes pixels higher than 256 × 256 as preset pixels, the method is repeated, and the overall pathological section picture is regenerated, wherein the preset picture is a picture which clearly and completely shows pathology;
and if the overall picture of the pathological section is distorted, repeating the method by the pathological section scanner to regenerate the overall picture of the pathological section.
The embodiment of the invention also provides a device for generating the picture, which is applied to the medical field, wherein the medical field comprises the following steps: pathological section scanner, pathological section scanner is the intelligent equipment with pathological section digital informationization, the device includes:
a receiving module for receiving a pathological section by the pathological section scanner;
the cutting module is used for cutting the pathological section according to preset pixels by the pathological section scanner;
the judging module is used for judging whether the cut pathological section pixels are smaller than the preset pixels by the pathological section scanner;
the creating module is used for creating a blank picture by the pathological section scanner if the cut pathological section pixel is smaller than the preset pixel, and the pixel of the blank picture is equal to the preset pixel;
a scanning blank patch module for patch-patching the pathological section cut to be smaller than the preset pixel onto the blank picture by the pathological section scanner;
the storage module is used for storing the supplemented blank picture by the pathological section scanner;
the direct storage module is used for directly storing the cut pathological section by the pathological section scanner if the cut pathological section pixel is equal to the preset pixel;
the analysis and splicing module is used for analyzing and splicing the attached blank picture and the cut pathological section which is equal to the preset pixel by the pathological section scanner;
and the scanning generation module is used for scanning the analyzed and spliced pathological sections by the pathological section scanner to generate an overall picture of the pathological section.
Optionally, the scanning blank patching module includes:
a scanning blank sub-module for scanning the blank picture by the pathological section scanner;
and the patching sub-module is used for patching the pathological section which is cut out to be smaller than the preset pixel to the upper left corner of the blank picture by the pathological section scanner.
Optionally, the cutting module comprises:
and the pixel cutting sub-module is used for sequentially cutting 256 × 256 pixels by the pathological section scanner from left to right and from top to bottom.
Optionally, the parsing and splicing module includes:
the direct splicing sub-module is used for splicing the pasted blank picture and the cut pathological section which is equal to the preset pixel by the pathological section scanner if the number of the pasted blank picture is only one;
and the analysis and splicing sub-module is used for analyzing the position relation between the attached blank picture and the cut pathological section which is equal to the preset pixel by the pathological section scanner and splicing if the number of the attached blank pictures is more than one.
The embodiment of the invention also provides a system for generating pictures, which is applied to the field of medical treatment and comprises the following components: a pathological section scanner for implementing the method described above and a pathological section.
Compared with the prior art, the method, the device and the system for generating the picture provided by the invention have the advantages that the pathological section is cut according to the preset pixels, whether the cut pixels of the pathological section are smaller than the preset pixels is judged, if so, a blank picture of the preset pixels is created, the pathological section smaller than the preset pixels is pasted on the blank picture, then the blank picture is analyzed and spliced with the pathological section equal to the preset pixels, and finally, the overall picture of the pathological section is generated, is complete and clear, the edge zone cannot be stretched, the deformation and distortion cannot occur, and the diagnosis correctness of medical staff to disease symptoms is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a method for generating a picture according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating the details of step 102 in an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the detailed procedure of step 105 according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating the details of step 108 in an embodiment of the present invention;
FIG. 5 is another flow chart of a method for generating a picture after step 109 in an embodiment of the present invention;
FIG. 6 is a schematic diagram of an apparatus of an embodiment of the invention;
FIG. 7 is a schematic diagram of pathological section cutting and a schematic diagram of pathological section overall images under the condition that only one blank image is pasted in the embodiment of the invention;
fig. 8 is a schematic diagram of pathological section cutting and a schematic diagram of an overall pathological section picture in the case that there are a plurality of blank pictures after patch in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a flowchart of a method for generating a picture according to an embodiment of the present invention, where the method is applied to the medical field, and the medical field includes: the pathological section scanner is an intelligent device for digitalizing pathological sections, and the method for generating the pictures comprises the following steps:
step 101: the pathological section scanner receives a pathological section.
In the embodiment of the invention, the pathological section scanner replaces a traditional microscope with a high-precision digital pathological section scanner to realize digital informatization of the traditional pathological section, the definition of the generated picture of the pathological section is far higher than that of the picture generated by the traditional microscope, the pathological section is a conventional means adopted in medical treatment, and generally, after the pathological section is manufactured, the pathological section needs to be observed and researched to obtain the disease result. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 102: and the pathological section scanner cuts the pathological section according to preset pixels.
In the embodiment of the present invention, after the pathological section is received, the pathological section scanner cuts the pathological section according to the preset pixels, and it should be noted that the cutting in the embodiment of the present invention refers to picture cutting, and because a picture with higher definition needs to be obtained due to the special requirement of the pathological section, the cutting needs to be performed with a certain pixel size. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Optionally, referring to fig. 2, step 102 specifically includes:
step 102 a: the pathological section scanner sequentially cuts 256 × 256 pixels from left to right and from top to bottom.
In the embodiment of the invention, the pathological section scanner cuts the pathological section by 256 × 256 pixels in sequence from left to right and from top to bottom to obtain a block of pictures with the pixel as the size, and the pictures are combined to finally obtain the picture of the whole pathological section. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 103: and the pathological section scanner judges whether the cut pathological section pixels are smaller than preset pixels.
In the embodiment of the present invention, in the process of cutting a pathological section according to preset pixels, each pathological section with a preset pixel size is cut, whether the pixel of the pathological section is smaller than the preset pixel, that is, whether the pixel of the pathological section is smaller than 256 × 256 pixels is determined. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 104: and if the cut pixel of the pathological section is smaller than the preset pixel, the pathological section scanner creates a blank picture, and the pixel of the blank picture is equal to the preset pixel.
In the embodiment of the invention, when the cut pathological section pixel is judged to be smaller than the preset pixel, the pathological section scanner automatically creates a blank picture, and the pixel of the blank picture is equal to the preset pixel, namely the blank picture has the size of 256 × 256 pixels. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 105: and the pathological section scanner is used for pasting the pathological section which is cut out to be smaller than the preset pixel onto the blank picture.
In the embodiment of the present invention, after a blank picture with 256 × 256 pixels is created, the pathological section scanner pastes the previously cut pathological section with a size smaller than 256 × 256 pixels onto the created blank picture, where the pasting means to cover one picture on another picture. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Optionally, referring to fig. 3, step 105 specifically includes the following steps:
step 105 a: the pathological section scanner scans the blank picture.
In the embodiment of the present invention, after the pathological section scanner creates a blank picture with a size of 256 × 256 pixels, the created blank picture is scanned once, and the size of the blank picture is determined to be 256 × 256 pixels again. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 105 b: and the pathological section scanner is used for pasting the pathological section which is cut out to be smaller than the preset pixel to the upper left corner of the blank picture.
In the embodiment of the invention, when the size of the created blank picture is determined to be 256 × 256 pixels, the pathological section scanner pastes the pathological section cut out to be smaller than the preset pixels to the upper left corner of the blank picture, namely, the pathological section cut out to be smaller than 256 × 256 pixels is pasted to the upper left corner of the blank picture, so that the purpose is to completely and continuously generate the overall pathological section picture for subsequent picture analysis and splicing, if the pasted position is not in the upper left corner, the edge position of the finally generated overall pathological section picture is not connected, white remains exist, and the judgment of the state of an illness by medical staff can be influenced. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 106: and the pathological section scanner stores the blank pictures after patching.
In the embodiment of the invention, after the pathological section with the size of less than 256 × 256 pixels is attached to the upper left corner of the blank picture, the pathological section scanner saves the blank picture. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 107: and if the cut pathological section pixel is equal to the preset pixel, the pathological section scanner directly stores the cut pathological section.
In the embodiment of the invention, if the pixels of the pathological sections cut out in sequence are equal to the preset pixels, namely all the pathological sections are pathological sections within the size range of 256 × 256 pixels, the pathological section scanner directly stores the cut pathological sections. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 108: and the pathological section scanner analyzes and splices the pasted blank picture and the cut pathological section which is equal to the preset pixel.
In the embodiment of the invention, after the pathological section scanner cuts all the pathological sections according to the sequence and the preset pixels, a plurality of stored pathological sections equal to the preset pixels and the attached blank pictures exist, and the pathological section scanner needs to analyze and splice the pictures. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Optionally, referring to fig. 4, step 108 specifically includes:
step 108 a: if the number of the blank pictures after patching is only one, the pathological section scanner directly splices the blank pictures after patching and the pathological sections which are cut out and equal to the preset pixels;
in the embodiment of the invention, if only one patch blank picture exists in a plurality of pathological sections and patch blank pictures which are equal to preset pixels and stored by the pathological section scanner, the pathological section scanner directly splices the pictures according to the cutting sequence, and because the pathological section with the size of less than 256 × 256 pixels is patch-jointed on the upper left corner of the blank picture, the whole picture of the pathological section generated after splicing has no blank. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 108 b: and if the number of the blank pictures after patching is more than one, the pathological section scanner analyzes the position relation between the blank pictures after patching and the pathological sections which are cut out and equal to the preset pixels, and then splicing is carried out.
In the embodiment of the invention, if a plurality of Pathology slices equal to the preset pixel and patch blank pictures are stored by a Pathology section scanner, the Pathology section scanner analyzes the pictures according to the cutting sequence, analyzes the position relationship between the plurality of patch blank pictures and the Pathology slices equal to the preset pixel, the position relationship between the plurality of patch blank pictures and the position relationship between the patch blank sections of the patch pictures, and then splices the pictures, thereby ensuring that no blank remains exist in the subsequently generated integral pictures of the Pathology sections. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 109: and the pathological section scanner scans the analyzed and spliced pathological sections to generate an overall picture of the pathological section.
In the embodiment of the invention, after the pathological section scanner completes the analysis and the splicing, the analyzed and spliced pathological sections are scanned to generate the overall pathological section picture, the overall pathological section picture is complete and clear, the edge zone cannot be stretched and deformed, and the diagnosis correctness of medical staff for diseases of patients is improved. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Optionally, referring to fig. 5, after step 109, the method for generating a picture further includes the following steps:
step 110: if the overall pathological section picture does not conform to the preset picture, the pathological section scanner takes more than 256 × 256 pixels as preset pixels, the method is repeated, the overall pathological section picture is regenerated, and the preset picture is a picture which clearly and completely shows pathology.
In the embodiment of the present invention, after the pathological section overall picture is generated, if the pathological section overall picture does not conform to the preset picture, that is, the generated pathological section overall picture cannot clearly and completely show the pathology, or a picture with higher pixel requirement and better definition is needed by medical staff and patients, the pathological section scanner uses pixels higher than 256 × 256 as the preset pixels, and repeats the above method, for example, 512 × 512 pixels as the preset pixels, to generate the picture. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 111: if the overall picture of the pathological section is distorted, the pathological section scanner repeats the method to regenerate the overall picture of the pathological section.
In the embodiment of the present invention, in the process of generating the overall pathological section picture by the pathological section scanner, because various factors, such as aging of equipment elements, external human interference, etc., may cause distortion of the finally generated overall pathological section picture, after removing various factors, the pathological section scanner repeats the above description to regenerate the overall pathological section picture. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
The method of the present invention is further described below with reference to the accompanying drawings, which show a schematic diagram of an apparatus according to an embodiment of the present invention, as shown in fig. 6, and which include: pathological section 1, pathological section scanner 2, the scanning area 3 of pathological section scanner, the operation control district 4 of pathological section scanner, pathological section scanner 2 has been debugged at first to utilize operation control district 4, it predetermines pixel 256 to set for, after pathological section 1 made, pathological section scanner 2 need be put into, it needs to explain that, general pathological section 1 actual physical area is less, pathological section 1 can be put down to pathological section scanner 2's scanning area 3, but if pathological section 1 actual physical area is greater than pathological section scanner 2's scanning area 3, then need to be changed the pathological section scanner that the scanning area is greater than pathological section actual physical area, otherwise pathological section scanner 2 can't complete scanning pathological section 1.
The pathological section scanner 2 cuts the pathological section 1 sequentially with 256 × 256 pixels from left to right and from top to bottom, and a plurality of pathological sections are cut respectively until the whole pathological section 1 is completely cut, in the process, when the cutting is performed to the edge position, because the cutting is performed from left to right and from top to bottom, the condition of less than 256 × 256 pixels can only occur at the rightmost side and the bottommost side of the pathological section 1, of course, the condition of less than 256 × 256 pixels can not occur, if the cut pathological section pixels are less than 256 × 256 pixels, the pathological section scanner 2 creates a blank picture with 256 × 256 pixels, the pathological section scanner 2 pastes the pathological section with less than 256 × 256 pixels to the upper left corner of the blank picture with 256 × 256 pixels, and the blank picture after patching is saved, and because the pixels of the pathological section cut at other positions are equal to 256 × 256 pixels, the pathological section scanner 2 directly saves the pathological section with the size of 256 × 256 pixels.
After the pathological section scanner 2 finishes cutting the pathological section 1, if only one blank picture is pasted, the pathological section scanner 2 splices the pictures directly according to the cutting sequence, because the pathological section smaller than 256 × 256 pixels is pasted on the left upper corner of the blank picture, the whole picture of the pathological section generated after splicing has no blank, as shown in fig. 7(1), the square formed by the dotted lines is 256 × 256 pixels, the oblique line part is the whole picture of the pathological section 1, the part of the left dotted line forming the square 1 is the pathological section equal to 256 × 256 pixels, only one part of the right pathological section is in the range of 256 × 256 pixels, the part of the dotted line forming the square 2 is the state of pasting the pathological section smaller than 256 × 256 pixels on the blank picture equal to 256 × 256 pixels, since there is only one blank picture after patching, the pathological section scanner 2 splices it directly to complete the overall picture of the pathological section as shown in fig. 7(2), which is complete and clear, has no stretched edge zone, and has no distortion.
If a plurality of patch blank pictures exist, the pathological section scanner 2 analyzes the pictures according to the sequence during cutting, analyzes the position relationship between the plurality of patch blank pictures and the pathological section equal to the preset pixel, the position relationship between the plurality of patch blank pictures and the position relationship between the patch blank pictures and the blank interval of the patch pictures, and then splices the pictures to ensure that no blank remains in the subsequently generated overall pathological section picture, as shown in fig. 8(1), the square formed by the dotted lines is 256 × 256 pixel size, the oblique line part is the overall pathological section picture, the part of the upper left dotted line forming the square 1 is the pathological section equal to 256 × 256 pixel size, only one part of the upper right pathological section is in the 256 × 256 pixel size range, the part of the dotted line forming the square 2 is the state of patching the pathological section smaller than 256 × 256 pixel size to the blank picture equal to 256 × 256 pixel size, the pathological section scanner 2 analyzes the positional relationship between the three patch blank pictures and the pathological section with the size of 256 × 256 pixels, the positional relationship between the three patch blank pictures and the remaining white space of the patch blank pictures, and then splices the three patch blank pictures, so that the overall picture of the pathological section is completed as shown in fig. 8(2), the overall picture of the pathological section is complete and clear, the edge zone is not stretched, and deformation distortion does not exist.
The embodiment of the invention also provides a device for generating the picture, which is applied to the medical field, wherein the medical field comprises the following steps: pathological section scanner, pathological section scanner are for the intelligent equipment with pathological section digital information ization, and the generation picture device includes:
the receiving module is used for receiving the pathological section by the pathological section scanner;
the cutting module is used for cutting the pathological section according to preset pixels by the pathological section scanner;
the judging module is used for judging whether the cut pathological section pixels are smaller than preset pixels by the pathological section scanner;
the creation module is used for creating a blank picture by the pathological section scanner if the cut pathological section pixel is smaller than the preset pixel, and the pixel of the blank picture is equal to the preset pixel;
the scanning blank patching module is used for patching the pathological section which is cut to be smaller than the preset pixel onto the blank picture by the pathological section scanner;
the storage module is used for storing the supplemented blank picture by the pathological section scanner;
the direct storage module is used for directly storing the cut pathological section by the pathological section scanner if the cut pathological section pixel is equal to the preset pixel;
the analysis splicing module is used for analyzing and splicing the attached blank picture and the cut pathological section which is equal to the preset pixel by the pathological section scanner;
and the scanning generation module is used for scanning the analyzed and spliced pathological sections by the pathological section scanner to generate an overall picture of the pathological section.
Optionally, the scanning blank patching module includes:
a scanning blank sub-module for scanning blank pictures by a pathological section scanner;
and the patching sub-module is used for patching the pathological section which is cut out to be smaller than the preset pixel to the upper left corner of the blank picture by the pathological section scanner.
Optionally, the cutting module comprises:
and the pixel cutting sub-module is used for sequentially cutting 256 × 256 pixels from left to right and from top to bottom by the pathological section scanner.
Optionally, the parsing and splicing module includes:
the direct splicing sub-module is used for splicing the attached blank picture and the cut pathological section which is equal to the preset pixel by the pathological section scanner if the number of the attached blank pictures is only one;
and the analysis and splicing sub-module is used for analyzing the position relation between the supplemented blank picture and the cut pathological section which is equal to the preset pixel by the pathological section scanner and splicing if the number of the supplemented blank pictures is more than one.
The embodiment of the invention also provides a system for generating pictures, which is applied to the field of medical treatment and comprises the following components: a pathological section scanner and a pathological section, wherein the pathological section scanner is used for realizing the method.
Through the embodiment, the pathological section is cut according to the preset pixel, whether the cut pixel of the pathological section is smaller than the preset pixel is judged, if so, a blank picture with the preset pixel is created, the pathological section smaller than the preset pixel is pasted and supplemented on the blank picture, and then the blank picture and the pathological section equal to the preset pixel are analyzed and spliced to finally generate the overall picture of the pathological section, the overall picture is complete and clear, the edge zone cannot be stretched and distorted, and the diagnosis correctness of medical staff for diseases is improved.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A method for generating pictures is characterized in that the method is applied to the medical field, and the medical field comprises the following steps: a pathological section scanner, which is an intelligent device for digital informatization of pathological sections, the method comprising:
the pathological section scanner receives pathological sections;
the pathological section scanner cuts the pathological section according to preset pixels;
the pathological section scanner judges whether the cut pathological section pixels are smaller than the preset pixels;
if the cut pathological section pixel is smaller than the preset pixel, the pathological section scanner creates a blank picture, and the pixel of the blank picture is equal to the preset pixel;
the pathological section scanner scans the blank picture;
the pathological section scanner is used for pasting the pathological section which is cut out to be smaller than the preset pixel to the upper left corner of the blank picture;
the pathological section scanner stores the blank pictures after patching;
if the cut pathological section pixel is equal to the preset pixel, the pathological section scanner directly stores the cut pathological section;
the pathological section scanner analyzes and splices the attached blank picture and the cut pathological section which is equal to the preset pixel;
and the pathological section scanner scans the analyzed and spliced pathological sections to generate an overall picture of the pathological section.
2. The method of claim 1, wherein the pathological section scanner cuts the pathological section by preset pixels, comprising:
the pathological section scanner sequentially cuts 256 × 256 pixels from left to right and from top to bottom.
3. The method according to claim 1, wherein the pathological section scanner analyzes and splices the attached blank picture and the cut pathological section equal to the preset pixel, and comprises:
if the number of the blank pictures after patching is only one, the pathological section scanner directly splices the blank pictures after patching and the cut pathological sections which are equal to the preset pixels;
and if the number of the blank pictures after patching is more than one, the pathological section scanner analyzes the position relation between the blank pictures after patching and the cut pathological sections equal to the preset pixels, and then splicing is carried out.
4. The method of claim 1, wherein after the pathological section scanner scans the analyzed and spliced pathological section to generate the overall pathological section picture, the method further comprises:
if the overall pathological section picture does not conform to the preset picture, the pathological section scanner takes more than 256 × 256 pixels as preset pixels, the method of claims 1-3 is repeated, and the overall pathological section picture is regenerated, wherein the preset picture is a picture which clearly and completely shows pathology;
and if the overall pathological section picture is distorted, repeating the method of claims 1-3 by the pathological section scanner, and regenerating the overall pathological section picture.
5. An apparatus for generating pictures, the apparatus being applied to a medical field, the medical field comprising: pathological section scanner, pathological section scanner is the intelligent equipment with pathological section digital informationization, the device includes:
a receiving module for receiving a pathological section by the pathological section scanner;
the cutting module is used for cutting the pathological section according to preset pixels by the pathological section scanner;
the judging module is used for judging whether the cut pathological section pixels are smaller than the preset pixels by the pathological section scanner;
the creating module is used for creating a blank picture by the pathological section scanner if the cut pathological section pixel is smaller than the preset pixel, and the pixel of the blank picture is equal to the preset pixel;
a scanning blank patch module, configured to patch the pathological section smaller than the preset pixel onto the blank image by the pathological section scanner, specifically including:
a scanning blank sub-module for scanning the blank picture by the pathological section scanner;
the patching sub-module is used for patching the pathological section which is cut to be smaller than the preset pixel to the upper left corner of the blank picture by the pathological section scanner;
the storage module is used for storing the supplemented blank picture by the pathological section scanner;
the direct storage module is used for directly storing the cut pathological section by the pathological section scanner if the cut pathological section pixel is equal to the preset pixel;
the analysis and splicing module is used for analyzing and splicing the attached blank picture and the cut pathological section which is equal to the preset pixel by the pathological section scanner;
and the scanning generation module is used for scanning the analyzed and spliced pathological sections by the pathological section scanner to generate an overall picture of the pathological section.
6. The apparatus of claim 5, wherein the cutting module comprises:
and the pixel cutting sub-module is used for sequentially cutting 256 × 256 pixels by the pathological section scanner from left to right and from top to bottom.
7. The apparatus of claim 5, wherein the parsing concatenation module comprises:
the direct splicing sub-module is used for splicing the pasted blank picture and the cut pathological section which is equal to the preset pixel by the pathological section scanner if the number of the pasted blank picture is only one;
and the analysis and splicing sub-module is used for analyzing the position relation between the attached blank picture and the cut pathological section which is equal to the preset pixel by the pathological section scanner and splicing if the number of the attached blank pictures is more than one.
8. A system for generating pictures, the system being applied to the medical field, the system comprising: a pathological section scanner for implementing the method of claims 1-4 and a pathological section.
CN201910153492.0A 2019-02-28 2019-02-28 Method, device and system for generating picture Active CN110010227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910153492.0A CN110010227B (en) 2019-02-28 2019-02-28 Method, device and system for generating picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153492.0A CN110010227B (en) 2019-02-28 2019-02-28 Method, device and system for generating picture

Publications (2)

Publication Number Publication Date
CN110010227A CN110010227A (en) 2019-07-12
CN110010227B true CN110010227B (en) 2022-03-29

Family

ID=67166169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153492.0A Active CN110010227B (en) 2019-02-28 2019-02-28 Method, device and system for generating picture

Country Status (1)

Country Link
CN (1) CN110010227B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106408573A (en) * 2016-08-31 2017-02-15 诸暨微因生物科技有限公司 Whole slide digital pathological image processing and analysis method
CN107493403A (en) * 2017-08-11 2017-12-19 宁波江丰生物信息技术有限公司 A kind of digital pathological section scanning system
CN107563974A (en) * 2017-08-15 2018-01-09 深圳云天励飞技术有限公司 Image de-noising method, device, electronic equipment and storage medium
CN108537730A (en) * 2018-03-27 2018-09-14 宁波江丰生物信息技术有限公司 A kind of image split-joint method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106408573A (en) * 2016-08-31 2017-02-15 诸暨微因生物科技有限公司 Whole slide digital pathological image processing and analysis method
CN107493403A (en) * 2017-08-11 2017-12-19 宁波江丰生物信息技术有限公司 A kind of digital pathological section scanning system
CN107563974A (en) * 2017-08-15 2018-01-09 深圳云天励飞技术有限公司 Image de-noising method, device, electronic equipment and storage medium
CN108537730A (en) * 2018-03-27 2018-09-14 宁波江丰生物信息技术有限公司 A kind of image split-joint method

Also Published As

Publication number Publication date
CN110010227A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
US5796861A (en) Mosaic construction, processing, and review of very large electronic micrograph composites
CN106530320B (en) End-to-end image segmentation processing method and system
CN110827371B (en) Certificate generation method and device, electronic equipment and storage medium
CN110909646B (en) Acquisition method and device of digital pathological section image, computer equipment and storage medium
WO2017088462A1 (en) Image processing method and device
TW201709150A (en) Spatial multiplexing of histological stains
CN110010227B (en) Method, device and system for generating picture
CN113256617B (en) Pathological section virtual immunohistochemical staining method and system
CN114399764A (en) Pathological section scanning method and system
CN112053287B (en) Image super-resolution method, device and equipment
WO2018128091A1 (en) Image analysis program and image analysis method
CN110347983B (en) Training sample storage method and device, electronic equipment and storage medium
CN115223165B (en) Method and device for acquiring cell image to be interpreted
CN117095417A (en) Screen shot form image text recognition method, device, equipment and storage medium
CN116149987A (en) Automatic verification method for graphic slider
CN106296580A (en) A kind of method and device of image mosaic
EP1631872B1 (en) Image processing and analysis framework
CN105869139A (en) Image processing method and apparatus
CN111091598A (en) Multi-light-spot synchronous measurement and analysis method and device
CN109919881B (en) Leopard print removing method based on leopard print-shaped fundus image and related equipment
KR100689890B1 (en) method for detecting defects in a light-related plate element for a flat panel
CN113139973B (en) Plasmodium identification method and device based on artificial intelligence
CN113487616B (en) Method for constructing complete structure vascular tree structure by using continuous multi-frame images
JP2004110434A (en) Image processing method and image processing device
WO2011128870A2 (en) Determination of blank sectors in digital images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant