Chromatogram Processing Method, Device, Computer Equipment, Storage Medium

Through boundary recognition and data processing, the problem of low efficiency of TLC chromatogram editor is solved, the structured and convenient retrieval of chromatogram information is realized, and data statistics and transmission are supported.

CN114202520BActive Publication Date: 2025-07-11SUZHOU CHUANGTENG SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111474534.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-04
Publication Date
2025-07-11
Estimated Expiration
2041-12-04

AI Technical Summary

Technical Problem

The existing TLC chromatogram editor is cumbersome and inefficient, and cannot generate structured data, resulting in inconvenience in data retrieval and statistics.

Method used

The chromatographic information is determined through boundary recognition and coordinate system, and data-processed into a data exchange format file, including coordinate information of spots, point lines and solvent front lines.

Benefits of technology

It improves the efficiency of chromatogram processing, realizes structured and convenient data retrieval, and supports data statistics and network transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114202520B_ABST
    Figure CN114202520B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a chromatogram processing method, apparatus, computer device, and storage medium. The method includes: when a chromatogram is obtained, performing boundary recognition on the obtained chromatogram to determine the boundary of the chromatogram; determining chromatographic information of the chromatogram within the boundary of the chromatogram according to a coordinate system and attribute information of the chromatogram, the chromatographic information including: vertex coordinate information of spots, coordinate information of a sample application line, and coordinate information of a solvent front line, the coordinate system being established based on the boundary of the chromatogram; performing data processing on the chromatographic information and outputting a data exchange format file, where the data exchange format file includes the chromatographic information after data processing. By using this method, it is possible to count substances in the chromatogram and data corresponding to the substances, which is convenient for recording.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of image data processing, and particularly to a chromatogram processing method, apparatus, computer device, and storage medium. Background Art

[0002] A chromatogram refers to an image in which the detection signals of separated components are distributed over time. Thin-layer chromatography (TLC) is a separation technique that uses a support coated on a support plate as the stationary phase and a suitable solvent as the mobile phase to separate, identify, and quantify a mixed sample.

[0003] Currently, there are few online editors for TLC (Thin Layer Chromatography) chromatograms on the market, and the chromatograms are drawn through chemical structure editors such as JSDraw and InDraw. However, the steps of drawing chromatograms through structure editors are relatively cumbersome, inconvenient to use, cannot be deployed stand-alone, have low efficiency, and are prone to generating a large amount of redundant data.

[0004] Moreover, currently, structured chromatogram data cannot be exported through structure editors, and the chromatogram data edited and exported through chemical structure editors are non-digital and unstructured data, which are inconvenient to retrieve and cannot be directly used for data statistics. Summary of the Invention

[0005] Based on this, it is necessary to provide a chromatogram processing method, apparatus, computer device, and storage medium that can perform data statistics for the above technical problems.

[0006] In a first aspect, the present disclosure provides a chromatogram processing method, the method including:

[0007] When a chromatogram is obtained, perform boundary recognition on the obtained chromatogram to determine the boundary of the chromatogram;

[0008] Within the boundary of the chromatogram, determine the chromatographic information of the chromatogram according to a coordinate system and the attribute information of the chromatogram, where the chromatographic information includes: vertex coordinate information of spots, coordinate information of sample application lines, and coordinate information of solvent front lines, and the coordinate system is established based on the boundary of the chromatogram;

[0009] Perform digital processing on the chromatographic information and output a data exchange format file, where the data exchange format file includes the digitally processed chromatographic information.

[0010] In one embodiment, the performing boundary recognition on the obtained chromatogram to determine the boundary of the chromatogram includes:

[0011] Convert the chromatogram into a grayscale chromatogram and perform image enhancement on the grayscale chromatogram;

[0012] Perform edge detection on the grayscale chromatogram obtained after image enhancement to determine at least one boundary contour. The edge detection includes: eliminating noise, finding edges, and extracting the boundary contour;

[0013] Determine the boundary of the chromatogram according to the boundary contour with the largest area among at least one boundary contour.

[0014] In one embodiment, the attribute information includes: spots in the chromatogram, straight lines in the chromatogram. Determine the chromatographic information of the chromatogram within the boundary of the chromatogram according to the coordinate system and the attribute information of the chromatogram, including:

[0015] Obtain the spots in the chromatogram within the boundary of the chromatogram, and determine the coordinates of the points on the spots that are farthest and nearest to the coordinate axes in the coordinate system;

[0016] Determine the vertex coordinate information of the spots according to the coordinates of the farthest and nearest points;

[0017] Obtain the straight lines in the chromatogram that are parallel to the coordinate axes within the boundary of the chromatogram. When the length of the straight line is greater than a preset threshold length, determine the coordinate information of the spotting line and the coordinate information of the solvent front line according to the distance between the straight line and the coordinate axes.

[0018] In one embodiment, the spots in the chromatogram within the boundary of the chromatogram are obtained in the following manner:

[0019] Determine the suspicious spots within the boundary range of the chromatogram according to the pixel values within the boundary of the chromatogram;

[0020] Exclude the suspicious spots whose pixel values are within a preset interference threshold, and exclude the suspicious spots whose areas are greater than a preset area threshold to obtain the spots within the boundary range of the chromatogram.

[0021] In one embodiment, the data processing of the chromatographic information and outputting a data exchange format file includes:

[0022] Convert the vertex coordinate information of the spots, the coordinate information of the spotting line, and the coordinate information of the solvent front line into a data exchange format file through field mapping, and output the data exchange format.

[0023] In one embodiment, the method further includes:

[0024] Draw a chromatogram schematic diagram on a pre-created blank canvas.

[0025] In one embodiment, the drawing of the chromatogram schematic diagram on the pre-created blank canvas includes at least one of the following:

[0026] Draw a target chromatogram schematic diagram matching the target chromatogram on the blank canvas;

[0027] Draw a data chromatogram schematic diagram corresponding to the chromatographic information on the blank canvas according to the chromatographic information after the data processing and the Bezier curve;

[0028] When a vector graphic file is recognized, draw an information chromatogram schematic diagram corresponding to the vector graphic file on the blank canvas.

