[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110068586B - Drawing method and device for scanning electron microscope photograph - Google Patents

Drawing method and device for scanning electron microscope photograph Download PDF

Info

Publication number
CN110068586B
CN110068586B CN201910284203.0A CN201910284203A CN110068586B CN 110068586 B CN110068586 B CN 110068586B CN 201910284203 A CN201910284203 A CN 201910284203A CN 110068586 B CN110068586 B CN 110068586B
Authority
CN
China
Prior art keywords
picture
scale
scanning electron
electron microscope
character
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.)
Expired - Fee Related
Application number
CN201910284203.0A
Other languages
Chinese (zh)
Other versions
CN110068586A (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.)
China University of Petroleum Beijing
Original Assignee
China University of Petroleum Beijing
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 China University of Petroleum Beijing filed Critical China University of Petroleum Beijing
Priority to CN201910284203.0A priority Critical patent/CN110068586B/en
Publication of CN110068586A publication Critical patent/CN110068586A/en
Application granted granted Critical
Publication of CN110068586B publication Critical patent/CN110068586B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N23/00Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00
    • G01N23/22Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by measuring secondary emission from the material
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2223/00Investigating materials by wave or particle radiation
    • G01N2223/40Imaging
    • G01N2223/401Imaging image processing

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a drawing method and a drawing device for a scanning electron microscope photo, wherein the method comprises the following steps: splitting the scanning electron microscope picture into a shot content picture and a parameter description picture; establishing a scale picture according to the scale information extracted from the parameter description picture and the set scale requirement; and adding the established scale picture into the shot content picture to obtain a scanning electron microscope picture. The invention can process the scanning electron microscope photos and has high photo processing quality.

Description

