Processing method and system for pathological wax block

Through the combination of image recognition technology and robotic arm device, the pathological wax blocks are automatically identified and retrieved, which solves the problem of low access efficiency of pathological wax blocks in the prior art, and achieves efficient and reliable automated processing.

CN119090967AActive Publication Date: 2024-12-06AFFILIATED HOSPITAL OF JIANGNAN UNIV

Patent Information

Application Number
CN202411596297.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2024-12-06
Estimated Expiration
2044-11-11

AI Technical Summary

Technical Problem

In the prior art, the access efficiency of pathological wax blocks is low, and rely on manual search and storage, resulting in wasted time and energy, and it is easy to cause difficulty in subsequent search due to manual errors.

Method used

Image recognition technology and robotic arm devices are used to automatically identify and obtain pathological wax blocks, determine the position of the target tray by receiving user information, generate the target path, and realize the precise movement and acquisition of the robotic arm.

Benefits of technology

It greatly improves the storage and access efficiency of pathological wax blocks, reduces manual intervention, improves the reliability and efficiency of query and storage, and avoids manual errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119090967A_ABST
    Figure CN119090967A_ABST
Patent Text Reader

Abstract

The invention discloses a treatment method and system for pathological wax blocks, and relates to the technical field of pathological wax block storage. The method comprises the following steps: receiving pathological information sent by a user, and determining a first number according to the pathological information; determining target information based on the first number; generating an opening instruction based on the target information so as to push the target tray to a first position according to the opening instruction; acquiring a first image corresponding to the target tray; extracting the first image to obtain multiple pieces of number information, and storing the multiple pieces of number information into a first data table; when the first number exists in the first data table, obtaining a second position; a target path is generated according to the second position, and the mechanical arm device is controlled to move according to the target path; after it is confirmed that the mechanical arm device reaches the second position, the mechanical arm device is controlled to take the first pathological wax block. By implementing the technical scheme provided by the invention, the whole process of taking the pathological wax block is automatic, the tedious process of manual search is avoided, and the query efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of pathological wax block storage, and in particular to a method and system for processing pathological wax blocks. Background Art

[0002] Pathology wax blocks are important carriers for storing pathological tissues and are the main form of long-term storage of pathological specimens. Pathology wax block cabinets are one of the important equipment in pathology laboratories. They are mainly used to store pathology wax blocks and provide a stable temperature and humidity environment to maintain the quality of long-term stored pathological specimens. All pathology wax blocks must be stored in the pathology wax block cabinets of the hospital's pathology department in strict accordance with regulations.

[0003] At present, the storage and retrieval of pathological wax blocks mainly rely on manual methods. When retrieving and taking the pathological wax blocks of a certain patient, the staff needs to search one by one in the numerous pathological wax block cabinets, and return the pathological wax blocks after using them. However, since pathological diagnosis is a dynamic process, many patients often need to use the same pathological wax block for immunohistochemistry, molecular pathology, follow-up visits and other operations, which also means that the wax blocks of the same patient will be repeatedly stored and retrieved over a period of time, which requires a lot of time and energy; at the same time, when manually storing pathological wax blocks, it is easy to put the wax blocks in the wrong place, thereby further increasing the workload of subsequent secondary searches for the pathological wax blocks. With the continuous increase in the number of pathological samples in hospitals, the manual storage and retrieval of pathological wax blocks will be more time-consuming, resulting in the current low efficiency of storage and retrieval of pathological wax blocks.

[0004] Therefore, there is an urgent need for a method and system for processing pathological wax blocks that can solve the above-mentioned technical problems. Summary of the invention

[0005] The present application provides a method and system for processing pathological wax blocks. The method determines a target tray by receiving pathological information sent by a user, and uses image recognition technology to photograph the target tray and extract multiple numbering information, and stores the extracted multiple numbering information in a first data table. According to the first data table, the second position of the first pathological wax block in the target tray is determined, and a target path is generated according to the second position. The robot arm device is controlled to move according to the target path. The entire process of picking up the pathological wax block is fully automated, avoiding the tedious process of manual search, and greatly improving the efficiency of the query.

[0006] In a first aspect, the present application provides a method for processing a pathological wax block, which is applied to a pathological storage device, the pathological storage device including a robotic arm device, the robotic arm device being used to take the pathological wax block, and the pathological storage device being used to store the pathological wax block, the method comprising: receiving pathological information sent by a user, determining a first number according to the pathological information, the pathological information including the identity information of the patient; determining target information based on the first number, the target information being the layer number information of the first pathological wax block stored in the pathological storage device, the first pathological wax block being the pathological wax block corresponding to the first number; generating an opening instruction based on the target information so as to push a target tray to a first position according to the opening instruction, the target tray being the tray corresponding to the target information in the pathological storage device; obtaining a first image corresponding to the target tray; extracting the first image to obtain a plurality of numbering information, and storing the plurality of numbering information in a first data table; judging whether the first number exists in the first data table; obtaining a second position when the first number exists in the first data table, the second position being the position of the first pathological wax block in the target tray; generating a target path according to the second position, and controlling the robotic arm device to move according to the target path; after confirming that the robotic arm device reaches the second position, controlling the robotic arm device to take the first pathological wax block.

[0007] By adopting the above technical solution, pathological information sent by the user is received, a first number is determined according to the pathological information, and target information is determined based on the first number, thereby avoiding the time and effort required for manually searching and locating the pathological wax block, generating an opening instruction according to the target information, automatically pushing the target tray to the first position, further simplifying the operation process, photographing the target tray and extracting multiple numbering information, being able to quickly and accurately obtain the numbers of all pathological wax blocks on the target tray, providing convenience for subsequent matching, storing the extracted numbering information in the first data table, and when determining that the first number is in the first data table, determining the second position of the first number in the target tray, generating a target path based on the second position, and controlling the robot arm device to move according to the target path, thereby realizing precise control and movement of the robot arm device, avoiding the tedious process of manual searching, and after confirming that the robot arm device has arrived at the second position, controlling the picking up of the target pathological wax block, completing the automation of the entire wax block picking up process, and greatly improving work efficiency.

[0008] Optionally, before obtaining the first image corresponding to the target pallet, the method also includes: processing the first image to obtain a first mark; determining whether the first mark is consistent with the second mark, the second mark being a mark corresponding to the target pallet being pushed to the first position; when the first mark is consistent with the second mark, it is confirmed that the target pallet has been pushed to the first position, and the first image needs to be extracted.

[0009] By adopting the above technical solution, the first image is processed to obtain a first mark, and compared with the second mark corresponding to the first position where the target pallet is pushed, it is possible to more accurately confirm whether the target pallet has reached the specified position. By combining image recognition with position confirmation, automatic detection of the target pallet position is achieved, avoiding the need for manual intervention and improving the reliability of the entire processing process.

[0010] Optionally, the first image is extracted to obtain multiple numbering information, and the multiple numbering information is stored in a first data table, specifically including: dividing the first image in a preset manner to obtain multiple sub-image areas; obtaining a first sub-image from the multiple sub-image areas, the first sub-image is an image corresponding to a first area among the multiple sub-image areas, and the first area is any sub-image area among the multiple sub-image areas; extracting the first sub-image to obtain multiple first numbering information; and storing the multiple first numbering information in a first data table, the first data table storing the numbering information corresponding to the pathological wax block in the first sub-image.

[0011] By adopting the above technical solution, the first image is divided in a preset manner to obtain multiple sub-image areas, the first sub-image is obtained from the multiple sub-image areas, and the first sub-image is extracted to obtain multiple first numbering information. The numbering information on the pathological wax block can be efficiently extracted, and the extracted numbering information is stored in the first data table. Centralized management and quick query of these information can be achieved, which helps to quickly query the corresponding pathological wax block and improve work efficiency.

[0012] Optionally, before determining whether the first number exists in the first data table, the method also includes: obtaining a second number, the second number being a number corresponding to any one of the multiple first number information; determining a second pathological wax block according to the first number, and obtaining coordinate information corresponding to the second pathological wax block; converting the coordinate information to obtain a third position, the third position being the position of the second pathological wax block in the first sub-image; establishing a correspondence between the second number and the third position, and storing the correspondence in the first data table.

[0013] By adopting the above-mentioned technical scheme, the second pathological wax block corresponding to the second number is obtained, and the coordinate information corresponding to the second pathological wax block is converted to obtain the position in the first sub-image, that is, the third position. This helps to convert the abstract coordinate information into visual position information, establish the corresponding relationship between the second number and the third position, and store the corresponding relationship in the first data table, which helps in subsequent data processing to determine the corresponding position of the corresponding pathological wax block according to the number, and can accurately identify and locate the pathological wax block, reducing the risk of human error.

[0014] Optionally, after determining whether the first number exists in the first data table, the method further includes: when the first number does not exist in the first data table, confirming that the first pathological wax block is not stored in the first sub-image; obtaining a second sub-image, the second sub-image being an image corresponding to a second area in a plurality of sub-image areas, the second area being any sub-image area in the plurality of sub-image areas except the first area; extracting the second sub-image to obtain a plurality of second numbering information; and storing the plurality of second numbering information in a second data table, the second data table storing the numbering information corresponding to the pathological wax block in the second sub-image; determining whether the first number exists in the second data table; and when the first number exists in the second data table, obtaining a third position, the third position being the position of the first pathological wax block in the target tray.

[0015] By adopting the above technical solution, when the first number does not exist in the first data table, it is confirmed that the first pathological wax block is not stored in the first sub-image, and other sub-image areas need to be searched, the second sub-image is obtained and extracted, and multiple second number information is obtained. The second number information extracted from the second sub-image is stored in the second data table to realize data classification management and query. By searching and extracting in different sub-image areas, the distribution of pathological wax blocks on the target tray can be fully understood.

[0016] Optionally, after confirming that the robotic arm device has reached the second position, the method also includes: acquiring a second image, the second image being an image of a third pathological wax block, the third pathological wax block being the pathological wax block corresponding to the second position; processing the second image to obtain a third number; determining whether the third number is consistent with the first number; and when the third number is consistent with the first number, confirming that the robotic arm device is controlled to take the third pathological wax block.

[0017] By adopting the above technical solution, the second image is processed to obtain the third number, and the third number is compared with the first number, it is possible to accurately identify whether the third pathological wax block is consistent with the expected one. This precise identification and matching ensures that the robotic arm device can accurately pick up the correct pathological wax block. Combining image recognition with the robotic arm device can realize the automated processing of pathological wax block picking.

[0018] Optionally, a target path is generated based on the second position, and the robotic arm device is controlled to move according to the target path, specifically including: obtaining a fourth position, the fourth position being the current corresponding position of the robotic arm device; inputting the fourth position and the second position into a preset path database for processing to obtain the target path; and controlling the robotic arm device to move according to the target path.

[0019] By adopting the above technical solution, the current position of the robotic arm, i.e., the fourth position, is obtained, and the fourth position and the second position are input into the preset path database for processing to obtain the target path. This precise path planning and navigation mechanism ensures that the robotic arm device can accurately move to the second position according to the predetermined route, avoiding the problem of path error.

[0020] In a second aspect of the present application, a system for processing pathological wax blocks is provided. The system is a pathological storage device, which includes a robotic arm device, which is used to take pathological wax blocks, and the pathological storage device is used to store pathological wax blocks. The pathological storage device includes an acquisition unit, a processing unit, and a confirmation unit; the acquisition unit receives pathological information sent by a user, determines a first number based on the pathological information, and the pathological information includes the patient's identity information; acquires a first image corresponding to a target tray; the processing unit determines target information based on the first number, and the target information is the number of layers of the first pathological wax block stored in the pathological storage device, and the first pathological wax block is the pathological wax block corresponding to the first number. ; Generate an opening instruction based on the target information so as to push the target tray to the first position according to the opening instruction, and the target tray is the tray corresponding to the target information in the pathology storage device; extract the first image to obtain multiple numbering information, and store the multiple numbering information in the first data table; determine whether the first number exists in the first data table; when the first number exists in the first data table, obtain the second position, and the second position is the position of the first pathology wax block in the target tray; generate a target path according to the second position, and control the robot arm device to move according to the target path; a confirmation unit, after confirming that the robot arm device has reached the second position, controls the robot arm device to take the first pathology wax block.

[0021] Optionally, the processing unit is used to process the first image to obtain a first mark; determine whether the first mark is consistent with the second mark, the second mark being the mark corresponding to the target tray being pushed to the first position; and the confirmation unit is used to confirm that when the first mark is consistent with the second mark, the target tray has been pushed to the first position and the first image needs to be extracted.

[0022] Optionally, the processing unit is used to divide the first image in a preset manner to obtain multiple sub-image areas; obtain a first sub-image from the multiple sub-image areas, the first sub-image is an image corresponding to the first area among the multiple sub-image areas, and the first area is any sub-image area among the multiple sub-image areas; extract the first sub-image to obtain multiple first numbering information; and store the multiple first numbering information in a first data table, the first data table stores the numbering information corresponding to the pathological wax block in the first sub-image.

[0023] Optionally, the acquisition unit is used to obtain a second number, where the second number is a number corresponding to any one of the multiple first number information; the processing unit is used to determine the second pathological wax block according to the first number, and obtain coordinate information corresponding to the second pathological wax block; the coordinate information is converted to obtain a third position, which is the position of the second pathological wax block in the first sub-image; a correspondence between the second number and the third position is established, and the correspondence is stored in the first data table.

[0024] Optionally, the processing unit is used to confirm that the first pathological wax block is not stored in the first sub-image when the first number does not exist in the first data table; the acquisition unit is used to acquire the second sub-image, the second sub-image is an image corresponding to the second area among the multiple sub-image areas, and the second area is any sub-image area among the multiple sub-image areas except the first area; the processing unit is used to extract the second sub-image to obtain multiple second numbering information; and store the multiple second numbering information in the second data table, the second data table stores the numbering information corresponding to the pathological wax block in the second sub-image; judge whether the first number exists in the second data table; the acquisition unit is used to acquire the third position when the first number exists in the second data table, the third position is the position of the first pathological wax block in the target tray.

[0025] Optionally, the acquisition unit is used to acquire a second image, the second image is an image of a third pathological wax block, and the third pathological wax block is the pathological wax block corresponding to the second position; the processing unit is used to process the second image to obtain a third number; and to determine whether the third number is consistent with the first number; and the confirmation unit is used to confirm that when the third number is consistent with the first number, control the robotic arm device to take the third pathological wax block.

[0026] Optionally, the acquisition unit is used to acquire a fourth position, which is the current corresponding position of the robotic arm device; the processing unit is used to input the fourth position and the second position into a preset path database for processing to obtain a target path; and the robotic arm device is controlled to move according to the target path.

[0027] In a third aspect of the present application, an electronic device is provided, which includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory, so that an electronic device executes any one of the methods described above in the present application.

[0028] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any one of the above methods of the present application is executed.

[0029] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. Receive pathological information sent by the user, determine the first number according to the pathological information, and determine the target information based on the first number, so as to avoid the time and effort required for manual search and positioning of the pathological wax block, generate an opening instruction according to the target information, automatically push the target tray to the first position, further simplify the operation process, shoot the target tray and extract multiple numbering information, so as to quickly and accurately obtain the numbers of all pathological wax blocks on the target tray, and provide convenience for subsequent matching, and store the extracted numbering information in the first data table. When determining that the first number is in the first data table, determine the second position of the first number in the target tray, generate the target path based on the second position, and control the robot arm device to move according to the target path, so as to realize the precise control and movement of the robot arm device, avoid the tedious process of manual search, and after confirming that the robot arm device has reached the second position, control the removal of the target pathological wax block, complete the automation of the entire process of taking the wax block, and greatly improve the work efficiency.

[0030] 2. Process the first image to obtain a first mark, and compare it with the second mark corresponding to the first position where the target pallet is pushed, so as to more accurately confirm whether the target pallet has reached the specified position. By combining image recognition with position confirmation, the automatic detection of the target pallet position can be realized, avoiding the need for manual intervention and improving the reliability of the entire processing process. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flow chart of a method for processing a pathological wax block provided in an embodiment of the present application; Figure 2 It is a structural schematic diagram of a system for processing pathological wax blocks provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.

[0032] Explanation of the reference numerals: 201, acquisition unit; 202, processing unit; 203, confirmation unit; 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION

[0033] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0034] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0035] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0036] Pathology wax blocks are important carriers for storing pathological tissues and are the main form of long-term storage of pathological specimens. Pathology wax block cabinets are one of the important equipment in pathology laboratories. They are mainly used to store pathology wax blocks and provide a stable temperature and humidity environment to maintain the quality of long-term stored pathological specimens. All pathology wax blocks must be stored in the pathology wax block cabinets of the hospital's pathology department in strict accordance with regulations.

[0037] At present, the storage and retrieval of pathological wax blocks mainly rely on manual methods. When retrieving and taking the pathological wax blocks of a certain patient, the staff needs to search one by one in the numerous pathological wax block cabinets, and return the pathological wax blocks after using them. However, since pathological diagnosis is a dynamic process, many patients often need to use the same pathological wax block for immunohistochemistry, molecular pathology, follow-up visits and other operations, which also means that the wax blocks of the same patient will be repeatedly stored and retrieved over a period of time, which requires a lot of time and energy; at the same time, when manually storing pathological wax blocks, it is easy to put the wax blocks in the wrong place, thereby further increasing the workload of subsequent secondary searches for the pathological wax blocks. With the continuous increase in the number of pathological samples in hospitals, the manual storage and retrieval of pathological wax blocks will be more time-consuming, resulting in the current low efficiency of storage and retrieval of pathological wax blocks.

[0038] Therefore, how to solve the problem of low efficiency of querying pathological wax blocks manually. A method for processing pathological wax blocks provided in an embodiment of the present application is applied to a pathological storage device. The pathological storage device of the present application can be a platform for providing pathological wax block storage services for the pathology department of a medical unit. The pathological storage device includes a robotic arm device, which is used to take the pathological wax blocks stored in the pathological storage device. The pathological storage device is used to store pathological wax blocks. Figure 1 is a flow chart of a method for processing a pathological wax block provided in an embodiment of the present application, with reference to Figure 1 The method includes the following steps S101-S109.