[0029] In one embodiment, after drawing the chromatogram schematic diagram on the pre-created blank canvas, it further includes:

[0030] After drawing at least one of the target chromatogram schematic diagram, data chromatogram schematic diagram, and information chromatogram schematic diagram, convert the data format of at least one of the target chromatogram schematic diagram, data chromatogram schematic diagram, and information chromatogram schematic diagram and output it, and the data format includes: picture data format and / or vector graphic file.

[0031] A chromatogram processing device, the device includes:

[0032] A boundary recognition module, configured to perform boundary recognition on the obtained chromatogram to determine the boundary of the chromatogram when the chromatogram is obtained;

[0033] A chromatographic information recognition module, configured to determine the chromatographic information of the chromatogram according to the coordinate system and the attribute information of the chromatogram within the boundary of the chromatogram, and the chromatographic information includes: vertex coordinate information of spots, coordinate information of sample application lines, and coordinate information of solvent front lines, and the coordinate system is established based on the boundary of the chromatogram;

[0034] A data processing module, configured to perform data processing on the chromatographic information and output a data exchange format file, and the data exchange format file includes the chromatographic information after the data processing.

[0035] In one embodiment of the device, the boundary recognition module includes: an image conversion and enhancement module, an edge detection module, and a contour selection module;

[0036] The image enhancement module is configured to convert the chromatogram into a grayscale chromatogram and perform image enhancement on the grayscale chromatogram;

[0037] The edge detection module is used to perform edge detection on the grayscale chromatogram obtained after image enhancement to determine at least one boundary contour. The edge detection includes: eliminating noise, finding edges, and extracting the boundary contour.

[0038] The contour selection module is used to determine the boundary of the chromatogram according to the boundary contour with the largest area among at least one boundary contour.

[0039] In one embodiment of the device, the chromatographic information recognition module includes: a spot acquisition module, a distance coordinate determination module, a vertex coordinate determination module, a straight line acquisition module, and a coordinate information determination module.

[0040] The spot acquisition module is used to acquire the spots in the chromatogram within the boundary of the chromatogram.

[0041] The distance coordinate determination module is used to determine the coordinates of the points on the spot that are farthest and nearest to the coordinate axes in the coordinate system.

[0042] The vertex coordinate determination module is used to determine the vertex coordinate information of the spot according to the coordinates of the farthest and nearest points.

[0043] The straight line acquisition module is used to acquire the straight lines in the chromatogram that are parallel to the coordinate axes within the boundary of the chromatogram.

[0044] The coordinate information determination module is used to determine the coordinate information of the sample application line and the solvent front line according to the distance between the straight line and the coordinate axes when the length of the straight line is greater than a preset threshold length.

[0045] In one embodiment of the device, the spot acquisition module includes: a suspicious spot determination module and a suspicious spot exclusion module.

[0046] The suspicious spot determination module is used to determine the suspicious spots within the boundary of the chromatogram according to the pixel values within the boundary of the chromatogram.

[0047] The suspicious spot exclusion module is used to exclude the suspicious spots whose pixel values are within a preset interference threshold, and exclude the suspicious spots whose areas are greater than a preset area threshold, so as to obtain the spots within the boundary of the chromatogram.

[0048] In one embodiment of the device, the digital processing module is further used to convert the vertex coordinate information of the spot, the coordinate information of the sample application line, and the coordinate information of the solvent front line into a data exchange format file through field mapping, and output the data exchange format.

[0049] In one embodiment of the device, the device further includes: a schematic diagram drawing module, configured to draw a chromatogram schematic diagram in a pre-created blank canvas.

[0050] In one embodiment of the device, the schematic diagram drawing module includes: a first drawing module, a second drawing module, and a third drawing module;

[0051] The first drawing module is configured to draw a target chromatogram schematic diagram matching the target chromatogram in the blank canvas;

[0052] The second drawing module is configured to draw a data chromatogram schematic diagram corresponding to the chromatogram information in the blank canvas according to the chromatogram information after data processing and a Bézier curve;

[0053] The third drawing module is configured to, when a vector graphic file is recognized, draw an information chromatogram schematic diagram corresponding to the information in the vector graphic file in the blank canvas.

[0054] In one embodiment of the device, the schematic diagram drawing module further includes: a format conversion module, configured to, after drawing at least one of the target chromatogram schematic diagram, the data chromatogram schematic diagram, and the information chromatogram schematic diagram, convert the data format of at least one of the target chromatogram schematic diagram, the data chromatogram schematic diagram, and the information chromatogram schematic diagram and output it. The data format includes: a picture data format and / or a vector graphic file.

[0055] In a third aspect, the present disclosure further provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the above method are implemented.

[0056] In a fourth aspect, the present disclosure further provides a computer-readable storage medium. On the computer-readable storage medium, a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0057] In a fifth aspect, the present disclosure further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0058] In the embodiments provided by the present disclosure, by identifying the boundaries of the chromatogram, the effective part of the chromatogram can be effectively obtained, thereby improving the processing efficiency. And in the chromatographic boundary, the chromatographic information is determined according to the coordinate system and the attribute information in the chromatogram, which can digitalize the chromatographic information. And through the final digitalization process, the chromatographic information is converted into the format of a data exchange format file. Finally, through the data exchange format file, it is convenient to retrieve, and it is also convenient to transmit the digitalized chromatographic information data between networks. Finally, the size of the spots, the length of the spotting line, the solvent front line, etc. can be determined according to the digitalized chromatographic information, and the substances in the chromatogram and the data corresponding to the substances can be directly counted, which is convenient for retrieval and recording. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0060] Figure 1 Schematic diagram of the application environment of the chromatogram processing method in an embodiment;

[0061] Figure 2 Schematic diagram of the flow of the chromatogram processing method in an embodiment;

[0062] Figure 3 Schematic diagram of the flow of step S202 in an embodiment;

[0063] Figure 4 Schematic diagram of the flow of step S204 in an embodiment;

[0064] Figure 5 Schematic diagram of the attribute information in the coordinate system in an embodiment;