Drawing method and device for scanning electron microscope photograph
Technical Field
The invention relates to the field of image processing, in particular to a drawing method and a drawing device for a scanning electron microscope photo.
Background
Scanning Electron Microscope (SEM) with higher magnification (about 10)5Many conventional scanning electron microscope photographs are required to be more strict in manufacturing of pictures, some common scanning electron microscope photographs require more strict specification and drawing requirements including that ① pictures are clear and moderate in comparison, ② device parameter information at the bottom of the photographs is removed, ③ a ruler is added to a photograph image area, a black ruler is arranged at the white side and a right lower corner, ④ a plurality of photographs in the same group of photographs are sequentially marked with small letters, black characters are arranged at the white side and the characters are hollowed out at the same position, ⑤ a ruler is arranged, and ① is a basic requirement, so that people can see the contents of the photographs clearly, the insufficient exposure or excessive images of the photographs need to be simply processed for the purpose of enabling people to see the contents of the photographs, 355635 a paper is used for avoiding advertising equipment in the paper, so that the contents of the electron microscope photographs are kept to be obviously observed by means of observing by using normal color letters and the original color of normal electron microscope photographs, and ③ is used widely in scientific research and productionAlthough the modification and editing work aiming at the electron microscope picture can be mostly finished by using document processing software such as Word or WPS (Windows presentation systems), the drawing process using the software is very complicated and poor in effect, FIG. 1 is a single scanning electron microscope picture, in order to meet the requirements of ② and ③, an original picture is firstly typeset and zoomed to a proper size according to a paper, then a rectangle with any width is drawn according to the length of the zoomed ruler, then the attribute of the rectangle is opened to set the filling color to be black, the frame is set to be white, the thickness of the line is adjusted, after the width of the rectangle is adjusted to be proper to enable the original picture to look similar to the ruler in the original picture, then the system parameter part at the bottom of the picture is cut off, and finally the manufactured ruler is placed at the lower right corner of the picture.
In conclusion, the quality of the scanning electron microscope photos in the scientific and technological paper modified by the document processing software such as Word or WPS is not high.
Disclosure of Invention
The invention provides a drawing method of a scanning electron microscope photo, which is used for processing the scanning electron microscope photo and has high quality, and the method comprises the following steps:
splitting the scanning electron microscope picture into a shot content picture and a parameter description picture;
establishing a scale picture according to the scale information extracted from the parameter description picture and the set scale requirement;
adding the established ruler picture to the shot content picture to obtain a scanning electron microscope picture;
according to the scale information extracted from the parameter description picture, the scale picture is established according to the set scale requirement, and the method comprises the following steps: according to a preset scale endpoint structure, determining the positions of two endpoints of a scale picture from position information of scale information extracted from a parameter description picture; determining the length of the scale picture according to the length information of the scale information extracted from the parameter description picture; and determining the width, the color, the width of the frame line and the color of the frame line of the scale picture according to the requirements of the set scale.
The invention provides a drawing device for scanning electron micrographs, which is used for processing the scanning electron micrographs, and has high quality, and the device comprises:
the splitting module is used for splitting the scanning electron microscope picture into a shot content picture and a parameter description picture;
the scale picture establishing module is used for establishing a scale picture according to the scale information extracted from the parameter description picture and the set scale requirement;
the picture obtaining module is used for adding the established ruler picture to the shot content picture to obtain a scanning electron microscope picture;
the scale picture establishing module is specifically configured to: according to a preset scale endpoint structure, determining the positions of two endpoints of a scale picture from position information of scale information extracted from a parameter description picture; determining the length of the scale picture according to the length information of the scale information extracted from the parameter description picture; and determining the width, the color, the width of the frame line and the color of the frame line of the scale picture according to the requirements of the set scale.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the drawing method of the scanning electron microscope photo when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the drawing method of the scanning electron microscope photo.
In the embodiment of the invention, the scanning electron microscope picture is divided into two parts, namely a shot content picture and a parameter description picture; establishing a scale picture according to the scale information extracted from the parameter description picture and the set scale requirement; and adding the established scale picture into the shot content picture to obtain a scanning electron microscope picture. In the embodiment of the invention, firstly, the scale picture is established according to the requirement of setting the scale, the established scale picture is added into the shot content picture, the picture quality is improved from the angle of the scale, and then, the picture is directly processed to obtain the complete picture instead of editing the picture by adopting document software such as Word or WPS and the like, so that the situation that the picture and the scale are separated does not occur, the picture and the scale are synchronously zoomed to generate errors, and the picture processing quality is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a single scanning electron micrograph;
FIGS. 2-5 are prior art photographs of a single sheet of SEM material;
FIG. 6 is a flowchart of a method for mapping SEM pictures according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of the structure of the left end point of the scale in a scanning electron micrograph;
FIG. 8 is a digitized matrix of the left end point structure of the default scale according to an embodiment of the present invention;
FIG. 9 is an example of pictures of 4 characters obtained according to the requirement of setting characters in the embodiment of the present invention;
FIG. 10 is a 9 grid window for outlining the boundary of a character in accordance with an embodiment of the present invention;
FIG. 11 is a process of repeatedly drawing the boundary contour of a character 3 times according to an embodiment of the present invention;
FIG. 12 is a diagram illustrating an example of a character picture placed at four different corner positions in a captured content picture according to an embodiment of the present invention;
FIG. 13 is an example of naming conventions for 21 SEM pictures to be processed;
FIG. 14 is a schematic view of an embodiment of the present invention after splitting a SEM;
FIG. 15 is a diagram illustrating exposure enhancement effects according to an embodiment of the present invention;
FIG. 16 is a digitized matrix of the right end point structure of the default scale in an embodiment of the invention;
FIG. 17 is a picture of a scale reconstructed from measurements taken from the reference description picture of FIG. 11;
fig. 18 is a view showing an effect of adding a ruler picture to the photographed contents picture of fig. 11;
FIG. 19 is a drawing result of the 6 th group of pictures fig-6 a.GIF-fig-6 f.GIF in the fig folder;
FIG. 20 is an example of the modification results and naming rules for 21 SEM photos;
FIG. 21 is an example of the type of 21 pictures and the time taken for processing in batch;
FIG. 22 is a schematic diagram of an apparatus for mapping SEM photographs in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Fig. 6 is a flowchart of a drawing method of a scanning electron microscope photograph according to an embodiment of the present invention, as shown in fig. 6, the method includes:
601, splitting the scanning electron microscope picture into a shot content picture and a parameter description picture;
step 602, establishing a scale picture according to the set scale requirement according to the scale information extracted from the parameter description picture;
and 603, adding the established ruler picture to the shot content picture to obtain a scanning electron microscope picture.
In the embodiment of the invention, firstly, the scale picture is established according to the requirement of setting the scale, the established scale picture is added into the shot content picture, the picture quality is improved from the angle of the scale, and then, the picture is directly processed to obtain the complete picture instead of editing the picture by adopting document software such as Word or WPS and the like, so that the situation that the picture and the scale are separated does not occur, the picture and the scale are synchronously zoomed to generate errors, and the picture processing quality is further improved.
In practice, the method of the present invention can be used in scientific and technological articles.
In an embodiment, before splitting the sem picture into two parts, namely, a captured content picture and a parameter description picture, the method further includes:
dividing scanning electron microscope photos with the same pixel resolution and the same parameter description picture position and layout into a group;
and processing the plurality of scanning electron micrographs in each group in parallel according to the method from the step 601 to the step 603.
In specific implementation, storage formats (file extensions) of the sem photos may be different, but pixel resolutions of the photos must be the same, and positions and layouts of the parameter description pictures in the sem photos must be the same, the sem photos processed with different pixel resolutions or different composition structures must be placed in different groups for processing, respectively, and one group may be a folder, that is, the sem photos with the same pixel resolution may be placed in one folder. The file name of the scanning electron microscope photo contains characters such as letters, and the file name is one of parameters for processing the photo and is used for distinguishing the case of the letters.
In one embodiment, creating a scale picture according to the set scale requirement based on the scale information extracted from the parameter description picture includes:
according to a preset scale endpoint structure, determining the positions of two endpoints of a scale picture from position information of scale information extracted from a parameter description picture;
determining the length of the scale picture according to the length information of the scale information extracted from the parameter description picture;
and determining the width, the color, the width of the frame line and the color of the frame line of the scale picture according to the requirements of the set scale.
In specific implementation, the shapes, positions and lengths of the photo scales shot by different scanning electron microscopes may be different. In order to improve the accuracy and the universality of the positioning scale in the picture, a characteristic scanning method is adopted to position two end points of the scale.
Firstly, according to a preset scale endpoint structure, determining the positions of two endpoints of a scale picture from position information of scale information extracted from a parameter description picture, and the specific process is as follows: fig. 7 is a schematic diagram of a left end point structure of a scale of a scanning electron microscope photograph, and as shown in fig. 7, this structure corresponds to a 7 × 7 matrix, and different preset scale end point structures may be set according to actual requirements, that is, the 7 × 7 matrix may include elements of different structures, for example, fig. 8 is a digitized matrix of the left end point structure of the preset scale in the embodiment of the present invention. In the parameter description picture, the window is moved pixel by pixel to scan the left end point, if 49 elements in the window taking the current pixel as the center correspond to and are consistent with those in fig. 8, the pixel point adjacent to the left side of the current pixel is the center point of the left end point of the scale picture, the center point of the right end point of the scale picture is determined in the same way, and the positions of the two end points of the scale picture are determined by the center point of the left end point and the center point of the right end point of the scale picture.
Then, the length of the scale picture is determined according to the length information of the scale information extracted from the parameter description picture, wherein the length information of the scale information extracted from the parameter description picture is the number of pixels (including left and right end points) between the left and right end points of the scale in the parameter description picture, and the length of the scale picture can be determined according to the number of the pixels.
Finally, the width, color, frame line width and frame line color of the ruler picture are determined according to the requirements for setting the ruler, wherein the requirements for setting the ruler can be requirements for editing scientific and technical papers, for example, the width of the ruler picture is 7 pixels, the color is black, the width of the frame line is 3 pixels, and the color of the frame line is white.
In an embodiment, before adding the created ruler picture to the captured content picture, the method further includes:
if the exposure of the shot content picture is over or under, adjusting the contrast of the shot content picture;
adding the established ruler picture into the shot content picture, and the method comprises the following steps:
and adding the established ruler picture to the adjusted shot content picture.
In one embodiment, adding the created ruler picture to the captured content picture includes:
determining the vertical position of the ruler picture added to the shot content picture;
determining the horizontal position of the scale picture added to the shot content picture;
and adding the established ruler picture into the shot content picture according to the determined vertical position and horizontal position of the ruler picture.
In specific implementation, the vertical position of the ruler picture added to the shot content picture can be a fixed value, for example, 25 pixels away from the bottom of the shot content picture, and the horizontal position of the ruler picture added to the shot content picture can be consistent with the horizontal position of the ruler in the parameter description picture, for example, a fixed distance is left from the right side in the parameter description picture; and then according to the determined vertical position and horizontal position of the scale picture, covering the image content at the corresponding position in the shot content picture by using the scale picture.
In scientific and technical paper, the name of a drawing has certain requirements, and the file name of the drawing can correspond to the number of the drawing in the paper, such as fig-1.jpg and fig-3 a.GIF. Where fig denotes a picture, the numbers represent the order of appearance of the picture in the paper, the numbers followed by letters represent only a single picture, the numbers followed by letters represent a group of pictures, and the letter order corresponds to the order of appearance of the pictures in the group of pictures. The file name is one of the parameters for processing the photograph, and the case of the letter is to be distinguished.
In an embodiment, after adding the created ruler to the captured content picture, the method further includes:
if the number of the file name of the scanning electron microscope photo is followed by the character, generating a picture of the character;
and adding the picture of the character to the shot content picture.
In one embodiment, if the number of the file name of the sem photo is followed by a character, generating a picture of the character comprises:
extracting character information from the file name of the scanning electron microscope picture;
and generating a picture of the character according to the character information according to the character setting requirement.
In specific implementation, first, character information is extracted from a file name of a scanning electron microscope photograph, where the character information may be letters, and the setting character requirements include fonts, styles, sizes, and the like, fig. 9 is an example of a picture of 4 characters obtained according to the setting character requirements in the embodiment of the present invention, and in order to outline a boundary contour of a character, a background color of the character picture may be set as a setting color, where the setting color should be different from a color of the character and a color of the boundary contour of the character, for example, the character color is black, and the color of the boundary contour of the character is white, and the setting color may be gray.
Then, a mode of scanning pixel points one by one is adopted to identify the boundary outline of the characters in the character picture, fig. 10 is a 9-grid window used for drawing the boundary outline of the characters in the embodiment of the invention, as shown in fig. 10, if the current pixel point is a character point, and a point serving as a background point or a boundary point exists in 8 points adjacent to the current pixel point, the current pixel point is positioned on the boundary of the characters; otherwise, the pixels on the boundary are set to be a set color, namely, the color of the boundary outline of the character, such as white, and at this time, the boundary outline of the character is drawn. Repeating the process of drawing the outline can thicken the boundary outline of the character, and fig. 11 is a process of repeatedly drawing the boundary outline of the character 3 times in the embodiment of the present invention, and as shown in fig. 11, it can be seen that the boundary outline (white part) of the letter a is thicker and thicker.
Through the above process, a picture of the character is generated.
In one embodiment, adding the picture of the character to the picture of the shot content comprises:
determining the position of the character added to the shot content picture;
in the shot content picture, the determined position of the picture of the character is modified into a set color, and the position of the boundary of the picture of the character is modified into the set color.
In specific implementation, first, the placement positions of the pictures of the characters in the shot content pictures need to be set, that is, the pixel distances from the pictures of the characters to each corner of the shot content pictures are determined, for example, 3 pixels, if a certain shot content picture comprises pictures of 4 characters, namely pictures of characters a, b, c and d, the pictures of the characters a can be placed at the upper left corner of the shot content pictures, the distance from the pictures of the characters a to the upper left corner of the shot content pictures is 3 pixels, and similarly, the pictures of the characters b, c and d can be placed at the upper right corner, the lower left corner and the lower right corner of the shot content pictures respectively.
Then, a picture with characters hollowed out in the shot content picture is processed differently from corresponding pixels in the shot content picture, wherein the pixels in the shot content picture are modified into the color of the characters at pixel points of the characters, such as black; the pixel points of the pixels in the shot content picture at the boundary outline of the character are modified into the color of the boundary outline of the character, for example, white, and the pixel points of the background of the picture of the character are kept unchanged in the original coloring. Fig. 12 is an example of a character picture placed at four different corner positions in a captured content picture according to an embodiment of the present invention.
The following provides a specific example for illustrating the specific application of the drawing method of scanning electron microscope photographs. In this embodiment, 21 scanning electron microscope images are processed in batch according to the processing requirements of a certain famous electronics microscope professional academic journal in China, and the specific process is as follows:
first, the photos are grouped, in this embodiment, fig. 13 is a naming rule example of 21 sem photos to be processed, as shown in fig. 13, the numbers in the file name represent the appearance sequence of the sem digital photos in the paper, the numbers are followed by letters to represent individual pictures, the numbers are followed by letters to represent group pictures, and the letter sequence corresponds to the appearance sequence of the pictures in the group pictures. It should be noted that the storage format of the sem photos in the folder fig may be different, but the composition structure and pixel resolution requirements of the photos are consistent. Since different patterns and resolutions correspond to different processing parameters, it is necessary to process electron micrographs containing different resolutions or patterned structures separately. The sem images in fig. 13 are from the same sem, and they have the same pattern and the same resolution of 943 × 1024 pixels, so all sem images can be grouped together. And newly creating a folder on the disk, and taking the name as fig. Copy the 21 sem digital photographs to be processed under fig. and rename the 21 photographs according to the reference numbers in the paper.
And splitting the scanning electron microscope picture into a shot content picture and a parameter description picture. Reading a scanning electron microscope photo (e.g., fig. 1a.GIF), splitting the scanning electron microscope photo into a shot content picture and a parameter description picture, wherein a pixel range of the shot content picture is F (1: 884:), a pixel range of the parameter description picture is F (885: 943:), and fig. 14 is a schematic diagram of the split scanning electron microscope photo in the embodiment of the present invention, as shown in fig. 14, an upper half part is the parameter description picture, and a lower half part is the shot content picture.
The contrast of the underexposed or overexposed pictures is adjusted. For example, fig. 13 shows a photograph fig. 6f.GIF with an underexposure problem, fig. 15 shows an exposure enhancement effect diagram according to an embodiment of the present invention, and as shown in fig. 15, the first part is an original drawing of fig. 6f.GIF, and the second part is a photograph of fig. 6f.GIF with an increased exposure.
According to the scale information extracted from the parameter description picture, a scale picture is established according to the requirements for setting the scale, in this embodiment, fig. 8 is a left end point structure of the preset scale in the embodiment of the present invention, and fig. 16 is a digital matrix of a right end point structure of the preset scale in the embodiment of the present invention. In the parameter description picture, the window is moved pixel by pixel to scan the left end point, if 49 elements in the window taking the current pixel as the center correspond to and are consistent with those in fig. 8, the pixel point adjacent to the left side of the current pixel is the center point of the left end point of the scale picture, the center point of the right end point of the scale picture is determined in the same way, and the positions of the two end points of the scale picture are determined by the center point of the left end point and the center point of the right end point of the scale picture.
The length information of the scale information extracted from the parameter description picture is the number of pixels (including left and right end points) between the left and right end points of the scale in the parameter description picture, and the length of the scale picture can be determined according to the number of the pixels. The width of scale picture is 7 pixels, and the colour is black, and frame lines width is 3 pixels, and frame lines colour is white. Fig. 17 is a picture of a ruler reconstructed from measurements taken from the reference description picture of fig. 14.
The height of the central point of the scale is uniformly set to be 25 pixel positions away from the bottom of the shot content picture, the position of the central point of the scale in the horizontal direction is consistent with that of the picture 14, and the corresponding position in the shot content picture is covered by the scale picture. Fig. 18 is a diagram showing the effect of adding a ruler picture to the picture of the contents of fig. 14.
If the file name number of the photograph is followed by a character, such as a letter, a picture of this letter is generated. In fig. 18, a picture of the letter a is added, taking the file name fig. 1a. A picture of the letter a is created from the previously set Aharoni font, the font 64 character, and the background color of the letter picture is set to gray (a color different from that of the black letter and a color of the white outline, as shown in fig. 9). Then, the boundary contour of the character in the alphabetic picture is identified in a mode of scanning pixel points one by one. In the 9-grid window shown in fig. 10, if the current pixel point is a point where a character exists, and a point serving as a background point or a boundary point exists in 8 points adjacent to the current pixel point, the current pixel point is located on a boundary of the character; otherwise not on the boundary. And modifying the pixel points on the boundary into white, and drawing the boundary outline of the character. Repeating the process of drawing the outline can thicken the boundary outline of the character, and fig. 11 in the embodiment of the present invention repeats the process of drawing the boundary outline of the character 3 times, as shown in fig. 11, it can be seen that the boundary outline (white part) of the letter a is thicker and thicker.
And adding a picture of the character into the shot content picture, and placing the picture at the lower left corner to keep the distance of 5 pixels between the picture of the character to be approached and the lower left corner of the shot content picture. The method comprises the steps that a picture with characters added in a hollow mode in a shot content picture is processed differently from corresponding pixels in the shot content picture, wherein the pixels in the shot content picture are modified into the color and the black of the characters at pixel points of the characters; the pixel points of the pixels in the shot content picture at the boundary outline of the character are modified into the color of the boundary outline of the character, the color is white, and the pixel points of the background of the picture of the character are kept unchanged in the original coloring. Fig. 19 shows the results of the 6 th group of pictures fig-6 a.GIF-fig-6 f.GIF in the fig folder, with different labeled letters and scales.
Finally, the format of the outputted scanning electron microscope picture is the same as that of the original scanning electron microscope picture, the file name is underlined and is distinguished from the original scanning electron microscope picture, fig. 20 shows an example of a modification result and a naming rule of 21 scanning electron microscope pictures, and fig. 21 shows an example of the type and the processing time of 21 pictures in batch.
In the method for drawing a scanning electron microscope photo, provided by the embodiment of the invention, the scanning electron microscope photo is divided into a shot content picture and a parameter description picture; establishing a scale picture according to the scale information extracted from the parameter description picture and the set scale requirement; and adding the established scale picture into the shot content picture to obtain a scanning electron microscope picture. In the embodiment of the invention, firstly, the scale picture is established according to the requirement of setting the scale, the established scale picture is added into the shot content picture, the picture quality is improved from the angle of the scale, and then, the picture is directly processed to obtain the complete picture instead of editing the picture by adopting document software such as Word or WPS and the like, so that the situation that the picture and the scale are separated does not occur, the picture and the scale are synchronously zoomed to generate errors, and the picture processing quality is further improved.
In addition, in the embodiment of the invention, the finally obtained shot content picture is neat and beautiful, and the precision is high; the drawing process is programmed, parameterized, standardized and convenient and flexible to modify; the method can be used for drawing in batches, and greatly improves drawing efficiency, so that high-quality scanning electron microscope pictures with standard, tidy and consistent styles are provided for compiling electron microscope test reports, publishing scientific papers and writing scientific and technical monographs.
Based on the same inventive concept, the embodiment of the present invention further provides a drawing apparatus for scanning electron micrographs, as described in the following implementation. Because the principle of solving the problems is similar to the drawing method of the scanning electron microscope photograph, the implementation of the device can refer to the implementation of the method, and repeated parts are not repeated.
Fig. 22 is a schematic diagram of an apparatus for mapping sem photographs according to an embodiment of the present invention, as shown in fig. 22, the apparatus includes:
the splitting module 2201 is used for splitting the scanning electron microscope picture into a shot content picture and a parameter description picture;
a scale picture establishing module 2202, configured to establish a scale picture according to the scale information extracted from the parameter description picture and according to the set scale requirement;
the picture obtaining module 2203 is configured to add the created ruler picture to the shot content picture to obtain a scanning electron microscope picture.
In an embodiment, the mapping apparatus for scanning electron micrographs may further include: a grouping module 2204 to:
dividing scanning electron microscope photos with the same pixel resolution into a group;
and processing the plurality of scanning electron micrographs in each group in parallel according to the method.
In an embodiment, the ruler picture creating module 2202 is specifically configured to:
according to a preset scale endpoint structure, determining the positions of two endpoints of a scale picture from position information of scale information extracted from a parameter description picture;
determining the length of the scale picture according to the length information of the scale information extracted from the parameter description picture;
and determining the width, the color, the width of the frame line and the color of the frame line of the scale picture according to the requirements of the set scale.
In an embodiment, the mapping apparatus for scanning electron micrographs may further include: an adjustment module 2205 configured to:
if the exposure of the shot content picture is over or under, adjusting the contrast of the shot content picture;
adding the established ruler picture into the shot content picture, and the method comprises the following steps:
and adding the established ruler picture to the adjusted shot content picture.
In an embodiment, the picture obtaining module 2203 is further configured to:
determining the vertical position of the ruler picture added to the shot content picture;
determining the horizontal position of the scale picture added to the shot content picture;
and adding the established ruler picture into the shot content picture according to the determined vertical position and horizontal position of the ruler picture.
In an embodiment, the mapping apparatus for scanning electron micrographs may further include: a character processing module 2206 for:
if the number of the file name of the scanning electron microscope photo is followed by the character, generating a picture of the character;
and adding the picture of the character to the shot content picture.
In an embodiment, the character processing module 2206 is specifically configured to:
extracting character information from the file name of the scanning electron microscope picture;
and generating a picture of the character according to the character information according to the character setting requirement.
In an embodiment, the character processing module 2206 is specifically configured to:
determining the position of the character added to the shot content picture;
in the shot content picture, the determined position of the picture of the character is modified into a set color, and the position of the boundary of the picture of the character is modified into the set color.
In the drawing device for the scanning electron microscope picture, the scanning electron microscope picture is divided into a shot content picture and a parameter description picture; establishing a scale picture according to the scale information extracted from the parameter description picture and the set scale requirement; and adding the established scale picture into the shot content picture to obtain a scanning electron microscope picture. In the embodiment of the invention, firstly, the scale picture is established according to the requirement of setting the scale, the established scale picture is added into the shot content picture, the picture quality is improved from the angle of the scale, and then, the picture is directly processed to obtain the complete picture instead of editing the picture by adopting document software such as Word or WPS and the like, so that the situation that the picture and the scale are separated does not occur, the picture and the scale are synchronously zoomed to generate errors, and the picture processing quality is further improved.
In addition, in the embodiment of the invention, the finally obtained shot content picture is neat and beautiful, and the precision is high; the drawing process is programmed, parameterized, standardized and convenient and flexible to modify; the method can be used for drawing in batches, and greatly improves drawing efficiency, so that high-quality scanning electron microscope pictures with standard, tidy and consistent styles are provided for compiling electron microscope test reports, publishing scientific papers and writing scientific and technical monographs.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A drawing method of a scanning electron microscope photo is characterized by comprising the following steps:
splitting the scanning electron microscope picture into a shot content picture and a parameter description picture;
establishing a scale picture according to the scale information extracted from the parameter description picture and the set scale requirement;
adding the established ruler picture to the shot content picture to obtain a scanning electron microscope picture;
according to the scale information extracted from the parameter description picture, the scale picture is established according to the set scale requirement, and the method comprises the following steps: according to a preset scale endpoint structure, determining the positions of two endpoints of a scale picture from position information of scale information extracted from a parameter description picture; determining the length of the scale picture according to the length information of the scale information extracted from the parameter description picture; and determining the width, the color, the width of the frame line and the color of the frame line of the scale picture according to the requirements of the set scale.
2. The method for drawing a scanning electron microscope photograph according to claim 1, wherein before splitting the scanning electron microscope photograph into two parts, a captured content picture and a parameter description picture, the method further comprises:
dividing scanning electron microscope photos with the same pixel resolution and the same parameter description picture position and layout into a group;
processing the plurality of sem pictures in each group in parallel according to the method of claim 1.
3. The method for mapping scanning electron micrographs according to claim 1, wherein before adding the created ruler picture to the captured content picture, the method further comprises:
if the exposure of the shot content picture is over or under, adjusting the contrast of the shot content picture;
adding the established ruler picture into the shot content picture, and the method comprises the following steps:
and adding the established ruler picture to the adjusted shot content picture.
4. The method for drawing scanning electron microscope photos according to claim 1, wherein adding the created ruler picture to the shot content picture comprises:
determining the vertical position of the ruler picture added to the shot content picture;
determining the horizontal position of the scale picture added to the shot content picture;
and adding the established ruler picture into the shot content picture according to the determined vertical position and horizontal position of the ruler picture.
5. The method for mapping scanning electron micrographs according to claim 1, wherein after adding the created ruler to the captured content picture, the method further comprises:
if the number of the file name of the scanning electron microscope photo is followed by the character, generating a picture of the character;
and adding the picture of the character to the shot content picture.
6. The method for drawing a scanning electron microscope photograph according to claim 5, wherein if the number of the file name of the scanning electron microscope photograph is followed by a character, generating a picture of the character comprises:
extracting character information from the file name of the scanning electron microscope picture;
and generating a picture of the character according to the character information according to the character setting requirement.
7. The method for drawing scanning electron microscope photographs according to claim 5, wherein adding the picture of the character to the photographed content picture comprises:
determining the position of the character added to the shot content picture;
in the shot content picture, the determined position of the picture of the character is modified into a set color, and the position of the boundary of the picture of the character is modified into the set color.
8. A drawing device for scanning electron micrographs, comprising:
the splitting module is used for splitting the scanning electron microscope picture into a shot content picture and a parameter description picture;
the scale picture establishing module is used for establishing a scale picture according to the scale information extracted from the parameter description picture and the set scale requirement;
the picture obtaining module is used for adding the established ruler picture to the shot content picture to obtain a scanning electron microscope picture;
the scale picture establishing module is specifically configured to: according to a preset scale endpoint structure, determining the positions of two endpoints of a scale picture from position information of scale information extracted from a parameter description picture; determining the length of the scale picture according to the length information of the scale information extracted from the parameter description picture; and determining the width, the color, the width of the frame line and the color of the frame line of the scale picture according to the requirements of the set scale.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 7.
CN201910284203.0A 2019-04-10 2019-04-10 Drawing method and device for scanning electron microscope photograph Expired - Fee Related CN110068586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910284203.0A CN110068586B (en) 2019-04-10 2019-04-10 Drawing method and device for scanning electron microscope photograph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910284203.0A CN110068586B (en) 2019-04-10 2019-04-10 Drawing method and device for scanning electron microscope photograph