[0039] S101: receiving pathological information sent by a user, and determining a first number according to the pathological information, wherein the pathological information includes identity information of a patient.

[0040] In the above S101, the user refers to a doctor or staff member. The user inputs or uploads pathological information containing the patient's identity information through the interface. Since the hospital has generated a unique number based on the pathological information in advance and assigned the number to a specific pathological wax block, it is convenient to determine the pathological wax block corresponding to the user according to the number in the future. When the user needs to take the pathological wax block, the user can send the pathological information to the pathological storage device according to the patient's identity information. At this time, the pathological information can be the name, gender and ID card information corresponding to the patient. The number of the pathological wax block corresponding to the patient can be queried based on the pathological information. In order to facilitate the subsequent input of pathological information to query the number of the corresponding pathological wax block, the corresponding relationship between the pathological information and the pathological wax block number can be constructed, and the corresponding relationship can be stored in the database. That is, one pathological information corresponds to one pathological wax block number. By querying this database, the first number can be determined based on the pathological information, and the pathological information corresponds to the first number.

[0041] S102: Determine target information based on the first number, where the target information is layer number information of a first pathological wax block stored in a pathological storage device, and the first pathological wax block is a pathological wax block corresponding to the first number.

[0042] In the above S102, after determining the first number, since each pathological wax block can be assigned a corresponding number when storing each pathological wax block in the pathological storage device, and the pathological storage device includes a multi-layer tray, when storing each pathological wax block in different layers of the pathological storage device, it is necessary to obtain the layer number corresponding to each pathological wax block number, and associate the change of the pathological wax block with the layer number in its storage device, so that after determining the number of the pathological wax block, the layer number of the pathological wax block in the storage device can be determined based on the number. The association relationship can be stored in a database, and by querying the database, the corresponding target information can be found according to the first number, and the target information is the layer number information of the pathological wax block.

[0043] For example, the patient identity information is a, and a first number is generated according to the patient identity information a, and the first number is 127, and a corresponding relationship is established between the first number 127 and the patient identity information a. When the pathological wax block corresponding to the first number 127 is stored in the pathological storage device, the number of layers of the pathological wax block corresponding to the first number 127 is confirmed. If the number of layers is 4 layers, that is, the target information is 4 layers, the number of layers is associated with the first number, and the first number can be determined according to the pathological information first, and then according to the target information corresponding to the first number.

[0044] S103: Generate an opening instruction based on the target information, so as to push the target tray to the first position according to the opening instruction, the target tray being the tray corresponding to the target information in the pathology storage device.

[0045] In the above S103, after determining the target information, since the pathology storage device includes multiple layers, each layer corresponds to a tray, and the trays of each layer are mainly used to store pathology wax blocks. The pathology storage device generates an opening instruction according to the target information, and this instruction instructs the mechanical or electric components (such as lifting mechanisms) in the pathology storage device to push the tray containing the first pathology wax block to a position convenient for the robot arm to operate, that is, the "first position".

[0046] S104: Acquire a first image corresponding to the target tray.

[0047] In the above S104, after determining that the pathological storage device pushes the target tray, in order to confirm that the target tray has been pushed to the first position, it is necessary to use a camera or an image sensor to capture an image on the target tray, that is, a first image. Then the first image is processed to obtain a first mark; it is determined whether the first mark is consistent with the second mark, and the second mark is the mark corresponding to the target tray being pushed to the first position; when the first mark is consistent with the second mark, it is confirmed that the target tray has been pushed to the first position, and the first image needs to be extracted. Specifically, the first image is preprocessed, such as denoising, contrast enhancement, etc., to improve the accuracy of subsequent processing. Image processing algorithms (such as edge detection, corner point detection, etc.) are used to extract key features in the image, which may be the shape, color, texture, etc. of the tray. Based on the extracted features, a unique "first mark" is generated, which may be a combination of numbers, letters, or symbols, and is used to uniquely identify the current tray and its position. Then the first mark is compared with the second mark, and the second mark is the mark corresponding to the target tray being pushed to the first position, which may be preset and stored in the system. The first mark is compared with the second mark, which is the mark corresponding to the target tray being pushed to the first position. This mark can be preset, stored in the system, or dynamically generated during the tray pushing process. If the first mark is consistent with the second mark, it means that the target tray has been accurately pushed to the first position. After confirming that the target tray has been pushed to the first position, the first image can be further extracted and processed to obtain the number information of the pathological wax block on the tray.

[0048] Furthermore, if the first mark is inconsistent with the second mark, it is confirmed that the target tray has not been pushed to the first position, and an opening instruction needs to be resent so that the target tray can be pushed again, or a prompt message is sent to the user so that the user can analyze the pushing status of the target tray in time to determine whether the pathological storage device has a fault.

[0049] S105: extracting the first image to obtain a plurality of numbering information, and storing the plurality of numbering information in a first data table.

