CN110473610A - Medical image edit methods, computer equipment and readable storage medium storing program for executing - Google Patents
Medical image edit methods, computer equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN110473610A CN110473610A CN201910704490.6A CN201910704490A CN110473610A CN 110473610 A CN110473610 A CN 110473610A CN 201910704490 A CN201910704490 A CN 201910704490A CN 110473610 A CN110473610 A CN 110473610A
- Authority
- CN
- China
- Prior art keywords
- display state
- medical image
- display
- state adjustment
- adjustment instruction
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H30/00—ICT specially adapted for the handling or processing of medical images
- G16H30/40—ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing
Landscapes
- Health & Medical Sciences (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Radiology & Medical Imaging (AREA)
- Engineering & Computer Science (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
Abstract
This application involves a kind of medical image edit methods, computer equipment and readable storage medium storing program for executing, this method comprises: obtaining the display state adjustment instruction inputted in the editing area of medical image, display state adjustment instruction characterizes the display state adjustment amount of medical image, and display state adjustment amount includes: display position adjustment amount and/or display scale adjustment amount;In editing area, according to the display state of display state adjustment instruction adjustment medical image, and medical image adjusted is edited according to edit instruction, display state includes display position and/or display scale.In this method, display state adjustment instruction is inputted by the editing area of medical image, does not need to toggle between tools area and editing area, and simple operating procedure improves the editorial efficiency of medical image;And the display state that medical image adjusted is quickly learnt at family can be used in the display state of real-time display medical image adjusted in editing area.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of medical image edit methods, computer equipment and
Readable storage medium storing program for executing.
Background technique
In current medical diagnostic procedures, most focal zone can be calculated by common assisted diagnosis algorithms
Domain, but since the performance of algorithm limits, these focal areas may be deviated with actual focal area, then just needing to cure
The focal area there are error is edited in life, so as to finally obtain the higher focal area result of accuracy.For example, for
The focal area of cerebral hemorrhage is detected, if bigger than normal by the focal area range that assisted diagnosis algorithms calculate, then just needing
Doctor wipes extra region;If range is less than normal, it is necessary to which doctor carries out full-filling to the region come is not detected.
In the focal area editing process of medical image, usually medical image is translated and is scaled with watch different location or
Focal area under different images size.
Traditional technology needs first to select translation zoom tool in tools area, so when carrying out translation scaling to medical image
After return to editing area and carry out translation zoom operations, current focal area is edited again later;If after translation scaling
When medical image is unsatisfactory for editor's demand, then need to again return to the selection that tools area carries out translation zoom tool.
It follows that traditional technology needs to switch repeatedly to carry out medical image between tools area and editing area
Translation scaling, it is cumbersome, cause the editorial efficiency to focal area lower.
Summary of the invention
Based on this, it is necessary to for the lower problem of editorial efficiency of the traditional technology to focal area, provide a kind of medicine
Image edit method, computer equipment and readable storage medium storing program for executing.
In a first aspect, the embodiment of the present application provides a kind of medical image edit methods, comprising:
Obtain the display state adjustment instruction inputted in the editing area of medical image, display state adjustment instruction characterization
The display state adjustment amount of medical image, display state adjustment amount include: display position adjustment amount and/or display scale adjustment
Amount;
In editing area, according to the display state of display state adjustment instruction adjustment medical image, and referred to according to editor
Medical image adjusted is edited in order, and display state includes display position and/or display scale.
Second aspect, the embodiment of the present application provide a kind of medical image editing device, comprising:
Module is obtained, for obtaining the display state adjustment instruction inputted in the editing area of medical image, shows shape
State adjustment instruction characterize medical image display state adjustment amount, display state adjustment amount include: display position adjustment amount and/or
Display scale adjustment amount;
Editor module, for adjusting the display state of medical image according to display state adjustment instruction in editing area,
And medical image adjusted is edited according to edit instruction, display state includes display position and/or display scale.
The third aspect, the embodiment of the present application provide a kind of computer equipment, including memory and processor, memory storage
There is computer program, processor performs the steps of when executing computer program
Obtain the display state adjustment instruction inputted in the editing area of medical image, display state adjustment instruction characterization
The display state adjustment amount of medical image, display state adjustment amount include: display position adjustment amount and/or display scale adjustment
Amount;
In editing area, according to the display state of display state adjustment instruction adjustment medical image, and referred to according to editor
Medical image adjusted is edited in order, and display state includes display position and/or display scale.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer program,
It is performed the steps of when computer program is executed by processor
Obtain the display state adjustment instruction inputted in the editing area of medical image, display state adjustment instruction characterization
The display state adjustment amount of medical image, display state adjustment amount include: display position adjustment amount and/or display scale adjustment
Amount;
In editing area, according to the display state of display state adjustment instruction adjustment medical image, and referred to according to editor
Medical image adjusted is edited in order, and display state includes display position and/or display scale.
Above-mentioned medical image edit methods, device, computer equipment and readable storage medium storing program for executing are obtained in medical image first
Editing area in the display state adjustment instruction that inputs, the display state adjustment of display state adjustment instruction characterization medical image
Amount, display state adjustment amount includes: display position adjustment amount and/or display scale adjustment amount;In editing area, further according to aobvious
Show the display state of state adjustment instruction adjustment medical image, and medical image adjusted is compiled according to edit instruction
Volume, display state includes display position and/or display scale.In this method, display state adjustment instruction is to pass through medical image
Editing area input, do not need to toggle between tools area and editing area, simple operating procedure, to mention
The high editorial efficiency of medical image;And the display state of real-time display medical image adjusted in editing area, can
So that user quickly learns the display state of medical image adjusted.
Detailed description of the invention
Fig. 1 is the flow diagram for the medical image edit methods that one embodiment provides;
Fig. 1 a is the medical image schematic diagram that one embodiment provides;
Fig. 2 is the flow diagram for the medical image edit methods that another embodiment provides;
Fig. 3 is the flow diagram for the medical image edit methods that another embodiment provides;
Fig. 4 is the flow diagram for the medical image edit methods that another embodiment provides;
Fig. 4 a is that the sphere of action for the edit tool that one embodiment provides changes schematic diagram;
Fig. 5 is the structural schematic diagram for the medical image editing device that one embodiment provides;
Fig. 6 is the structural schematic diagram for the medical image editing device that another embodiment provides;
Fig. 7 is the structural schematic diagram for the medical image editing device that another embodiment provides;
Fig. 8 is the structural schematic diagram for the medical image editing device that another embodiment provides;
Fig. 9 is the schematic diagram of internal structure for the computer equipment that one embodiment provides.
Description of symbols:
11: focal area;12: edit tool.
Specific embodiment
Medical image edit methods provided by the embodiments of the present application can be adapted for carrying out focal area in medical image
The process of editor is readily applicable to the process that other regions are edited in medical image, as long as needing in editing process
The state (such as translated or scaled to medical image) of medical image is adjusted, method provided by the embodiments of the present application all may be used
To be applicable in.Traditional technology is in the state for needing to adjust medical image, it usually needs tool is adjusted in tools area selection state,
Editing area progress state adjustment is returned to need to again return to work if medical image state adjusted is unsatisfactory for demand
Have the selection that region carries out state adjustment tool, operates so comparatively laborious, cause the editorial efficiency to medical image lower.This
Apply for medical image edit methods, computer equipment and the readable storage medium storing program for executing provided, it is intended to solve above-mentioned technical problem.
In order to which the objects, technical solutions and advantages of the application are more clearly understood, pass through following embodiments and combine attached
Figure, technical solutions in the embodiments of the present application are described in further detail.It should be appreciated that specific reality described herein
Example is applied only to explain the application, is not used to limit the application.
It should be noted that the executing subject of following methods embodiment can be medical image editing device, which can
The some or all of of computer equipment is implemented as in a manner of through software, hardware or software and hardware combining.Following methods
Embodiment is illustrated so that executing subject is computer equipment as an example, which can be terminal, can be individual
Equipment is calculated, also can integrate on medical imaging devices, the present embodiment does not limit this.
Fig. 1 is the flow diagram for the medical image edit methods that one embodiment provides.What is involved is meters for the present embodiment
Calculate the detailed process that machine equipment adjusts the display state of medical image according to the display state adjustment instruction of acquisition.As shown in Figure 1,
This method comprises:
S101, obtains the display state adjustment instruction inputted in the editing area of medical image, and the adjustment of display state refers to
The display state adjustment amount of characterization medical image is enabled, display state adjustment amount includes: display position adjustment amount and/or display scale
Adjustment amount.
Specifically, user such as fill out the focal area in medical image in editing process to medical image
It applies, when the display scale of the display position or adjustment medical image that need to adjust medical image, with more accurate full-filling focal zone
When domain, then display state adjustment instruction can be inputted in current editing area, then computer equipment can obtain this in real time
Display state adjustment instruction.Illustratively, the medical image for needing to edit is as shown in Figure 1a, there is a focal zone in the medical image
Domain 11 now needs to carry out full-filling to focal area 11 using edit tool 12, when the display position that adjust the medical image or
When display scale, display state adjustment instruction can be inputted directly in the editing area shown in Fig. 1 a.It is aobvious in the present embodiment
Show that state adjustment instruction is inputted in the editing area of medical image, does not need that selection is repeated in tools area, it can
Choosing, user can pass through mouse, keyboard shortcut or other input equipments input display shape being connected with computer equipment
State adjustment instruction;When the display screen of computer equipment is touch screen, user can also directly input display shape on the touchscreen
State adjustment instruction.
Wherein, the display state adjustment amount of above-mentioned display state adjustment instruction characterization medical image, display state adjustment
Amount includes display position adjustment amount and/or display scale adjustment amount.Illustratively, when display state adjustment instruction is to pass through keyboard
Shortcut key ↑ (perhaps ↓, ←, →) input when click the display position of shortcut key characterization medical image upwards (or to
Under, to the left, to the right) mobile 10 pixels;When showing state adjustment instruction is to be inputted by mouse roller, idler wheel slide downward
The display scale of one circle characterization medical image reduces one times;When showing state adjustment instruction is to be inputted by touch screen, user
Finger is moved to the left one centimetre, and the display position for characterizing medical image is moved to the left 10 pixels, and user uses two finger phases
When opposite direction is one centimetre mobile, the display scale for characterizing medical image, which is put, to be twice.
S102, in editing area, according to the display state of display state adjustment instruction adjustment medical image, and according to volume
It collects instruction to edit medical image adjusted, display state includes display position and/or display scale.
Specifically, can parse the instruction after computer equipment obtains display state adjustment instruction and referred to obtaining this
Corresponding display state adjustment amount is enabled, then for the display shape of display state adjustment amount adjustment medical image in editing area
State, and real-time display is to user.If medical image state adjusted is unsatisfactory for demand, user can be in editing area again
Secondary input display state adjustment instruction.Illustratively, if the display position that display state adjustment amount is medical image moves up
10 pixels, then the display position of medical image is adjusted to move up 10 pixels by computer equipment;If showing state tune
Whole amount is put for the display scale of medical image and is twice, then the display scale of medical image is adjusted to amplification one by computer equipment
Times, and show status display to user medical image adjusted.Later, computer equipment can receive user and pass through volume
The edit instruction of the tool of collecting input edits medical image adjusted.
Optionally, above-mentioned edit tool can be selected before inputting display state adjustment instruction by user, can also be
The display state that medical image is completed in computer equipment adjustment selects later.When edit tool is by user in input display state
When selecting before adjustment instruction, computer equipment can also according to the corresponding display state adjustment amount of display state adjustment instruction,
The display state of edit tool is adjusted accordingly, and shows edit tool adjusted.In other words, medical image is aobvious
When showing that position changes, the display position of edit tool also corresponding change;When the display scale of medical image changes, compile
The display scale of volume tool also corresponding change.
Medical image edit methods provided in this embodiment, computer equipment obtain the editing area in medical image first
The display state adjustment instruction of middle input, the display state adjustment instruction characterize the display state adjustment amount of medical image;Then
In editing area according to display state adjustment instruction adjustment medical image display state, and according to edit instruction to adjustment after
Medical image edited.In this method, display state adjustment instruction is inputted by the editing area of medical image, no
It needs to toggle between tools area and editing area, simple operating procedure, to improve the editor of medical image
Efficiency;And the display state of real-time display medical image adjusted in editing area, can be used family and quickly learns tune
The display state of medical image after whole.Further, the display state for acting on the edit tool of medical image can be with doctor
The display state corresponding change for learning image, further improves the editorial efficiency of medical image.
Fig. 2 is the flow diagram for the medical image edit methods that another embodiment provides.The present embodiment what is involved is
Computer equipment adjusts the detailed process of the display state of medical image according to display state adjustment instruction.Optionally, above-mentioned
On the basis of embodiment, as shown in Fig. 2, S102 includes:
S201 obtains the current display state of medical image.
Specifically, computer equipment obtains the current display state of medical image first, current display position can be
With current display scale.Optionally, the current display position of medical image can be the position coordinates of medical image central point,
Current display scale can be the display scale relative to original medical image, optionally, the display ratio of original medical image
Example can be set to 100%.
S202 parses display state adjustment instruction, determines the corresponding display state adjustment amount of display state adjustment instruction.
Specifically, due to the display state adjustment amount of display state adjustment instruction characterization medical image, then computer is set
It is standby to pass through parsing display state adjustment instruction, its available corresponding display state adjustment amount.
Optionally, computer equipment parses above-mentioned display state adjustment amount, and available input control is in editing area
Location variation determine the corresponding display state of display state adjustment instruction then according to the location variation of input control
Adjustment amount, wherein above-mentioned display state adjustment instruction is the instruction inputted by input control.Optionally, which can
Think mouse, keyboard or other input equipments being connected with computer equipment.Illustratively, it is assumed that obtained input control exists
Location variation in editing area is to be moved to the left 10 pixels, then computer equipment can determine that display state adjusts
Instructing corresponding display state adjustment amount is to be moved to the left 10 pixels, or be moved to the left n times of 10 pixels, which can
To be configured according to demand.
S203 determines that the update of medical image is shown according to the current display state of medical image, display state adjustment amount
State, and show and update the corresponding medical image of display state.
Specifically, current display state and display state adjustment amount of the computer equipment according to above-mentioned medical image, really
The update for determining medical image shows state.It is to adjust the display position of medical image, medicine with above-mentioned display state adjustment instruction
The display position of image is expressed as the position coordinates of central point, it is assumed that and the current display position of medical image is (50,50),
Display state adjustment amount is to move up 10 pixels, then the update display position of medical image is (50,60).Then computer
Equipment will update the corresponding medical image of display state and show.
Medical image edit methods provided in this embodiment, computer equipment obtain the current display shape of medical image first
Then state parses display state adjustment instruction and determines its corresponding display state adjustment amount, further according to current display state, display
State adjustment amount determines that the update of medical image shows state.In this method on the basis of the current display state of medical image,
It is determined further according to display state adjustment amount and updates display state, the display state for updating that display state is needed with user can be improved
Matching degree, and display state adjustment amount pass related to the location variation of input control can be further set as needed
System, further improves the editorial efficiency of medical image.
Below using specific embodiment introduction when input control is mouse and keyboard, display state adjustment instruction is parsed, is obtained
To the detailed process of location variation of the input control in editing area.Fig. 3 is the medical image that another embodiment provides
The flow diagram of edit methods, on the basis of the above embodiments, optionally, S202 includes:
S301 obtains initial position and termination of the mouse pointer carried in display state adjustment instruction in editing area
Position.
Specifically, the finger that above-mentioned display state adjustment instruction is inputted for the key of the shortcut key and mouse that trigger keyboard
It enables, optionally, the instruction that the key of the Ctrl or Alt key or shift key and mouse that can be triggering keyboard is inputted.
Computer equipment by parsing above-mentioned display state adjustment instruction, can obtain mouse pointer editing area initial position with
Final position, wherein initial position and final position can be indicated with corresponding position coordinates.
S302 calculates the displacement of initial position and final position, using displacement as mouse pointer in editing area
Location variation.
Specifically, computer equipment obtains mouse pointer after the initial position of editing area and final position, it can
Displacement between the two, and the location variation using the displacement as mouse pointer in editing area is calculated.
Illustratively, it is assumed that the initial position of mouse pointer is (30,40), and the final position after input display state adjustment instruction is
(60,40), then can determine that the location variation of mouse pointer is 30 pixels that move right.
Since above-mentioned display state may include display position and display scale, then introducing adjustment medicine figure separately below
The case where display position of picture and the display scale of adjustment medical image.
Optionally, in wherein some embodiments, when triggering the shortcut key and left mouse button of keyboard, display state adjustment
The display position for adjusting medical image is instructed, computer equipment can be by the displacement of above-mentioned mouse pointer and preset ratio
The example factor is multiplied, using result of product as the corresponding display position adjustment amount of display state adjustment instruction, the scale factor
Characterize the amplitude of variation of display position adjustment amount.
Optionally, computer equipment can be according to formula (Znew-Zold) × α determines display position adjustment amount, wherein (Znew-
Zold) it is displacement, ZnewFor final position, ZoldFor initial position, α is scale factor, characterizes display position adjustment amount according to position
The amplitude of variation that shifting amount is changed;Such as assuming that the displacement of mouse pointer is 10 pixels, α takes 2, then medical image
Display position adjustment amount is 20 pixels.In addition, computer equipment can also determine mouse according to final position and initial position
The mobile direction of pointer.Then computer equipment is according to display position adjustment amount, current display position and formula (Znew-Zold)×
α+T (T is current display position), can determine the update display position of medical image, and show that update display position is corresponding
Medical image.
Optionally, in wherein some embodiments, when triggering the shortcut key and right mouse button of keyboard, display state adjustment
Instruct the display scale for adjusting medical image, computer equipment can according to the displacement of above-mentioned mouse pointer and multiple because
Son, determines the corresponding display scale adjustment amount of display state adjustment instruction, which characterizes the current display of medical image
Ratio.
Optionally, the present embodiment setting triggering keyboard shortcut key and click right mouse button make mouse pointer along Y-axis just
To the display scale amplification for when sliding, characterizing medical image;It triggers the shortcut key of keyboard and clicking right mouse button refers to mouse
When needle is slided along Y-axis negative sense, the display scale for characterizing medical image reduces.Computer equipment can be according to formulaDisplay scale adjustment amount is determined, wherein (Ynew-Yold) it is displacement, β is multiplying factor, characterizes medical image
Current display scale;Such as assume that mouse pointer moves 10 pixels, β 1, then the display of medical image along Y-axis forward direction
Ratio adjustment amount is 0.1, i.e., amplifies 0.1 times again on the basis of current display scale.Then computer equipment is according to display scale
Adjustment amount, current display scale and formula(B is current display scale), can determine medical image
Display scale is updated, and shows and updates the corresponding medical image of display scale.
Medical image edit methods provided in this embodiment show state adjustment by the quick key input of mouse and keyboard
Instruction, it makes use of users to be familiar with operation, editing process of more convenient user to medical image to mouse and keyboard.
In actual application, user is when the focal area to medical image is edited, if focal area is larger,
Then can quickly it be edited using the edit tool of larger size;It, can using the edit tool of smaller size if focal area is smaller
Reduce editor's error, therefore the embodiment of the present application can also adjust the sphere of action of edit tool, i.e. edit tool 12 in Fig. 1 a
Size.Fig. 4 is the flow diagram for the medical image edit methods that another embodiment provides, in above-described embodiment
On the basis of, optionally, the above method further include:
S401, obtains the sphere of action adjustment instruction inputted in the editing area of medical image, and sphere of action adjustment refers to
Enable the corresponding sphere of action adjustment amount of characterization edit tool.
S402, in editing area, according to sphere of action shown by sphere of action adjustment instruction adjustment edit tool.
Specifically, when user needs to adjust the sphere of action of edit tool, can medical image editing area it is defeated
Enter sphere of action adjustment instruction, optionally, the display format of above-mentioned edit tool can be circle, and circular radius r can be with table
Show the sphere of action of edit tool;The display format of above-mentioned edit tool may be rectangle, and the side length (long and wide) of rectangle can
To indicate the sphere of action of edit tool.Optionally, sphere of action adjustment instruction can be triggering right mouse button input, example
Such as, it can be and click the sphere of action that right mouse button makes mouse pointer along the sliding of Y-axis forward direction for expansion edit tool, click mouse
Right button makes sphere of action of the mouse pointer along the sliding of Y-axis negative sense to reduce edit tool.Then computer equipment can be according to mouse
Mark the displacement (Y of pointer along the y axisnew-Yold), determine the sphere of action adjustment amount of edit tool;And according to the effect model
The current sphere of action r for enclosing adjustment amount and edit tool, utilizes formula (Ynew-Yold) × θ+r obtains the update of edit tool
Sphere of action (θ is also scale factor, characterizes the amplitude of variation of the sphere of action adjustment amount of edit tool), and in medical image
Editing area shows the corresponding edit tool of regeneration function range.Illustratively, click right mouse button make mouse pointer along Y-axis just
To/negative sense it is mobile after, the sphere of action variation of edit tool 12 on the medical image can be found in schematic diagram shown in Fig. 4 a.
Medical image edit methods provided in this embodiment, computer equipment can also obtain the editing area in medical image
The sphere of action adjustment instruction inputted in domain, and the effect model according to sphere of action adjustment instruction adjustment edit tool
It encloses.I.e. when user needs to adjust the sphere of action of edit tool, same need to only adjust in editing area input action range refers to
Order further improves the editorial efficiency of medical image without toggling between tools area and editing area.
It should be understood that although each step in the flow chart of Fig. 1-Fig. 4 is successively shown according to the instruction of arrow,
It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 1-Fig. 4 extremely
Few a part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps
Moment executes completion, but can execute at different times, and the execution sequence in these sub-steps or stage is also not necessarily
It successively carries out, but in turn or can be handed over at least part of the sub-step or stage of other steps or other steps
Alternately execute.
Fig. 5 is the structural schematic diagram for the medical image editing device that one embodiment provides.As shown in figure 5, the device packet
It includes: obtaining module 11 and editor module 12.
Specifically, obtaining module 11, refer to for obtaining the display state inputted in the editing area of medical image adjustment
It enables, the display state adjustment amount of display state adjustment instruction characterization medical image, display state adjustment amount includes: display position tune
Whole amount and/or display scale adjustment amount.
Editor module 12, for adjusting the display shape of medical image according to display state adjustment instruction in editing area
State, and medical image adjusted is edited according to edit instruction, display state includes display position and/or display ratio
Example.
Medical image editing device provided in this embodiment, can execute above method embodiment, realization principle and skill
Art effect is similar, and details are not described herein.
Fig. 6 is the structural schematic diagram for the medical image editing device that another embodiment provides.Implement shown in above-mentioned Fig. 5
On the basis of example, as shown in fig. 6, above-mentioned editor module 12 includes acquiring unit 121, resolution unit 122 and determination unit 123.
Specifically, acquiring unit 121, for obtaining the current display state of medical image.
Resolution unit 122 determines the corresponding display shape of display state adjustment instruction for parsing display state adjustment instruction
State adjustment amount.
Determining module 123 determines medicine figure for current display state, the display state adjustment amount according to medical image
The update of picture shows state, and shows and update the corresponding medical image of display state.
Medical image editing device provided in this embodiment, can execute above method embodiment, realization principle and skill
Art effect is similar, and details are not described herein.
Above-mentioned resolution unit 122 in one of the embodiments, is specifically used for parsing display state adjustment instruction, obtains
Location variation of the input control in editing area;Display state adjustment instruction is the instruction inputted by input control;Root
According to location variation, the corresponding display state adjustment amount of display state adjustment instruction is determined.
Input control is mouse and keyboard in one of the embodiments, and display state adjustment instruction is triggering keyboard
The instruction that the key of shortcut key and mouse is inputted, above-mentioned resolution unit 122 are specifically used for obtaining in display state adjustment instruction
Initial position and final position of the mouse pointer of carrying in editing area;Calculate the displacement of initial position and final position
Amount, the location variation using displacement as mouse pointer in editing area.
In one of the embodiments, when the left button of the shortcut key and mouse that trigger keyboard, state adjustment instruction is shown
For adjusting the display position of medical image;Above-mentioned resolution unit 122, be specifically used for by displacement and preset scale factor into
Row is multiplied, using result of product as the corresponding display position adjustment amount of display state adjustment instruction;Preset scale factor characterization
The amplitude of variation of display position adjustment amount.
In one of the embodiments, when the right button of the shortcut key and mouse that trigger keyboard, state adjustment instruction is shown
For adjusting the display scale of medical image;Above-mentioned resolution unit 122 is specifically used for being determined according to displacement and multiplying factor
The corresponding display scale adjustment amount of display state adjustment instruction;The current display scale of multiplying factor characterization medical image.
Fig. 7 is the structural schematic diagram for the medical image editing device that another embodiment provides.In above-mentioned Fig. 5 or Fig. 6 institute
On the basis of showing embodiment, as shown in fig. 7, the device further includes adjustment module 13.
Specifically, adjustment module 13, is used for according to the corresponding display state adjustment amount of display state adjustment instruction, to effect
It is adjusted accordingly in the display state of the edit tool of medical image, and shows edit tool adjusted.
Medical image editing device provided in this embodiment, can execute above method embodiment, realization principle and skill
Art effect is similar, and details are not described herein.
Fig. 8 is the structural schematic diagram for the medical image editing device that another embodiment provides.Shown in above-mentioned Fig. 5-Fig. 7
On the basis of embodiment, as shown in figure 8, the device further includes the first acquisition module 14 and the first adjustment module 15.
Specifically, first obtains module 14, for obtaining the sphere of action tune inputted in the editing area of medical image
Whole instruction, sphere of action adjustment instruction characterize the corresponding sphere of action adjustment amount of edit tool;
The first adjustment module 15, for adjusting edit tool according to sphere of action adjustment instruction and showing in editing area
The sphere of action shown.
Medical image editing device provided in this embodiment, can execute above method embodiment, realization principle and skill
Art effect is similar, and details are not described herein.
Specific about medical image editing device limits the limit that may refer to above for medical image edit methods
Fixed, details are not described herein.Modules in above-mentioned medical image editing device can fully or partially through software, hardware and its
Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with
It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding
Operation.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure
Figure can be as shown in Figure 9.The computer equipment includes processor, the memory, network interface, display connected by system bus
Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited
Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program
And database.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.
The network interface of the computer equipment is used to communicate with external terminal by network connection.The computer program is held by processor
To realize a kind of medical image edit methods when row.The display screen of the computer equipment can be liquid crystal display or electronic ink
Water display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to computer equipment
Key, trace ball or the Trackpad being arranged on shell can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 9, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of when executing computer program
Obtain the display state adjustment instruction inputted in the editing area of medical image, display state adjustment instruction characterization
The display state adjustment amount of medical image, display state adjustment amount include: display position adjustment amount and/or display scale adjustment
Amount;
In editing area, according to the display state of display state adjustment instruction adjustment medical image, and referred to according to editor
Medical image adjusted is edited in order, and display state includes display position and/or display scale.
Computer equipment provided in this embodiment, implementing principle and technical effect are similar with above method embodiment, In
This is repeated no more.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the current display state of medical image;
Display state adjustment instruction is parsed, determines the corresponding display state adjustment amount of display state adjustment instruction;
According to the current display state of medical image, display state adjustment amount, determine that the update of medical image shows state,
And it shows and updates the corresponding medical image of display state.
In one embodiment, it is also performed the steps of when processor executes computer program
Display state adjustment instruction is parsed, location variation of the input control in editing area is obtained;Display state tune
Whole instruction is the instruction inputted by input control;
According to location variation, the corresponding display state adjustment amount of display state adjustment instruction is determined.
In one embodiment, input control is mouse and keyboard, and display state adjustment instruction is the quick of triggering keyboard
The instruction that the key of key and mouse is inputted, processor also perform the steps of when executing computer program
Obtain initial position and final position of the mouse pointer carried in display state adjustment instruction in editing area;
Calculate the displacement of initial position and final position, the position using displacement as mouse pointer in editing area
Variable quantity.
In one embodiment, when the left button of the shortcut key and mouse that trigger keyboard, display state adjustment instruction is used for
Adjust the display position of medical image;Processor also performs the steps of when executing computer program
Displacement is multiplied with preset scale factor, result of product is corresponding as display state adjustment instruction
Display position adjustment amount;The amplitude of variation of preset scale factor characterization display position adjustment amount.
In one embodiment, when the right button of the shortcut key and mouse that trigger keyboard, display state adjustment instruction is used for
Adjust the display scale of medical image;Processor also performs the steps of when executing computer program
According to displacement and multiplying factor, the corresponding display scale adjustment amount of display state adjustment instruction is determined;Multiple because
The current display scale of sublist sign medical image.
In one embodiment, it is also performed the steps of when processor executes computer program
According to the corresponding display state adjustment amount of display state adjustment instruction, to the edit tool for acting on medical image
Display state adjusts accordingly, and shows edit tool adjusted.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the sphere of action adjustment instruction inputted in the editing area of medical image, sphere of action adjustment instruction characterization
The corresponding sphere of action adjustment amount of edit tool;
In editing area, according to sphere of action shown by sphere of action adjustment instruction adjustment edit tool.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Obtain the display state adjustment instruction inputted in the editing area of medical image, display state adjustment instruction characterization
The display state adjustment amount of medical image, display state adjustment amount include: display position adjustment amount and/or display scale adjustment
Amount;
In editing area, according to the display state of display state adjustment instruction adjustment medical image, and referred to according to editor
Medical image adjusted is edited in order, and display state includes display position and/or display scale.
Computer readable storage medium provided in this embodiment, implementing principle and technical effect and above method embodiment
Similar, details are not described herein.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the current display state of medical image;
Display state adjustment instruction is parsed, determines the corresponding display state adjustment amount of display state adjustment instruction;
According to the current display state of medical image, display state adjustment amount, determine that the update of medical image shows state,
And it shows and updates the corresponding medical image of display state.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Display state adjustment instruction is parsed, location variation of the input control in editing area is obtained;Display state tune
Whole instruction is the instruction inputted by input control;
According to location variation, the corresponding display state adjustment amount of display state adjustment instruction is determined.
In one embodiment, input control is mouse and keyboard, and display state adjustment instruction is the quick of triggering keyboard
The instruction that the key of key and mouse is inputted, also performs the steps of when computer program is executed by processor
Obtain initial position and final position of the mouse pointer carried in display state adjustment instruction in editing area;
Calculate the displacement of initial position and final position, the position using displacement as mouse pointer in editing area
Variable quantity.
In one embodiment, when the left button of the shortcut key and mouse that trigger keyboard, display state adjustment instruction is used for
Adjust the display position of medical image;It is also performed the steps of when computer program is executed by processor
Displacement is multiplied with preset scale factor, result of product is corresponding as display state adjustment instruction
Display position adjustment amount;The amplitude of variation of preset scale factor characterization display position adjustment amount.
In one embodiment, when the right button of the shortcut key and mouse that trigger keyboard, display state adjustment instruction is used for
Adjust the display scale of medical image;It is also performed the steps of when computer program is executed by processor
According to displacement and multiplying factor, the corresponding display scale adjustment amount of display state adjustment instruction is determined;Multiple because
The current display scale of sublist sign medical image.
In one embodiment, it is also performed the steps of when computer program is executed by processor
According to the corresponding display state adjustment amount of display state adjustment instruction, to the edit tool for acting on medical image
Display state adjusts accordingly, and shows edit tool adjusted.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the sphere of action adjustment instruction inputted in the editing area of medical image, sphere of action adjustment instruction characterization
The corresponding sphere of action adjustment amount of edit tool;
In editing area, according to sphere of action shown by sphere of action adjustment instruction adjustment edit tool.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of medical image edit methods characterized by comprising
Obtain the display state adjustment instruction inputted in the editing area of medical image, the display state adjustment instruction characterization
The display state adjustment amount of the medical image, the display state adjustment amount include: display position adjustment amount and/or display ratio
Example adjustment amount;
In the editing area, the display state of the medical image, and root are adjusted according to the display state adjustment instruction
Medical image adjusted is edited according to edit instruction, the display state includes display position and/or display scale.
2. the method according to claim 1, wherein described according to display state adjustment instruction adjustment
The display state of medical image, comprising:
Obtain the current display state of the medical image;
The display state adjustment instruction is parsed, determines the corresponding display state adjustment amount of the display state adjustment instruction;
According to the current display state of the medical image, the display state adjustment amount, the update of the medical image is determined
Display state, and show the corresponding medical image of the update display state.
3. according to the method described in claim 2, it is characterized in that, the parsing display state adjustment instruction, determines institute
State the corresponding display state adjustment amount of display state adjustment instruction, comprising:
The display state adjustment instruction is parsed, location variation of the input control in the editing area is obtained;It is described aobvious
Show that state adjustment instruction is the instruction inputted by the input control;
According to the location variation, the corresponding display state adjustment amount of the display state adjustment instruction is determined.
4. according to the method described in claim 3, it is characterized in that, the input control is mouse and keyboard, the display shape
The instruction that state adjustment instruction is inputted by the shortcut key of the triggering keyboard and the key of the mouse, the parsing display
State adjustment instruction obtains location variation of the input control in the editing area, comprising:
Obtain initial position and termination of the mouse pointer carried in the display state adjustment instruction in the editing area
Position;
The displacement for calculating the initial position Yu the final position, using the displacement as the mouse pointer described
Location variation in editing area.
5. according to the method described in claim 4, it is characterized in that, when a left side for the shortcut key and the mouse for triggering the keyboard
When key, the display state adjustment instruction is used to adjust the display position of the medical image;It is described according to the change in location
Amount, determines the corresponding display state adjustment amount of the display state adjustment instruction, comprising:
The displacement is multiplied with preset scale factor, using result of product as the display state adjustment instruction pair
The display position adjustment amount answered;The preset scale factor characterizes the amplitude of variation of the display position adjustment amount.
6. according to the method described in claim 4, it is characterized in that, when the right side for the shortcut key and the mouse for triggering the keyboard
When key, the display state adjustment instruction is used to adjust the display scale of the medical image;It is described according to the change in location
Amount, determines the corresponding display state adjustment amount of the display state adjustment instruction, comprising:
According to the displacement and multiplying factor, the corresponding display scale adjustment amount of the display state adjustment instruction is determined;Institute
State the current display scale that multiplying factor characterizes the medical image.
7. method according to claim 1-6, which is characterized in that the method also includes:
According to the corresponding display state adjustment amount of the display state adjustment instruction, to the editor's work for acting on the medical image
The display state of tool adjusts accordingly, and shows edit tool adjusted.
8. the method according to claim 1, wherein the method also includes:
Obtain the sphere of action adjustment instruction inputted in the editing area of the medical image, the sphere of action adjustment instruction
Characterize the corresponding sphere of action adjustment amount of edit tool;
In the editing area, effect model shown by the edit tool is adjusted according to the sphere of action adjustment instruction
It encloses.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In when the processor executes the computer program the step of any one of realization claim 1-8 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of any one of claim 1-8 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910704490.6A CN110473610A (en) | 2019-07-31 | 2019-07-31 | Medical image edit methods, computer equipment and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910704490.6A CN110473610A (en) | 2019-07-31 | 2019-07-31 | Medical image edit methods, computer equipment and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110473610A true CN110473610A (en) | 2019-11-19 |
Family
ID=68508401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910704490.6A Pending CN110473610A (en) | 2019-07-31 | 2019-07-31 | Medical image edit methods, computer equipment and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110473610A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130197897A1 (en) * | 2010-10-08 | 2013-08-01 | Nec Casio Mobile Communications, Ltd. | Character translation system, character translation method, and computer readable medium |
CN106354413A (en) * | 2016-09-06 | 2017-01-25 | 百度在线网络技术(北京)有限公司 | Screen control method and device |
CN107680640A (en) * | 2017-09-26 | 2018-02-09 | 上海联影医疗科技有限公司 | Electronic report management method, device and storage medium for medical image system |
CN108932089A (en) * | 2017-05-24 | 2018-12-04 | 珠海金山办公软件有限公司 | A kind of method of adjustment of target object, device, electronic equipment and storage medium |
CN109069108A (en) * | 2017-02-13 | 2018-12-21 | 深圳迈瑞生物医疗电子股份有限公司 | Ultrasound medicine detection device, transfer control method and imaging system and terminal |
CN109192282A (en) * | 2018-08-10 | 2019-01-11 | 飞依诺科技(苏州)有限公司 | Editing method and device for medical image annotation, computer equipment and storage medium |
CN109493328A (en) * | 2018-08-31 | 2019-03-19 | 上海联影智能医疗科技有限公司 | Medical image display method checks equipment and computer equipment |
-
2019
- 2019-07-31 CN CN201910704490.6A patent/CN110473610A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130197897A1 (en) * | 2010-10-08 | 2013-08-01 | Nec Casio Mobile Communications, Ltd. | Character translation system, character translation method, and computer readable medium |
CN106354413A (en) * | 2016-09-06 | 2017-01-25 | 百度在线网络技术(北京)有限公司 | Screen control method and device |
CN109069108A (en) * | 2017-02-13 | 2018-12-21 | 深圳迈瑞生物医疗电子股份有限公司 | Ultrasound medicine detection device, transfer control method and imaging system and terminal |
CN108932089A (en) * | 2017-05-24 | 2018-12-04 | 珠海金山办公软件有限公司 | A kind of method of adjustment of target object, device, electronic equipment and storage medium |
CN107680640A (en) * | 2017-09-26 | 2018-02-09 | 上海联影医疗科技有限公司 | Electronic report management method, device and storage medium for medical image system |
CN109192282A (en) * | 2018-08-10 | 2019-01-11 | 飞依诺科技(苏州)有限公司 | Editing method and device for medical image annotation, computer equipment and storage medium |
CN109493328A (en) * | 2018-08-31 | 2019-03-19 | 上海联影智能医疗科技有限公司 | Medical image display method checks equipment and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4611031B2 (en) | Handwriting input device and method | |
CN102549532B (en) | Electronic apparatus using touch panel and setting value modification method of same | |
US9684412B2 (en) | Method and apparatus for generating a three-dimensional user interface | |
JP2010181637A (en) | Display control apparatus and display control method | |
CN110309236B (en) | Method, device, computer equipment and storage medium for finding way in map | |
US20140365947A1 (en) | Electronic apparatus, graph display method and computer readable medium | |
US8576230B2 (en) | Graph display apparatus, recording medium on which program is recorded, and graph display method | |
CN108932053A (en) | Drawing practice, device, storage medium and computer equipment based on gesture | |
CN107704157B (en) | Multi-screen interface operation method and device and storage medium | |
CN105827963B (en) | Scene-change detecting method and mobile terminal during one kind is taken pictures | |
US20140300609A1 (en) | Device and method for editing ink text data | |
US20140152702A1 (en) | Image display device, image display method, image display program, and computer-readable recording medium whereon program is recorded | |
CN110276807A (en) | Vehicle-mounted camera auxiliary calibration method, apparatus, equipment and medium | |
CN109525896A (en) | Comment on answering method, device, equipment and storage medium | |
CN109697733A (en) | Point methods, device, computer equipment and storage medium are sought in point cloud space | |
CN109407882A (en) | The smooth method, apparatus of contact track, equipment and storage medium | |
CN110473609A (en) | Medical image edit methods, device, computer equipment and readable storage medium storing program for executing | |
CN110473610A (en) | Medical image edit methods, computer equipment and readable storage medium storing program for executing | |
US9069398B1 (en) | Electronic device having a touch panel display and a method for operating the same | |
CN113593677A (en) | Image processing method, device, equipment and computer readable storage medium | |
CN109164950A (en) | A kind of mobile terminal system interface setting method, device, medium and equipment | |
CN109452926A (en) | Image heads positioning method, device, computer equipment and storage medium | |
CN109582511B (en) | Controller generation method and device and storage medium | |
CN110049535A (en) | Network search method, device, equipment and storage medium | |
CN106814931A (en) | A kind of terminal and application program image target localization method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191119 |
|
RJ01 | Rejection of invention patent application after publication |