Publications (2)

Publication Number Publication Date
CN110068586A CN110068586A (en) 2019-07-30
CN110068586B true CN110068586B (en) 2020-06-12

Family

ID=67367385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910284203.0A Expired - Fee Related CN110068586B (en) 2019-04-10 2019-04-10 Drawing method and device for scanning electron microscope photograph

Country Status (1)

Country Link
CN (1) CN110068586B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157341B (en) * 2015-03-30 2019-05-14 阿里巴巴集团控股有限公司 Generate the method and device of synthesising picture
CN106204683B (en) * 2016-07-13 2018-10-09 国家海洋信息中心 The ocean density drawing drawing method with meta graph recognition is rendered based on GIS symbols
JP6826455B2 (en) * 2017-02-14 2021-02-03 株式会社日立製作所 Image forming device
CN107451186A (en) * 2017-06-22 2017-12-08 珠海市魅族科技有限公司 Photo processing method and device, computer installation and readable storage medium storing program for executing
CN109241555B (en) * 2018-07-27 2022-12-23 西北工业大学 Multi-primitive Gerber file analyzing and drawing method for improving drawing precision

Also Published As

Publication number Publication date
CN110068586A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
US6912311B2 (en) Creation and use of complex image templates
Benson et al. Synthesising continuous-tone caricatures
JP5307761B2 (en) Method and system for real-time personalization of electronic images
JP3836527B2 (en) Apparatus and method for image editing of structural images
CN105159869B (en) Picture editing method and system
CN115812221A (en) Image generation and coloring method and device
Faulkner et al. Adobe Photoshop CC classroom in a book
JPS6323157A (en) Apparatus for forming printing artwork
US20040169664A1 (en) Method and apparatus for applying alterations selected from a set of alterations to a background scene
JP2000011144A (en) Eyebrow deformation system
CN114565702B (en) Text image generation method and device and electronic equipment
JPH1125253A (en) Method for drawing eyebrow
CN110068586B (en) Drawing method and device for scanning electron microscope photograph
CN112927321B (en) Intelligent image design method, device, equipment and storage medium based on neural network
US10956797B1 (en) Extracting marker-outlined free-form areas of a document
CN105373519B (en) A kind of editing device and method of Technical symbol
JP2000029198A (en) Color proof device, image processor and recording medium
JP2598903B2 (en) 3D character typesetting device
Faulkner et al. Adobe Photoshop Classroom in a Book (2020 release)
Chavez et al. Adobe Photoshop Classroom in a Book (2021 Release)
JP6708862B1 (en) Image processing method, program, and image processing apparatus
JP2005301337A (en) Apparatus and method for image processing, and program
JP3910269B2 (en) Image editing device
JPH03107153A (en) Layout and plate making system
JP2003150959A (en) Image evaluation method, image evaluation system and image evaluation processing program

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200612

Termination date: 20210410