[0050] In the above S105, after confirming that the target tray has been pushed to the first position, the first image is processed. The first image is extracted to obtain multiple numbering information, and the multiple numbering information is stored in the first data table, which specifically includes: dividing the first image according to a preset method to obtain multiple sub-image areas; obtaining a first sub-image from multiple sub-image areas, the first sub-image is an image corresponding to the first area in the multiple sub-image areas, and the first area is any sub-image area in the multiple sub-image areas; extracting the first sub-image to obtain multiple first numbering information; and storing the multiple first numbering information in the first data table, the first data table stores the numbering information corresponding to the pathological wax block in the first sub-image. Specifically, the first image is divided according to a preset method, and the preset method is determined according to actual needs. The preset method of image division can be a uniform division based on image size, shape, color and other features, or it can be a division based on the position of a specific target (such as a pathological wax block). Use image processing software (such as Photoshop, Matlab, OpenCV, etc.) or write a special image division algorithm to divide the first image according to a preset method. During the division process, it is necessary to ensure that the size, shape, position and other parameters of each sub-image area meet the preset requirements. After the division is completed, multiple sub-image areas are obtained. These areas can be rectangular, circular or other shapes, depending on the preset method. Among the multiple sub-image areas, the first sub-image area to be processed, i.e., the first area, is determined according to actual needs or preset rules. It can be selected based on features such as image content, position, size, etc., or it can be randomly selected. The corresponding image, i.e., the first sub-image, is extracted from the first area. During the extraction process, the integrity and accuracy of the first sub-image need to be ensured. Before extracting the numbering information, the first sub-image needs to be preprocessed, such as denoising, contrast enhancement, etc., to improve the accuracy of extraction. The first sub-image is analyzed and identified using image processing technology (such as OCR, template matching, deep learning algorithm, etc.). The numbering information of all pathological wax blocks is extracted from the first sub-image. These numbers are usually unique and are used to identify each wax block. The extracted numbering information is verified, that is, whether the total number of all pathological wax blocks in the first sub-image is the same as the extracted first numbering information, that is, one pathological wax block number corresponds to one first numbering information. If the verification is correct, a first data table can be established to define the fields and formats corresponding to the first data table. The extracted multiple first number information is stored in the first data table according to the preset format and order. During the storage process, it is necessary to ensure that the number information correctly corresponds to the fields in the data table and that each number is unique. After the storage is completed, the storage result needs to be confirmed to ensure that the number information has been correctly stored in the data table.

[0051] In addition, after storing multiple numbering information in the first data table, it is also necessary to determine the current position corresponding to each number in the sub-image according to the coordinates corresponding to each numbering information in each sub-image, and establish a corresponding relationship between each numbering information and the position, one numbering information corresponds to one position, and the corresponding relationship is stored in the first data table, so as to facilitate the subsequent query of the position corresponding to the number through the first data table, specifically including: obtaining a second number, the second number is a number corresponding to any one of the multiple first numbering information; determining the second pathological wax block according to the first number, obtaining the coordinate information corresponding to the second pathological wax block; converting the coordinate information to obtain a third position, the third position is the position of the second pathological wax block in the first sub-image; establishing a corresponding relationship between the second number and the third position, and storing the corresponding relationship in the first data table. Specifically, the first sub-image is extracted to obtain multiple first numbering information, and one number is selected from the multiple numbering information as the second number. After determining the second number, the pathological wax block corresponding to the second number, that is, the second pathological wax block, needs to be found in the first sub-image. Once the second pathological wax block is determined, the coordinate information of the second pathological wax block in the first sub-image can be determined. This coordinate information is expressed in a certain form (such as pixel coordinates, physical coordinates, etc.) and is used to describe the position of the pathological wax block in the tray or image. Before performing the coordinate conversion, it is necessary to understand the relationship between the original coordinate information (i.e., the coordinates of the second pathological wax block in the target tray or the first image) and the target coordinate system (i.e., the coordinates in the first sub-image). Use an appropriate conversion algorithm or formula to convert the original coordinate information into coordinates in the first sub-image, i.e., the third position. This may involve transformation operations such as scaling, translation, and rotation, depending on the difference between the original coordinate information and the target coordinate system. Check the converted coordinates to ensure that they are within the range of the first sub-image and are consistent with the actual position of the second pathological wax block. When establishing the correspondence between the second number and the third position, the established correspondence is stored in the first data table, i.e., a new record is added to the first data table to contain the information of the second number and the third position.

[0052] S106: Determine whether the first number exists in the first data table.

[0053] In the above S106, the first sub-image is processed to obtain multiple first numbering information, and the multiple first numbering information is stored in the first data table, and then it is determined whether the first data table includes the first number. This step is to confirm whether the first pathological wax block is indeed located in the first sub-image in the first image.

[0054] S107: When the first number exists in the first data table, a second position is obtained, where the second position is the position of the first pathological wax block in the target tray.

[0055] In the above S107, if the first number exists in the first data table, since the first data table corresponds to the first sub-image, the specific position of the pathological wax block with the same number as the first in the first data table on the target tray, i.e., the second position, needs to be obtained. Since the first data table stores the correspondence between each pathological wax block number and position, when it is determined that the first number exists in the first data table, the pathological wax block number corresponding to the first number in the first data table is obtained, and the position corresponding to the pathological wax block number, i.e., the second position, is queried.

[0056] S108: Generate a target path according to the second position, and control the robot arm device to move according to the target path.

[0057] In the above S108, after determining that the first pathological wax block is in the second position, it is necessary to generate a target path according to the second position, and control the mechanical arm device to move according to the target path, which specifically includes: obtaining a fourth position, which is the current corresponding position of the mechanical arm device; inputting the fourth position and the second position into the preset path database for processing to obtain the target path; and controlling the mechanical arm device to move according to the target path. Specifically, the fourth position corresponding to the mechanical arm device can be obtained first, and the fourth position can be obtained by using a sensor (such as a position sensor, an angle sensor, etc.) or an image recognition technology to detect the current physical position of the mechanical arm device. The sensor can monitor parameters such as the joint angle and the end position of the mechanical arm in real time to determine its current position. The image recognition technology can capture an image of the mechanical arm and its surrounding environment, and then use an image processing algorithm to determine the position of the mechanical arm. According to the output result of the sensor or the image recognition technology, the current fourth position of the mechanical arm device is determined. Since it has been determined that the first pathological wax block is in the second position, the second position and the fourth position are input into the preset path database for processing. The preset path database is a database that stores multiple possible paths, which can be pre-planned according to the working environment and task requirements of the mechanical arm. Each path in the preset path database contains a series of position points or coordinates, which represent the motion trajectory of the robot from the starting point to the end point. A path planning algorithm is used to process the fourth position and the second position to obtain a target path. The path planning algorithm can be a graph-based search algorithm (such as Dijkstra algorithm, A* algorithm, etc.), a sampling-based algorithm (such as RRT algorithm, etc.) or other types of algorithms. The goal of the algorithm is to find the optimal path from the fourth position to the second position under certain constraints (such as obstacle avoidance, time optimization, energy consumption optimization, etc.). According to the output of the path planning algorithm, the target path from the fourth position to the second position is determined. The target path is usually a series of position points or coordinates, which represent the path points that the robot should pass through in sequence. A motion control algorithm is used to control the robot device to move along the target path. According to the output of the motion control algorithm, the joint angle or end position of the robot device is adjusted to make it move along the target path. It may involve the control of the robot motor to achieve precise joint angle adjustment or end position movement. During the movement of the robot device, sensors or image recognition technology are used to monitor the position and posture of the robot in real time. The real-time monitored position is compared with the target path, and if there is a difference, adjustments are made using a feedback control algorithm to ensure that the robot arm can move accurately along the target path.

[0058] S109: After confirming that the robotic arm device has reached the second position, control the robotic arm device to take the first pathological wax block.

[0059] In the above S109, after using a sensor (such as a position sensor, visual feedback, etc.) to confirm that the robotic arm device has accurately reached the second position, before controlling the robotic arm device to pick up the first pathological wax block, it is necessary to verify the number corresponding to the pathological wax block at the second position to ensure that the pathological wax block picked up by the robotic arm device is the pathological wax block corresponding to the first number. That is, the second image is obtained, the second image is the image of the third pathological wax block, and the third pathological wax block is the pathological wax block corresponding to the second position; the second image is processed to obtain the third number; it is determined whether the third number is consistent with the first number; when the third number is consistent with the first number, it is confirmed that the robotic arm device is controlled to pick up the third pathological wax block. Specifically, after determining that the robotic arm device has reached the second position, the robotic arm device can be used to obtain the image of the third pathological wax block at the second position, and an image acquisition device can be installed at the robotic arm device to ensure that the image acquisition device can clearly capture the number, label or other unique identifier on the pathological wax block. The image of the third pathological wax block, that is, the second image, is obtained by the image acquisition device. The second image is preprocessed, such as denoising, enhancing contrast, adjusting brightness, etc., to improve the image quality. It is helpful for the subsequent number recognition process. Use OCR (optical character recognition) technology or other image recognition algorithms to recognize the number in the second image. OCR technology can recognize text and numbers in the image and convert them into a computer-readable text format. Extract the number of the third pathological wax block, that is, the third number, from the recognition result. Compare the extracted third number with the first number. It is realized by the string comparison algorithm, and it can be checked whether the two numbers are exactly the same. According to the comparison result, it is determined whether the third number is consistent with the first number. When the third number is consistent with the first number, it is confirmed that the robot arm device needs to be controlled to take the third pathological wax block. At this time, the third pathological wax block is the first pathological wax block. According to the verification result, the robot arm device is controlled to perform the taking operation and take the third pathological wax block out of the storage position. Ensure that the wax block will not be damaged or cause other safety problems during the taking process. After the taking is successful, the robot arm device moves the third pathological wax block to another position. The other position indicates the position corresponding to the area where the user takes the pathological wax block, performs slicing operations, performs pathological examinations, etc. At this time, the user refers to the medical staff of the pathology department. If the user completes the examination of the pathological wax block and needs to place the pathological wax block back into the pathological storage device, the pathological wax block is first placed in the storage area. The storage area refers to the area where the pathological wax blocks to be stored are stored. The pathological wax block to be stored refers to the pathological wax block that needs to be stored in the pathological storage device.By real-time monitoring of the storage area, if the pathological wax block is detected in the storage area, the pathological wax block in the storage area is identified, and after obtaining the number corresponding to the pathological wax block, it is determined whether the current pathological wax block is placed for the second time or the first time. If the current pathological wax block is placed for the first time, it is necessary to determine the layer number information of the pathological wax block that can be stored in the pathological storage device, and generate a first placement instruction according to the layer number information. According to the first placement instruction, a placement route can be generated, and the mechanical arm device is controlled to place the pathological wax block from the storage area into the pathological storage device according to the placement route. Then, a corresponding relationship between the number of the pathological wax block and the layer number information is established, so that the layer number information of the pathological wax block in the pathological storage device can be determined according to the number of the pathological wax block. If the current pathological wax block is placed for the second time, since the corresponding relationship between the pathological wax block number and the layer number information in the pathological storage device has been established in advance, the layer number information is determined according to the corresponding relationship, and a second placement instruction is generated based on the layer number information, and a placement route is generated according to the second placement instruction, so that the mechanical arm device can store the pathological wax block in the target layer number of the pathological storage device according to the placement route. The entire storage and retrieval process is fully automated, reducing the time required for manual storage and retrieval, and further improving the storage efficiency of pathology wax blocks.

[0060] In addition, when the third number is inconsistent with the first number, it is confirmed that the current moving position of the robot arm device is not the second position, and a moving instruction is re-sent to the robot arm device to make the robot arm device move to the second position again.

[0061] Further, when the first number does not exist in the first data table, it is confirmed that the first pathological wax block is not stored in the first sub-image; the second sub-image is obtained, the second sub-image is an image corresponding to the second area in the multiple sub-image areas, and the second area is any sub-image area other than the first area in the multiple sub-image areas; the second sub-image is extracted to obtain multiple second number information; and the multiple second number information is stored in the second data table, and the second data table stores the number information corresponding to the pathological wax block in the second sub-image; it is determined whether the first number exists in the second data table; when the first number exists in the second data table, the third position is obtained, and the third position is the position of the first pathological wax block in the target tray. Specifically, it is queried in the first data table whether there is a record matching the first number. According to the query result, it is determined whether the first number exists in the first data table. If the query result is empty, it is confirmed that the first pathological wax block is not stored in the first sub-image. Among the multiple sub-image areas, a sub-image area other than the first area is determined as the second area. It can be a selection based on features such as image content, position, size, etc., or it can be the next area when traversing in a certain order (such as from left to right, from top to bottom). Extract the corresponding image from the second area, that is, the second sub-image. During the extraction process, the integrity and accuracy of the second sub-image need to be ensured. Before extracting the numbering information, preprocess the second sub-image, such as denoising, contrast enhancement, etc., to improve the accuracy of extraction. Use the same or similar technology as the numbering information in the first sub-image (such as OCR, template matching, deep learning algorithm, etc.) to analyze and identify the second sub-image. Extract the numbering information of all pathological wax blocks from the second sub-image, that is, the second numbering information. Verify the extracted second numbering information to ensure their accuracy and integrity. Establish a second data table and define the corresponding fields and formats. Store the extracted multiple second numbering information in the second data table according to the preset format and order. When determining whether the first number exists in the second data table, query whether there is a record matching the first number in the second data table. Determine whether the first number exists in the second data table based on the query result. If the query result is not empty (that is, at least one record is returned), it is confirmed that the first pathological wax block is stored in the tray position corresponding to the second sub-image (or more accurately, in a sub-image area containing the second sub-image). It has been confirmed that the first pathological wax block is stored in the tray position corresponding to the second sub-image, so the third position needs to be determined according to the position of the second sub-image in the tray and the specific position of the first pathological wax block in the second sub-image. This may involve converting the coordinate information of the second sub-image into physical coordinates on the tray, and combining it with the coordinates of the first pathological wax block in the second sub-image.