[0065] Figure 6 Schematic diagram of the flow of the steps for drawing the chromatogram in an embodiment;

[0066] Figure 7 Schematic diagram of the flow of the chromatogram processing method in another embodiment;

[0067] Figure 8 Schematic block diagram of the structure of the chromatogram processing device in an embodiment;

[0068] Figure 9 Schematic diagram of the internal structure of a computer device in an embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0069] In order to make the objectives, technical solutions and advantages of the present disclosure more clear and understandable, the present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not used to limit the present disclosure.

[0070] It should be noted that the terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0071] In this article, the term "at least one" is only a description of the association relationship of associated objects, indicating that several relationships may exist. For example, at least one of A, B, and C may mean: A or B or C exists alone, A, B, and C exist simultaneously, A and B exist simultaneously, A and C exist simultaneously, or B and C exist simultaneously.

[0072] In this article, the term "and / or" is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, or B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0073] The chromatogram processing method provided by the embodiments of the present disclosure can be applied to, for example Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or can be placed on the cloud or other network servers. The terminal 102 acquires a chromatogram and transmits the chromatogram to the server 104. Among them, the way for the terminal 102 to acquire the chromatogram can be direct shooting, or shooting through other imaging devices and transmitting to the terminal 102, etc. After receiving the chromatogram transmitted by the terminal 102, the server 104 acquires the transmitted chromatogram. When the server 104 acquires the chromatogram transmitted by the terminal 102, it performs boundary recognition on the chromatogram transmitted by the terminal 102 acquired by the server 104 to determine the boundary of the chromatogram. After the server 104 determines the boundary of the chromatogram, it can create a coordinate system based on the boundary of the chromatogram. The server 104 determines the chromatographic information of the chromatogram according to the coordinate system and the attribute information of the chromatogram within the boundary of the chromatogram. The chromatographic information can be the coordinate information in the coordinate system corresponding to the attribute information of the chromatogram. The chromatographic information can include: vertex coordinate information of spots, coordinate information of the spotting line, coordinate information of the solvent front line, etc. The server 104 performs digital processing on the chromatographic information, and outputs a data exchange format file after digital processing. The data exchange format file can include the digital processed chromatographic information. Among them, the terminal 102 can be but is not limited to various personal computers, laptop computers, smart phones, tablet computers, shooting devices, etc. The shooting device can be a camera, a camera, an imager, etc. The server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

[0074] In one embodiment, as Figure 2 shown, a chromatogram processing method is provided. Taking the server 104 in Figure 1 as an example for illustration, the method includes the following steps:

[0075] S202, when the chromatogram is acquired, perform boundary recognition on the acquired chromatogram to determine the boundary of the chromatogram.

[0076] Among them, the chromatogram can refer to an image in which the detection signals of the separated components are distributed over time. Boundary recognition usually means that when detecting the edge of an object, first roughly detect its contour points, and then connect the originally detected contour points through a linking rule, and at the same time detect and connect the missing boundary points and remove the false boundaries. The boundary of the chromatogram usually can be the part near the outside of the spotting line and the solvent front line.

[0077] Specifically, when a chromatogram is obtained, there are many useless parts in some chromatograms, such as blank parts. Therefore, the obtained chromatogram can be subjected to boundary recognition through a programming language to determine the boundary of the chromatogram. After determining the boundary of the chromatogram, the useful image part in the chromatogram can be obtained, which can improve the processing speed in subsequent processing. The boundary of the chromatogram may include a spotting line and a solvent front line.

[0078] In some embodiments, the programming language can be the Python language or other languages capable of performing image processing algorithms. Different edge operators can be used for boundary recognition through the programming language, such as Roberts edge operator, Sobel edge detection operator, Prewitt edge operator, Laplacan edge operator, and Canny edge detection operator, etc.

[0079] S204. Determine the chromatographic information of the chromatogram within the boundary of the chromatogram according to the coordinate system and the attribute information of the chromatogram. The chromatographic information includes: the vertex coordinate information of the spot, the coordinate information of the spotting line, and the coordinate information of the solvent front line. The coordinate system is established based on the boundary of the chromatogram.

[0080] Among them, the coordinate system can be a plane rectangular coordinate system established according to the boundary in the chromatogram, or a line perpendicular to the solvent front line or the spotting line and a line parallel to the solvent front line or the spotting line. The attribute information of the chromatogram can be the spotting line, solvent front line, and spots, RF value, etc. The Rf value is written as the Rf value (retention factor), which is mainly used in paper chromatography and can be the ratio of the distance traveled by a substance on a silica gel chromatographic plate to the distance of the solvent line. The chromatographic information can be the information obtained by coordinate-transforming the attribute information of the chromatogram through the coordinate system. The solvent front line usually refers to the solvent line corresponding to the distance that the solvent can travel from the sample point after a certain time. The speed calculated from this distance and time is generally considered to be the linear velocity of the solvent. At the same time, this time may also be the retention time of the non-retained components in the sample point.

[0081] Specifically, the boundary of the obtained chromatogram can be established based on the lines perpendicular to the solvent front line and the lines parallel to the solvent front line, or can be established based on the lines perpendicular to the spotting line and the lines parallel to the spotting line. The value of the pixel points can be determined through an image processing algorithm, and then the attribute information of the chromatogram can be found according to the values of the pixel points. The attribute information in the chromatogram can also be found through computer vision software such as OpenCV, or the attribute information of the chromatogram can be manually marked by those skilled in the art. Within the boundary of the chromatogram, the specific coordinate position of the attribute information in the chromatogram in the coordinate system is determined according to the coordinate system, and then the chromatographic information is obtained. OpenCV is a cross-platform computer vision and machine learning software library distributed under the Apache 2.0 license (open source), which can run on Linux, Windows, Android, and Mac OS operating systems. It is lightweight and efficient, consisting of a series of C functions and a small number of C++ classes, and at the same time provides interfaces for languages such as Python, Ruby, and MATLAB, implementing many general algorithms in image processing and computer vision. It should be noted that only OpenCV is used as an example in this embodiment, and those skilled in the art can select other vision processing software according to the needs of different scenarios.

[0082] S206, perform digital processing on the chromatographic information, and output a data exchange format file, where the data exchange format file includes the digitally processed chromatographic information.

[0083] Among them, digital processing can generally be a method of converting chromatographic information into the corresponding format in a data exchange format file. A data exchange format file can generally be a file that is easy for humans to read and write, and is also easy for machines to parse and generate. A data exchange format file enables any supported type to be represented by the data exchange format file, such as strings, numbers, objects, arrays, coordinates, etc.

[0084] Specifically, perform digital processing on the chromatographic information, convert it into the format stored in the data exchange format file, and store it in the data exchange format file. The data exchange format file can be output to a database or other servers. The data exchange format file can include the digitally processed chromatographic information, and the format of the digitally processed chromatographic information is the same as the format stored in the data exchange format file.

[0085] In some embodiments, the data exchange format file can be a JSON (JavaScript Object Notation) file, which is a lightweight data exchange format and uses a text format completely independent of programming languages to store and represent the above chromatographic information.

[0086] In the above chromatogram processing method, the boundaries of the chromatogram are determined through boundary recognition, which can effectively obtain the valid part of the chromatogram, thereby improving the processing efficiency. And in the chromatogram boundaries, chromatographic information is determined according to the coordinate system and the attribute information in the chromatogram, which can digitalize the chromatographic information. And through the final digital processing, the chromatographic information is converted into the format of a data exchange format file. Finally, through the data exchange format file, it is convenient to retrieve and can also conveniently transmit the digitalized chromatographic information data between networks. Finally, information such as the size of the spots and the lengths of the spotting line and the solvent front line can be determined according to the chromatographic information, and the substances in the chromatogram and the data corresponding to the substances can be directly counted, which is convenient for retrieval and recording.

[0087] In one embodiment, as Figure 3 shown, the boundary recognition of the obtained chromatogram to determine the boundary of the chromatogram includes:

[0088] S302, convert the chromatogram into a grayscale chromatogram and perform image enhancement on the grayscale chromatogram.

[0089] Among them, a grayscale chromatogram can usually be a chromatogram represented by grayscale. Image enhancement can usually be a way to purposefully emphasize the overall or local characteristics of an image, make the original unclear image clear or emphasize certain features of interest, expand the differences between the features of different objects in the image, suppress the features of no interest, so as to improve the image quality, enrich the information volume, strengthen the image interpretation and recognition effect, and meet the needs of certain special analyses.

[0090] Specifically, the chromatogram is converted into a grayscale chromatogram through an image grayscale algorithm, and then the grayscale chromatogram is subjected to image enhancement through an image enhancement algorithm.

[0091] In some embodiments, the image grayscale algorithm can be implemented through opencv. The chromatogram can be converted into a grayscale chromatogram by methods such as linear transformation, logarithmic transformation or gamma transformation through opencv. The chromatogram can also be converted into a grayscale chromatogram by methods such as the maximum value method, the average value method, the weighted mean method, and gamma correction through python. The grayscale chromatogram can be subjected to image enhancement by means of grayscale transformation enhancement, histogram, and image filtering.

[0092] S304, perform edge detection on the obtained grayscale chromatogram after image enhancement to determine at least one boundary contour, and the edge detection includes: eliminating noise, finding edges, and extracting the boundary contour.

[0093] Among them, edge detection can be a method for determining the contour in a chromatogram.

[0094] Specifically, first, noise is removed from the gray - scale chromatogram after image enhancement to eliminate the influence of noise on edge detection. Since noise is usually where the gray - scale changes greatly and is easily recognized as a pseudo - edge. Then, an edge - detection operator is used to search for and determine the edges of the gray - scale chromatogram after noise removal, and then the outermost boundary contour of the gray - scale chromatogram after the edges are determined is determined. The outermost boundary contour can be one or more.

[0095] The method for determining the outermost contour may include: performing an approximation (simplification) process on the points of the edge. If the simplified contour consists of four points and the area is within a suitable range (not too small and less than 95% of the area of the entire chromatogram). If the contour is a quadrilateral (four straight lines), the simplified points can usually be the four points of the quadrilateral.

[0096] In some embodiments, the edge - detection operator may include: Roberts edge operator, Sobel edge - detection operator, Prewitt edge operator, Laplacan edge operator, and Canny edge - detection operator, etc. The boundary contour can be extracted through findContours in python.

[0097] S306, determine the boundary of the chromatogram according to the boundary contour with the largest area among at least one boundary contour.

[0098] Specifically, after determining the boundary contour, since the largest contour usually includes all the attribute information in the chromatogram, find the boundary contour with the largest area, and determine the boundary of the chromatogram through this boundary contour with the largest area.

[0099] In this embodiment, by performing gray - scale processing on the chromatogram, the amount of original image data can be reduced, making the calculation amount less during subsequent processing. And by performing image enhancement on the gray - scale chromatogram, the accuracy of the region of interest can be improved, so that the boundary contour can be accurately determined during subsequent edge detection. And when determining the boundary contour, simplifying the contour can reduce the calculation amount and improve the speed of determining the boundary contour.

[0100] In one embodiment, the attribute information includes: spots in the chromatogram, straight lines in the chromatogram. As Figure 4 shown, determining the chromatographic information of the chromatogram according to the coordinate system and the attribute information of the chromatogram within the boundary of the chromatogram includes:

[0101] S402, obtain the spots in the chromatogram within the boundary of the chromatogram, and determine the coordinates of the points on the spots that are farthest and nearest to the coordinate axes in the coordinate system.

[0102] Specifically, the value of a pixel point can be determined through an image processing algorithm, and then the spots on the chromatogram can be found based on the value of the pixel point. Alternatively, the spots on the chromatogram can be found through computer vision software such as OpenCV, or the spots on the chromatogram can be manually marked by those skilled in the art. The two points closest to the coordinate system axes and the two farthest points of the spots on the chromatogram are determined.

[0103] In some embodiments, as Figure 5 shown, the two points farthest and closest to the Y-axis of the spot are a and b, where the distance from a to the Y-axis is x1, and the distance from b to the Y-axis is x1 + x2. The points closest and farthest to the X-axis of the spot are c and d, where the distance from c to the X-axis is y1 + y2, and the distance from d to the X-axis is y1 + y2 + y3.

[0104] S404. Determine the vertex coordinate information of the spot according to the coordinates of the farthest and closest points.

[0105] Specifically, a cross is established based on the farthest and closest points, and then the vertex coordinate information of the spot is determined according to the four points of the cross coordinates.

[0106] In some embodiments, as Figure 5 shown, a cross is established according to the four points farthest and closest to the X-axis and the Y-axis. The coordinates of the four points of the cross are a1(x1, y3 / 2), b1(x1 + x2, y3 / 2), c1(x2 / 2, y1 + y2), and d1(x2 / 2, y1 + y2 + y3). Then the four vertex coordinates of the cross can be determined as the vertex coordinate information of the spot.

[0107] S406. Obtain the straight lines in the chromatogram parallel to the coordinate axes within the boundary of the chromatogram. When the length of the straight line is greater than a preset threshold length, determine the coordinate information of the spotting line and the solvent front line according to the distance between the straight line and the coordinate axes.

[0108] Specifically, the value of a pixel point can be determined through an image processing algorithm, and then the straight line of the chromatogram can be found based on the value of the pixel point. Alternatively, the straight line in the chromatogram can be found through computer vision software such as OpenCV, or the straight line of the chromatogram can be manually marked by those skilled in the art. Then, the straight lines parallel to the coordinate axes are obtained. Depending on the way of establishing the coordinate system, the way of determining the parallelism with the X-axis or Y-axis in the coordinate system is also different. When the coordinate system is established with the line parallel to the solvent front line as the X-axis, the straight line parallel to the X-axis is found. When the coordinate system is established with the line perpendicular to the solvent front line as the X-axis, the straight line parallel to the Y-axis is found. After identification, since the spotting line and the solvent front line are relatively long, when the obtained straight line is longer than the preset threshold length, this straight line can be determined as the spotting line or the solvent front line. It should be noted that those skilled in the art can set and adjust the threshold length according to the actual situation to meet the requirements of different scenarios. The threshold length is not limited in this embodiment. The spotting line or the solvent front line is determined according to the distance of the straight line from the X-axis or Y-axis in the coordinate axes. The straight line is determined as the solvent front line or the spotting line according to the distance from the X-axis or Y-axis, and then the coordinates of the two endpoints of the solvent front line or the spotting line are determined.

[0109] In some embodiments, as Figure 5 shown, E and F are straight lines parallel to the X-axis, and the lengths of both E and F can be greater than the preset threshold length. Generally, the spotting line is below the solvent front line, so the straight line closer to the X-axis can be the spotting line, and the straight line farther from the X-axis can be the solvent front line. Then, the coordinates of the two points of the spotting line can be (0, y1) and (x1 + x2 + x3, y1). The coordinates of the two points along the solvent line can be determined as (0, y1 + y2 + y3 + y4) and (x1 + x2 + x3, y1 + y2 + y3 + y4).

[0110] In this embodiment, the vertex coordinate information of the spot can be determined through the four points that are the farthest and the nearest to the X-axis and Y-axis. The range covered by this vertex coordinate information is generally larger than the actual spot, and it can contain the range where the actual spot is located. Therefore, the position and size of the spot can be accurately obtained through this vertex coordinate information. Moreover, the obtained straight lines are screened by the threshold length to exclude interference items, and the solvent front line and the spotting line can be well distinguished according to the distance of the straight line from the coordinate axes.

[0111] In one embodiment, the following method is used to obtain the spots in the chromatogram within the boundary of the chromatogram:

[0112] The suspicious spots within the boundary range of the chromatogram are determined according to the pixel values within the boundary of the chromatogram;

[0113] Exclude the suspicious spots whose pixel values are within a preset interference threshold, and exclude the suspicious spots whose area is greater than a preset area threshold, so as to obtain the spots within the boundary range of the chromatogram.

[0114] Among them, the pixel value is the value assigned by the computer when the image is digitized, which represents the average brightness information of a small square in the image. A suspicious spot can usually be a spot determined according to the pixel value or information similar to a spot.

[0115] Specifically, determine the suspicious spots within the boundary range of the chromatogram according to the peak height or abruptness of the pixel values within the chromatogram boundary. The suspicious spots are usually much higher (or lower) than the surrounding pixel values. Then, after obtaining the suspicious spots, exclude the suspicious spots whose pixel values are within the preset interference threshold. Since the noise usually has a small difference from the surrounding, setting the interference threshold can exclude the interference of the noise through this interference threshold. Then exclude the suspicious spots whose area is greater than the preset area threshold. In addition, the area threshold can include a large area threshold and a small area threshold. The large area threshold can usually be an area threshold greater than a preset value, and the small area threshold can usually be an area threshold less than the preset value. Those skilled in the art can set the preset value according to the actual situation. According to the area of the spot, the corresponding suspicious spots smaller than the small area threshold are usually noise, and the interference of the noise can be further excluded according to the small area threshold. The suspicious spots larger than the large area threshold may be caused by uneven image light and different brightness. These factors can be excluded through the large area threshold, and finally the spots within the boundary range are obtained.

[0116] In this embodiment, the interference items can be excluded through the pixel value and the area, and then the spots can be determined more accurately, so as to obtain the accurate vertex coordinate information of the final spots.

[0117] In one embodiment, the data processing of the chromatographic information and outputting a data exchange format file includes:

[0118] Convert the vertex coordinate information of the spot, the coordinate information of the spotting line, and the coordinate information of the solvent front line into a data exchange format file through field mapping, and output the data exchange format.

[0119] Among them, field mapping can keep the field names in the chromatographic information and the data exchange format file consistent.

[0120] Specifically, the vertex coordinate information of the spot, the coordinate information of the spotting line, and the coordinate information of the solvent front line can be converted into the values of a JSON format file through opencv, and then the converted values can be stored in the JSON file through field mapping.

[0121] In this embodiment, through the method of field mapping, when the subsequent coordinate information changes, the data in the JSON file will not change.

[0122] In one embodiment, the method further includes:

[0123] Draw a chromatogram schematic diagram in a pre-created blank canvas.

[0124] Specifically, a blank canvas can be created through the technologies of js + html + css, and then a chromatogram schematic diagram can be drawn in the blank canvas through js, html, css, and SVG.

[0125] In this embodiment, this solution can draw a chromatogram schematic diagram in the canvas, interact and draw the chromatogram schematic diagram through js + html + css, and the chromatogram schematic diagram obtained by rendering through SVG is simpler to operate than the existing methods of drawing chromatogram schematic diagrams.

[0126] In one embodiment, as Figure 6 shown, drawing the chromatogram schematic diagram in the pre-created blank canvas includes at least one of the following:

[0127] S602, draw a target chromatogram schematic diagram matching the target chromatogram in the blank canvas;

[0128] S604, draw a data chromatogram schematic diagram corresponding to the chromatogram information in the blank canvas according to the digitized chromatogram information and the Bezier curve;

[0129] S606, when a vector graphic file is recognized, draw an information chromatogram schematic diagram corresponding to the vector graphic file in the blank canvas.

[0130] S608, after drawing at least one of the target chromatogram schematic diagram, data chromatogram schematic diagram, and information chromatogram schematic diagram, convert the data format of at least one of the target chromatogram schematic diagram, data chromatogram schematic diagram, and information chromatogram schematic diagram and output it, and the data format includes: picture data format and / or vector graphic file.

[0131] Among them, the target chromatogram can be the chromatogram to be drawn. The Bezier curve is usually a mathematical curve applied to two-dimensional graphic applications. General vector graphic software uses it to accurately draw curves. The Bezier curve consists of line segments and nodes. The nodes are movable fulcrums, and the line segments are like stretchable rubber bands. The vector graphic file can be an.SVG file. SVG is an image file format, and its full English name is Scalable Vector Graphics, which means scalable vector graphics.

[0132] Specifically, one way to draw a chromatogram schematic diagram can be to draw a chromatogram schematic diagram corresponding to information such as the solvent front line, spots, spotting line, RF value, etc. in the target chromatogram on a blank canvas using js, html, css, and SVG.

[0133] Another way to draw a chromatogram schematic diagram is to input a JSON format file and draw a spot diagram on a blank canvas using Bezier curves and SVG based on the four vertex coordinates of the spots in the chromatogram information after being converted to the JSON format. Draw the spotting line and the solvent front line on the blank canvas using SVG based on the coordinate information of the spotting line and the solvent front line in the chromatogram information. Finally, obtain the data chromatogram schematic diagram based on the spotting line, the solvent front line, and the spot diagram.

[0134] Another way to draw a chromatogram schematic diagram is to input a vector graphic file. In the case of recognizing the vector graphic file, draw a chromatogram schematic diagram corresponding to the vector graphic file on a blank canvas using SVG according to the graphics in the vector graphic file.

[0135] After drawing at least one of the target chromatogram schematic diagram, the data chromatogram schematic diagram, and the information chromatogram schematic diagram, convert at least one of the target chromatogram schematic diagram, the data chromatogram schematic diagram, and the information chromatogram schematic diagram into a picture format and / or a vector graphic file and output the converted file. The converted chromatogram schematic diagram can be output to a server or a database through TCP / IP.

[0136] In this embodiment, corresponding chromatogram schematic diagrams can be drawn according to various different information, which is convenient to operate and can be compatible with multiple methods.

[0137] In another embodiment, as Figure 7 shown, the present disclosure also provides a chromatogram processing method. Taking the method applied to the Figure 1 server 104 as an example for illustration, the method includes:

[0138] S702, when a chromatogram is obtained, perform boundary recognition on the obtained chromatogram to determine the boundary of the chromatogram.

[0139] S704, within the boundary of the chromatogram, determine the chromatogram information of the chromatogram according to the coordinate system and the attribute information of the chromatogram. The chromatogram information includes: vertex coordinate information of spots, coordinate information of the spotting line, and coordinate information of the solvent front line. The coordinate system is established based on the boundary of the chromatogram.

[0140] S706, perform data processing on the chromatogram information and output a data exchange format file, where the data exchange format file includes the data-processed chromatogram information.

[0141] S708, draw a target chromatogram schematic diagram that matches the target chromatogram in the blank canvas.

[0142] S710, input a vector graphic file.

[0143] S712, when the vector graphic file is recognized, draw an information chromatogram schematic diagram corresponding to the vector graphic file in the blank canvas.

[0144] S714, input a file in JSON format.

[0145] S716, draw a data chromatogram schematic diagram corresponding to the chromatographic information in the blank canvas according to the chromatographic information in the JSON format file and the Bezier curve.

[0146] S718, convert the data format of at least one of the target chromatogram schematic diagram, the data chromatogram schematic diagram, and the information chromatogram schematic diagram and output it. The data format includes: picture data format and / or vector graphic file.

[0147] S720, save the chromatogram schematic diagram after the conversion format.

[0148] For the specific implementation manners of this embodiment, reference may be made to the above embodiments, and details will not be repeated here.

[0149] It should be understood that although each step in the flowcharts involved in the above-described embodiments is shown in sequence according to the indication of the arrows, these steps do not necessarily need to be executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages do not necessarily need to be executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0150] Based on the same inventive concept, the embodiments of the present disclosure also provide a chromatogram processing device for implementing the above-mentioned chromatogram processing method. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the chromatogram processing device provided below can refer to the limitations on the chromatogram processing method in the above text, and details will not be repeated here.

[0151] In one embodiment, as Figure 8 shown, a chromatogram processing device 800 is provided, including:

[0152] A boundary recognition module 802, configured to, when a chromatogram is obtained, perform boundary recognition on the obtained chromatogram to determine the boundary of the chromatogram;

[0153] A chromatographic information recognition module 804, configured to determine chromatographic information of the chromatogram within the boundary of the chromatogram according to a coordinate system and attribute information of the chromatogram, where the chromatographic information includes: vertex coordinate information of spots, coordinate information of a spotting line, and coordinate information of a solvent front line, and the coordinate system is established based on the boundary of the chromatogram;

