CN101350104A - Method for implementing medical image mark-remaining information - Google Patents
Method for implementing medical image mark-remaining information Download PDFInfo
- Publication number
- CN101350104A CN101350104A CNA2008101422522A CN200810142252A CN101350104A CN 101350104 A CN101350104 A CN 101350104A CN A2008101422522 A CNA2008101422522 A CN A2008101422522A CN 200810142252 A CN200810142252 A CN 200810142252A CN 101350104 A CN101350104 A CN 101350104A
- Authority
- CN
- China
- Prior art keywords
- mark
- medical image
- remaining information
- implementation method
- remaining
- 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
Images
Landscapes
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention discloses an implementation method of medical image tracked information, which comprises the steps that: A1, medical images are loaded and are displayed in a screen window. A2, tracked information is built and displayed on the medical images. A3, the tracked information is stored. Through that the tracked information is directly drew on the medical images, a seamless connection of diagnosis and teaching is achieved, information which is left in a diagnosis process can be directly used for teaching, students can directly understand the whole process of the diagnosis of doctors through the tracked information, the operation is simple, and the time for making a teaching courseware is saved.
Description
Technical field
The present invention relates to technical field of image processing, be specifically related to a kind of implementation method of medical image mark-remaining information.
Background technology
In the medical image teaching, the doctor need show various illness analyses, the experience accumulation of running in the actual inspection process intuitively, for student's study.For some typical case histories in the historical diagnostic procedure being made into courseware, classic method is to read in the medical science special use to open these case history images on the sheet instrument, catch and grab the image of readding the sheet screen picture or these significant images being exported to the non-medical image format of operating system standard, adjust by the traditional images process software then, add markup information by drawing software again, to read sheet operation simulation process by magic lantern making software more at last couples together, make the step complexity that not only operates in this way, and the student can't see the true effect of typical case history image.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of implementation method of medical image mark-remaining information, overcomes prior art when making the medical image teaching courseware, must change picture format earlier, could add the defective of markup information then.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
A kind of implementation method of medical image mark-remaining information comprises step:
A1, load medical image and it is presented in the screen window;
A2, on described medical image, create and show mark-remaining information;
A3, store described mark-remaining information.
The implementation method of described medical image mark-remaining information comprises steps A 4: when loading described medical image once more, load described mark-remaining information simultaneously, the stack of described medical image and described mark-remaining information is shown.
The implementation method of described medical image mark-remaining information, wherein said steps A 1 comprises step: described medical image is loaded in the internal memory, preserves the address pointer that points to described medical image.
The implementation method of described medical image mark-remaining information, wherein said steps A 2 comprises step: set up the figure selecting interface of the different mark-remaining informations of sign, determine the mark-remaining information that will draw according to described figure selecting interface on described medical image.
The implementation method of described medical image mark-remaining information, wherein said steps A 3 comprises step: described mark-remaining information is stored as script file.
The implementation method of described medical image mark-remaining information, wherein said mark-remaining information comprises point, line, rectangle, polygon, circle and camber line.
The implementation method of described medical image mark-remaining information, wherein said figure selecting interface is made as the knob interface.
The implementation method of described medical image mark-remaining information is wherein by showing and hide the editing authority of the described mark-remaining information of described knob interface setting.
The implementation method of described medical image mark-remaining information, the position of two groups of described mark-remaining informations of coordinate record wherein is set, the first group of described mark-remaining information of coordinate record position under described medical image original display state, the second group of described mark-remaining information of coordinate record position under the current show state of described medical image.
The implementation method of described medical image mark-remaining information, in the time of wherein need under current show state, revising described mark-remaining information, described second group of coordinate adjusted, go out described first group of coordinate according to the changes in coordinates information calculations again, when the size of described medical image is adjusted, described first group of coordinate adjusted, gone out described second group of coordinate according to the changes in coordinates information calculations again.
Beneficial effect of the present invention is: the present invention is by directly drawing mark-remaining information on medical image, realized the seamless link of diagnosis with teaching, the information that stays in the diagnostic procedure can be directly used in teaching, the student can understand the overall process of diagnosis intuitively by mark-remaining information, easy and simple to handle, saved the time of making teaching courseware.
Description of drawings
The present invention includes following accompanying drawing:
Fig. 1 is the medical image synoptic diagram of the present invention's loaded and displayed first time;
Fig. 2 creates the process synoptic diagram of mark-remaining information on medical image for the present invention;
Fig. 3 is the synoptic diagram of the present invention after the establishment mark-remaining information is finished on the medical image;
Fig. 4 selects the button interfaces synoptic diagram of mark-remaining information figure for the present invention;
Fig. 5 creates the action collaboration diagram for the present invention;
The synoptic diagram that Fig. 6 makes amendment to mark-remaining information for the present invention;
Fig. 7 is mark-remaining information graphic element class graph structure figure of the present invention;
Fig. 8 is a mark-remaining information instantiation mouse operation logic synoptic diagram of the present invention;
Fig. 9 is the contrast synoptic diagram of medical image of the present invention through rotation and upset;
Figure 10 is a synchronization message process of transmitting synoptic diagram of the present invention;
Figure 11 is a synchronization message instantiation operation logic synoptic diagram of the present invention;
Figure 12 is display object class graph structure figure of the present invention;
Figure 13 is a display object instantiation operation logic synoptic diagram of the present invention;
Figure 14 preserves the message transmitting process synoptic diagram for the present invention;
Figure 15 is mark-remaining information visioning procedure figure of the present invention;
Figure 16 is mark-remaining information flow for displaying figure of the present invention.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
Mark-remaining information is meant and uses straight line and curve to describe figure, the element of these figures is some points, line, rectangle, polygon, circle and camber line isovector figure, these figures are added to above the picture element matrix image, are used for some important information on the emphasis prompting image.Adopt this method can realize easily between image and the marker graphic merging with separate.In user's use, can on image, create various figures as required, in needs, itself and image together be shown, a hidden figure display image in the time of unwanted.
1, loads medical image
In order to be implemented in visual establishment mark-remaining information on the medical image, at first the medical image file to be read in the internal memory from disk, in the main display window of screen, show the medical image that loads.In this process, call the LoadFromFile function image is loaded into the internal memory from disk, and it is presented at the screen main window.After being loaded into internal memory from disk image, keep the pointer that loads medical image, use to treat the back.In this step, the pointer pImg of a medical image type of application, its points to from disk and reads in medical image address the internal memory.The load check medical image, this moment can be at main window display-object medical image, as shown in Figure 1.
2, create mark-remaining information
Logical as shown in Figures 2 and 3, we adopt mouse action to carry out the drafting of graphic element, the operating function of the different mouses of the function knob of selecting can change, for example when selecting to create text mark, can be after mouse is clicked on image at current location popup text edit box, the user can import content in frame, will be in current location videotex information after finishing.Select to create arrow, mouse is pressed in the arrow starting position, decontrols at end position, will demonstrate arrowhead form on the image.
We will create an abstract class of action definition (BaseMouseAction) for all, by the unified function of movement interface of this class definition, as press mouse button MouseDown, decontrol mouse button MouseUp, rolling mouse key MouseMove, and action shows Draw.The subclass that derives from is all inherited these interface functions, and each subclass realizes the concrete action that each graphic element is created.When the user selects a certain establishment action, system will be with concrete subclass instantiation mouse action.
As shown in Figure 4, show on image that can provide various graphic elements simply and easily to carry out visual establishment, in order to realize this target, we provide the button interfaces of drawing tool in order to realize mark-remaining information.
When the user has selected a kind of establishment mode on button interfaces, ratio has been selected establishment arrow mark, at this moment contact bed will send a comMouseCreateArrowMark order to the logical process layer, the logical process layer receives this order back and creates an action example by the ArrowMarkCreateAction class, and MouseDown, MouseUp, the MouseMove message of mouse are transferred to this example operation.At this time the user presses the mouse knob in the arrow starting position and determines the arrow starting position, rolling mouse is decontroled the mouse knob to the arrow end position then, the mouse moving process will send Draw information in real time, upgrade mouse moving area interface, realize the setting-out effect, so just finished the whole constructive process of arrow.Create new arrow mark if desired and only need to repeat the establishment that mouse action just can be realized new arrow.If create the mark of other type, send different orders by contact bed, change other action example, different markup informations will be created by system.As the cooperating process of Fig. 5 for the moving class instantiation of establishment.
The method of the information that creates text and the creation method of other mark-remaining information are also basic identical, can create a TextMarkCreateAction instance objects equally, use mouse in the position of determining to show, but the input of word content we used the literal input frame of Windows operating system standard to realize the input of literal.Operating process at first contact bed will send a comMouseCreateTextMark order to the logical process layer, the logical process layer receives this order back and creates an action example by the ArrowMarkCreateAction class, and MouseDown, MouseUp, the MouseMove message of mouse are transferred to this example operation.The user is at the create text place knob of clicking the mouse of mark of needs, and at this time logical layer can send the comShowEditBoxEvent order to contact bed, requires contact bed to open a text input frame, for user's input characters content.Close window after user's end of input, contact bed sends it back logical layer with word content, by logical layer data is put in order and creates TextMarkObject demonstration instance objects, shows.
3, revise mark-remaining information
After having realized the establishment of mark-remaining information, also should consider the modification problem of creating back information, because the user in use can make mistakes, too many such as the information that the input wrongly written or mispronounced characters needs to revise, the arrow appointed positions need be adjusted or add, redundance need be deleted or the like.Can think that the mistake that produces in user's constructive process should be at random, and the probability that occurs should be very big, thus can not hell to pay to the modification of creating back information, using will be with to create action close, and learning cost just can not improve like this.
Consider the problem of this respect, we also are to use mouse action to revise content, and the amending method of realizing various graphic elements is all near the creation method of every kind of pel.To point out current pel be focus condition as long as mouse is moved to text top cursor of mouse such as: the modification of text marking, double-clicks the mouse knob and reopen text edit box.The two ends that cursor of mouse is moved to arrow are pressed mouse button and are dragged and can revise direction, move to press mouse button in the middle of the arrow line and drag and realize adjusting the position, and Fig. 6 has shown the variation that the mark-remaining information image is taken place.
As shown in Figure 7, we are defined as independent class object with each graphic element, create the close function interface of object for each class object defines too, have MouseDown, MouseUp, MouseMove, Draw etc. to handle function equally.We all are instantiated as unified GroupMark object the mark-remaining information that establishment is come out, they are identical objects In the view of the mark-remaining information supvr, can both respond mouse MouseDown, MouseUp, MouseMove action and show Draw information, but the concrete implementation method of the function of movement of every kind of mark-remaining information is according to the difference of self-characteristic, and disposal route is had nothing in common with each other.For example arrow marks amending method: press mouse knob rolling mouse and can change the arrow starting position when cursor of mouse moves to the starting position of arrow demonstration, decontrol the mouse knob and finish to revise; Press mouse knob rolling mouse on the arrow line and can carry out translation when cursor of mouse moves to arrow; When cursor of mouse moves to the end position of arrow demonstration, press mouse knob rolling mouse and can change the arrow end position, decontrol the mouse knob and finish to revise.Fig. 8 revises operation logic for the mark-remaining information mouse.
4, synchronous mark-remaining information
As shown in Figure 9 and since the purpose that the medical image image shows be the doctor for inspection to the patient body situation, in order to reach this purpose, the user need carry out multiple operational processes to image.Dwindle displaying contents such as amplification, rotation or flipped image strengthen various operations such as demonstration to image.Must consider the real-time stationary problem of mark-remaining information and image according to above-mentioned situation needs, guarantee that image shows that mark-remaining information is demarcated described region of anatomy position before image change all the time when changing.
In order to realize that we have adopted two groups of coordinates to write down mark-remaining information synchronously, the position coordinates of the first group record original image size mark-remaining information, the coordinate of the mark-remaining information that second group record and image synchronization show.The situation information that changes after also should writing down original image in addition and showing.When the user needs to revise graphic element on current display image time, we can adjust second group of coordinate, go out first group of coordinate according to image change situation information calculations again; When the user adjusted display image, we can calculate second group of coordinate according to first group of coordinate information and image change situation.
As shown in figure 10, how realized also should considering after the coordinate Calculation problem of graphic element that message informing with image change is to each graphic element.Because we regard all graphic elements as the display object of unified interface, so we are OnChange function of such object definition, when image takes place to become, message is taken place to each element, change by the character of each pictorial element root root oneself.
As shown in figure 11, as the user image is revolved when turning 90 degrees, system sends to each instance objects with OnChange.
5, show mark-remaining information
Because mark-remaining information is some points, line, rectangle, polygon, circle and camber line isovector figure.The digitizing medical image is the picture element matrix image, and both are complete computer datas of different nature.For the merging that realizes image and vector graphics with separate demonstration, we as consistent object, avoid all display elements to regard each display element as a kind of incoherent content.Otherwise what we obtained at last is redundant form and complicated manipulating mechanism.Should not overemphasize the difference between the individual element and element set in the internal representation yet.Should be able to as one man treat simple elements and composite component, so just allow the complicated arbitrarily realization that shows.We should consider that also layering shows problem, and the statement of hierarchy information we use the technology of recurrence combination to realize.
As shown in figure 12, we will be for appearing at abstract class pels of all object definitions (ShowObject) of display interface, and the various basic graphic elements of its subclass definitions (polar plot) have defined the element that institutes such as pictorial element are useful on demonstration again.
As shown in figure 13, in the actual displayed process, by window object (WindowObject) show canvas (Canvas) is passed to display object (ShowObject) layering image and mark-remaining information are presented on the screen.
6, read-only demonstration mark-remaining information
The establishment of mark-remaining information and modification should be subjected to certain control, if as long as can read the user of sheet just can make amendment to the mark-remaining information that is attached on the image, can't guarantee the correctness of these contents so.Mark-remaining information will be less than the meaning that exists.
Therefore we have at first controlled the establishment of mark-remaining information, if there is not the user of editing authority, system will hide establishment instrument knob.Secondly we go back the operational motion of mouse beacon, and no editing authority user's mouse can't be made amendment to the mark-remaining information that exists.At last hold function is also closed, so just can realize promptly can checking, can guarantee that again data are not damaged to domestic consumer.
We have defined a variable ImageReadOnly at image object.According to active user's authority this value is set, the true that is made as on duty, all control functions all will be done blank operation, as the code of MouseMove:
bool?ImageObject::OnMouseMove(LShiftStates&Shift,int?X,int?Y)
{
if(ImageReadOnly=true)
return?false;
for(int?i=0;i<Mark.size();i++)
Mark[i]->MouseMove(Shift,X,Y);
return?FObject->MouseMove(Shift,X,Y);
}
7, preserve mark-remaining information
The mark-remaining information of all establishments all should be preserved, show when providing open image next time, but mark-remaining information is not identical data type with image, be integral nor should preserve with raw data, because the medical image image is the effective information in the patient diagnostic procedure, should not make amendment to its raw data generally speaking, be to have certain legal sense.Therefore we as being the additional information of image, use the mode of script file to be kept at the image storing directory it.Write down each group names hereof, every attribute of mark-remaining information.As: the arrow mark, recorded content is
[sotGroupMark gmtArrowMark] { describes the type of mark-remaining information }
Color=R:255, G:0, B:0{ describe the grouping color of mark-remaining information }
Start (X, Y)=1692,109{ describes the starting position of arrow coordinate }
End (X, Y)=1692,283{ describes the end position of arrow coordinate }
Adopt this mode to preserve data, can operate easily.If there is the mark-remaining information of newtype to add, do not need to adjust yet, compatible, readability can both but to the demand result.
As shown in figure 14, determined the preservation form of data, also should consider how will to preserve message informing to each mark-remaining information object, in order to achieve this end, we are Save function of such object definition, when needs are preserved mark-remaining information, the script file handle is sent to each object, be saved in this document by the every attribute information of each pictorial element.
Figure 15 is mark-remaining information visioning procedure figure of the present invention, and Figure 16 is mark-remaining information flow for displaying figure of the present invention.
Those skilled in the art do not break away from essence of the present invention and spirit, can there be the various deformation scheme to realize the present invention, the above only is the preferable feasible embodiment of the present invention, be not so limit to interest field of the present invention, the equivalent structure that all utilizations instructions of the present invention and accompanying drawing content are done changes, and all is contained within the interest field of the present invention.
Claims (10)
1, a kind of implementation method of medical image mark-remaining information is characterized in that, comprises step:
A1, load medical image and it is presented in the screen window;
A2, on described medical image, create and show mark-remaining information;
A3, store described mark-remaining information.
2, the implementation method of medical image mark-remaining information according to claim 1 is characterized in that, comprises steps A 4: when loading described medical image once more, load described mark-remaining information simultaneously, the stack of described medical image and described mark-remaining information is shown.
3, the implementation method of medical image mark-remaining information according to claim 2 is characterized in that, described steps A 1 comprises step: described medical image is loaded in the internal memory, preserves the address pointer that points to described medical image.
4, the implementation method of medical image mark-remaining information according to claim 3, it is characterized in that, described steps A 2 comprises step: set up the figure selecting interface of the different mark-remaining informations of sign, determine the mark-remaining information that will draw according to described figure selecting interface on described medical image.
5, the implementation method of medical image mark-remaining information according to claim 4 is characterized in that, described steps A 3 comprises step: described mark-remaining information is stored as script file.
6, the implementation method of medical image mark-remaining information according to claim 5 is characterized in that: described mark-remaining information comprises point, line, rectangle, polygon, circle and camber line.
7, the implementation method of medical image mark-remaining information according to claim 6 is characterized in that: described figure selecting interface is made as the knob interface.
8, the implementation method of medical image mark-remaining information according to claim 7 is characterized in that: by showing and hide the editing authority of the described mark-remaining information of described knob interface setting.
9, the implementation method of medical image mark-remaining information according to claim 8, it is characterized in that: the position that two groups of described mark-remaining informations of coordinate record are set, the first group of described mark-remaining information of coordinate record position under described medical image original display state, the second group of described mark-remaining information of coordinate record position under the current show state of described medical image.
10, the implementation method of medical image mark-remaining information according to claim 9, it is characterized in that: in the time of need under current show state, revising described mark-remaining information, described second group of coordinate adjusted, go out described first group of coordinate according to the changes in coordinates information calculations again, when the size of described medical image is adjusted, described first group of coordinate adjusted, gone out described second group of coordinate according to the changes in coordinates information calculations again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101422522A CN101350104A (en) | 2008-08-05 | 2008-08-05 | Method for implementing medical image mark-remaining information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101422522A CN101350104A (en) | 2008-08-05 | 2008-08-05 | Method for implementing medical image mark-remaining information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101350104A true CN101350104A (en) | 2009-01-21 |
Family
ID=40268883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008101422522A Pending CN101350104A (en) | 2008-08-05 | 2008-08-05 | Method for implementing medical image mark-remaining information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101350104A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI486902B (en) * | 2013-01-07 | 2015-06-01 | ||
CN105390036A (en) * | 2015-12-21 | 2016-03-09 | 宁波江丰生物信息技术有限公司 | Digital pathological teaching system |
CN108074639A (en) * | 2017-12-25 | 2018-05-25 | 北京全域医疗技术有限公司 | Radiotherapy planning system page switching method and device based on browser |
-
2008
- 2008-08-05 CN CNA2008101422522A patent/CN101350104A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI486902B (en) * | 2013-01-07 | 2015-06-01 | ||
CN105390036A (en) * | 2015-12-21 | 2016-03-09 | 宁波江丰生物信息技术有限公司 | Digital pathological teaching system |
CN108074639A (en) * | 2017-12-25 | 2018-05-25 | 北京全域医疗技术有限公司 | Radiotherapy planning system page switching method and device based on browser |
CN108074639B (en) * | 2017-12-25 | 2020-10-16 | 北京全域医疗技术集团有限公司 | Method and device for switching pages of radiotherapy planning system based on browser |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Enderle et al. | Computer Graphics Programming: GKS—The Graphics Standard | |
US9836192B2 (en) | Identifying and displaying overlay markers for voice command user interface | |
US7096454B2 (en) | Method for gesture based modeling | |
Newman et al. | DENIM: An informal web site design tool inspired by observations of practice | |
TWI394055B (en) | Common charting using shapes | |
EP1603031A2 (en) | Strategies for providing just-in-time user assistance | |
JP2006172460A (en) | Method for annotating page of 3d electronic document | |
CN102169408A (en) | Link gestures | |
CN102725711A (en) | Edge gestures | |
CN102169407A (en) | Contextual multiplexing gestures | |
CN102169365A (en) | Cut, punch-out, and rip gestures | |
CN102141887A (en) | Brush, carbon-copy, and fill gestures | |
US20060242349A1 (en) | Rendering highlighting strokes | |
CN111459501A (en) | SVG-based Web configuration picture storage and display system, method and medium | |
JPH06511574A (en) | Interpreting image position in graphics systems | |
CN101350103B (en) | Method for implementing medical image multielement packet mark-remaining information | |
CN101350104A (en) | Method for implementing medical image mark-remaining information | |
Perin | Direct manipulation for information visualization | |
CN112114898B (en) | Interactive unit and interactive method suitable for graphical configuration | |
US7154511B2 (en) | Fast rendering of ink | |
US11670018B2 (en) | Method for replaying vector image | |
US20140026036A1 (en) | Personal workspaces in a computer operating environment | |
Lee et al. | Fractal AttractionTM: a Fractal Design System for the Macintosh® | |
Guzmán Ortiz | Assessment of the impact of using Augmented Reality to support learning | |
Rohil et al. | An architecture to intertwine augmented reality and intelligent tutoring systems: towards realizing technology-enabled enhanced learning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20090121 |