[0062] Furthermore, if the first number does not exist in the second data table, then in accordance with the above method, continue to obtain the other sub-image areas except the first area and the second area in the first image to obtain each sub-image, and extract each sub-image to obtain multiple numbering information, and construct a corresponding data table according to the multiple numbering information, that is, one sub-image corresponds to one data table. Then, the first number is compared with each data table in turn until a data table matching the first number is found, and then the position of the pathological wax block number corresponding to the data table is output, and a path is generated according to the position to control the movement of the robot arm device to pick up the pathological wax block.

[0063] The present application also provides a system for processing pathological wax blocks. Figure 2 is a schematic diagram of a system for processing pathological wax blocks provided in an embodiment of the present application, with reference to Figure 2 The system is a pathology storage device, which includes a robotic arm device for taking pathology wax blocks. The pathology storage device is used to store pathology wax blocks. The pathology storage device includes an acquisition unit 201, a processing unit 202 and a confirmation unit 203.

[0064] The acquisition unit 201 receives pathological information sent by a user, determines a first number according to the pathological information, wherein the pathological information includes identity information of a patient; and acquires a first image corresponding to a target tray.

[0065] The processing unit 202 determines target information based on the first number, where the target information is the layer number information of the first pathological wax block stored in the pathological storage device, and the first pathological wax block is the pathological wax block corresponding to the first number; generates an opening instruction based on the target information, so as to push the target tray to the first position according to the opening instruction, and the target tray is the tray corresponding to the target information in the pathological storage device; extracts the first image to obtain multiple numbering information, and stores the multiple numbering information in the first data table; determines whether the first number exists in the first data table; when the first number exists in the first data table, obtains the second position, which is the position of the first pathological wax block in the target tray; generates a target path according to the second position, and controls the robot arm device to move according to the target path.

[0066] The confirmation unit 203 controls the robotic arm device to pick up the first pathological wax block after confirming that the robotic arm device has reached the second position.

[0067] In one possible implementation, the processing unit 202 is used to process the first image to obtain a first mark; determine whether the first mark is consistent with the second mark, the second mark being the mark corresponding to the target tray being pushed to the first position; and the confirmation unit 203 is used to confirm that the target tray has been pushed to the first position and the first image needs to be extracted when the first mark is consistent with the second mark.

[0068] In a possible embodiment, the processing unit 202 is used to divide the first image in a preset manner to obtain multiple sub-image areas; obtain a first sub-image from the multiple sub-image areas, the first sub-image is an image corresponding to the first area among the multiple sub-image areas, and the first area is any sub-image area among the multiple sub-image areas; extract the first sub-image to obtain multiple first numbering information; and store the multiple first numbering information in a first data table, which stores the numbering information corresponding to the pathological wax block in the first sub-image.

[0069] In a possible implementation, the acquisition unit 201 is used to obtain a second number, where the second number is a number corresponding to any one of the multiple first number information; the processing unit 202 is used to determine the second pathological wax block according to the first number, and obtain the coordinate information corresponding to the second pathological wax block; the coordinate information is converted to obtain a third position, which is the position of the second pathological wax block in the first sub-image; a correspondence between the second number and the third position is established, and the correspondence is stored in the first data table.

[0070] In a possible embodiment, the processing unit 202 is used to confirm that the first pathological wax block is not stored in the first sub-image when the first number does not exist in the first data table; the acquisition unit 201 is used to acquire the second sub-image, the second sub-image is an image corresponding to the second area of ​​multiple sub-image areas, and the second area is any sub-image area of ​​the multiple sub-image areas except the first area; the processing unit 202 is used to extract the second sub-image to obtain multiple second numbering information; and store the multiple second numbering information in the second data table, the second data table stores the numbering information corresponding to the pathological wax block in the second sub-image; determine whether the first number exists in the second data table; the acquisition unit 201 is used to acquire the third position when the first number exists in the second data table, and the third position is the position of the first pathological wax block in the target tray.

[0071] In a possible embodiment, the acquisition unit 201 is used to acquire a second image, which is an image of a third pathological wax block, and the third pathological wax block is the pathological wax block corresponding to the second position; the processing unit 202 is used to process the second image to obtain a third number; and to determine whether the third number is consistent with the first number; the confirmation unit 203 is used to confirm and control the robotic arm device to pick up the third pathological wax block when the third number is consistent with the first number.

[0072] In a possible implementation, the acquisition unit 201 is used to acquire a fourth position, which is the current corresponding position of the robotic arm device; the processing unit 202 is used to input the fourth position and the second position into a preset path database for processing to obtain a target path; and the robotic arm device is controlled to move according to the target path.

[0073] It should be noted that: when the system provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0074] The present application also discloses an electronic device. Figure 3 , Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .

[0075] The communication bus 302 is used to realize the connection and communication between these components.

[0076] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.

[0077] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0078] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application requests; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.

[0079] Among them, the memory 305 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area. Instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. can be stored; the data storage area can store data involved in the above-mentioned various method embodiments, etc. The memory 305 can also be optionally at least one storage device located away from the aforementioned processor 301.

[0080] like Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for processing pathological wax blocks.

[0081] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 301 can be used to call the application for processing pathological wax blocks stored in the memory 305. When executed by one or more processors, the electronic device executes one or more methods described in the above embodiments.

[0082] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0083] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0084] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0086] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0088] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any variation, use or adaptive change of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure.

Claims