[0154] A digital processing module 806, configured to perform digital processing on the chromatographic information and output a data exchange format file, where the data exchange format file includes the chromatographic information after digital processing.

[0155] In one embodiment of the device, the boundary recognition module 802 includes: an image conversion and enhancement module, an edge detection module, and a contour selection module;

[0156] The image enhancement module is configured to convert the chromatogram into a grayscale chromatogram and perform image enhancement on the grayscale chromatogram;

[0157] The edge detection module is configured to perform edge detection on the grayscale chromatogram obtained after image enhancement to determine at least one boundary contour, and the edge detection includes: noise elimination, edge finding, and boundary contour extraction;

[0158] The contour selection module is configured to determine the boundary of the chromatogram according to the boundary contour with the largest area among at least one boundary contour.

[0159] In one embodiment of the device, the chromatographic information recognition module 804 includes: a spot acquisition module, a distance coordinate determination module, a vertex coordinate determination module, a straight line acquisition module, and a coordinate information determination module;

[0160] The spot acquisition module is configured to acquire spots in the chromatogram within the boundary of the chromatogram;

[0161] The distance coordinate determination module is configured to determine the coordinates of the points on the spot that are farthest and nearest to the coordinate axes in the coordinate system;

[0162] The vertex coordinate determination module is configured to determine the vertex coordinate information of the spot according to the coordinates of the farthest and nearest points;

[0163] The straight line acquisition module is configured to acquire straight lines in the chromatogram that are parallel to the coordinate axes within the boundary of the chromatogram;

[0164] The coordinate information determination module is configured to determine the coordinate information of the spotting line and the coordinate information of the solvent front line according to the distances between the straight line and the coordinate axes when the length of the straight line is greater than a preset threshold length.

[0165] In one embodiment of the device, the spot acquisition module includes: a suspicious spot determination module and a suspicious spot exclusion module;

[0166] The suspicious spot determination module is configured to determine suspicious spots within the boundary range of the chromatogram according to the pixel values within the boundary of the chromatogram;

[0167] The suspicious spot exclusion module is configured to exclude the suspicious spots whose pixel values are within a preset interference threshold, and exclude the suspicious spots whose areas are greater than a preset area threshold, so as to obtain the spots within the boundary range of the chromatogram.

[0168] In one embodiment of the device, the digital processing module 806 is further configured to convert the vertex coordinate information of the spots, the coordinate information of the spotting line, and the coordinate information of the solvent front line into a data exchange format file through field mapping, and output the data exchange format.

[0169] In one embodiment of the device, the device further includes: a schematic diagram drawing module, configured to draw a chromatogram schematic diagram in a pre-created blank canvas.

[0170] In one embodiment of the device, the schematic diagram drawing module includes: a first drawing module, a second drawing module, and a third drawing module;

[0171] The first drawing module is configured to draw a target chromatogram schematic diagram matching the target chromatogram in the blank canvas;

[0172] The second drawing module is configured to draw a data chromatogram schematic diagram corresponding to the chromatographic information in the blank canvas according to the digital processed chromatographic information and the Bezier curve;

[0173] The third drawing module is configured to draw an information chromatogram schematic diagram corresponding to the information in the vector graphic file in the blank canvas when a vector graphic file is recognized.

[0174] In one embodiment of the device, the schematic diagram drawing module further includes: a format conversion module, configured to convert at least one of the target chromatogram schematic diagram, the data chromatogram schematic diagram, and the information chromatogram schematic diagram into a data format and output it after drawing at least one of the target chromatogram schematic diagram, the data chromatogram schematic diagram, and the information chromatogram schematic diagram. The data formats include: picture data format and / or vector graphic file.

[0175] Each module in the above chromatogram processing device can be implemented in whole or in part by software, hardware, and their combinations. Each of the above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.

[0176] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 9 shown. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a chromatogram processing method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0177] Those skilled in the art can understand that Figure 9 the structure shown in

[0178] is only a block diagram of some structures related to the solution of the present disclosure, and does not constitute a limitation on the computer device to which the solution of the present disclosure is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0179] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.

[0180] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.

[0181] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided by the present disclosure can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided by the present disclosure can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided by the present disclosure can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0182] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0183] The above-described embodiments only represent several implementation manners of the present disclosure. Their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the patent of the present disclosure. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present disclosure, several modifications and improvements can still be made, and these all belong to the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the appended claims.

Claims

1. A chromatogram processing method, characterized in that, The method includes: When a chromatogram is obtained, perform boundary recognition on the obtained chromatogram to determine the boundary of the chromatogram; Within the boundary of the chromatogram, determine the chromatographic information of the chromatogram according to a coordinate system and the attribute information of the chromatogram. The chromatographic information includes: vertex coordinate information of spots, coordinate information of the spotting line, and coordinate information of the solvent front line. The coordinate system is established based on the boundary of the chromatogram, and the attribute information includes spots in the chromatogram. Among them, the following method is used to obtain the spots in the chromatogram within the boundary of the chromatogram: determine suspicious spots within the boundary range of the chromatogram according to the pixel values within the boundary of the chromatogram; exclude the suspicious spots whose pixel values are within a preset interference threshold, and exclude the suspicious spots whose area is greater than a preset area threshold to obtain the spots within the boundary range of the chromatogram; Perform data processing on the chromatographic information and output a data exchange format file, which includes the data-processed chromatographic information.

2. The chromatogram processing method according to claim 1, wherein The performing boundary recognition on the obtained chromatogram to determine the boundary of the chromatogram includes: Convert the chromatogram into a grayscale chromatogram and perform image enhancement on the grayscale chromatogram; Perform edge detection on the grayscale chromatogram obtained after image enhancement to determine at least one boundary contour. The edge detection includes: eliminating noise, finding edges, and extracting the boundary contour; Determine the boundary of the chromatogram according to the boundary contour with the largest area among at least one boundary contour.

