CN107978370B - Control method and terminal - Google Patents

Control method and terminal Download PDF

Info

Publication number
CN107978370B
CN107978370B CN201711166154.8A CN201711166154A CN107978370B CN 107978370 B CN107978370 B CN 107978370B CN 201711166154 A CN201711166154 A CN 201711166154A CN 107978370 B CN107978370 B CN 107978370B
Authority
CN
China
Prior art keywords
growth
initial
result
algorithm
progress bar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711166154.8A
Other languages
Chinese (zh)
Other versions
CN107978370A (en
Inventor
罗雪
曾昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai United Imaging Healthcare Co Ltd
Original Assignee
Shanghai United Imaging Healthcare Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN201711166154.8A priority Critical patent/CN107978370B/en
Publication of CN107978370A publication Critical patent/CN107978370A/en
Application granted granted Critical
Publication of CN107978370B publication Critical patent/CN107978370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a control method and a terminal, relates to the technical field of medical treatment, and can remove other tissues generated by growth overflow in the tissue growth process, so that the problem of growth overflow in the tissue growth process is effectively solved, and finally extracted tissues are more accurate. In one aspect, a method for controlling tissue growth provided by an embodiment of the present invention includes: firstly, acquiring an initial seed point and a first growth algorithm; then, growing the initial seed points in a growth process according to the first growth algorithm to obtain a first growth result; secondly, when the first growth result meets a first preset condition, acquiring a specified operation; thereby, according to the specified operation, obtaining a second growth result from the first growth result; and calling a second growth algorithm, and growing the second growth result according to the second growth algorithm.

Description

Control method and terminal
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of medical treatment, in particular to a control method and a terminal for controlling tissue growth or realizing accurate rollback in medical operation.
[ background of the invention ]
In clinical research, tissue segmentation is performed to extract a designated organ or tissue, so as to perform research on the designated organ or tissue. Wherein, the tissue segmentation refers to distinguishing different organs or regions of tissues in the medical image. The tissue segmentation is mostly realized by adopting a tissue growth mode, namely, a growth algorithm is adopted to carry out tissue growth according to the image pixel value of the medical image, so that the required tissue is segmented, and in the process of realizing the tissue segmentation by adopting the growth algorithm to carry out the tissue growth, the phenomenon of tissue overflow is often generated, so that the tissue segmentation is inaccurate. Therefore, how to effectively solve the problem of growth overflow in the tissue growth process is an urgent problem to be solved in the tissue growth process.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a control method and a terminal, which can remove other tissues generated by growth overflow in a tissue growth process, thereby effectively solving the problem of growth overflow in the tissue growth process, and making the finally extracted tissues more accurate.
In a first aspect, an embodiment of the present invention provides a control method, which is suitable for use in a medical apparatus, and the method includes:
acquiring an initial seed point and a first growth algorithm;
growing the initial seed points in a growth process according to the first growth algorithm to obtain a first growth result;
when the first growth result meets a first preset condition, acquiring a specified operation;
according to the specified operation, obtaining a second growth result from the first growth result;
and calling a second growth algorithm, and growing the second growth result according to the second growth algorithm.
The foregoing aspect and any possible implementation manner further provide an implementation manner, where the growth process is displayed by a progress bar, and the specifying operation includes causing the growth process to roll back to a specified state corresponding to the second growth result by the progress bar.
The above-described aspects and any possible implementations further provide an implementation, before the obtaining the specified operation, the method further including:
acquiring the amplified display of the progress bar;
and the step of returning the growth process to the designated state corresponding to the second growth result through the progress bar comprises the step of dragging, sliding or clicking the progress bar displayed in an amplifying mode to realize the return of the growth process to the designated state.
The above aspect and any possible implementation form further provide an implementation form, wherein the growing the initial seed point in a growing process according to the first growing algorithm to obtain a first growing result comprises:
calling a first growth algorithm according to a first preset iteration speed, and controlling the initial seed points to grow according to the first growth speed to obtain an initial growth result;
judging whether the initial growth result meets a second preset condition or not;
when detecting that the initial growth result meets a second preset condition, calling a growth algorithm according to a second preset iteration speed, and controlling the initial growth result to grow according to the second growth speed to obtain a first growth result;
wherein the first growth rate is greater than the second growth rate.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the second growth result is a designated growth result corresponding to the growth of the initial growth result at a second growth rate.
The above aspect and any possible implementation form further provide an implementation form, wherein the growing the initial seed point in a growing process according to the first growing algorithm to obtain a first growing result comprises:
in the process of growing in the growth process, periodically detecting whether a growth ending instruction is received;
and if detecting that a growth ending instruction is received, ending the tissue growth to obtain the first growth result.
The foregoing aspect and any possible implementation manner further provide an implementation manner, where the determining whether the initial growth result satisfies a second preset condition includes:
acquiring an initial growth area corresponding to the initial growth result;
comparing whether the initial growth area exceeds a preset area threshold value;
if the initial growth area exceeds a preset area threshold value by comparison, determining that the initial growth result meets a second preset condition;
and if the initial growth area does not exceed the area threshold value by comparison, determining that the initial growth result does not meet a second preset condition.
The aspect and any possible implementation manner described above further provide an implementation manner, wherein the determining whether the first growth result satisfies a second preset condition includes:
acquiring initial growth time corresponding to the initial growth result;
comparing whether the initial growth time reaches a preset growth time threshold value;
if the initial growth time is compared to reach a preset growth time threshold value, determining that the initial growth result meets a second preset condition;
and if the initial growth area does not reach the growth time threshold value by comparison, determining that the initial growth result does not meet a second preset condition.
In a second aspect, an embodiment of the present invention further provides a control method, which is applied to a medical device, and the method includes:
acquiring the corresponding relation between data information of an operation object from an initial state to a current state and a progress bar;
obtaining a backspacing operation of the progress bar;
and controlling the operation object to retreat from the current state to a specified state according to the corresponding relation and the retreat operation, wherein the specified state is an initial state or any state between the initial state and the current state.
The aspect and any possible implementation manner described above further provide an implementation manner, before the obtaining of the corresponding relationship between the data information of the operation object from the initial state to the current state and the progress bar, the method further includes:
acquiring data information of the operation object from an initial state to a current state;
and configuring the progress bar and configuring the corresponding relation between the data information and the progress bar according to the data information.
In a third aspect, an embodiment of the present invention provides a terminal, where the terminal includes a memory, a processor, and an input/output interface, where the memory, the processor, and the input/output interface are connected through a bus, and the memory stores a program code, where the program code is called by the processor, so that the processor can control the input/output interface, and the processor executes any one of the above methods.
According to the technical scheme provided by the embodiment of the invention, the designated operation output by the user has a corresponding relation with the growth state of the tissue, the user can retreat the tissue growth into any state by inputting the designated operation, the tissue structure in any state is extracted, and after the first growth result is retreated to the second growth result corresponding to the designated state before the growth overflow occurs, the second growth result obtained after the retreat is regrown by adopting the adjusted second growth algorithm through adjusting the growth algorithm, so that the problem of the growth overflow can be effectively avoided. Therefore, the method provided by the embodiment of the invention can be used for removing other tissues generated by growth overflow in the tissue growth process, so that the finally extracted tissues are more accurate.
According to the technical scheme provided by the embodiment of the invention, the corresponding relation between the data information of the operation object from the initial state to the current state and the progress bar is set, so that the operation object can be returned from the current state to any specified state required by a user by operating the progress bar.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a control method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another control method provided by the embodiment of the invention;
FIG. 3 is a schematic flow chart of another control method provided by the embodiment of the invention;
FIG. 4 is a schematic flow chart of another control method provided by the embodiment of the invention;
FIG. 5 is a schematic flow chart of another control method provided by the embodiment of the invention;
FIG. 6 is a schematic flow chart of another control method provided by the embodiment of the invention;
fig. 7 is a structural diagram of a control device according to an embodiment of the present invention;
FIG. 8 is a schematic flow chart of another control method provided by the embodiment of the invention;
FIG. 9 is a schematic flow chart of another control method provided by the embodiment of the invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, etc. may be used to describe growth rates in embodiments of the present invention, these growth rates should not be limited to these terms. These terms are only used to distinguish growth rates from each other. For example, the first growth rate may also be referred to as the second growth rate, and similarly, the second growth rate may also be referred to as the first growth rate, without departing from the scope of embodiments of the present invention.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
The embodiment of the invention provides a control method which is suitable for medical equipment. The medical device includes, but is not limited to, a CT (Computed Tomography) scanning device, an MR (magnetic resonance) scanning device, a PET (positron emission Tomography)/CT scanning device, and the like.
Please refer to fig. 1, which is a flowchart illustrating a method according to an embodiment of the present invention, the method including the following steps:
101. an initial seed point and a first growth algorithm are obtained.
Wherein the initial seed point is a pixel point in the image for tissue growth. The initial seed point is a reference point for tissue growth, and in the process of realizing tissue growth, a pixel point needs to be selected as a reference point for tissue growth first, and the pixel point is taken as a starting point for tissue growth.
102. And growing the initial seed points in a growth process according to the first growth algorithm to obtain a first growth result.
Tissue growth refers to the process of developing groups of pixels or regions into larger regions. The method comprises the steps of selecting an initial seed point as a reference point, then selecting adjacent pixel points similar to the gray level, texture color and other characteristics of the seed point from an image for growth through a first growth algorithm, and combining the pixel points into a region to realize tissue growth. And combining the pixel points to obtain a large area which is a first growth result.
103. And when the first growth result meets the preset condition, acquiring the specified operation.
Wherein the growth progress of the tissue growth is displayed by a progress bar. And the specified operation comprises the step of enabling the growth process to back to the specified state corresponding to the second growth result through the progress bar. The rollback to the designated state comprises locally rolling back to an intermediate state in the growth process, or completely rolling back to the initial state. The specifying operation specifically includes: dragging, clicking, or sliding the progress bar of the growth process causes the growth process to roll back to a specified state.
Specifically, when the progress bar for displaying the growth process starts to grow from the initial seed, the progress bar is displayed, and along with the growth, the execution subject correspondingly adjusts the position of the progress bar and the length of the progress bar, so that the position of the progress bar and the length of the progress bar are in a mapping relationship with the growth state; or, the progress bar for displaying the growth process may be displayed to the user after the first growth result is obtained, and the executing main body may further perform corresponding adjustment according to the growth result corresponding to the first growth algorithm, so that the position of the progress bar and a mapping relationship between the length of the progress bar and the growth state are obtained. Therefore, the execution main body can return the growth result of the tissue to a certain growth state according to the operation of the progress bar.
It should be noted that, before the execution main body obtains the specified operation, whether the execution main body is to obtain the specified operation may be triggered by determining whether the first growth result satisfies the first preset condition. Wherein the first preset condition is that the first growth result has a phenomenon of growth overflow. When the first growth result is judged to meet a first preset condition, namely the phenomenon of growth overflow occurs in the first growth result, triggering an execution main body to acquire a specified operation; and when the first growth result is judged not to meet the first preset condition, namely the phenomenon of growth overflow does not occur in the first growth result, the execution main body does not need to acquire the specified operation. Or, an instruction or action directly input to the execution subject by the user triggers the execution subject to acquire the specified operation.
104. And acquiring a second growth result from the first growth result according to the specified operation.
The designated operation and the growth state of the tissue have a corresponding relationship, and based on the corresponding relationship, the corresponding growth state can be determined by acquiring the input designated operation.
And the second growth result is a growth result corresponding to a certain growth state before the first growth result.
Specifically, after the first growth result is obtained, the terminal displays a progress bar of the growth process through the display interface, and the user drags, clicks or slides the progress bar to enable the current growth state to return to the corresponding previous state. For example, the user controls the state of the corresponding state by clicking the number of times the control clicks the progress bar. Step 103 and step 104 are realized in such a way that when the user clicks the growth control once, the tissue growth returns to the state A; when the user clicks the growth control twice, the tissue growth returns to the state B; when the user clicks the control for growth three times, the tissue growth reverts to the C state. The three states of the A state, the B state and the C state respectively correspond to a growth state, the A state is obtained by performing tissue growth on the basis of the B state, and the B state is obtained by performing tissue growth on the basis of the C state. For another example, the terminal displays a progress bar to the user, and the terminal may drag the progress bar. Step 103 and step 104 are specifically that the terminal obtains the operation of the user dragging the progress bar, then determines the position of the progress bar, and determines the growth state to which the first production result is returned according to the position of the dragging progress bar, so as to obtain a second growth result.
It should be noted that, the above-mentioned manners for implementing step 103 and step 104 are only two specific manners provided by the embodiments of the present invention, and are not to be taken as specific limitations of the present invention, and other manners for implementing step 103 and step 104 may also be available.
105. And calling a second growth algorithm, and growing the second growth result according to the second growth algorithm.
After step 104 is executed, it is desirable to obtain a more complete tissue, and the second growth result needs to be continued to grow, and in order to avoid the overflow of growth caused by continuing to use the first growth algorithm, the second growth algorithm is used in the present embodiment to continue to grow. Because the tissue growth is to select the adjacent pixel points with the similar characteristics of the gray scale, the texture color and the like of the seed points, the second growth algorithm is obtained by adjusting the gray scale threshold value in the first growth algorithm, the similarity of the texture color and the like of the seed pixel points, the overgrowth phenomenon caused by the regrowth is avoided, and the extracted tissue is accurate and complete.
According to the technical scheme provided by the embodiment of the invention, the designated operation input by the user has a corresponding relation with the growth state of the tissue, the user can retreat the tissue growth into any state by inputting the designated operation, the tissue structure in any state is extracted, and after the first growth result is retreated to the second growth result corresponding to the designated state before the growth overflow occurs, the second growth result obtained after the retreat is regrown by adopting the adjusted second growth algorithm through adjusting the growth algorithm, so that the problem of the growth overflow can be effectively avoided. Therefore, the method provided by the embodiment of the invention can remove other tissues generated by growth overflow in the tissue growth process, thereby effectively solving the problem of growth overflow in the tissue growth process and ensuring that the finally extracted tissues are more accurate.
Further, in order to ensure that the execution subject can implement accurate rollback when implementing rollback from one growth state to another growth state, an embodiment of the present invention provides another implementation manner, as shown in fig. 2, before obtaining the specified operation in step 103, the method further includes:
106. and acquiring the amplified display of the progress bar.
Specifically, the progress bar is subjected to amplification processing, so that the execution main body can acquire the progress bar after amplification display. The processing mode of performing amplification processing on the progress bar is the same as the mode of performing amplification processing on the terminal in the prior art, and the details of the present invention are not repeated herein.
Step 103, obtaining the designated state corresponding to the second growth result by the growth progress of the progress bar includes: and returning the growth of the progress bar to the designated state after the progress bar is displayed by dragging, sliding or clicking amplification.
According to the method provided by the embodiment, after the progress bar for displaying the growth process is amplified and displayed, the positions of the progress bar and the progress bar are amplified, and when a user operates the amplified and displayed progress bar through dragging or sliding, the progress bar can be accurately dragged to the specified position, so that the execution main body can accurately retreat the tissue from one growth state to another growth state.
Further, in the process of implementing step 102 to grow the initial seed points according to the first growth algorithm to obtain the first growth result, too fast tissue growth is effectively alleviated, and the occurrence of tissue growth overflow is reduced, which is provided by the embodiment of the present invention for step 102, and specifically includes:
1021. and calling a first growth algorithm according to a first preset iteration speed, and controlling the initial seed points to grow according to the first growth speed so as to obtain an initial growth result.
The tissue growth process is an iterative process, each pixel point can be iteratively grown, and the growth speed of the tissue growth is adjusted by changing the iterative speed. Because in the initial stage of tissue growth, the condition of growth overflow is not easy to occur, therefore, the first preset iteration speed of the growth algorithm can be called to be improved to a certain extent according to the requirement, thereby improving the growth speed of the initial stage of tissue growth and further shortening the time of tissue growth.
It should be noted that the setting of the first preset iteration speed may set different iteration speeds according to different tissues or organs, for example, the first preset iteration speed for blood vessel growth is 30 iterations per microsecond, the first preset iteration speed for lung trachea growth is 20 iterations per microsecond, and the like; alternatively, the first preset iteration speed of all organs or tissues may be set to the same speed, which is not specifically limited by the present invention.
1022. And judging whether the initial growth result meets a second preset condition.
Determining the tissue growth degree by judging whether the initial growth result meets a second preset condition, and when the initial growth result meets the second preset condition, determining that the growth process according to the first growth speed is finished, and entering a stage of growth according to the second growth speed, namely executing the following step 1023; and when the initial growth result is judged to meet the second preset condition, the growth is still carried out according to the first growth speed.
It should be noted that, the execution main body periodically determines whether the initial growth result meets a second preset condition, for example, in order to more accurately determine the time from the stage of growth at the first growth speed to the stage of growth at the second growth speed, the period may be set to correspond to the first preset iteration speed, that is, the time required for the seed point to execute the first growth algorithm once at the first preset iteration speed; alternatively, in order to further reduce the time for tissue growth, the period may be set to a corresponding time length after several tissue growths at the first growth rate. The present invention is not particularly limited to this period.
1023. And when detecting that the initial growth result meets a second preset condition, calling a growth algorithm according to a second preset iteration speed, and controlling the initial growth result to grow according to the second growth speed to obtain a first growth result.
It should be noted that, after the tissue grows to a certain degree, that is, the tissue growing in the tissue growth process is closer to the complete structure stage of the tissue or grows to the fine structure stage of the tissue, overgrowth (outgrowth) is more easily generated, and some other tissues grow out, for example, in the blood vessel growth process, the initial growth stage of the blood vessel is the growth of the main blood vessel, and the structure of the main blood vessel is coarse, so that the outgrowth is not easy to occur in the stage, while when the capillary blood vessel is extracted, that is, when the capillary blood vessel is grown, because the structure of the capillary blood vessel is fine, if the growth is performed according to a larger growth speed, the outgrowth of the tissue is easily generated, and when the outgrowth occurs, the structure of the outgrowth tissue is larger. Therefore, in order to alleviate the occurrence of this phenomenon, when the tissue grows to a certain stage, it is necessary to reduce the growth rate thereof, that is, to set the second growth rate to be lower than the first growth rate in order to control the occurrence of overgrowth of the tissue.
In different tissue growth periods, call first growth algorithm according to different frequencies to control the tissue to grow according to corresponding growth rate in different growth stages, compare the mode that adopts single growth rate control tissue growth, the technical scheme that this embodiment provided can be according to the growth rate of demand control tissue, thereby can improve tissue growth rate, reduce the time that the tissue grows, can effectively avoid growing simultaneously and spill over.
It should be noted that, because the overflowed growth phenomenon mainly occurs in a stage in which the grown tissue is closer to the complete structure of the tissue or a stage in which the grown tissue grows to a fine structure of the tissue, and the overflowed growth phenomenon does not generally occur in the process of growing at the first growth speed, and the structure of the tissue grown at this stage grows well, when the growth rollback is executed, in order to reduce the waiting time for continuing the growth of the rolled-back growth state to obtain the final complete tissue, when the rollback is executed, the first growth result is rolled back to the specified growth result corresponding to the process in which the initial growth result is grown at the second growth speed, when the second growth result corresponding to the specified state to which the first growth result is rolled back is executed, wherein the specified result is the second growth result.
Further, in order to reduce the occurrence of overgrowth in the tissue growth process, another implementation manner is provided in the embodiment of the present invention, as shown in fig. 4, step 1023 specifically includes:
201. and periodically detecting whether a growth ending instruction is received or not in the process that the initial seed point grows in the growth process.
It should be noted that the setting principle of the detection period is similar to the principle of the period setting in step 1022, that is, the time length required for executing the first growth algorithm once can be set as a detection period; alternatively, a period corresponding to one detection duration after performing the growth algorithm several times may be set. Therefore, the present invention does not limit the setting of the period of the detection.
202. And if detecting that a growth ending instruction is received, ending the tissue growth to obtain the first growth result.
The user inputs the designated operation through the medical equipment and informs the execution main body that the tissue growth can be stopped, so that the execution main body is triggered to generate a corresponding growth ending instruction, the tissue growth is stopped in response to the growth ending instruction, the growth result of the tissue with the growth stopped is obtained, and the growth result is stored to the designated position.
It is supplementary noted that, when the executing entity detects that the growth ending instruction is not received, the executing entity continues to execute the tissue growth on the first growth result at the second growth speed until the terminal receives a specified operation input by the user or a growth ending instruction sent by other equipment, thereby terminating the tissue growth.
Further, based on the difference of the set second preset condition, the embodiment of the present invention provides two implementation manners for the implementation of step 1022,
the first mode, when the second preset condition is the area of the growing tissue, as shown in fig. 5, specifically includes:
301A, obtaining an initial growth area corresponding to the initial growth result.
302A, comparing whether the initial growth area exceeds a preset area threshold value.
303A, if the initial growth area exceeds the preset area threshold value by comparison, determining that the initial growth result meets a second preset condition.
304A, if the initial growth area is compared and the area exceeding threshold value is not preset, determining that the initial growth result does not meet a second preset condition.
In a second manner, when the set second preset condition is a growth time, as shown in fig. 6, the method specifically includes:
301B, obtaining the initial growth time corresponding to the initial growth result.
302B, comparing whether the initial growth time reaches a preset growth time threshold value.
303B, if the initial growth time is compared to reach a preset growth time threshold, determining that the initial growth result meets a second preset condition.
304B, if the initial growth area does not reach the preset growth time threshold value by comparison, determining that the initial growth result does not meet a second preset condition.
The embodiment of the present invention further provides a device for implementing the steps and methods in the above method embodiments, and a functional block diagram of the device provided in the embodiment of the present invention is shown in fig. 7, where the device includes:
a first obtaining unit 41, configured to obtain an initial seed point and a first growth algorithm.
A growing unit 42, configured to grow the initial seed point in a growing process according to the first growing algorithm to obtain a first growing result.
A second obtaining unit 43, configured to obtain the specified operation when the first growth result satisfies the first preset condition.
Specifically, before the second obtaining unit 43 obtains the specified operation, the executing body may further trigger the second obtaining unit 43 to obtain the specified operation by determining whether the first growth result satisfies the first preset condition. When the first growth result is judged to meet the first preset condition, that is, the phenomenon of growth overflow occurs in the first growth result, the second obtaining unit 43 is triggered to obtain the specified operation; when the first growth result is judged not to meet the first preset condition, namely the phenomenon of growth overflow does not occur in the first growth result, the second obtaining unit does not need to obtain the specified operation. Or, an instruction or action directly input to the execution subject by the user triggers the execution subject to acquire the specified operation.
A third obtaining unit 44, configured to obtain a second growth result from the first growth result according to the specified operation.
And the processing unit 45 is configured to invoke a second growth algorithm, and grow the second growth result according to the second growth algorithm.
Optionally, the growth process is displayed through a progress bar, and the specifying operation includes causing the growth process to roll back to a specified state corresponding to the second growth result through the progress bar.
Optionally, the second obtaining unit 43 is further configured to obtain an enlarged display of the progress bar;
specifically, the step of designating operation is that the progress bar grows and returns to the designated state corresponding to the second growth result through the progress bar, and the step of designating operation includes dragging, or sliding, or clicking and magnifying the displayed progress bar to return to the designated state.
Optionally, the growing unit 42 is configured to grow the initial seed points according to the first growth algorithm to obtain a first growth result, and specifically configured to:
calling a first growth algorithm according to a first preset iteration speed, and controlling the initial seed points to grow according to the first growth speed to obtain an initial growth result; judging whether the initial growth result meets a second preset condition or not; when detecting that the initial growth result meets a second preset condition, calling a growth algorithm according to a second preset iteration speed, and controlling the initial growth result to grow according to the second growth speed to obtain a first growth result; wherein the first growth rate is greater than the second growth rate.
Optionally, the second growth result is a designated growth result corresponding to the initial growth result in the process of growing at the second growth rate.
Optionally, when the growing unit 42 executes control of the initial seed point to grow in the growing process to obtain a first growing result, and in the process of growing the initial seed point in the growing process, periodically detecting whether a growing end instruction is received; and if detecting that a growth ending instruction is received, ending the tissue growth to obtain the first growth result.
Optionally, the growing unit 42 is configured to, after determining whether the initial growth result satisfies the first preset condition:
acquiring an initial growth area corresponding to the initial growth result; and comparing whether the initial growth area exceeds a preset area threshold value; if the initial growth area exceeds a preset area threshold value by comparison, determining that the initial growth result meets a second preset condition; and if the initial growth area does not exceed the preset area threshold value by comparison, determining that the initial growth result does not meet a second preset condition.
Optionally, when the growing unit 42 performs the judgment whether the initial growth result meets the first preset condition, it is specifically further configured to: acquiring initial growth time corresponding to the initial growth result; and comparing whether the initial growth time reaches a preset growth time threshold value; if the initial growth time is compared with a growth time threshold, determining that the initial growth result meets a second preset condition; and if the initial growth area does not reach the growth time threshold value by comparison, determining that the initial growth result does not meet a second preset condition.
In order to enable other application scenarios in the medical device to implement rollback operation, an embodiment of the present invention provides another control method, which is applicable to the medical device, based on the concept of the control method described above, where a flowchart of the control method is as shown in fig. 8, and specifically includes:
601. and acquiring the corresponding relation between the data information of the operation object from the initial state to the current state and the progress bar.
Each state of the operation object corresponds to one type of data information, and it can be understood that each state of the operation object has a corresponding relationship with the progress bar.
602. And acquiring a rollback operation of the progress bar.
Wherein the rollback operation comprises dragging, sliding or clicking the progress bar to cause the progress of the operation to rollback.
603. And controlling the operation object to retreat from the current state to the specified state according to the corresponding relation and the retreat operation.
The designated state comprises the operation object which is returned to any previous state from the current state, and also comprises the initial state. For example, after the image is enlarged, the image is gradually reduced from the enlarged current state by a retraction operation of the progress bar, and when the image reaches the designated state, the progress bar is released, the retraction operation is terminated, and the image is reduced to the designated state. The designated state is any state between the initial state and the current state, or may be the initial state.
According to the technical scheme provided by the embodiment of the invention, the corresponding relation between the data information of the operation object from the initial state to the current state and the progress bar is set, so that the operation object can be returned from the current state to any specified state required by a user by operating the progress bar.
Further, in order to implement a rollback operation by using a progress bar, an embodiment of the present invention further provides another implementation manner, as shown in fig. 9, before acquiring, in step 601, a corresponding relationship between data information of an operation object from an initial state to a current state and the progress bar, the method further includes:
604. and acquiring data information of the operation object from an initial state to a current state.
It should be noted that, in order to reduce the time and resources of the execution subject occupied by the acquired data information, the acquired data information is acquired in a discrete acquisition manner, and then, all data information of the operation object from the initial state to the current state is acquired according to the acquired data information through a discrete acquisition algorithm.
605. And configuring the progress bar and configuring the corresponding relation between the data information and the progress bar according to the data information.
The length and the display position of the progress bar can be dynamically set according to the data information of the operation object; or the progress bar is regenerated into a corresponding progress bar after all data information of the operation object from the initial state to the current state is acquired. Displaying the configuration relationship of the progress bar and the data information corresponding to the operation, wherein the configuration mode of the progress bar is the same as that of the progress bar in the method for realizing organization growth rollback through the operation progress bar, the progress bars at different positions correspond to different data information, so that the corresponding relationship between the data information and the progress bar is obtained, and the corresponding relationship is stored at a specified position so as to facilitate an execution main body to obtain the corresponding relationship.
In combination with the foregoing control method, an embodiment of the present invention further provides a terminal for executing the foregoing method for implementing rollback operation control, and its structure is shown in fig. 10, where the terminal includes a memory 71, a processor 72, and an input/output interface 73, where the memory 71, the processor 72, and the input/output interface 73 are connected through a bus, and the memory 71 stores a program code, and when the program code is called by the processor 72, the processor 72 can control the input/output interface 73, and the processor 27 is enabled to execute any one of the foregoing methods.
Specifically, for example, the memory 71 stores a first program code corresponding to a program code for controlling tissue growth and a second program code corresponding to a program code for controlling a method for controlling tissue growth, and when the terminal executes the method for controlling tissue growth, the processor 72 in the terminal calls the first program code to control each unit of the control apparatus to operate; when the terminal executes the control method corresponding to the other application scenario, the processor 72 in the terminal calls the second program code.
According to the technical scheme provided by the embodiment of the invention, the designated operation input by the user has a corresponding relation with the growth state of the tissue, the user can retreat the tissue growth into any state by inputting the designated operation, the tissue structure in any state is extracted, and after the first growth result is retreated to the second growth result corresponding to the designated state before the growth overflow occurs, the second growth result obtained after the retreat is regrown by adopting the adjusted second growth algorithm through adjusting the growth algorithm, so that the problem of the growth overflow can be effectively avoided. Therefore, the method provided by the embodiment of the invention can remove other tissues generated by growth overflow in the tissue growth process, thereby effectively solving the problem of growth overflow in the tissue growth process and ensuring that the finally extracted tissues are more accurate.
According to the technical scheme provided by the embodiment of the invention, the corresponding relation between the data information of the operation object from the initial state to the current state and the progress bar is set, so that the operation object can be returned from the current state to any specified state required by a user by operating the progress bar.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A control method adapted for use in a medical device, the method comprising:
acquiring an initial seed point and a first growth algorithm;
growing the initial seed points in a growth process according to the first growth algorithm to obtain a first growth result;
when the first growth result meets a first preset condition, acquiring a specified operation;
according to the specified operation, obtaining a second growth result from the first growth result;
calling a second growth algorithm, and growing the second growth result according to the second growth algorithm;
and displaying the growth process through a progress bar, wherein the specified operation comprises returning the growth process to a specified state corresponding to the second growth result through the progress bar.
2. The method of claim 1, wherein prior to the obtaining the specified operation, the method further comprises:
acquiring the amplified display of the progress bar;
and the step of returning the growth process to the designated state corresponding to the second growth result through the progress bar comprises the step of returning the growth process to the designated state through dragging, sliding or clicking and amplifying the displayed progress bar.
3. The method of claim 1, wherein growing the initial seed point in a growth process according to the first growth algorithm to obtain a first growth result comprises:
calling a first growth algorithm according to a first preset iteration speed, and controlling the initial seed points to grow according to the first growth speed to obtain an initial growth result;
when the initial growth result meets a second preset condition, calling a first growth algorithm according to a second preset iteration speed, and controlling the initial growth result to grow according to the second growth speed to obtain a first growth result;
wherein the first growth rate is greater than the second growth rate.
4. The method of claim 3, wherein the second growth result is a designated growth result corresponding to the initial growth result during growth at a second growth rate.
5. The method of claim 1, wherein growing the initial seed point in a growth process according to the first growth algorithm to obtain a first growth result comprises:
periodically detecting whether a growth ending instruction is received or not in the process that the initial seed point grows in the growth process;
and if detecting that a growth ending instruction is received, ending the tissue growth to obtain the first growth result.
6. The method of claim 4, wherein determining whether the initial growth result satisfies a second predetermined condition comprises:
acquiring an initial growth area corresponding to the initial growth result;
comparing whether the initial growth area exceeds a preset area threshold value;
if the initial growth area exceeds a preset area threshold value by comparison, determining that the initial growth result meets a second preset condition;
and if the initial growth area does not exceed the area threshold value by comparison, determining that the initial growth result does not meet a second preset condition.
7. The method of claim 4, wherein determining whether the initial growth result satisfies a second predetermined condition comprises:
acquiring initial growth time corresponding to the initial growth result;
comparing whether the initial growth time reaches a preset growth time threshold value;
if the initial growth time is compared to reach a preset growth time threshold value, determining that the initial growth result meets a second preset condition;
and if the initial growth time does not reach the preset growth time threshold value by comparison, determining that the initial growth result does not meet a second preset condition.
8. A terminal, comprising a memory, a processor and an input/output interface, the memory, the processor and the input/output interface being connected via a bus, the memory having stored therein program code which, when called by the processor, enables the processor to control the input/output interface and causes the processor to perform the method of any one of claims 1 to 7.
CN201711166154.8A 2017-11-21 2017-11-21 Control method and terminal Active CN107978370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711166154.8A CN107978370B (en) 2017-11-21 2017-11-21 Control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711166154.8A CN107978370B (en) 2017-11-21 2017-11-21 Control method and terminal

Publications (2)

Publication Number Publication Date
CN107978370A CN107978370A (en) 2018-05-01
CN107978370B true CN107978370B (en) 2021-09-24

Family

ID=62010805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711166154.8A Active CN107978370B (en) 2017-11-21 2017-11-21 Control method and terminal

Country Status (1)

Country Link
CN (1) CN107978370B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104112265B (en) * 2013-04-16 2019-04-23 上海联影医疗科技有限公司 Colon image dividing method and device
CN103489198A (en) * 2013-10-21 2014-01-01 钟映春 Method for partitioning brainstem areas automatically from MR (magnetic resonance) sequence images
CN106097305B (en) * 2016-05-31 2019-03-01 上海理工大学 The intratracheal tree dividing method that two-pass region growing combining form is rebuild

Also Published As

Publication number Publication date
CN107978370A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
US11880972B2 (en) Tissue nodule detection and tissue nodule detection model training method, apparatus, device, and system
CN108805871B (en) Blood vessel image processing method and device, computer equipment and storage medium
CN106709930B (en) Method and device for segmenting interested volume of three-dimensional medical image
JP6389907B2 (en) Parallel analysis method of electrocardiogram signal by GPU
WO2022089221A1 (en) Medical image segmentation method and apparatus, and device, system and computer storage medium
CN109242863B (en) Ischemic stroke image region segmentation method and device
JP5654561B2 (en) Automatic contrast enhancement method for contour formation
CN114004793A (en) Blood flow characteristic acquisition method and device, electronic equipment and storage medium
CN111166362A (en) Medical image display method and device, storage medium and electronic equipment
CN111091561A (en) Method, system, device and storage medium for extracting nerve fibers of region of interest
CN110246150A (en) Metal detection method, apparatus, equipment and storage medium
CN113628193A (en) Method, device and system for determining blood vessel stenosis rate and storage medium
CN113160245A (en) CT brain parenchyma segmentation system, method and device based on block region growing method
CN109345517B (en) Image segmentation method and device, computer equipment and storage medium
CN107978370B (en) Control method and terminal
CN112634309B (en) Image processing method, device, electronic equipment and storage medium
CN108198213B (en) Method and device for marking tubular structure and processing terminal of tubular structure
CN111738975B (en) Image identification method and image identification device
CN112862850A (en) Digital silhouette angiography image processing method and device
CN107908323B (en) Medical image display method, apparatus and computer storage medium
CN108573494B (en) Tubular structure extraction method and device
CN111161240A (en) Blood vessel classification method, computer device and readable storage medium
CN113192099B (en) Tissue extraction method, device, equipment and medium
CN114648463A (en) Method, device, equipment and medium for adjusting dynamic range of gray level image
EP2005389B1 (en) Automatic cardiac band detection on breast mri

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 201807 Shanghai city Jiading District Industrial Zone Jiading Road No. 2258

Applicant after: Shanghai Lianying Medical Technology Co., Ltd

Address before: 201807 Shanghai city Jiading District Industrial Zone Jiading Road No. 2258

Applicant before: SHANGHAI UNITED IMAGING HEALTHCARE Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant