Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of digital pathology to cutThe mask method of sheet and annotation equipment, to address the above problem.
First aspect, the embodiment of the present invention provides a kind of mark side of digital pathological sectionMethod, the method comprises:
The positional information of the mark point that monitoring users is chosen on digital pathological section display interfaceWith the mark graph style that user selects, wherein, above-mentioned digital pathological section is by diseaseReason section scans the digital picture of rear acquisition;
Sick in above-mentioned numeral according to the positional information of above-mentioned mark point and above-mentioned mark graph styleOn reason section display interface, draw mark figure;
That above-mentioned user is inputted in predetermined input frame and mark above-mentioned mark graphical associationInformation is arranged on above-mentioned display interface; Wherein, above-mentioned markup information comprise following at least itOne: mark theme, marked content, mark graphic color.
In conjunction with first aspect, the embodiment of the present invention provides the first of first aspect possibleEmbodiment, wherein, above-mentioned according to the positional information of above-mentioned mark point and above-mentioned mark figureType is drawn mark figure on above-mentioned digital pathological section display interface, comprising:
In the time that the mark graph style of above-mentioned user's selection is regular figure, with above-mentioned mark pointIn the corresponding coordinate of initial point position information centered by point, at above-mentioned digital pathological sectionOn display interface, draw above-mentioned regular figure;
When the mark graph style of selecting as above-mentioned user is irregularly shaped, according to above-mentioned markThe corresponding coordinate of each dot position information adjacent straight line of drawing successively between two in note point,On above-mentioned digital pathological section display interface, draw the irregularly shaped of sealing.
In conjunction with the possible embodiment of the first of first aspect, the embodiment of the present invention providesThe possible embodiment of the second of first aspect, wherein, initial with in above-mentioned mark pointPoint centered by the corresponding coordinate of dot position information, at above-mentioned digital pathological section display interfaceThe above-mentioned regular figure of upper drafting, comprising:
In the time that the mark graph style of above-mentioned user's selection is flag, with initial point position informationPoint centered by corresponding coordinate is drawn flag on above-mentioned digital pathological section display interfaceFigure;
In the time that the mark graph style of above-mentioned user's selection is rectangle, with initial point position informationPoint centered by corresponding coordinate, with the corresponding coordinate of initial point position information and terminal positionThe twice of the distance between the corresponding coordinate of the information of putting is diagonal, at above-mentioned digital pathologyOn section display interface, draw rectangular area;
In the time that the mark graph style of above-mentioned user's selection is circle, with initial point position informationPoint centered by corresponding coordinate, with the corresponding coordinate of initial point position information and terminal positionDistance between the corresponding coordinate of the information of putting is radius, shows at above-mentioned digital pathological sectionOn interface, draw border circular areas;
In the time that the mark graph style of above-mentioned user's selection is ellipse, with initial point position informationPoint centered by corresponding coordinate, with the corresponding coordinate of initial point position information and terminalThe twice of the distance between the corresponding coordinate of positional information is in cornerwise rectangle, upperState on digital pathological section display interface and draw inner ellipse region.
In conjunction with first aspect in the possible embodiment of the second of first aspect any,The embodiment of the present invention provides the third possible embodiment of first aspect, wherein, onThe method of stating also comprises:
The above-mentioned mark figure of drawing and the above-mentioned markup information of setting are converted to above-mentioned numeralActual graphical parameter and actual markup information under case section respective coordinates system;
Store above-mentioned digital case section and above-mentioned actual graphical parameter and actual markup informationCorresponding relation, wherein, above-mentioned actual graphical parameter comprises with lower at least one: above-mentionedThe upper left angle point of mark figure corresponding circumscribed rectangle is with respect to above-mentioned digital pathological sectionCoordinate, the width of drawing the length, the rectangle that show multiplying power, rectangle, circular radius andThe set of the coordinate points listening to.
In conjunction with the third possible embodiment of first aspect, the embodiment of the present invention providesThe 4th kind of possible embodiment of first aspect, wherein, by the above-mentioned mark figure of drawingBe converted to the above-mentioned markup information arranging the reality that above-mentioned digital case is cut into slices under respective coordinates systemBorder graphic parameter and actual markup information, comprising:
Determine that the upper left angle point of the corresponding circumscribed rectangle of above-mentioned mark figure is with respect to showing boundaryThe coordinate of face;
According to reduction formula Bx=Px+LxAnd By=Py+LyBy the upper left corner of above-mentioned circumscribed rectanglePoint is the coordinate with respect to above-mentioned digital pathological section with respect to the coordinate transformation of display interface,Wherein, (Px,Py) be that the upper left angle point of circumscribed rectangle is with respect to the coordinate of display interface, (Bx,By) be that the upper left angle point of circumscribed rectangle is with respect to the coordinate of digital case section, (Lx,Ly)Show under multiplying power that for drawing digital case slicing edge is with respect to the side-play amount of display interface.
In conjunction with the third possible embodiment of first aspect, the embodiment of the present invention providesThe 5th kind of possible embodiment of first aspect, wherein, said method also comprises:
Obtain the current demonstration multiplying power of above-mentioned digital pathological section, the above-mentioned actual graphical of storageParameter and actual markup information;
According to above-mentioned current demonstration multiplying power by storage above-mentioned actual graphical parameter and above-mentioned realityMarkup information is converted to display graphics parameter and the demonstration under above-mentioned display interface respective coordinates systemMarkup information;
Under current demonstration multiplying power, on the display interface of above-mentioned digital pathological section, showState display graphics parameter and show markup information.
In conjunction with the 5th kind of possible embodiment of first aspect, the embodiment of the present invention providesThe 6th kind of possible embodiment of first aspect, wherein, according to above-mentioned current demonstration multiplying powerAbove-mentioned actual graphical parameter and the above-mentioned actual markup information of storage are converted to above-mentioned demonstration circleDisplay graphics parameter under the corresponding coordinate system of face and demonstration markup information, comprising:
According to formulaBy the above-mentioned actual graphical parameter of storage and above-mentioned actual markNote information is scaled the actual graphical parameter and the actual mark that match with above-mentioned current demonstration multiplying powerNote information, wherein, A is actual graphical parameter or the reality matching with current demonstration multiplying powerBorder markup information, a is actual graphical parameter or the actual markup information of storage, clay is for working asFront demonstration multiplying power, γ shows multiplying power for drawing;
According to reduction formula Cx=Ax+ηxAnd Cy=Ay+ηyWill with above-mentioned current demonstration multiplying power phaseThe actual graphical parameter of coupling and actual markup information are scaled with respect to above-mentioned display interfaceDisplay graphics parameter and demonstration markup information, wherein, (Ax,Ay) be actual graphical parameter orThe actual markup information of person is with respect to the coordinate of digital pathological section, (Cx,Cy) be actual figureShape parameter or actual markup information are with respect to the coordinate of display interface, (ηx,ηy) be currentShow under multiplying power that digital case slicing edge is with respect to the side-play amount of display interface.
Second aspect, the embodiment of the present invention also provides a kind of mark dress of digital pathological sectionPut, this device comprises:
Monitor module, the mark of choosing for monitoring users on digital pathological section display interfaceThe mark graph style that the positional information of note point and user select, wherein, above-mentioned digital pathologySection is the digital picture by pathological section being scanned to rear acquisition;
Mark graphic plotting module, for according to the positional information of above-mentioned mark point and above-mentioned markNote graph style is drawn mark figure on above-mentioned digital pathological section display interface;
Markup information arranges module, for above-mentioned user is inputted at predetermined input frame withThe markup information of above-mentioned mark graphical association is arranged on above-mentioned display interface; Wherein, above-mentionedMarkup information comprise following one of at least: mark theme, marked content, mark graphic color.
In conjunction with second aspect, the embodiment of the present invention provides the first of second aspect possibleEmbodiment, wherein, said apparatus also comprises:
The first modular converter, for by draw above-mentioned mark figure and the above-mentioned mark of settingInformation is converted to actual graphical parameter and the reality that above-mentioned digital case is cut into slices under respective coordinates systemMarkup information;
Memory module, for store above-mentioned digital case section and above-mentioned actual graphical parameter andThe corresponding relation of actual markup information, wherein, above-mentioned actual graphical parameter comprises with lowerAt least one: the upper left angle point of the corresponding circumscribed rectangle of above-mentioned mark figure is with respect to above-mentionedThe coordinate of numeral pathological section, draw the length, the rectangle that show multiplying power, rectangle width,The set of circular radius and the coordinate points that listens to.
In conjunction with second aspect, the embodiment of the present invention provides the second of second aspect possibleEmbodiment, wherein, said apparatus also comprises:
Acquisition module, for obtaining current demonstration multiplying power, the storage of above-mentioned digital pathological sectionAbove-mentioned actual graphical parameter and actual markup information;
The second modular converter, for according to above-mentioned current demonstration multiplying power by storage above-mentioned realityGraphic parameter and above-mentioned actual markup information are converted under above-mentioned display interface respective coordinates systemDisplay graphics parameter and demonstration markup information;
Display module, under current demonstration multiplying power, in showing of above-mentioned digital pathological sectionShow on interface and show above-mentioned display graphics parameter and show markup information.
In the method providing in the embodiment of the present invention and device, the method comprises: monitorPositional information and the use of the mark point that user chooses on digital pathological section display interfaceThe mark graph style that family is selected; According to the positional information of mark point and mark graphics classType is drawn mark figure on digital pathological section display interface; By user predetermined defeatedEntering the markup information with mark graphical association of inputting in frame is arranged on display interface;Wherein, markup information comprise following one of at least: mark theme, marked content, markNote graphic color. The embodiment of the present invention combines with information labeling by figure labelingMode is treated in real time survey region and is marked, and has realized the mode of multi-form mark,Be conducive to that other users or user are follow-up views region to be studied timely and accurately,Meet the actual demand of user study numeral pathological section.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, belowEspecially exemplified by preferred embodiment, and coordinate appended accompanying drawing, be described in detail below.
Detailed description of the invention
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below willIn conjunction with accompanying drawing in the embodiment of the present invention, to the technical scheme in the embodiment of the present invention carry out clear,Intactly describe, obviously, described embodiment is only the present invention's part embodiment,Instead of whole embodiment. The invention process of describing and illustrating in common accompanying drawing hereinThe assembly of example can be arranged and design with various configuration. Therefore, to attachedThe detailed description of the embodiments of the invention that provide in figure is not intended to limit claimed basisScope of invention, but only represent selected embodiment of the present invention. Based on reality of the present inventionExecute example, the institute that those skilled in the art obtain under the prerequisite of not making creative workThere are other embodiment, all belong to the scope of protection of the invention.
Consider and in correlation technique, utilize the mark mode of text description and utilize region sectional drawingMark mode, is all not easy to follow-up the viewing timely and accurately of other users or user and waits to grindStudy carefully region, cannot meet the actual demand of user study numeral pathological section. Based on this, thisInventive embodiments provides a kind of mask method and annotation equipment of digital pathological section, belowBe described by embodiment.
As shown in Figure 1, the embodiment of the present invention provides a kind of method side of digital pathological sectionMethod, the method comprising the steps of S102-S106, specific as follows:
Step S102: the mark point that monitoring users is chosen on digital pathological section display interfacePositional information and user select mark graph style, wherein, above-mentioned digital pathological sectionIt is the digital picture by pathological section being scanned to rear acquisition;
Wherein, above-mentioned mark point comprises starting point that user chooses on display interface, currentPoint and terminal, mark graph style is divided into regular figure and non-specification figure, and user is showingOn interface, click mark icon and can open callout box, in callout box, show various mark figuresThe default color option of type and mark figure is selected for user.
In addition, can also comprise e-Pointer icon, click e-Pointer icon when listening to userTime, mark figure and the markup information of drafting are not stored, and can select after Preset Time automaticallyThe mark figure that disappearance is drawn, or listen to while exiting e-Pointer pattern, automatically removeMark figure on display interface, under e-Pointer pattern, is applicable to interim mark demonstrationSituation.
Step S104: exist according to the positional information of above-mentioned mark point and above-mentioned mark graph styleOn above-mentioned digital pathological section display interface, draw mark figure;
Step S106: that above-mentioned user is inputted in predetermined input frame and above-mentioned mark figureAssociated markup information is arranged on above-mentioned display interface; Wherein, above-mentioned markup information comprisesBelow one of at least: mark theme, marked content, mark graphic color.
Wherein, the default color of above-mentioned mark figure and mark graphic color can be set to write from memoryThe color of recognizing, also can select according to the actual requirements; Wherein, above-mentioned mark figureDefault color refer to select after a certain particular color each while drawing mark figure taking this color asDefault color, above-mentioned mark graphic color refers in the time of input marked content and can also again selectSelect mark graphic color, or follow-uply also can reselect mark graphic color to when editor.
In the mask method of the digital pathological section providing in the embodiment of the present invention, pass through figureThe mode that mark combines with information labeling is treated in real time survey region and is marked, realShow the mode of multi-form mark, be conducive to the follow-up timely standard of other users or userReally view region to be studied, met the reality of user study numeral pathological sectionDemand.
Further, consider the drafting mode difference of different labeled figure, above-mentioned according to markThe positional information of note point and above-mentioned mark graph style are at above-mentioned digital pathological section display interfaceUpper drafting mark figure, comprising:
In the time that the mark graph style of above-mentioned user's selection is regular figure, with above-mentioned mark pointIn the corresponding coordinate of initial point position information centered by point, at above-mentioned digital pathological sectionOn display interface, draw above-mentioned regular figure;
When the mark graph style of selecting as above-mentioned user is irregularly shaped, according to above-mentioned markThe corresponding coordinate of each dot position information adjacent straight line of drawing successively between two in note point,On above-mentioned digital pathological section display interface, draw the irregularly shaped of sealing.
Concrete, taking the corresponding coordinate of initial point position information in above-mentioned mark point as inHeart point is drawn above-mentioned regular figure on above-mentioned digital pathological section display interface, comprising:
In the time that the mark graph style of above-mentioned user's selection is flag, with initial point position informationPoint centered by corresponding coordinate is drawn flag on above-mentioned digital pathological section display interfaceFigure;
In the time that the mark graph style of above-mentioned user's selection is rectangle, with initial point position informationPoint centered by corresponding coordinate, with the corresponding coordinate of initial point position information and terminal positionThe twice of the distance between the corresponding coordinate of the information of putting is diagonal, at above-mentioned digital pathologyOn section display interface, draw rectangular area;
In the time that the mark graph style of above-mentioned user's selection is circle, with initial point position informationPoint centered by corresponding coordinate, with the corresponding coordinate of initial point position information and terminal positionDistance between the corresponding coordinate of the information of putting is radius, shows at above-mentioned digital pathological sectionOn interface, draw border circular areas;
In the time that the mark graph style of above-mentioned user's selection is ellipse, with initial point position informationPoint centered by corresponding coordinate, with the corresponding coordinate of initial point position information and terminalThe twice of the distance between the corresponding coordinate of positional information is in cornerwise rectangle, upperState on digital pathological section display interface and draw inner ellipse region.
Further, arrive service in order to draw than mark figure and markup information asynchronous transmissionOn device, carry out association store, due to consider while drawing the relevant parameter that listens to be with respect toDisplay interface coordinate system need to be with respect to digital pathological section by parameter Coordinate ConversionCoordinate is stored again, and based on this, said method also comprises:
The above-mentioned mark figure of drawing and the above-mentioned markup information of setting are converted to above-mentioned numeralActual graphical parameter and actual markup information under case section respective coordinates system;
Store above-mentioned digital case section and above-mentioned actual graphical parameter and actual markup informationCorresponding relation, wherein, above-mentioned actual graphical parameter comprises with lower at least one: above-mentionedThe upper left angle point of mark figure corresponding circumscribed rectangle is with respect to above-mentioned digital pathological sectionCoordinate, drafting show multiplying power, the length of rectangle, the width of rectangle, circular radius, markThe set of the area of figure and the coordinate points listening to.
Wherein, as the width of the length of rectangle, rectangle, circular radius be the distance of point-to-point transmissionObtain in the following way:
Obtain starting point and terminal according to the positional information of the starting point of one section of line segment and terminalPixel distance, comprising:
According to computing formula
B=parseInt (Math.sqrt (squer (x2-x1)+squer (y2-y1))) calculates initialPoint and the pixel distance of terminal, wherein, (x1, y1) is the coordinate of starting point, (x2, y2) isThe coordinate of terminal, B is the pixel distance of starting point and terminal, parseInt is bracket function,Math.sqrt is evolution function, and squer is for asking chi square function;
According to the pixel distance of starting point and terminal and pixel distance corresponding to display interface withThe reduction formula of actual range, determine and comprise the actual range of starting point and terminal:
According to the pixel distance of starting point and terminal and corresponding pixel distance and the reality of display interfaceThe reduction formula of border distanceCalculate the actual range of starting point and terminal,Wherein, A is the actual range of starting point and terminal, and B is the pixel distance of starting point and terminalFrom, a is the actual range of physics pathological section, b is digital pathology under maximum scan multiplying powerThe pixel wide of section, rate is maximum scan multiplying power, clay is current demonstration multiplying power.
Concrete, the above-mentioned mark figure of drawing and the above-mentioned markup information of setting are converted toActual graphical parameter and actual markup information under above-mentioned digital case section respective coordinates system,Comprise:
Determine that the upper left angle point of the corresponding circumscribed rectangle of above-mentioned mark figure is with respect to showing boundaryThe coordinate of face;
According to reduction formula Bx=Px+LxAnd By=Py+LyBy the upper left corner of above-mentioned circumscribed rectanglePoint is the coordinate with respect to above-mentioned digital pathological section with respect to the coordinate transformation of display interface,Wherein, (Px,Py) be that the upper left angle point of circumscribed rectangle is with respect to the coordinate of display interface, (Bx,By) be that the upper left angle point of circumscribed rectangle is with respect to the coordinate of digital case section, (Lx,Ly)Show under multiplying power that for drawing digital case slicing edge is with respect to the side-play amount of display interface.
Wherein, LxAnd LyBy formula Lx=Mx*zoom*NxAnd Ly=My*zoom*Ny,M in formulaxAnd MyRepresent length and the width of display interface, NxAnd NyRepresentative digit pathologySection is with respect to the border (containing x, two coordinate directions of y) of display interface, and zoom represents numberThe ratio of word pathological section width and display interface width.
The corresponding circumscribed rectangle of above-mentioned mark figure refers to and just comprises mark one of figureRectangular region, for irregular figure, the corresponding circumscribed rectangle of mark figure isRefer to, obtaining with the y axle difference of Y-axis highs and lows is highly the width of rectangle, withThe most left and the rightest x axle difference of X-axis is obtained the length that length is rectangle, according to this width andLength obtains one can comprise the rectangle tab area that institute's pointed set closes.
In embodiment provided by the invention, before storage map shape parameter and markup information, needThe Coordinate Conversion of the parameter with respect to display interface of obtaining during by drafting mark figure is phaseFor the coordinate of the parameter of digital pathological section, generally, due to above-mentioned no matter be ruleFigure or irregular figure all correspond to a circumscribed rectangle, by this circumscribed rectangleUpper left angle point is as anchor point, and this anchor point is converted under digital case slice coordinates systemCoordinate figure store, in follow-up procedure for displaying, be subject to the impact of display position, thus showParameter coordinate exactly.
Further, while considering follow-up demonstration, may contract to digital pathological section imagePut demonstration, synchronously carry out convergent-divergent in order to make to mark figure, based on this, said method also comprises:
Obtain the current demonstration multiplying power of above-mentioned digital pathological section, the above-mentioned actual graphical of storageParameter and actual markup information;
According to above-mentioned current demonstration multiplying power by storage above-mentioned actual graphical parameter and above-mentioned realityMarkup information is converted to display graphics parameter and the demonstration under above-mentioned display interface respective coordinates systemMarkup information;
Under current demonstration multiplying power, on the display interface of above-mentioned digital pathological section, showState display graphics parameter and show markup information, wherein, display graphics parameter comprises current aobviousShow width, the circular radius of length, the rectangle of multiplying power, rectangle, area of mark figure etc.Deng, specifically show which parameter can show according to the actual requirements, and can be byThe numerical value of parameter shows with micron value.
Concrete, according to above-mentioned current demonstration multiplying power by the above-mentioned actual graphical parameter of storage andAbove-mentioned actual markup information is converted to the lower display graphics of above-mentioned display interface respective coordinates system joinsNumber and demonstration markup information, comprising:
According to formulaBy the above-mentioned actual graphical parameter of storage and above-mentioned actual markNote information is scaled the actual graphical parameter and the actual mark that match with above-mentioned current demonstration multiplying powerNote information, wherein, A is actual graphical parameter or the reality matching with current demonstration multiplying powerBorder markup information, a is actual graphical parameter or the actual markup information of storage, clay is for working asFront demonstration multiplying power, γ shows multiplying power for drawing;
According to reduction formula Cx=Ax+ηxAnd Cy=Ay+ηyWill with above-mentioned current demonstration multiplying power phaseThe actual graphical parameter of coupling and actual markup information are scaled with respect to above-mentioned display interfaceDisplay graphics parameter and demonstration markup information, wherein, (Ax,Ay) be actual graphical parameter orThe actual markup information of person is with respect to the coordinate of digital pathological section, (Cx,Cy) be actual figureShape parameter or actual markup information are with respect to the coordinate of display interface, (ηx,ηy) be currentShow under multiplying power that digital case slicing edge is with respect to the side-play amount of display interface.
Wherein, above-mentioned current demonstration multiplying power obtains as follows:
Utilize formula clay/rate=sm/wd to determine current demonstration multiplying power, wherein, clay representsThe current demonstration multiplying power of numeral pathological section, the maximum scan of rate representative digit pathological sectionMultiplying power, the pixel wide value of the corresponding convergent-divergent multiplying power of sm representative digit pathological section, wd representsThe pixel wide value of the corresponding maximum scan multiplying power of numeral pathological section.
In embodiment provided by the invention, first according to current demonstration multiplying power by with storageActual graphical parameter and actual markup information are scaled the graphic parameter under current demonstration multiplying powerAnd markup information, then, graphic parameter and markup information after converting are carried out to coordinate system and changeCalculate, by graphic parameter and markup information by being converted to respect to digital pathological section with respect to aobviousShow interface, then show, realized and made to mark figure and digital pathological section image on year-on-year basisConvergent-divergent, thus it is more accurate in the situation that of Zoom display, to make to mark figure location.
The application scenarios of the mask method of digital pathological section as shown in Figure 2, in this applicationIn scene, first utilize slice scanner 32 to scan physics section 31, obtain digital pathologySection, then utilizes server 33 to carry out the storage of classification piecemeal and image to digital pathological sectionLogical process, finally by view data input display terminal 34 corresponding digital pathological section,Show digital pathological section by display terminal 34, user is by clicking on display terminal 34Mark icon 341, in the callout box of opening select mark graph style and mark figureColor is drawn in real time mark figure and is inputted markup information etc. on display terminal 34, in figureBe presented at the mark of drawing an oval shape on the digital pathological section figure on display interfaceFigure.
Provide as shown in Figure 3 user and on display interface, clicked the mark that mark icon is openedThe schematic diagram of note frame, shows various mark graph style and the acquiescence that marks figure in callout boxColor options is selected for user.
Provided as shown in Figure 4 the markup information input dialogue frame that ejects on display interfaceSchematic diagram, user can input and the mark theme and the marked content that mark graphical association, withTime can reselect mark graphic color.
For drawing in the situation of multiple marks on a digital pathological section, can showThe sidebar at interface is opened and is shown mark list, and user can select the mark that need to check at randomNote figure and markup information, all the other marks do not show; Meanwhile, a parameter also can be setShow Options, the parameter type of demonstration for you to choose, unchecked parameter does not show.
In digital pathological section mask method provided by the invention, by figure labeling withThe mode that information labeling combines is treated in real time survey region and is marked, and has realized manyThe mode of form mark, is conducive to that other users or user are follow-up to be looked into timely and accuratelySee region to be studied, met the actual demand of user study numeral pathological section;Further, before storage map shape parameter and markup information, when drafting is marked to figure, institute obtainsThe Coordinate Conversion of the parameter with respect to display interface of getting is the ginseng with respect to digital pathological sectionThe coordinate of number is stored again, has realized display parameters coordinate exactly; Further,First will change with actual graphical parameter and the actual markup information of storage according to current demonstration multiplying powerCalculate as graphic parameter and markup information under current demonstration multiplying power, then, by after convertingGraphic parameter and markup information carry out coordinate system conversion, by graphic parameter and markup information by phaseBe converted to respect to display interface for digital pathological section, then show, realized and having madeMark figure and digital pathological section image convergent-divergent on year-on-year basis, thereby the in the situation that of Zoom displayMake to mark figure location more accurate.
Corresponding to above-mentioned mask method, the embodiment of the present invention also provides a kind of digital pathology to cutThe annotation equipment of sheet, as shown in Figure 5, this device can comprise:
Monitor module 502, choose on digital pathological section display interface for monitoring usersThe positional information of mark point and the mark graph style selected of user, wherein, above-mentioned numeralPathological section is the digital picture by pathological section being scanned to rear acquisition;
Mark graphic plotting module 504, for according to the positional information of above-mentioned mark point andState mark graph style and on above-mentioned digital pathological section display interface, draw mark figure;
Markup information arranges module 506, for above-mentioned user is inputted at predetermined input frameThe markup information with above-mentioned mark graphical association be arranged on above-mentioned display interface; Wherein,Above-mentioned markup information comprise following one of at least: mark theme, marked content, mark figureColor.
Further, said apparatus also comprises:
The first modular converter, for by draw above-mentioned mark figure and the above-mentioned mark of settingInformation is converted to actual graphical parameter and the reality that above-mentioned digital case is cut into slices under respective coordinates systemMarkup information;
Memory module, for store above-mentioned digital case section and above-mentioned actual graphical parameter andThe corresponding relation of actual markup information, wherein, above-mentioned actual graphical parameter comprises with lowerAt least one: the upper left angle point of the corresponding circumscribed rectangle of above-mentioned mark figure is with respect to above-mentionedThe coordinate of numeral pathological section, draw the length, the rectangle that show multiplying power, rectangle width,The set of circular radius and the coordinate points that listens to.
Further, said apparatus also comprises:
Acquisition module, for obtaining current demonstration multiplying power, the storage of above-mentioned digital pathological sectionAbove-mentioned actual graphical parameter and actual markup information;
The second modular converter, for according to above-mentioned current demonstration multiplying power by storage above-mentioned realityGraphic parameter and above-mentioned actual markup information are converted under above-mentioned display interface respective coordinates systemDisplay graphics parameter and demonstration markup information;
Display module, under current demonstration multiplying power, in showing of above-mentioned digital pathological sectionShow on interface and show above-mentioned display graphics parameter and show markup information.
Known based on above-mentioned analysis, the mark of the digital pathological section that the embodiment of the present invention providesThe mode that device combines with information labeling by figure labeling is treated in real time survey region and is carried outMark, has realized the mode of multi-form mark, be conducive to other users or user follow-up andTime view exactly region to be studied, met the reality of user study numeral pathological sectionDemand; Further, before storage map shape parameter and markup information, will draw mark figureTime the parameter with respect to display interface obtained Coordinate Conversion for to cut with respect to digital pathologyThe coordinate of the parameter of sheet is stored again, has realized display parameters coordinate exactly; More enter oneStep, first according to current demonstration multiplying power, the actual graphical parameter with storage and reality are markedInformation is scaled graphic parameter and the markup information under current demonstration multiplying power, then, will changeGraphic parameter after calculation and markup information carry out coordinate system conversion, by graphic parameter and mark letterCease by being converted to respect to display interface with respect to digital pathological section, then show, realShow and made to mark figure and digital pathological section image convergent-divergent on year-on-year basis, thereby at Zoom displayIn situation, make to mark figure location more accurate.
The annotation equipment of the digital pathological section that the embodiment of the present invention provides can be on equipmentSpecific hardware or be installed on software or the firmware etc. on equipment. The embodiment of the present invention is carriedThe device of confession, its technique effect of realizing principle and generation is identical with preceding method embodiment,For concise and to the point description, the not mentioned part of device embodiment part, can be with reference to preceding method embodimentMiddle corresponding contents. Those skilled in the art can be well understood to, and is the side of describingJust and succinctly, the specific works process of the system of aforementioned description, device and unit, all canWith reference to the corresponding process in said method embodiment, do not repeat them here.
In embodiment provided by the present invention, should be understood that, the apparatus and method that disclose,Can realize by another way. Device embodiment described above is only schematic, for example, the division of described unit, is only that a kind of logic function is divided, actual realizationTime can have other dividing mode, again for example, multiple unit or assembly can in conjunction with orCan be integrated into another system, or some features can ignore, or not carry out. Another point,Shown or discussed coupling each other or direct-coupling or communication connection can be to pass throughSome communication interfaces, INDIRECT COUPLING or the communication connection of device or unit, can be electrically,Machinery or other form.
The described unit as separating component explanation can be or can not be also physically to divideOpen, the parts that show as unit can be or can not be also physical location,To be positioned at a place, or also can be distributed on multiple NEs. Can be according to realityThe needs on border select some or all of unit wherein to realize the order of the present embodiment scheme.
In addition, the each functional unit in embodiment provided by the invention can be integrated in oneIn processing unit, can be also that the independent physics of unit exists, also can two or twoAbove unit is integrated in a unit.
If described function realizes and as product pin independently using the form of SFU software functional unitWhen selling or using, can be stored in a computer read/write memory medium. Based on like thisUnderstanding, the portion that technical scheme of the present invention contributes to prior art in essence in other wordsPoint or the part of this technical scheme can embody with the form of software product, this calculatingMachine software product is stored in a storage medium, comprises that some instructions are in order to make a meterCalculation machine equipment (can be personal computer, server, or the network equipment etc.) carry out thisInvent all or part of step of method described in each embodiment. And aforesaid storage medium bagDraw together: USB flash disk, portable hard drive, read-only storage (ROM, Read-OnlyMemory),Random access memory (RAM, RandomAccessMemory), magnetic disc or CDEtc. various media that can be program code stored.
It should be noted that: in similar label and letter accompanying drawing below, represent similar terms, because ofThis, once be defined in an a certain Xiang Yi accompanying drawing, it is right in accompanying drawing subsequently, not needIt further defines and explains, in addition, and term " first ", " second ", " the 3rd "Deng only for distinguishing description, and can not be interpreted as instruction or hint relative importance.
Finally it should be noted that: the above embodiment is only specific embodiment of the invention sideFormula, in order to technical scheme of the present invention to be described, is not intended to limit, protection model of the present inventionEnclose and be not limited to this, although the present invention is had been described in detail with reference to previous embodiment,Those of ordinary skill in the art is to be understood that: be anyly familiar with those skilled in the artIn the technical scope disclosing in the present invention, the skill that it still can be recorded previous embodimentArt scheme is modified or can be expected easily changing, or part technical characterictic is wherein carried outBe equal to replacement; And these are revised, change or replace, do not make the basis of appropriate technical solutionMatter departs from the spirit and scope of embodiment of the present invention technical scheme. All should be encompassed in of the present inventionWithin protection domain. Therefore, protection scope of the present invention should the described protection with claimScope is as the criterion.