3. The chromatogram processing method according to claim 1, characterized in that, The attribute information includes: spots in the chromatogram, straight lines in the chromatogram. The determining the chromatographic information of the chromatogram according to a coordinate system and the attribute information of the chromatogram within the boundary of the chromatogram includes: Obtain the spots in the chromatogram within the boundary of the chromatogram and determine the coordinates of the points on the spots that are farthest and nearest to the coordinate axes in the coordinate system; Determine the vertex coordinate information of the spots according to the coordinates of the farthest and nearest points; Obtain the straight lines in the chromatogram within the boundary of the chromatogram that are parallel to the coordinate axes. When the length of the straight line is greater than a preset threshold length, determine the coordinate information of the spotting line and the coordinate information of the solvent front line according to the distance between the straight line and the coordinate axes.

4. The chromatogram processing method according to claim 1, wherein The performing data processing on the chromatographic information and outputting a data exchange format file includes: Convert the vertex coordinate information of the spots, the coordinate information of the spotting line, and the coordinate information of the solvent front line into a data exchange format file through field mapping and output the data exchange format.

5. The chromatogram processing method according to claim 1, wherein The method further includes: Draw a chromatogram schematic diagram in a pre-created blank canvas; The drawing a chromatogram schematic diagram in a pre-created blank canvas includes at least one of the following: Draw a target chromatogram schematic diagram matching the target chromatogram in the blank canvas; Draw a data chromatogram schematic diagram corresponding to the chromatographic information in the blank canvas according to the data-processed chromatographic information and Bezier curves; In the case of recognizing a vector graphic file, draw a schematic diagram of the information chromatogram corresponding to the vector graphic file in the blank canvas.

6. The chromatogram processing method according to claim 5, wherein After drawing the schematic diagram of the chromatogram in the pre-created blank canvas, the following steps are further included: After drawing at least one of the target chromatogram schematic diagram, data chromatogram schematic diagram, and information chromatogram schematic diagram, convert at least one of the target chromatogram schematic diagram, data chromatogram schematic diagram, and information chromatogram schematic diagram into a data format and output it. The data format includes: picture data format and / or vector graphic file.

7. A chromatogram processing device, characterized in that, The device includes: A boundary recognition module, which is used to perform boundary recognition on the obtained chromatogram when the chromatogram is obtained, and determine the boundary of the chromatogram; A chromatographic information recognition module, which is used to determine the chromatographic information of the chromatogram according to the coordinate system and the attribute information of the chromatogram within the boundary of the chromatogram. The chromatographic information includes: vertex coordinate information of the spots, coordinate information of the spotting line, and coordinate information of the solvent front line. The coordinate system is established based on the boundary of the chromatogram; the attribute information includes the spots in the chromatogram; A digital processing module, which is used to perform digital processing on the chromatographic information and output a data exchange format file, and the data exchange format file includes the chromatographic information after digital processing; The device includes a spot acquisition module, and the spot acquisition module includes: a suspicious spot determination module and a suspicious spot exclusion module; the suspicious spot determination module is used to determine the suspicious spots within the boundary of the chromatogram according to the pixel values within the boundary of the chromatogram; the suspicious spot exclusion module is used to exclude the suspicious spots whose pixel values are within the preset interference threshold, and exclude the suspicious spots whose area is greater than the preset area threshold, so as to obtain the spots within the boundary of the chromatogram.

8. The chromatogram processing apparatus according to claim 7, wherein the boundary recognition module comprises: An image conversion and enhancement module, an edge detection module, and a contour selection module; The image conversion and enhancement module is used to convert the chromatogram into a grayscale chromatogram and perform image enhancement on the grayscale chromatogram; The edge detection module is used to perform edge detection on the grayscale chromatogram obtained after image enhancement to determine at least one boundary contour. The edge detection includes: noise elimination, edge finding, and boundary contour extraction; The contour selection module is used to determine the boundary of the chromatogram according to the boundary contour with the largest area among at least one boundary contour.

9. The chromatogram processing device according to claim 8, wherein the chromatographic information recognition module comprises: A spot acquisition module, a distance coordinate determination module, a vertex coordinate determination module, a straight line acquisition module, and a coordinate information determination module; The spot acquisition module is used to acquire the spots in the chromatogram within the boundary of the chromatogram; The distance coordinate determination module is used to determine the coordinates of the points on the spots that are farthest and closest to the coordinate axes in the coordinate system; The vertex coordinate determination module is used to determine the vertex coordinate information of the spots according to the coordinates of the farthest and closest points; The straight line acquisition module is used to acquire the straight lines in the chromatogram that are parallel to the coordinate axes within the boundary of the chromatogram; The coordinate information determination module is configured to determine the coordinate information of the spotting line and the coordinate information of the solvent front line according to the distances between the straight line and the coordinate axes when the length of the straight line is greater than a preset threshold length.

10. The chromatogram processing device according to claim 7, wherein the data processing module is further configured to convert the vertex coordinate information of the spot, the coordinate information of the spotting line, and the coordinate information of the solvent front line into a data exchange format file through field mapping, and output the data exchange format.

11. The chromatogram processing device according to claim 7, the device further comprising: The schematic diagram drawing module is configured to draw a chromatogram schematic diagram in a pre-created blank canvas; The schematic diagram drawing module includes: a first drawing module, a second drawing module, and a third drawing module; The first drawing module is configured to draw a target chromatogram schematic diagram matching the target chromatogram in the blank canvas; The second drawing module is configured to draw a data chromatogram schematic diagram corresponding to the chromatogram information in the blank canvas according to the processed chromatogram information and a Bézier curve; The third drawing module is configured to draw an information chromatogram schematic diagram corresponding to the information in the vector graphic file in the blank canvas when a vector graphic file is recognized.

12. The chromatogram processing device according to claim 11, wherein the schematic diagram drawing module further comprises: The format conversion module is configured to convert at least one of the target chromatogram schematic diagram, the data chromatogram schematic diagram, and the information chromatogram schematic diagram into a data format and output it after drawing at least one of the target chromatogram schematic diagram, the data chromatogram schematic diagram, and the information chromatogram schematic diagram. The data formats include: picture data format and / or vector graphic file.

13. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.

15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.