1. A method for processing pathological wax blocks, It is characterized in that Applied to a pathology storage device, the pathology storage device includes a mechanical arm device, the mechanical arm device is used to take a pathology wax block, the pathology storage device is used to store the pathology wax block, and the method includes: receiving pathological information sent by a user, and determining a first number according to the pathological information, wherein the pathological information includes identity information of a patient; Determine target information based on the first number, the target information is the layer number information of the first pathological wax block stored in the pathological storage device, and the first pathological wax block is the pathological wax block corresponding to the first number; generating an opening instruction based on the target information so as to push a target tray to a first position according to the opening instruction, the target tray being a tray corresponding to the target information in the pathology storage device; Acquire a first image corresponding to the target tray; Extracting the first image to obtain a plurality of numbering information, and storing the plurality of numbering information in a first data table; Determine whether the first number exists in the first data table; When the first number exists in the first data table, a second position is acquired, where the second position is the position of the first pathological wax block in the target tray; generating a target path according to the second position, and controlling the robot arm device to move according to the target path; After confirming that the robotic arm device reaches the second position, the robotic arm device is controlled to pick up the first pathological wax block.

2. The method according to claim 1, It is characterized in that Before acquiring the first image corresponding to the target tray, the method further includes: Processing the first image to obtain a first mark; Determine whether the first mark is consistent with a second mark, where the second mark is a mark corresponding to when the target tray is pushed to the first position; When the first mark is consistent with the second mark, it is confirmed that the target tray has been pushed to the first position, and the first image needs to be extracted.

3. The method according to claim 1, It is characterized in that The extracting the first image to obtain a plurality of numbering information and storing the plurality of numbering information in a first data table specifically includes: Dividing the first image in a preset manner to obtain a plurality of sub-image regions; Acquire a first sub-image from the plurality of sub-image areas, where the first sub-image is an image corresponding to a first area in the plurality of sub-image areas, and the first area is any sub-image area in the plurality of sub-image areas; Extracting the first sub-image to obtain a plurality of first numbering information; And the plurality of first numbering information are stored in the first data table, and the first data table stores the numbering information corresponding to the pathological wax blocks in the first sub-image.

4. The method according to claim 3, It is characterized in that Before determining whether the first number exists in the first data table, the method further includes: Obtain a second number, where the second number is a number corresponding to any one of the plurality of first number information; Determine a second pathological wax block according to the first number, and obtain coordinate information corresponding to the second pathological wax block; Converting the coordinate information to obtain a third position, where the third position is the position of the second pathological wax block in the first sub-image; A correspondence between the second number and the third position is established, and the correspondence is stored in the first data table.

5. The method according to claim 3, It is characterized in that After determining whether the first number exists in the first data table, the method further includes: When the first number does not exist in the first data table, it is confirmed that the first pathological wax block is not stored in the first sub-image; Acquire a second sub-image, where the second sub-image is an image corresponding to a second area among the multiple sub-image areas, and the second area is any sub-image area among the multiple sub-image areas except the first area; Extracting the second sub-image to obtain a plurality of second numbering information; and storing the plurality of the second numbering information in a second data table, wherein the second data table stores the numbering information corresponding to the pathological wax blocks in the second sub-image; Determine whether the first number exists in the second data table; When the first number exists in the second data table, a third position is acquired, where the third position is the position of the first pathological wax block in the target tray.

6. The method according to claim 1, It is characterized in that After confirming that the robot arm device reaches the second position, the method further includes: Acquire a second image, where the second image is an image of a third pathological wax block, and the third pathological wax block is a pathological wax block corresponding to the second position; Processing the second image to obtain a third number; Determining whether the third number is consistent with the first number; When the third number is consistent with the first number, it is confirmed that the robot arm device is controlled to take the third pathological wax block.

7. The method according to claim 1, It is characterized in that Generating a target path according to the second position, and controlling the robot arm device to move according to the target path specifically includes: Acquire a fourth position, where the fourth position is the current position of the robotic arm device; Inputting the fourth position and the second position into a preset path database for processing to obtain a target path; The robot arm device is controlled to move according to the target path.

8. A system for processing pathological wax blocks, It is characterized in that The system is a pathology storage device, the pathology storage device comprises a mechanical arm device, the mechanical arm device is used to take the pathology wax block, the pathology storage device is used to store the pathology wax block, and the pathology storage device comprises an acquisition unit (201), a processing unit (202) and a confirmation unit (203); The acquisition unit (201) receives pathological information sent by a user, determines a first number according to the pathological information, wherein the pathological information includes identity information of a patient; and acquires a first image corresponding to a target tray; The processing unit (202) determines target information based on the first number, the target information being information about the number of layers of a first pathological wax block stored in the pathological storage device, the first pathological wax block being the pathological wax block corresponding to the first number; generates an opening instruction based on the target information, so as to push the target tray to a first position according to the opening instruction, the target tray being the tray corresponding to the target information in the pathological storage device; extracts the first image to obtain a plurality of numbering information, and stores the plurality of numbering information in a first data table; Determine whether the first number exists in the first data table; when the first number exists in the first data table, obtain a second position, where the second position is the position of the first pathological wax block in the target tray; generate a target path according to the second position, and control the robot arm device to move according to the target path; The confirmation unit (203) controls the robotic arm device to pick up the first pathological wax block after confirming that the robotic arm device has reached the second position.

9. An electronic device, It is characterized in that The electronic device (300) comprises a processor (301), a memory (305), a user interface (303) and a network interface (304), wherein the memory (305) is used to store instructions, the user interface (303) and the network interface (304) are used to communicate with other devices, and the processor (301) is used to execute the instructions stored in the memory (305) so that the electronic device (300) executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.

Citation Information

Patent Citations

  • Image processing method and apparatus

    CN108734211A

  • Recognition method and system based on dermatopathology images

    CN109363640A

  • Image storage method, image reading method, image memory and storage medium

    CN110909187A

  • Slice image processing method and model training method and system

    CN112330627A

  • Computer-assisted pancreatic pathology image diagnosis system based on artificial intelligence

    CN113570619A

Cited By

  • Case allocation method and device based on sub-specialized matching, terminal and medium

    CN120544819A