Cell classification rule determination method for slide reader, cell classification method and slide reader
By generating a cell classification rule setting interface in the slide reader, users can customize cell classification rules, which solves the problem that cell classification results need to be manually adjusted in the existing technology, and realizes the accuracy and flexibility of personalized cell classification.
Patent Information
- Application Number
- CN202010752476.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-30
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2040-07-30
AI Technical Summary
Existing slide readers cannot meet users' personalized needs in cell classification. The automatically identified cell classification results often require manual adjustment, and the existing adjustment methods are limited and cannot be accurately converted to the classification type required by the user.
A method for determining cell classification rules in a film reader is provided. By generating a cell classification rule setting interface, users can customize cell classification rules, obtain the original classification and target classification, and generate a first cell classification rule and a second cell classification rule according to the user settings, so as to realize the classification of cells from the original classification to the target classification.
It enables users to customize cell classification rules according to their needs, meeting the personalized cell classification needs of different hospitals, departments, or doctors, and improving the accuracy and flexibility of cell classification.
Smart Images

Figure CN114092731B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of medical technology, and in particular to a method for determining cell classification rules for a film reader, a cell classification method for a film reader, a film reader, and a computer-readable storage medium. Background Technology
[0002] With the development of medical technology and graphics processing technology, the application of computer graphics to medical technology, combined with graphics processing technology to classify cells, has become an important application of computer-aided pathology.
[0003] Cell classification is typically performed using a slide reader. This instrument, which uses a microscope to automatically identify and classify cells, photographs the sample under a microscope and performs image recognition to categorize different cells. However, the cell classification results automatically generated by the slide reader often do not meet the user's desired outcome, requiring manual adjustments. Current classification adjustments only allow direct conversion to a fixed classification type, and may still fail to achieve the desired result, thus not fulfilling the cell classification requirements. Summary of the Invention
[0004] Therefore, it is necessary to provide a method for determining cell classification rules in a film reader, a cell classification method for a film reader, a film reader, and a computer-readable storage medium to address the above-mentioned technical problems.
[0005] A method for determining cell classification rules in a slide reader, comprising:
[0006] The interface for setting cell classification rules;
[0007] Receive instructions on setting cell classification rules;
[0008] Obtain the original cell classification;
[0009] Obtain the first target category corresponding to the original category. The first target category is set by the user on the first interface, which may be the setting interface or an interface different from the setting interface.
[0010] Based on the original classification and the first target classification, a first cell classification rule is obtained. The first cell classification rule is used to classify cells from the original classification to the first target classification.
[0011] A method for determining cell classification rules in a slide reader, comprising:
[0012] The interface for setting cell classification rules;
[0013] Receive instructions on setting cell classification rules;
[0014] Obtain the original cell classification;
[0015] Obtain the first target category corresponding to the original category. The first target category is set by the user on the first interface, which may be the setting interface or an interface different from the setting interface.
[0016] Obtain the second target category corresponding to the first target category. The second target category is set by the user on the third interface, which is either the first interface or an interface different from the first interface.
[0017] Based on the original classification and the second target classification, a second cell classification rule is obtained. The second cell classification rule is used to classify cells from the original classification to the second target classification.
[0018] A cell classification method for a slide reader, the method comprising:
[0019] Receive instructions to reclassify cells;
[0020] Obtain the original classification of the cells to be reclassified;
[0021] Obtain the cell classification rules corresponding to the original classification. The cell classification rules include the original classification and the corresponding target classification. The cell classification rules are determined using the cell classification rule determination method described above.
[0022] Based on cell classification rules, determine the target classification corresponding to the original classification;
[0023] Update the classification of cells to be reclassified to the target classification.
[0024] A cell classification method for a slide reader, the method comprising:
[0025] Obtain instructions to pre-classify cells;
[0026] The cell classification rules are obtained using the cell classification rule determination method described above.
[0027] Cells are pre-classified according to the preset classification method and cell classification rules of the image reader.
[0028] A cell image reader classifies cells using image recognition, comprising: a pre-classification module, a rule definition module, and a reclassification execution module. The pre-classification module pre-classifies cells according to a preset classification method of the cell image reader. The rule definition module is used for users to set cell classification rules. The reclassification execution module reads the cell classification rules and reclassifies the cells according to the cell classification rules.
[0029] A film reader includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the method described above.
[0030] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described above.
[0031] The cell classification rule determination method, cell classification method, and computer-readable storage medium of the aforementioned image reader can generate a cell classification rule setting interface. By combining the first target classification set by the user on a first interface that is the same as or different from the setting interface, a user-defined first cell classification rule can be obtained. Thus, based on the original classification obtained by the image reader through image recognition, the cell classification can be reclassified from the original classification to the first target classification according to the user-defined first cell classification rule. This ensures that the determined first cell classification rule and the obtained cell classification results can meet the requirements, thereby solving the personalized cell classification needs of different hospitals, departments, or doctors. Attached Figure Description
[0032] Figure 1 This is a structural block diagram of the medical device in an embodiment of the present invention;
[0033] Figure 2 A schematic diagram illustrating the basic process of cell classification using a traditional slide reader.
[0034] Figure 3 A schematic diagram illustrating cell classification using traditional techniques;
[0035] Figure 4 This is a flowchart illustrating a method for determining cell classification rules in a slide reader, as shown in one embodiment.
[0036] Figure 5 This is a flowchart illustrating the cell classification rule determination method for a slide reader in another embodiment;
[0037] Figure 6 This is a schematic flowchart of a cell classification method for a slide reader in one embodiment;
[0038] Figure 7 This is a schematic flowchart of a cell classification method for a slide reader in one embodiment;
[0039] Figure 8 is a schematic diagram of the cell classification rule setting interface in one embodiment;
[0040] Figure 9 is a schematic diagram of the cell classification rule setting interface in another embodiment;
[0041] Figure 10This is a schematic diagram illustrating the correspondence between the original classification and the target classification in one embodiment;
[0042] Figure 11 This is a schematic diagram illustrating the correspondence between the original classification and the target classification in another embodiment;
[0043] Figure 12 is a schematic diagram of the pre-classification display results displayed by the film reader in one embodiment;
[0044] Figure 13 This is a block diagram of the module structure of a film reader in one embodiment;
[0045] Figure 14 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0046] The following description will be detailed with reference to embodiments, examples of which are illustrated in the accompanying drawings. Numerous specific details are shown in the following detailed description to provide a full understanding of the various described embodiments. However, it should be understood by those skilled in the art that the various described embodiments can be implemented without these specific details. In other embodiments, well-known methods, processes, components, circuits, and networks are not described in detail to avoid unnecessarily obscuring the embodiments.
[0047] It will also be understood that, although in some cases the terms “first,” “second,” etc., are used herein to describe various elements or other objects, these elements or objects should not be limited by these terms. These terms are only used to distinguish one element / object from another.
[0048] The terminology used in the description of the various embodiments herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the description of the various embodiments and in the appended claims, the singular forms “a” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and / or” as used herein refers to and covers any and all possible combinations of one or more of the associated listed items. It should also be understood that the term “comprising” as used in this specification means the presence of the stated features, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, steps, operations, elements, and / or components.
[0049] As used herein, depending on the context, the term "if" can be interpreted as "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrases "if it is determined..." or "if the stated condition or event is detected" can be interpreted as "when it is determined," "in response to determination," "when the stated condition or event is detected," or "in response to the stated condition or event."
[0050] Figure 1 This invention describes a medical device according to certain embodiments, specifically a film reader. Device 10 includes a control platform 102, a memory 104, a power system 106, an input / output (I / O) system 108, an external port 122, an audio circuit 124, a monitoring circuit 126, a protection circuit 128, and a power drive circuit 130. These components communicate via one or more communication buses or signal lines 110. The control platform 102 includes a processor 150 and a peripheral device interface 152.
[0051] Device 10 can be any device capable of image recognition of sample images obtained by photographing samples through a microscope and automatically classifying identified cells, such as a slide reader. It should be understood that device 10 is merely an example, and medical devices may have more or fewer components than illustrated, or different component configurations. (Accompanying...) Figure 1 The various components can be implemented using hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0052] Memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. In some embodiments, memory 104 may also include memory remote from one or more processors / controllers 150, such as network-attached memory accessed via RF circuitry 120 or external port 122 and a communication network (not shown), said communication network may be the Internet, one or more intranets, local area networks (LANs), wide area networks (WLANs), storage area networks (SANs), etc., or suitable combinations thereof. Processor 150 may control access to memory 104 by components of device 10 other than peripheral interface 152.
[0053] Input / output (I / O) system 108 provides an interface between the input / output peripherals and peripheral device interface 152 of device 10. The input / output peripherals may be a display system 160, a position sensor 164, and other input / control devices 162. The I / O system 108 may include a display controller 140, a position sensor controller 144, and one or more input controllers 142. One or more controllers in the I / O system 108 receive / send electrical signals from / to the input / output peripherals. Specifically, one or more input controllers 142 receive / send electrical signals from / to other input / control devices 162. These other input / control devices 162 may include physical buttons (e.g., touch buttons, etc.).
[0054] In some embodiments, the display system 160 may include a display screen that provides an output interface between the device 10 and the user, displaying electronic documents on the screen via a specific transmission device and then reflecting them to the human eye; the display screen may include a cathode ray tube display (CRT), a plasma display panel (PDP), or a liquid crystal display (LCD), etc. In some embodiments, the display system 160 may include a touchscreen that provides an input / output interface between the device 10 and the user; the touchscreen may include a resistive screen, a surface acoustic wave screen, an infrared touchscreen, an optical touchscreen, a capacitive screen, or a nanofilm, etc., which is a sensing display device capable of receiving input signals such as touch. Both the display screen and the touchscreen can display visual output to the user. Visual output optionally includes graphics, text, charts, video, and combinations thereof. Some or all of the visual output may correspond to a user interface object, which will be described in more detail herein.
[0055] In some embodiments, the software components include an operating system 170, a communication module (or instruction set) 172, a touch module (or instruction set) 174, a haptic feedback module (or instruction set) 176, a motion module (or instruction set) 178, a position module (or instruction set) 180, a graphics module (or instruction set) 182, a text input module (or instruction set) 190, a device / global internal state (or instruction set) 192, and one or more applications (instruction sets) 194.
[0056] In some embodiments, the touch module 174 may selectively detect contact with the display system 160 or other touch-sensitive devices (e.g., touch buttons, touchpads). For example, the touch module 174 detects contact with the display system 160 together with the display controller 140. The touch module 174 includes various software components for performing various operations associated with detecting contact with the display system 160 (which may be a finger or stylus, etc.). These operations include determining whether a contact has occurred (e.g., detecting the duration of a finger press), determining the intensity of the contact (e.g., the force or pressure of the contact), determining whether the contact has moved (e.g., detecting one or more finger drag events), tracking movement on the display screen, and determining whether the contact has stopped (e.g., detecting the duration of a finger lift or the contact has ended). The operation of determining the movement of the contact point may include determining the rate (amplitude), speed (amplitude and direction), and / or acceleration (including amplitude and / or direction) of the contact point. These operations may be applied to single-point contact or simultaneous multi-point contact. In some embodiments, the touch module 174 detects contact with other touch devices together with the display controller 140.
[0057] The text input module 190 provides various software components for inputting text in one or more applications. Specifically, it can be used to input various parameters, including custom cell classification names, etc.
[0058] In some embodiments, memory 104 stores at least one application 194, which may include an application 194-1 for determining cell classification rules. Based on the application 194-1 for determining cell classification rules, user-defined cell classification rules for the image reader can be obtained by incorporating user input. Cells can be pre-classified based on the pre-classification rules originally included with the image reader. The pre-classified cells can be further categorized using the user-defined cell classification rules. Furthermore, cells can be pre-classified using the user-defined cell classification rules.
[0059] refer to Figure 2 As shown, traditional slide readers first photograph the sample using a microscope to obtain an image, then perform image recognition to identify the corresponding cell types. During automatic identification, factors such as inappropriate threshold settings for sample morphological characteristics (cell size, nucleus morphology, etc.), sample preparation (slide pushing) procedures, and laboratory habits often influence the cell classification results automatically generated by the slide reader. In many cases, the classification results obtained by the automatic reader are not the final desired results, often requiring manual secondary classification adjustments. (Reference) Figure 3As shown, in traditional classification adjustment methods, cell classification can only be directly converted to a fixed classification type based on the options provided by the system (pre-set options when the image reader is manufactured). For example, changing the cell classification from metamyelocytes to segmented neutrophils. However, the system's options may not be the final classification result desired by the user. That is, the system's options may not include the classification type the user needs. For example, the image reader automatically identifies metamyelocytes as the classification, but the user needs to change it to segmented neutrophils. Figure 2 The provided options do not include this classification option, resulting in omissions in the classification and failing to meet the personalized needs of cell classification.
[0060] like Figure 4 As shown, a cell classification rule determination method for a slide reader in one embodiment includes the following steps S401 to S404.
[0061] Step S401: Generate the interface for setting cell classification rules.
[0062] The cell classification rule setting interface refers to the interface where users can set custom cell classification rules. This interface can be triggered to generate the cell classification rule under various possible circumstances.
[0063] In one embodiment, the trigger could be triggered when the user finds that the pre-classification result obtained by the image reader is not the desired cell classification and needs to reclassify the pre-classification result. It can be understood that the obtained pre-classification result refers to the cell category to which the cells to be classified belong. A relevant trigger control can be set on the pre-classification display interface where the image reader obtains the pre-classification result. Alternatively, the trigger could be triggered when, after obtaining the pre-classification result, the user finds that the obtained pre-classification result is not the desired cell classification, but when selecting cell classification rules from the system's existing cell classification rules, no suitable cell classification rule is available. A relevant trigger control can be set on the rule display interface where the user can select rules.
[0064] In one embodiment, there can be only one trigger control, and it can be set anywhere on the pre-classification display interface, such as around the displayed pre-classification results, or below the pre-classification results displayed on the screen. For example, the trigger control can be set on the pre-classification display interface at a position corresponding to the obtained pre-classification results. In this case, if the image reader obtains multiple pre-classification results, the number of trigger controls can be the same as the number of cell categories in the obtained pre-classification results, and one trigger control corresponds to one cell category of a pre-classification result.
[0065] Users can tap or click the trigger control. Upon detecting a tap, a settings interface for cell classification rules is generated. This settings interface can be different from the pre-classification display interface and can float on top of it.
[0066] In one embodiment, the setting can be triggered whenever a user needs to configure cell classification rules. For example, based on historical pre-classification results from the image reader, the user might find that a certain classification result is consistently inaccurate, thus requiring the cells to be reclassified. Or, after a pre-classification result, the user might find it inaccurate, but only after a period of time will cell classification rules be set to reclassify the cells. In this case, the user can access the cell classification rule setting interface through the relevant interface of the image reader classification system. For example, in the main interface or a sub-interface of the image reader system, there might be a "Custom Cell Classification Rules" control or option. The user can click on this "Custom Cell Classification Rules" control or option to trigger the image reader's cell classification rule generation and display setting interface. It is understood that the text displayed by this control or option can be anything other than "Custom Cell Classification Rules," as long as it clearly indicates to the user that the control or option allows for customization of cell classification rules.
[0067] Step S402: Receive instructions for setting cell classification rules.
[0068] The received cell classification rule setting instruction is used to indicate the start of setting a custom cell classification rule. This cell classification rule setting instruction can be received on the cell classification rule setting interface or before the cell classification rule setting interface is generated; for example, the cell classification rule setting interface can be generated based on this cell classification rule setting instruction.
[0069] When the image reader establishes cell classification rules during pre-classification of cells, the operation command received through the trigger control on the pre-classification display interface can be considered the setting command for that cell classification rule. Alternatively, a relevant trigger control can be set on the cell classification rule setting interface to receive the setting command for that cell classification rule. If there are no usable cell classification rules among the existing system cell classification rules (including the system's original built-in cell classification rules and user-defined cell classification rules), a relevant trigger control can be set on the cell classification rule selection interface to receive the setting command for that cell classification rule. When the image reader establishes cell classification rules after a period of time following pre-classification of cells, a relevant trigger control can be set on the cell classification rule setting interface to receive the setting command for that cell classification rule.
[0070] Step S403: Obtain the original cell classification.
[0071] The original classification of the cells can be the classification result obtained by the image reader according to a preset classification method, or it can be the result of the user reclassifying the pre-classified cells before determining the cell classification rules of this embodiment. The preset classification method of the image reader is a pre-set method for automatically classifying cells, such as a classification method pre-set at the factory.
[0072] In some embodiments, after displaying the cell classification rule setting interface, the original classification can be obtained by further combining user operations. For example, after displaying the optional original classification in the cell classification rule setting interface, the original classification of the cells can be obtained by combining user operations. When the cell classification rules are established during the pre-classification of cells by the image reader, the optional original classification can be the classification result obtained by the image reader during the current pre-classification. When the cell classification rules are established after a period of time following the pre-classification of cells by the image reader, the optional original classification can be the classification result obtained by the image reader during the last pre-classification of cells, or the classification result obtained by the image reader during the most recent N (N > 2) pre-classifications.
[0073] When displaying optional primary classifications on the cell classification rule setting interface, in some embodiments, an optional primary cell classification list may be created, including list items corresponding to each cell classification in the optional primary classifications; and the optional primary cell classification list may be displayed on the cell classification rule setting interface. In other embodiments, a corresponding graphic identifier may be created for each optional primary classification, with one graphic identifier uniquely corresponding to one optional primary classification. The graphic identifiers corresponding to each cell classification in the optional primary classifications are obtained, and the graphic identifiers corresponding to each cell classification in the optional primary classifications are displayed on the cell classification rule setting interface.
[0074] After displaying the optional primary classifications on the cell classification rule setting interface, the primary classifications of cells can be obtained in conjunction with the user's operations.
[0075] In some embodiments, on the cell classification rule setting interface, there can be a selection control that corresponds one-to-one with each cell classification in the optional original classification; wherein, the selection control corresponds one-to-one with the list item or graphic icon of the corresponding original classification, and the user can issue a selection command by clicking the selection control. When the selection command is received through the selection control, the cell classification corresponding to the selection control is used as the original classification of the obtained cells, as shown in Figure 8.
[0076] In some embodiments, the cell classification rule setting interface includes an original classification display area. Users can determine the original classification of the acquired cells by dragging a list item or graphic icon from the selected optional original classifications to this display area. In this case, the cell category corresponding to the list item or graphic icon dragged to the original classification display area can be used as the original classification of the acquired cells, as shown in Figure 9. In some embodiments, the cell classification rule setting interface may include information prompts related to selecting the original classification by dragging.
[0077] In some embodiments, all list items or graphic icons of the optional original categories can be displayed in the original category display area. Simultaneously, a target category display area is set on the cell classification rule setting interface, and each list item or graphic icon of an optional original category corresponds to a sub-area within the target category display area. After the user determines the first target category in the target category area (e.g., by selecting or dragging using a selection control), the cell category of the list item or graphic icon in the original category display area corresponding to the target category display area containing the first target category is used as the original category of the acquired cells. That is, the original category of the acquired cells can be determined after obtaining the first target category corresponding to that original category; the steps of obtaining the original category of the cells and obtaining the first target category corresponding to the original category can be performed in any order.
[0078] When the image reader pre-classifies cells and establishes cell classification rules, a trigger control can be set on the pre-classification display interface that corresponds one-to-one with the pre-classification results output by the image reader. When the cell classification rule setting interface is generated by clicking the trigger control, the pre-classification result corresponding to the trigger control can be directly used as the original classification of the acquired cells. If the image reader outputs only one pre-classification result, that result can be directly used as the original classification of the acquired cells.
[0079] Step S404: Obtain the first target category corresponding to the original category. The first target category is set by the user on the first interface, which is the setting interface or an interface different from the setting interface.
[0080] When obtaining the first target classification, it can be obtained from the cell classification rule setting interface or from an interface different from the cell classification rule setting interface; in this embodiment, they are collectively referred to as the first interface. Alternatively, the optional target classifications can be displayed on the first interface, and then obtained in conjunction with user operations. Optional target classifications may include classification items preset by the image reader (cell classifications pre-set by the image reader, such as cell classifications that the image reader can recognize at the factory), and cell classifications that the user has customized and input during historical use of the image reader.
[0081] When displaying the optional target categories on the first interface, one approach is to create an optional target category list, including list items corresponding to each cell category within the optional target categories, and then display this list on the first interface. Alternatively, a corresponding graphic identifier can be created for each optional target category, with each graphic identifier uniquely corresponding to one optional target category. The graphic identifiers corresponding to each cell category within the optional target categories are then retrieved and displayed on the first interface. After displaying the optional target categories on the first interface, the first target category of the cells can be obtained based on user actions. Various possible operations can be used to obtain the first target category of the cells. The obtained first target category can be selected from the categories preset by the image reader or from categories previously entered by the user.
[0082] In some embodiments, the first interface may be provided with selection controls, such as selection boxes, that correspond one-to-one with each cell category in the selectable target categories. The selection control corresponds one-to-one with the list item or image icon of the corresponding cell category. The user can issue a selection command by clicking the selection control. When the selection command is received through the selection control, the cell category corresponding to the selection control is taken as the first target category set by the user, as shown in Figure 8.
[0083] In some embodiments, the first target category can be obtained by the user dragging the cell to a preset position. This preset position can be a target category display area on the first interface designated for placing the first target category. When the user drags a selected cell category (such as a list item or graphic icon of a cell category) to this preset position, the dragged cell category is taken as the first target category. That is, the cell category corresponding to the drag operation where the user drags the cell to the predetermined position is taken as the first target category set by the user, as shown in Figure 9. The first interface may include relevant information prompts indicating how to select the first target category by dragging.
[0084] In some embodiments, the first target category edited by the user at a preset location may be obtained. This preset location may be a designated area on the first interface for editing the first target category. The user edits the first target category at the preset location, for example, by entering a custom cell category. The predetermined location on the first interface may have a custom input control or input box, through which the user can input the first target category, as shown in Figures 8 and 9.
[0085] In some embodiments, before obtaining the first target category corresponding to the original category, the method may further include: generating a recommended target category for the user on the first interface; wherein the recommended target category includes cell categories obtained by analyzing historical data of cell classification adjustments made by the user. The analysis can be performed in any possible manner, such as using a preset model. In this case, the optional target categories may include the recommended target category and the classification items preset by the image reader. When displaying the optional target categories, the recommended target category may be displayed first, for example, when displayed as a list item or graphical identifier, the recommended target category is displayed first; or, for example, a corresponding recommendation identifier is displayed in the position corresponding to the recommended target category. Historical classification information corresponding to the recommended target category may also be displayed for the user to select.
[0086] Step S405: Based on the original classification and the first target classification, obtain a first cell classification rule, which is used to classify cells from the original classification to the first target classification.
[0087] In some embodiments, obtaining a first cell classification rule based on the original classification and the first target classification may include steps S4051 to S4052.
[0088] Step S4051: Obtain the correspondence between the original classification and the first target classification established by the user on the setting interface, so as to obtain the first cell classification rule.
[0089] Among them, obtaining the correspondence between the original category and the first target category established by the user on the settings interface can be done manually by the user or determined based on the built-in correspondence establishment rules.
[0090] For example, after obtaining the original category dragged to the original category area and the first target category dragged to the target category area, a correspondence between the original category and the first target category can be established based on their positional correspondence. In some embodiments, a "OK" control or similar control can be displayed at the corresponding position in the target category area. After receiving an operation instruction through this control, the correspondence between the original category and the first target category can be established.
[0091] For example, after obtaining the original category and the first target category, the correspondence between the original category and the first target category could be established based on the user's manual operation of associating the original category with the first target category. This could involve manually setting a connection line between the original category and the first target category, or other operations.
[0092] The established correspondence between the original classification and the first target classification can include a correspondence between one first target classification and one original classification, or a correspondence between one first target classification and two or more original classifications. In other words, multiple different original classifications can be mapped to the same first target classification.
[0093] Step S4052: Display the correspondence between the original category and the first target category on the display interface, wherein the display interface is the setting interface or an interface different from the setting interface.
[0094] In one embodiment, when displaying the correspondence between the original category and the first target category on the display interface, the text portion of the correspondence can only include the original category and the first target category. That is, the text portion only includes the text content of the original category and the first target category. For example, if the original category is category A and the first target category is category B, the text portion of the correspondence will only contain A and B, and will not contain any other text content. This achieves a concise display of the correspondence.
[0095] In some embodiments, displaying the correspondence between the original category and the first target category on the display interface further includes: providing an original category display area and a target category display area on the display interface; wherein the text content of the original category is displayed in the original category display area, and the text content of the first target category is displayed in the target category display area.
[0096] In some embodiments, displaying the correspondence between the original category and the first target category on the display interface further includes: displaying the correspondence between the original category and the first target category through a table, wherein the original category is displayed in a cell of the original category display area in the table, and the first target category is displayed in a cell of the target category display area in the table.
[0097] In some embodiments, displaying the correspondence between the original category and the first target category on the display interface further includes: connecting the text content of the original category and the text content of the first target category via an icon. The icon can be any icon that can be displayed, such as a connecting arrow, or a simple graphic symbol to indicate the correspondence between the text content of the original category and the text content of the first target category.
[0098] The cell classification rule determination method of the slide reader in one embodiment can further obtain the conversion conditions for classifying cells from their original classification to a first target classification. Specifically, obtaining the conversion conditions may include:
[0099] The conversion conditions are obtained and set by the user on a second interface, which may be the setting interface or an interface different from the setting interface. The conversion conditions are used to classify the cells from the original classification to the first target classification when the cells meet the conversion conditions.
[0100] The conversion conditions include cell parameter conditions, which may specifically include at least one of cell size conditions that limit cell size and cell shape conditions that limit cell shape.
[0101] The conversion condition can be set at any time after the original and target classifications have been determined. For example, it can be set after the original and first target classifications have been obtained, but before the first cell classification rule has been obtained. In this case, when the first cell classification rule is obtained, the obtained first cell classification rule also includes the acquired conversion condition.
[0102] For example, in some embodiments, after obtaining the original classification and the first cell classification, a conversion condition setting control can be set at the position corresponding to the original classification and the first cell classification, and the conversion condition for converting the original classification to the first target classification can be obtained through the conversion condition setting control. For example, when a conversion condition setting instruction is received through the conversion condition setting control, a parameter setting interface is obtained and displayed. The parameter setting interface includes a cell size condition setting control and a cell morphology condition setting control; the cell size information conversion condition is obtained through the cell size condition setting control; the cell morphology information conversion condition is obtained through the cell morphology condition setting control, such as... Figure 10 As shown.
[0103] For example, in some embodiments, after obtaining and displaying the first cell classification rule, a conversion condition setting control can be displayed at the position corresponding to the first cell classification rule. The conversion condition setting control can then be used to obtain the conversion condition for converting the original classification to the first target classification. After obtaining the conversion condition, the generated first cell classification rule can be updated using this conversion condition to obtain an updated first cell classification rule. The updated first cell classification rule includes the original classification, the first target classification, and the conversion condition for classifying the cells from the original classification to the first target classification.
[0104] When the cell classification rules are established during the pre-classification of cells by the slide reader, the first cell classification rule obtained above can be used to directly reclassify the current pre-classification result of the slide reader to the first cell classification, thereby obtaining the cell classification result of the slide reader.
[0105] On the other hand, the first cell classification rule obtained above can be stored in the slide reader. Furthermore, after the current slide reading process of the slide reader ends, the current classification of the classified cells can be obtained; according to the first cell classification rule, the classification of the classified cells currently classified as the original classification can be updated to the first target classification. Therefore, based on the established first cell classification rule, the classification of cells already classified before the establishment of this first cell classification rule can be updated.
[0106] On the other hand, after the obtained first cell classification rule is stored in the slide reader, it can also be used by the slide reader for subsequent classification. Therefore, after obtaining the first cell classification rule, it can further include:
[0107] The first cell classification rule is stored in the slide reader for subsequent pre-classification of cells based on the first cell classification rule.
[0108] Therefore, when the image reader pre-classifies cells, it can combine the reader's preset classification method with a custom first cell classification rule. For example, after obtaining a pre-classification result through the reader's preset classification method, if a first cell classification rule exists that corresponds to the pre-classification result (and if the first cell classification rule has conversion conditions, the cells corresponding to the pre-classification result also meet those conditions), then the cells will be reclassified to that first cell classification.
[0109] After obtaining the first cell classification rule as described above, it may further include:
[0110] After the image reader classifies the cells according to the first cell classification rule and assigns them to the first target classification, it obtains the second target classification of the cells. This second target classification is set by the user on a third interface, which may be the first interface or a different interface. The method for obtaining the second target classification of the cells can be the same as the method for obtaining the first target classification.
[0111] Based on the original classification and the second target classification, a second cell classification rule is obtained, which is used to classify cells from the first target classification or the original classification to the second target classification.
[0112] The obtained second cell classification rule can be used to reclassify cells into the second cell classification after they have been classified into the original classification or the first target classification. Therefore, based on this second cell classification rule, a chain of progressive cell classification rules can be obtained, allowing cells to be directly reclassified into the second cell classification when they are classified into the original classification.
[0113] The method for obtaining the second cell classification rule can be the same as that for obtaining the first cell classification rule. Specifically, when obtaining the second cell classification rule, the first target classification is matched with the original classification, and the second target classification is matched with the first target classification of the first cell classification rule. This can be done in the same way as obtaining the first cell classification rule.
[0114] After obtaining the second target classification, the conversion conditions for changing the cell classification from the first target classification to the second target classification can be further obtained. The method for obtaining the conversion conditions can be the same as the method for obtaining the conversion conditions from the original classification to the first target classification described above. Specifically, after obtaining the conversion conditions, the second cell classification rule can be obtained by combining the original classification, the first target classification, the second target classification, and the conversion conditions. Alternatively, the conversion conditions can be obtained after obtaining the second cell classification rule, and the second cell classification rule can be updated using the conversion conditions to obtain an updated second cell classification rule.
[0115] After obtaining the second cell classification rule, the second cell classification rule can be stored in the slide reader for subsequent pre-classification of cells by the slide reader according to the second cell classification rule.
[0116] In this process, after storing the obtained second cell classification rule into the slide reader, the current classification of cells already classified by the slide reader can be obtained. Based on the second cell classification rule, the classification of cells currently classified as the original classification is updated to the second target classification. Thus, the classification of cells already classified before the establishment of the established second cell classification rule can be updated based on this rule.
[0117] refer to Figure 5 As shown, in one embodiment, the method for determining cell classification rules in a slide reader can directly obtain a chain of cell classification rules during the process of determining cell classification rules. Specifically, the method in this embodiment may include steps S501 to S506.
[0118] Step S501: Generate the interface for setting cell classification rules. The method for generating the interface for setting cell classification rules can be the same as in step S401 above.
[0119] Step S502: Receive instructions for setting cell classification rules. The method for receiving these instructions can be the same as in step S402 above.
[0120] Step S503: Obtain the original cell classification. The method for obtaining the original cell classification can be the same as that in step S403 above.
[0121] Step S504: Obtain the first target category corresponding to the original category. The first target category is set by the user on a first interface, which may be the setting interface or an interface different from the setting interface. The method for obtaining the first target category can be the same as in step S404 above.
[0122] Step S505: Obtain the second target category corresponding to the first target category. The second target category is set by the user on a third interface, which may be the first interface or an interface different from the first interface. The method for obtaining the second target category can be the same as the method for obtaining the first target cell category in step S404 above.
[0123] Step S506: Based on the original classification and the second target classification, obtain a second cell classification rule, which is used to classify cells from the original classification to the second target classification.
[0124] The method for obtaining the second cell classification rule can be the same as the method for obtaining the first cell classification rule in the above embodiments, and will not be described in detail here. Therefore, based on this second cell classification rule, a chain-like, progressive cell classification rule can be obtained. When a cell is classified as its original classification, it can be directly reclassified as its second cell classification based on this second cell classification rule.
[0125] After obtaining the second cell classification rule, it can be further displayed on the display interface. In some embodiments, the specific method of displaying the second cell classification rule on the display interface can be the same as the method of displaying the first cell classification rule described above.
[0126] In some embodiments, when displaying the second cell classification rule, the correspondence between the original classification, the first target classification, and the second target classification can be displayed on the display interface through a chain of combined icons, wherein the display interface is the third interface or an interface different from the third interface.
[0127] Accordingly, the cell classification rule determination method of the slide reader in one embodiment may further include the step of: displaying the correspondence between the original classification, the first target classification and the second target classification on a display interface through a chain of combined icons, wherein the display interface is the third interface or an interface different from the third interface.
[0128] Furthermore, after obtaining the second cell classification rule, the second cell classification rule can be stored in the slide reader for subsequent pre-classification of cells by the slide reader based on the second cell classification rule.
[0129] On the other hand, after the second cell classification rule is stored in the slide reader, the current classification of the classified cells can be obtained after the current slide reading process of the slide reader ends; according to the first cell classification rule, the classification of the classified cells currently classified as the original classification is updated to the second target classification. Thus, the classification of cells that were classified before the establishment of the established second cell classification rule can be updated based on the established second cell classification rule.
[0130] In some embodiments of this application, a cell classification method for a slide reader is also provided, which is used in the process of the slide reader classifying cells. For example... Figure 6 As shown, it may include the following steps S601 to S606.
[0131] Step S601: Receive instructions to reclassify cells.
[0132] Instructions for reclassifying cells can be received in various ways. For example, a trigger control could be provided on the pre-classification display interface after the slide reader has performed pre-classification. This trigger control then receives the instructions for reclassifying cells. As mentioned above, the pre-classification display interface can have only one trigger control, or it can have the same number of trigger controls as the number of categories in the pre-classification results. If no usable cell classification rules exist in the system's existing cell classification rules, a trigger control can be provided on the cell classification rule selection interface to receive instructions for reclassifying cells.
[0133] Step S602: Obtain the original classification of the cells to be reclassified.
[0134] The method for obtaining the original classification of cells to be reclassified can be the same as the method for obtaining the original classification in step S403 above.
[0135] Step S603: Obtain the cell classification rule corresponding to the original classification. The cell classification rule includes the original classification and the corresponding target classification. The cell classification rule can be determined using the cell classification rule determination method of the slide reader in any of the embodiments described above.
[0136] In some embodiments, the cell classification rule determination method of the image reader described in any of the above embodiments can be used in conjunction with user operations. Cell classification rules corresponding to the original classification are generated in real time. In some embodiments, the cell classification rule corresponding to the original classification can also be obtained from a stored set of cell classification rules determined using the methods described in the above embodiments. The obtained cell classification rule may be either the first cell classification rule or the second cell classification rule determined above.
[0137] Step S604: Determine the target classification corresponding to the original classification according to the cell classification rules.
[0138] Specifically, when the acquired cell classification rule is a first cell classification rule, this first cell classification rule includes the original classification and a first target classification. In this case, the determined target classification corresponding to the original classification can be the first target classification in the cell classification rule. When the acquired cell classification rule is a second cell classification rule, since the second cell classification rule includes the original classification, the first target classification, and the second target classification, the determined target classification corresponding to the original classification can be the second target classification in the cell classification rule.
[0139] It should be understood that when the acquired cell classification rule also includes conversion conditions, the target classification should be determined in conjunction with these conversion conditions. For example, when the acquired cell classification rule is a first cell classification rule, this first cell classification rule includes the original classification, the first target classification, and a first conversion condition for converting the cell from the original classification to the first target classification. Therefore, if the cell meets the first conversion condition, the target classification corresponding to the original classification is the first target classification in the cell classification rule. When the acquired cell classification rule is a second cell classification rule, if there is a first conversion condition for converting from the original classification to the first target classification and a second conversion condition for converting from the first target classification to the second target classification, then if the cell meets both the first and second conversion conditions, the target classification corresponding to the original classification is the second target classification in the cell classification rule. If the cell meets the first conversion condition but not the second conversion condition, the target classification corresponding to the original classification is the first target classification in the cell classification rule.
[0140] Step S605: Update the classification of the cells to be reclassified to the target classification.
[0141] Updating the classification of cells to be reclassified to the target classification means reclassifying the cells from their original classification to the target classification determined above.
[0142] In some embodiments, after updating the classification of the cells to be reclassified to the target classification, the step may further be included:
[0143] Generate a reclassification result display interface; display the correspondence between the original classification and the target classification on the reclassification result display interface.
[0144] When displaying the correspondence between the original classification and the target classification on the reclassification result display interface, the same method as when displaying the correspondence between the original classification and the first target classification can be used.
[0145] In some embodiments, after updating the classification of the cells to be reclassified to the target classification, the step may further be included:
[0146] The cells to be reclassified are reclassified a second time to assign them to a new target classification, thus obtaining the secondary reclassification result.
[0147] Therefore, if the target classification obtained based on the cell classification rules mentioned above is not the classification desired by the user, the cells to be reclassified can be further reclassified to obtain a new target classification to be reclassified.
[0148] The process of performing a secondary reclassification on the cells to be reclassified, so as to classify the cells to be reclassified into a new target classification and obtain the secondary reclassification result, may include steps S6061 to S6063.
[0149] Step S6061: Generate a secondary reclassification interface, which displays the cells to be reclassified that have completed the reclassification and their classification results.
[0150] The secondary reclassification interface can be the same as or different from the interface used for reclassifying the original classification. This interface displays the cells to be reclassified and their classification results. It should be understood that the classification results here can refer to the target classification updated in step S806.
[0151] Step S6062: Obtain a new target category. The new target category is the target category set by the user in the secondary reclassification interface. Specifically, it can be the target category selected by the user in the secondary reclassification interface, or it can be the target category created by the user in the secondary reclassification interface.
[0152] The method for obtaining a new target classification can be the same as the method for obtaining the first target classification described above.
[0153] Step S6063: Classify the cells to be reclassified into the new target classification to obtain the secondary reclassification result.
[0154] In this context, classifying cells to be reclassified into a new target classification means reclassifying the cells from their original classification to the new target classification determined above, thereby achieving multiple reclassifications of the cells.
[0155] In some embodiments, after updating the classification of the cells to be reclassified to the target classification, the method further includes the step of: when the image reader performs pre-classification of cells through image recognition, it pre-classifies the cells according to the cell classification rules.
[0156] Therefore, when cells are reclassified using the aforementioned cell classification rules, these rules can be further stored. This allows the image reader to preclassify cells based on its preset classification method and the cell classification rules when performing preclassification through identification. In other words, during the subsequent cell classification process, the image reader can classify cells into the target category without user intervention, thereby improving the efficiency of cell classification.
[0157] Figure 7 This is a flowchart illustrating a cell classification method for a slide reader in one embodiment, including steps S701 to S703.
[0158] Step S701: Obtain instructions to pre-classify cells.
[0159] This could be achieved by receiving the instruction to pre-classify cells when pre-classification is required.
[0160] Step S702: Obtain cell classification rules, wherein the cell classification rules may be determined using the cell classification rule determination method described in the embodiments above.
[0161] Step S703: Pre-classify the cells according to the preset classification method and cell classification rules of the slide reader.
[0162] Specifically, when there are no conditions for converting cell classification rules, pre-classifying cells according to the preset classification method and cell classification rules of the slide reader can include:
[0163] The classification results are obtained by classifying the film viewer according to its preset classification method.
[0164] If a cell classification rule corresponding to the classification result exists, the corresponding cell classification is directly assigned from the classification result to the target classification of the cell classification rule to obtain the final pre-classification result.
[0165] Specifically, if the corresponding cell classification rule is a first cell classification rule, which includes the original classification and a first target classification, then the final pre-classification result obtained is the first target classification in the cell classification rule. If the corresponding cell classification rule is a second cell classification rule, which includes the original classification, the first target classification, and the second target classification, then the final pre-classification result obtained is the second target classification in the cell classification rule.
[0166] On the other hand, when the cell classification rules include determining conversion conditions, pre-classifying cells according to the preset classification method of the image reader and the cell classification rules may include: when a cell meets the conversion condition of converting the cell classification from the original classification of the cell classification rules to the target classification of the cell classification rules, pre-classifying the cell according to the preset classification method of the image reader and the cell classification rules.
[0167] In one specific embodiment, it may include: when the cell classification rules include determining conversion conditions, pre-classifying cells according to the preset classification method of the slide reader and the cell classification rules, which may include:
[0168] First, the cells are pre-classified according to the preset classification method of the slide reader to obtain the preliminary pre-classification results.
[0169] Then, it is determined whether the cell meets the conversion conditions for changing the cell classification from the original classification of the cell classification rule to the target classification of the cell classification rule. Specifically, when the obtained cell classification rule is a first cell classification rule, the first cell classification rule includes the original classification, the first target classification, and the first conversion condition for changing the cell classification from the original classification to the first target classification. In this case, it is determined whether the cell meets the first conversion condition. When the obtained cell classification rule is a second cell classification rule, the second cell classification rule includes the original classification, the first target classification, the second target classification, and the first conversion condition for changing the cell classification from the original classification to the first target classification and / or the second conversion condition for changing the cell classification from the first target classification to the second target classification. In this case, it is determined whether the cell meets the first conversion condition and the second conversion condition.
[0170] If a cell meets the conversion conditions, its classification is changed from the preliminary pre-classification result to the target classification according to the cell classification rules. Specifically, when the obtained cell classification rule is the first cell classification rule, if the cell meets the first conversion condition, the cell classification is changed from the preliminary pre-classification result to the first target classification, obtaining the final pre-classification result. When the obtained cell classification rule is the second cell classification rule, if the cell meets both the first and second conversion conditions, or if the first conversion condition does not exist but the cell meets the second conversion condition, the cell classification is changed from the preliminary pre-classification result to the second target classification, obtaining the final pre-classification result. If the cell meets the first conversion condition but does not meet the second conversion condition, the cell classification is changed from the preliminary pre-classification result to the first target classification, obtaining the final pre-classification result. It can be understood that when there are more progressively higher target classifications, the specific implementation principle is the same as in this method.
[0171] If the cells do not meet the conversion conditions, the preliminary pre-classification result will be used as the final pre-classification result.
[0172] In this case, as long as the cells meet the conversion conditions, the slide reader can pre-classify the cells according to the user-defined cell classification rules without requiring a user, thus improving the efficiency of cell pre-classification.
[0173] It should be understood that after obtaining pre-classification according to the cell classification method in this embodiment, if the obtained pre-classification result is not the cell classification that the user believes, the cells can be reclassified in the manner described above.
[0174] It should be understood that although the steps in the flowchart above are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the diagram may include multiple steps or stages, which are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps.
[0175] Based on the embodiments described above, the following examples illustrate several applications.
[0176] In one example, when a user needs to customize a cell classification rule for a film reader, they can issue a command through the relevant page on the film reader. For example, by clicking on a menu bar, submenu, or control located in a fixed position within the film reader system, the user can access the cell classification rule setting interface. This interface includes a primary classification display area, a target classification display area, and selectable cell classification items. These selectable items can be displayed as a list of items, as shown in Figure 8, or in other ways.
[0177] As shown in Figure 8, the settings interface displays optional original categories in the corresponding positions of the original category display area, and each optional original category has a corresponding selection control. Clicking this selection control allows the cell category corresponding to that control to be selected as the original category. Similarly, the target category display area displays optional target categories in the corresponding positions, and each optional target category has a corresponding selection control. Clicking this selection control allows the cell category corresponding to that control to be selected as the target category. A custom input control, such as a custom input control or input box, is provided at a predetermined position in the target category display area. When the desired category is not available on the settings interface, the target category can be manually entered using this custom input control.
[0178] As shown in Figure 9, the cell classification items in the image reader system can all be selected as primary and target classifications and displayed separately. When the primary classification is needed, the user can drag the selected cell classification to the primary classification display area. Similarly, when the target classification is needed, the user can drag the selected cell classification to the target classification display area.
[0179] In the settings interface, the original category display area can have multiple sub-areas, and the target category display area can also have multiple sub-areas. A sub-area of the original category display area corresponds to a sub-area of the target category display area. In some embodiments, different colors or lines can be displayed between adjacent sub-areas to clearly indicate the division of each sub-area to the user. Figure 8-B , Figure 9-B As shown.
[0180] In other embodiments, such as Figure 8-B , Figure 9-B As shown, the settings interface can also include areas for displaying settings of conversion conditions, with each area corresponding to a sub-area of the original category display area and a sub-area of the target category display area. In some embodiments, the control for setting the conversion conditions can always be displayed on the settings interface (e.g., ...). Figure 9-B (As shown), or it can be that the conversion condition setting control is not displayed before selecting the original category and the target category (such as...). Figure 9-C As shown in the image, after the original category and target category are selected, the corresponding setting controls (such as...) will be displayed in the positions corresponding to the selected original category and target category. Figure 9-D (As shown).
[0181] In some embodiments, the setting controls for conversion conditions may not be displayed on the setting interface. Instead, after the original category and target category are selected, the correspondence between the original category and target category is displayed, and then the conversion conditions are displayed on the display interface showing the original category and target category. In one embodiment, the method for displaying the correspondence between the original category and target category may be as follows: Figure 10 , Figure 11 As shown. Combined with Figure 10 , 11 As shown, the corresponding relationships can be displayed through a list or a chain of icons. When displaying the data, if necessary, the corresponding conversion conditions can be set by clicking the conversion condition setting control.
[0182] In one example, a user can pre-classify cells on a film reader and obtain the pre-classification results. If the obtained pre-classification results are not the cell results that the user expects, the user can start to customize a cell classification rule for the film reader.
[0183] Figure 12 shows an example of a film reader outputting pre-classification results. In some embodiments, this pre-classification result display interface may have only one trigger reclassification control (such as...). Figure 12-A As shown), this can trigger reclassification or customize cell classification rules. Alternatively, each preclassification result can have a corresponding control to trigger reclassification (such as...). Figure 12-B As shown in Figure 12, the reclassification control can be triggered to reclassify the corresponding preclassification results or to customize the cell classification rules. It should be understood that the purpose of Figure 12 is only to show the number of reclassification controls and their correspondence with the preclassification results. In the actual preclassification result display interface, there may be more display content, and the form and display position of the control that triggers reclassification may also be set differently.
[0184] refer to Figure 12-A As shown, when a user needs to reclassify a pre-classification result, they can issue a reclassification command by clicking the reclassification control, thereby entering the interface for selecting cell classification rules. This interface can display all available cell classification rules, or it can only display the cell classification rules corresponding to the pre-classification result. The user determines the original classification of the cells to be reclassified and selects the cell classification rule corresponding to the original classification. This cell classification rule can be a custom cell classification rule defined by the user in the past using the method described in the above embodiment. If the required cell classification rule exists, the user can select the corresponding cell classification rule to reclassify the cells. If the required cell classification rule does not exist, the user can enter the cell classification rule setting interface through controls such as "Custom Cell Classification Rule". The cell classification rule setting interface can be the same as those shown in Figures 8 and 9, or it can be other different setting interfaces.
[0185] refer to Figure 12-BAs shown, when a user needs to reclassify a pre-classified result, they can issue a reclassification command by clicking the reclassification control corresponding to that result, thereby entering the interface for selecting cell classification rules. This interface displays the cell classification rules corresponding to the cell classification result for which the reclassification control is located. These cell classification rules can be custom rules defined by the user in previous use using the methods described above. If the desired cell classification rule exists, the user can select the corresponding rule to reclassify the cells to be reclassified. If the desired cell classification rule does not exist, the user can access the cell classification rule setting interface through controls such as "Custom Cell Classification Rule". The cell classification rule setting interface can be the same as those shown in Figures 8 and 9, or it can be other different setting interfaces.
[0186] refer to Figure 13 As shown, one embodiment of this application provides a slide reader that classifies cells through image recognition, specifically including: a pre-classification module 1301, a rule definition module 1302, and a reclassification execution module 1303.
[0187] The pre-classification module 1301 pre-classifies cells according to the preset classification method of the image reader. This preset classification method refers to the image reader's pre-set method for recognizing and classifying images, such as the cell classification method built into the image reader at the factory.
[0188] The rule definition module 1302 is used for users to set cell classification rules. The method for setting cell classification rules can be the same as the method used by the slide reader in any of the above embodiments to determine cell classification rules.
[0189] The reclassification execution module 1303 reads the cell classification rules and reclassifies the cells according to the cell classification rules. When reclassifying cells, the reclassification execution module 1303 can use the cell classification method of the slide reader in any of the above embodiments.
[0190] refer to Figure 13 As shown, the image reader may further include an optimization and adjustment module 1304, which allows the user to perform a secondary reclassification of the reclassified cells. Therefore, after the reclassification execution module 1303 reclassifies the cells, a secondary reclassification can be performed to obtain the final cell classification result.
[0191] The pre-classification module 1301, rule definition module 1302, reclassification execution module 1303, and optimization adjustment module 1304 can be software modules, hardware modules, or a combination of both, and can be part of a computer device.
[0192] In one embodiment, the optimization and adjustment module 1304 is further configured to store and statistically analyze the results of the user's secondary reclassification, process the data using a preset model to generate a recommended target classification corresponding to the original classification, and send the recommended target classification to the rule definition module 1302. Thus, when the user formulates cell classification rules based on the rule definition module 1302, the recommended target classification provided by the optimization and adjustment module 1304 can be displayed during the user's cell classification rule setting process for selection.
[0193] In one embodiment, the rule definition module 1302 includes:
[0194] The interface generation module is used to generate the interface for setting cell classification rules.
[0195] The instruction receiving module is used to receive instructions for setting cell classification rules;
[0196] The original classification acquisition module is used to acquire the original classification of cells;
[0197] The first target category acquisition module is used to acquire the first target category corresponding to the original category. The first target category is set by the user on the first interface, which is the setting interface or an interface different from the setting interface.
[0198] The first cell classification rule acquisition module is used to acquire a first cell classification rule based on the original classification and the first target classification. The first cell classification rule is used to classify cells from the original classification to the first target classification.
[0199] In one embodiment, the rule definition module 1302 further includes:
[0200] A conversion condition acquisition module is used to acquire conversion conditions, which are set by the user on a second interface. The second interface is the setting interface or an interface different from the setting interface. The conversion conditions are used so that when a cell meets the conversion conditions, the slide reader will classify the cell from the original classification to the first target classification.
[0201] In one embodiment, the conversion conditions include cell parameter conditions, which include at least one of a cell size condition that defines cell size and a cell shape condition that defines cell shape.
[0202] In one embodiment, the first target category acquisition module is used to acquire the first target category selected by the user from the preset category items of the film reader.
[0203] In one embodiment, the first target category acquisition module is used to acquire the first target category that the user drags to a preset position.
[0204] In one embodiment, the first target category acquisition module is used to acquire the first target category edited by the user at a preset location.
[0205] In one embodiment, the rule definition module 1302 further includes a target classification recommendation module, used to generate a recommended target classification for the user on the first interface; the recommended target classification includes cell classifications obtained by analyzing historical data of user-adjusted cell classifications using a preset model.
[0206] In one embodiment, the first cell classification rule acquisition module acquires the correspondence between the original classification and the first target classification established by the user on the setting interface to obtain the first cell classification rule, and displays the correspondence between the original classification and the first target classification on the display interface, wherein the display interface is the setting interface or an interface different from the setting interface.
[0207] In one embodiment, when the first cell classification rule acquisition module displays the correspondence between the original classification and the first target classification on the display interface, the text portion of the correspondence between the original classification and the first target classification only includes the original classification and the first target classification.
[0208] In one embodiment, when the first cell classification rule acquisition module displays the correspondence between the original classification and the first target classification on the display interface, the display interface is provided with an original classification display area and a target classification display area; the text content of the original classification is displayed in the original classification display area, and the text content of the first target classification is displayed in the target classification display area.
[0209] In one embodiment, when the first cell classification rule acquisition module displays the correspondence between the original classification and the first target classification on the display interface, it displays the correspondence between the original classification and the first target classification through a table. The original classification is displayed in the cell of the original classification display area in the table, and the first target classification is displayed in the cell of the target classification display area in the table.
[0210] In one embodiment, when the first cell classification rule acquisition module displays the correspondence between the original classification and the first target classification on the display interface, it connects the text content of the original classification and the text content of the first target classification through an icon.
[0211] In one embodiment, the correspondence between the original classification and the first target classification includes: a correspondence between one first target classification and one original classification, or a correspondence between one first target classification and two or more original classifications.
[0212] In one embodiment, the original classification of cells obtained by the original classification acquisition module is generated after image recognition of cells using the preset classification method of the image reader.
[0213] In one embodiment, the rule definition module 1302 further includes a rule storage module, used to store the first cell classification rule in the slide reader, for the slide reader to pre-classify cells according to the first cell classification rule in a subsequent process.
[0214] In one embodiment, the rule definition module 1302 further includes a rule storage module, used to store the first cell classification rule in the slide reader, so as to update the classification of cells currently classified by the slide reader as the original classification to the first target classification. Thus, the classification of cells already classified before the establishment of the first cell classification rule can be updated based on the established first cell classification rule.
[0215] In one embodiment, the rule definition module 1302 further includes:
[0216] The second target classification acquisition module is used to acquire the second target classification of cells after the image reader classifies cells according to the first cell classification rule and classifies the cells into the first target classification. The second target classification is set by the user on a third interface, which is the first interface or an interface different from the first interface.
[0217] The second cell classification rule acquisition module is used to acquire the second cell classification rule based on the original classification and the second target classification. The second cell classification rule is used to classify cells from the first target classification or the original classification to the second target classification.
[0218] In one embodiment, the rule definition module 1302 includes:
[0219] The interface generation module is used to generate the interface for setting cell classification rules.
[0220] The instruction receiving module is used to receive instructions for setting cell classification rules;
[0221] The original classification acquisition module is used to acquire the original classification of cells;
[0222] The first target category acquisition module is used to acquire the first target category corresponding to the original category. The first target category is set by the user on the first interface, which is the setting interface or an interface different from the setting interface.
[0223] The second target category acquisition module is used to acquire a second target category corresponding to the first target category. The second target category is set by the user on a third interface, which is either the first interface or an interface different from the first interface.
[0224] The second cell classification rule acquisition module is used to acquire a second cell classification rule based on the original classification and the second target classification. The second cell classification rule is used to classify cells from the original classification to the second target classification.
[0225] In one embodiment, the rule definition module 1302 further includes:
[0226] The display module is used to display the correspondence between the original category, the first target category, and the second target category on the display interface through a chain of combined icons. The display interface is the third interface or an interface different from the third interface.
[0227] In one embodiment, the rule definition module 1302 further includes a rule storage module, used to store the second cell classification rule in the slide reader, so as to update the classification of cells currently classified by the slide reader as the original classification to the second target classification. Thus, using the established second cell classification rule, cells that were classified before the establishment of the second cell classification rule are reclassified.
[0228] In one embodiment, the reclassification execution module 1303 includes:
[0229] A reclassification instruction receiving module is used to receive instructions to reclassify cells, wherein the reclassification is to reclassify cells that have completed preclassification in order to correct the preclassification results;
[0230] The reclassification acquisition module is used to acquire the original classification of the cells to be reclassified, and the preclassification result includes the original classification of the cells to be reclassified;
[0231] The target classification acquisition module is used to acquire the cell classification rules corresponding to the original classification, and determine the target classification corresponding to the original classification based on the cell classification rules;
[0232] The classification update module is used to update the classification of the cells to be reclassified to the target classification.
[0233] In one embodiment, the reclassification execution module 1303 further includes:
[0234] The secondary reclassification module is used to perform secondary reclassification on the cells to be reclassified after updating the classification of the cells to be reclassified to the target classification, so as to classify the cells to be reclassified into the new target classification and obtain the secondary reclassification result.
[0235] In one embodiment, the secondary reclassification module includes:
[0236] A secondary reclassification interface generation module is used to generate a secondary reclassification interface, which displays the cells to be reclassified that have completed reclassification and their classification results.
[0237] The new category acquisition module is used to acquire a new target category. The new target category is set by the user in the secondary reclassification interface, or the new target category is a target category created by the user in the secondary reclassification interface.
[0238] The secondary classification module is used to classify the cells to be reclassified into the new target classification and obtain the secondary reclassification result.
[0239] In one embodiment, the reclassification execution module 1303 includes:
[0240] The reclassification display module is used to generate a reclassification result display interface; the reclassification result display interface displays the correspondence between the original classification and the target classification.
[0241] In one embodiment, after the reclassification execution module 1303 reads the cell classification rules and reclassifies the cells according to the cell classification rules, the preclassification module 1301 also preclassifies the cells according to the cell classification rules when preclassifying the cells through image recognition in the subsequent process.
[0242] In one embodiment, when the cell classification rule determination method includes determining conversion conditions, the pre-classification module 1301 determines whether the cell meets the conversion conditions for converting the cell from the original classification to the target classification when pre-classifying the cell through image recognition in the subsequent process; if the cell meets the conversion conditions, the cell is pre-classified according to the cell classification rules to obtain the original classification of the cell; if the cell does not meet the conversion conditions, the original classification of the cell is generated according to the preset classification method of the image reader.
[0243] For specific limitations regarding the rule definition module 1302, please refer to the limitations on the cell classification rule determination method for the film reader described above. For specific limitations regarding the reclassification execution module 1303, please refer to the limitations on the cell classification method for the film reader described above, and will not be repeated here. Each module in the rule definition module 1302 and the reclassification execution module 1303 can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0244] In one embodiment, a film reader is provided, the internal structure of which can be shown in the following diagram: Figure 14 As shown, the film reader includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a cell classification rule determination method or a cell classification method for the film reader. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the film reader's casing, or an external keyboard, touchpad, or mouse.
[0245] Those skilled in the art will understand that Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the film reader to which the present application is applied. A specific film reader may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0246] In one embodiment, a film reader is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0247] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0248] In one embodiment, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A device with program execution capabilities, such as a processor of a film reader, reads the computer instructions from the computer-readable storage medium, executes the computer instructions, and causes the device with program execution capabilities to perform the steps in the above-described method embodiments.
[0249] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. 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.
[0250] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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, they should be considered to be within the scope of this specification.
[0251] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A method for determining cell classification rules in a slide reader, characterized in that, include: The interface for setting cell classification rules; Receive instructions on setting cell classification rules; Obtain the original cell classification; Obtain a first target category corresponding to the original category. The first target category is set by the user on a first interface, which is the setting interface or an interface different from the setting interface. Based on the original classification and the first target classification, a first cell classification rule is obtained, which is used to classify the cell classification from the original classification to the first target classification. The method further includes: The conversion conditions are obtained and set by the user on a second interface, which may be the setting interface or an interface different from the setting interface. The conversion conditions are used to classify the cells from their original classification to the first target classification when the cells meet the conversion conditions.
2. The method for determining cell classification rules in a slide reader according to claim 1, characterized in that: The conversion conditions include cell parameter conditions, which include: At least one of a cell size condition that defines cell size and a cell shape condition that defines cell shape.
3. The method for determining cell classification rules in a slide reader according to claim 1, characterized in that, Obtain the first target classification corresponding to the original classification, including any one of the following: Obtain the first target category selected by the user from the preset classification items of the film reader; Get the first target category that the user dragged to the preset position; Get the first target category edited by the user at the preset location.
4. The method for determining cell classification rules in a slide reader according to claim 1, characterized in that, Before obtaining the first target classification corresponding to the original classification, the method further includes: On the first interface, a recommended target category is generated for the user; the recommended target category includes cell categories obtained by analyzing historical data of user cell classification adjustments.
5. The method for determining cell classification rules in a slide reader according to claim 1, characterized in that, Based on the original classification and the first target classification, a first cell classification rule is obtained, including: Obtain the correspondence between the original classification and the first target classification established by the user on the setting interface, so as to obtain the first cell classification rule; The correspondence between the original category and the first target category is displayed on the display interface, which is the setting interface or an interface different from the setting interface.
6. The method for determining cell classification rules in a slide reader according to claim 5, characterized in that, The correspondence between the original category and the first target category is displayed on the display interface, including: The textual part describing the correspondence between the original classification and the first target classification includes only the original classification and the first target classification.
7. The method for determining cell classification rules in a slide reader according to claim 6, characterized in that, Displaying the correspondence between the original classification and the first target classification on the display interface also includes: The display interface includes an original category display area and a target category display area; the text content of the original category is displayed in the original category display area, and the text content of the first target category is displayed in the target category display area.
8. The method for determining cell classification rules in a slide reader according to claim 7, characterized in that, Displaying the correspondence between the original classification and the first target classification on the display interface also includes: The table displays the correspondence between the original category and the first target category, with the original category displayed in a cell in the original category display area of the table, and the first target category displayed in a cell in the target category display area of the table. Alternatively, an icon can be used to connect the text content of the original category and the text content of the first target category.
9. The method for determining cell classification rules in a slide reader according to claim 5, characterized in that, The correspondence between the original classification and the first target classification includes: A correspondence between one first target classification and one original classification, or a correspondence between one first target classification and two or more original classifications.
10. The method for determining cell classification rules in a slide reader according to claim 1, characterized in that, The original classification is the result of pre-classifying cells using the preset classification method of the slide reader.
11. The method for determining cell classification rules in a slide reader according to claim 1, characterized in that, The method further includes: After the image reader classifies the cells according to the first cell classification rule and classifies the cells into the first target classification, it obtains the second target classification of the cells. The second target classification is set by the user on a third interface, which is either the first interface or an interface different from the first interface. Based on the original classification and the second target classification, a second cell classification rule is obtained. The second cell classification rule is used to classify cells from the first target classification or the original classification to the second target classification.
12. A method for determining cell classification rules in a slide reader, characterized in that, include: The interface for setting cell classification rules; Receive instructions on setting cell classification rules; Obtain the original cell classification; Obtain a first target category corresponding to the original category. The first target category is set by the user on a first interface, which is the setting interface or an interface different from the setting interface. Obtain a second target category corresponding to the first target category. The second target category is set by the user on a third interface, which is either the first interface or an interface different from the first interface. Based on the original classification and the second target classification, a second cell classification rule is obtained, which is used to classify cells from the original classification to the second target classification.
13. The method for determining cell classification rules in a slide reader according to claim 12, characterized in that, Obtaining a second cell classification rule, which is used to classify cells from their original classification to the second target classification, includes: The original category, the first target category, and the second target category are displayed on the display interface through a chain of icons. The display interface is the third interface or an interface different from the third interface.
14. A cell classification method for a slide reader, characterized in that, The method includes: Receive instructions to reclassify cells; Obtain the original classification of the cells to be reclassified; Obtain the cell classification rule corresponding to the original classification, wherein the cell classification rule includes the original classification and the corresponding target classification, and the cell classification rule is determined by the cell classification rule determination method as described in any one of claims 1 to 13; Based on the cell classification rules, determine the target classification corresponding to the original classification; The classification of the cells to be reclassified is updated to the target classification.
15. The cell classification method of the slide reader according to claim 14, characterized in that, The original classification is the classification result obtained by the slide reader through pre-classification of cells according to a preset classification method.
16. The cell classification method of the slide reader according to claim 14, characterized in that, The original classification is the result of the user reclassifying the pre-classified cells before determining the cell classification rules.
17. The cell classification method of the slide reader according to claim 14, characterized in that, After updating the classification of the cells to be reclassified to the target classification, the method further includes: The cells to be reclassified are reclassified a second time to assign them to a new target classification, thus obtaining the secondary reclassification result.
18. The cell classification method of the slide reader according to claim 17, characterized in that, The cells to be reclassified are subjected to secondary reclassification to assign them to a new target category, thereby obtaining the secondary reclassification result, including: A secondary reclassification interface is generated, which displays the cells to be reclassified that have completed the reclassification and their classification results. Obtain a new target category, which is selected by the user in the secondary reclassification interface or is a newly created target category. The cells to be reclassified are assigned to the new target classification to obtain the secondary reclassification result.
19. The cell classification method of the slide reader according to claim 14, characterized in that, The cell classification method of the slide reader also includes: Generate a display interface for the reclassification results; The reclassification result display interface shows the correspondence between the original classification and the target classification.
20. A cell classification method for a slide reader, characterized in that, The method includes: Obtain instructions to pre-classify cells; The cell classification rules are obtained, wherein the cell classification rules are determined using the cell classification rule determination method as described in any one of claims 1 to 13; Cells are pre-classified according to the preset classification method of the image reader and the cell classification rules.
21. The cell classification method of the slide reader according to claim 20, characterized in that, When the cell classification rules include determining conversion conditions, the pre-classification of cells according to the preset classification method of the slide reader and the cell classification rules includes: When a cell meets the conversion conditions for changing its classification from the original classification of the cell classification rules to the target classification of the cell classification rules, the cell is pre-classified according to the preset classification method of the image reader and the cell classification rules. When cells do not meet the conversion conditions, the cells are pre-classified according to the preset classification method of the slide reader.
22. A slide reader that classifies cells through image recognition, characterized in that, include: The system includes a pre-classification module, a rule definition module, and a reclassification execution module. The pre-classification module pre-classifies cells according to a preset classification method of the image reader. The rule definition module is used to allow users to set cell classification rules based on the cell classification rule determination method of the image reader as described in any one of claims 1 to 13. The reclassification execution module reads the cell classification rules and reclassifies cells according to the cell classification rules.
23. The film reader according to claim 22, characterized in that, The film reader also includes: An optimization and adjustment module is provided for users to perform secondary reclassification of reclassified cells.
24. The film reader according to claim 23, characterized in that, The optimization and adjustment module is also used to store and statistically analyze the results of secondary reclassification performed by users, process the statistical results of secondary reclassification to generate the recommended target category corresponding to the original category, and send the recommended target category corresponding to the original category to the rule definition module.
25. A film reader, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 21.
26. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 21.
Citation Information
Patent Citations
Machine learning classification and training for digital microscopy cytology images
US20180322327A1