CN104598469A - Method for drawing medical image positioning line on browser - Google Patents
Method for drawing medical image positioning line on browser Download PDFInfo
- Publication number
- CN104598469A CN104598469A CN201310530395.1A CN201310530395A CN104598469A CN 104598469 A CN104598469 A CN 104598469A CN 201310530395 A CN201310530395 A CN 201310530395A CN 104598469 A CN104598469 A CN 104598469A
- Authority
- CN
- China
- Prior art keywords
- image
- browser
- medical image
- positioning
- sectioning
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention discloses a method for drawing a medical image positioning line on a browser. The method comprises the steps that the browser uses unique identifications (UID) of a positioning image and a slice image to form a request URL based on a WADO protocol and sends the request URL to a Web medical image server; the Web medical image server reads required DICOM file information by resolving the request URL, calculates a two-dimensional coordinate value required by positioning line drawing according to the positioning image and then returns the two-dimensional coordinate value to the browser; the browser utilizes canvas attribute of HTML5 to draw the positioning line on the slice image of a medical image according to the returned two-dimensional coordinate value. By means of the method, drawing of the medical image positioning line on the browser is completed, the focus position of a patient is accurately judged by means of the positioning line, accordingly diagnostic efficiency and accuracy are improved, and an important assisting tool is provided for accurate diagnosis of remote consultation.
Description
Technical field
The present invention relates to medical image processing technology, especially relate to a kind of method of drawing medical image position line on a web browser
Background technology
Such as, the number of sections in CT, MR sequence is a lot, and doctor needs many group different points of view angles making a definite diagnosis of focus position, and by analyzing human tissue organ's two-dimensional slice image of a sequence, doctor can obtain size and the shape of focus, convenient diagnosis.But the location of CT sectioning image, the mutual location between the section of MR difference is a difficult problem, and for certain piece image, doctor does not also know the exact position that this sectioning image is corresponding on histoorgan.
Prior art is that Based PC client draws position line on medical image, because the travelling performance of PC end is poor, cannot be adapted to the demand of the true position patient focus of present tele-medicine traditional Chinese medical science production of sperm.
Summary of the invention
For overcoming the defect of prior art, the present invention proposes a kind of method of drawing medical image position line on a web browser, take service end position line algorithm and the display algorithm of efficiently and accurately, the position line that the browser not installing any plug-in unit completes medical image is drawn.
The present invention adopts following technical scheme to realize: a kind of method of drawing medical image position line on a web browser, and it comprises step:
The unique identification UID of positioning image in medical image and sectioning image is formed request URL based on WADO agreement by browser, and sends request URL to Web medical image server;
Web medical image server reads the DICOM fileinfo needed by analysis request URL, calculated and draw two-dimensional coordinate value needed for position line, then two-dimensional coordinate value is returned browser by positioning image;
Browser, according to the two-dimensional coordinate value returned, uses canvas attribute in HTML5 to draw position line on the sectioning image of medical image.
Wherein, browser uses the Ajax technology in JavaScript and Web medical image server to carry out asynchronous communication.
Wherein, calculate the step of drawing two-dimensional coordinate value needed for position line by positioning image specifically to comprise:
Location picture and section picture is distinguished to comprising medical image in DICOM fileinfo;
TAG mark in the DICOM file obtained is utilized to set up unified coordinate system;
Determine positioning image place plane, calculate the upper left corner of sectioning image, the upper right corner, the lower right corner and these four vector shifts between end points and positioning image of the lower left corner, judged by vector shift and calculate two intersection coordinate value between section figure and positioning image, two intersection coordinate value are converted to two-dimensional coordinate value CrossPoint1 (x, y) with CrossPoint2 (x, y).
Wherein, determine that the step of positioning image place plane comprises:
Upper left corner end points, at the three-dimensional coordinate of unified coordinate system, is assumed to be O
1(x
1, y
1, z
1), and the direction vector of the first row of this positioning image
with the direction vector of first row
By the direction vector of the first row of positioning image
with the direction vector of first row
carry out multiplication cross computing, obtain the normal vector of located image plane
According to the normal vector of positioning image
obtain the plane of positioning image, be expressed as (x-x with plane equation
1) d
x+ (y-y
1) d
y+ (z-z
1) d
z=0.
Wherein, the step of four of the calculating sectioning image vector shifts between end points and positioning image comprises:
The D coordinates value O of upper left corner end points in described unified coordinate system that Tag (0020,0032) value determines sectioning image is taken out successively from sectioning image
2(x
2, y
2, z
2), take out the unit row vector of Tag (0020,0037) value determination sectioning image
with unit column vector
, take out Tag (0028,0030) the physical height Spacingx of each pixel representative in value determination sectioning image, Spacingy, taking-up Tag (0028,0010) the height SrcHeight of value determination sectioning image, the width S rcWight of taking-up Tag (0028,0011) value determination sectioning image;
Determine the coordinate of these four end points of the upper left corner of sectioning image, the upper right corner, the lower right corner and the lower left corner, be designated as P respectively
1(x, y, z), P
2(x, y, z), P
3(x, y, z) and P
4(x, y, z);
Calculate P respectively
1(x, y, z), P
2(x, y, z), P
3(x, y, z) and P
4(x, y, z) with (x-x
1) d
x+ (y-y
1) d
y+ (z-z
1) d
zvector shift dv between=0 positioning image represented
1, dv
2, dv
3and dv
4.
Wherein, the coordinate P of the upper left corner end points of sectioning image is determined respectively by following formula
1the coordinate P of (x, y, z), upper right corner end points
2the coordinate P of (x, y, z), lower right corner end points
3the coordinate P of (x, y, z) and lower left corner end points
4(x, y, z):
P
1(x, y, z) is O
2(x
2, y
2, z
2),
Wherein, calculate the zoom factor during display box of sectioning image on endoadaptation browser, by the width of sectioning image with highly all carry out convergent-divergent process according to this zoom factor after, sectioning image is presented in the display box of browser.
Wherein, after browser carries out conversion process according to the two-dimensional coordinate value returned and zoom factor, obtain starting point coordinate value TransStartPoint (x, y) with end coordinate values TransEndPoint (x, y), canvas attribute in HTML5 is used namely to draw position line with dotted line connection source coordinate figure TransStartPoint (x, y) and end coordinate values TransEndPoint (x, y) on the sectioning image of medical image.
Compared with prior art, the present invention has following beneficial effect:
The present invention is in conjunction with the data message of WADO agreement and DIOCM file in DICOM3.0 standard, take the service end position line algorithm of efficiently and accurately and the display algorithm of WEB client side, the painting canvas attribute based on HTML5 finally achieves the display on a web browser of CT/MR image sequence position line.The position line that the present invention can complete medical image on the browser not installing any plug-in unit is drawn, doctor can be made to utilize any mobile device to log in browser whenever and wherever possible, the position line also being completed medical image by network address access medical image server is on a web browser drawn, accurately judge by the position of position line to patient's focus, thus improve efficiency and the precision of diagnosis, and provide important auxiliary tool for the Precise Diagnosis of remote medical consultation with specialists.
Accompanying drawing explanation
Fig. 1 is system architecture schematic diagram of the present invention.
Fig. 2 is the workflow schematic diagram between browser and WEB medical image server.
Embodiment
The present invention is in conjunction with DICOM3.0(Digital Imaging and Communications in Medicine) WADO(Web Access to DICOM Persistent Object in standard) data message of agreement and DIOCM file, take the service end position line algorithm of efficiently and accurately and the display algorithm of client, based on HTML5(Hypertext Markup Language) painting canvas attribute finally achieve the display on a web browser of CT/MR image sequence position line.Therefore, the position line that the present invention can complete medical image on the browser not installing any plug-in unit is drawn, doctor can be made to utilize any mobile device to log in browser whenever and wherever possible, the position line also being completed medical image by network address access medical image server is on a web browser drawn, accurately judge by the position of position line to patient's focus, thus improve efficiency and the precision of diagnosis, and provide important auxiliary tool for the Precise Diagnosis of remote medical consultation with specialists.
For the ease of understanding, before description the application concrete methods of realizing, first the several gordian techniquies used in the application are described:
1, about the data message in DICOM file.
The DICOM file of standard is made up of file header and data message.DICOM file header (DICOMFile Meta Information) contains the relevant information of identification data set.Data message is the data set that the data element of group number from 0x0008 of DICOM data element Tag is formed.Data message can be divided into image file data information and non-image files data message by content.Image file data information is the complex of multiple information object, comprises patient (Patient), inspection (Study), data element such as series (Series) and image (Image) data etc.; Non-image files data message is made up of the management information such as directory management, patient management, inspection management, medical management, results management and out of Memory.
The application has just used the PatientPosition (0018 in the data message of DICOM file at service end algorithm, 5100), ImageType(0008,00008), ImagePositionPatient (0020,0032), IamgeOrientationPatient (0020,0037), PixelSpacing (0028,0030), Rows (0028,0010), the attribute such as Columns (0028,0011) and Frame of Reference UID (0x20,0x52).
Wherein the value of the TAG (0018,5100) of image just determines the direction of unified coordinate system, and namely the parameters of all image sequences is all providing (standard according to DICOM3.0) with reference to the calculating of this unified coordinate system.
The value of the TAG (0020,0032) of image just determines the coordinate X on the first pixel of this image (" upper left side "), Y, Z value.The value of it and TAG (0020,0037) can determine entire image volume coordinate a little.
The value of the TAG (0020,0037) of image can determine unit row vector and the unit column vector of image, and both appositions (cross product) are exactly unit normal vector, therefore from TAG(0020, and 0037) 3 vector of unit length can be obtained.
The value of the TAG (0028,0030) of image can determine each actual physics width of pixel representative and the actual physics height of representative of image.
The value of the TAG (0028,0010) of image can determine the height of image.
The value of the TAG (0028,0011) of image can determine the width of image.
2, about the Asynchronous Request between browser and Web medical image server.
Browser of the present invention uses the Ajax technology in JavaScript to carry out Asynchronous Request to Web medical image server, more natural and tripping when it enables browser draw position line.Before Ajax technology, Web site force users enters submission/wait/again show example, and the action of user is always synchronous with " think time " of server.Ajax provides the ability with server asynchronous communication, thus user is freed from the circulation of request/response.By means of Ajax, when user click button, JavaScript and HTML5 can be used to upgrade UI immediately, and send Asynchronous Request to server, upgrade to perform or calculate.When request returns, JavaScript and CSS just can be used correspondingly to upgrade UI, instead of refresh full page.The most important thing is, user even not know browser with server communication: Web site looks like summary responses.After adopting Ajax, continuously position line is drawn for needs, with the situation that server is constantly mutual, the response time of Web site can be shortened, improve the processing speed of service.
3, relevant browser uses canvas attribute in HTML5 to draw position line.
HTML(Hypertext Markup Language), be a kind of markup language for describing web document.And HTML5 is the HTML Standard Edition for replacing HTML4.01 and the XHTML1.0 standard formulated for 1999, be still in developing stage now, but some HTML5 technology supported by most of browser.The large feature of HTML5 mono-: the performance performance enhancing Web page.
In HTML5, <canvas> label is used for drawing image (by script, normally JavaScript).But, <canvas> element itself is drawing ability (it is only the container of figure) not, and script must be used to have carried out actual drawing tasks.
In the present invention, the position line of browser end is drawn to have come based on HTML5 painting canvas attribute exactly, and concrete steps comprise:
1, JavaScript is utilized to create painting canvas: (the self-defined painting canvas name of canvas_obj)
var canvas_obj=document.createElement("canvas");
2,2D rendered object is returned: (context is self-defined object name)
var context=canvas_obj.getContext("2d");
3, the attributes such as moveTo, lineTo of context object are used to draw position line.
Internet Explorer9, Firefox, Opera, Chrome and Safari etc. is had to support <canvas> and attribute thereof and method at present.
It is to be understood that the medical image of indication of the present invention, refers in particular to CT image or MR image.Further, when drawing the position line of CT image or MR image on a web browser, need to relate to two width images: positioning image and sectioning image (or present image).
As shown in Figure 1, the present invention includes the browser as client and the Web medical image server as service end, be transmit based on the data of WADO standard between browser and Web medical image server.
As shown in Figure 2, the workflow between browser and Web medical image server is as follows:
Step S1, browser send request URL by HTTP/HTTPs agreement to Web medical image server.
Step S1 specifically comprises: first, the unique identification UID(unique identification UID of positioning image and present image is had 3, that StudyInstanceUID(checks unique identification respectively), SeriesInstanceUID(object sequence unique identification) and SopInstanceUID(object unique identification), respectively referred to as StudyUID, SeriesUID and SopUID, these three UID parameters are used to specify the DICOM object of request) pass to Web medical image server based on WADO agreement and by the Ajax technology of JavaScript with the form of URL on a web browser, and parameter comprises the StudyUID parameter of present image in position line drafting request, SeriesUID parameter, a custom parameter of SopUID parameter and positioning image (is such as LocalizerlineUIDS, this self-defining optional parameter).Secondly, defining variable url_prefix carrys out the constant part in record access address, and suppose that the access path of WEB medical image server is for "/wado.cgi ", according to the requirement of WADO agreement, the URL pattern that browser sends request is as follows:
url_prefix="/wado.cgi?RequestType=WADO&StudyUID="+StudyUID+"&Series-UID="+SeriesUID+"&SopUID="+SopUID+"&LocalizerlineUIDS="+Localizerline-UIDS;
After step S2, Web medical image server receive request URL, resolve the WADO agreement string in URL, read the DICOM fileinfo needed according to parameter in agreement string, calculate and draw two-dimensional coordinate value needed for position line, then respond the request of browser, data result is returned browser.
About the step obtaining DICOM fileinfo according to request URL is prior art, the application is not described in detail.The application's emphasis describes how to calculate two-dimensional coordinate value needed for drafting position line according to the DICOM fileinfo obtained.
The judgement of the positioning image of CT image: the StudyUID information imported into by WADO agreement, travel through all CT sequences of patient under this StudyUID, judge whether it is positioning image by the Image Type attribute of data element in DICOM file data, if LOCALIZER represents that this image is positioning image, if AXIAL is then expressed as sectioning image.
Judgement to the positioning pattern of MR image: the position line of MR image is a tomography, has several positioning images, and imaging mode is complicated, cannot pass through ImageType determined property.And Frame of ReferenceUID attribute has all pointed to a non-existent image substantially, also cannot effectively judge.In fact MR positioning image is relative, a mutual concept, as long as there is intersection between two images, so in MR, any image all may become the positioning image of another image.
According to dicom standard, TAG mark in the DICOM file obtained is utilized to set up unified coordinate system.
Web medical image server finds the DICOM fileinfo of its correspondence after resolving browse request URL.From the Image Position Patient data element and Iamge Orientation Patient two attributes, obtain positioning image (being designated as Plane1) upper left corner end points at the three-dimensional coordinate of unified coordinate system, be assumed to be O
1(x
1, y
1, z
1), and the direction vector of the first row of this positioning image
with the direction vector of first row
First we are by the direction vector of the first row of positioning image
with the direction vector of first row
carry out multiplication cross computing, obtain the normal vector of located image plane
shown in (3-1):
In order to short cut technique vector representation, be designated as
then the plane equation obtaining positioning image Plane1 is, shown in (3-2):
(x-x
1)d
x+(y-y
1)d
y+(z-z
1)d
z=0 (3-2)
For sectioning image (being designated as Plane2):
1, from image Plane2, take out Tag (0020,0032) value and Image Position Patient attribute, determine the first pixel of sectioning image (i.e. the upper left corner end points of sectioning image) the D coordinates value O in described unified coordinate system
2(x
2, y
2, z
2);
2, from sectioning image Plane2, take out Tag (0020,0037) value and Iamge OrientationPatient attribute, determine that the unit row vector of sectioning image and unit column vector are respectively
3, from sectioning image Plane2, take out Tag (0028,0030) value and pixel spacing attribute, determine each actual physics width of pixel representative and the actual physics height Spacingx of representative, the Spacingy of image;
4, from sectioning image Plane2, take out Tag (0028,0010) value and Rows attribute, determine the height SrcHeight of sectioning image;
5, from sectioning image Plane2, take out Tag (0028,0011) value and Columns attribute, determine the width S rcWight of sectioning image;
So can obtain the three-dimensional coordinate of four end points from sectioning image Plane2, be designated as P respectively
1(x, y, z), P
2(x, y, z), P
3(x, y, z), P
4(x, y, z) (establishes P
1namely point is O
2point is the upper left corner end points of sectioning image, P
2point is section upper right corner end points, P
3point is lower right corner end points, P
4point is lower left corner end points) such as formula shown in (3-3) (3-4) (3-5):
Then known four end points and positioning image are calculated its vector shift, be designated as dv
1, dv
2, dv
3, dv
4, such as formula dv (3-6) Suo Shi
1computing formula:
dv
1=(P
1.x-O
1.x)*d
x+(P
1.y-O
1.y)*d
y+(P
1.z-O
1.z)*d
z(3-6)
In like manner dv can be obtained
2, dv
3, dv
4, so obtain following judgement formula:
IsCross12=(dv
1>0&&dv
2<0)||(dv
1<0&&dv
2>0) (3-7)
IsCross23=(dv
2>0&&dv
3<0)||(dv
2<0&&dv
3>0) (3-8)
IsCross34=(dv
3>0&&dv
4<0)||(dv
3<0&&dv
4>0) (3-9)
IsCross41=(dv
4>0&&dv
1<0)||(dv
4<0&&dv
1>0) (3-10)
Suppose that four edges circle of this sectioning image is respectively line segment P
1p
2, line segment P
2p
3, line segment P
3p
4with line segment P
4p
1, so can learn, as fruit dot P according to the Logic judgment of above formula
1and P
2lay respectively at the both sides of positioning image, so IsCross12 is true, shows line segment P
1p
2there is intersection point with positioning image, if in like manner IsCross23 is true, show line segment P
2p
3there is intersection point with positioning image, can judge which line segment has intersection point with positioning image by that analogy, if known four line segments and positioning image all do not have intersection point simultaneously, so show that this section figure is exactly parallel with positioning image, then there is not position line.
By above judgement and calculating, just can find the intersection point of line segment and positioning image, have and only have two intersection points, being designated as CrossPoint1 (x, y, z), CrossPoint2(x, y, z).Computing formula following (supposing that IsCross12 is true):
CrossPo int1.x=P
1.x+(P
2.x-P
1.x)*|dv
1/(dv
1-dv
2)| (3-11)
CrossPo int1.y=P
1.y+(P
2.y-P
1.y)*|dv
1/(dv
1-dv
2)| (3-12)
CrossPo int1.z=P
1.z+(P
2.z-P
1.z)*|dv
1/(dv
1-dv
2)| (3-13)
In like manner CrossPoint2 can be calculated.After obtaining the coordinate figure of CrossPoint1 and CrossPoint2 two intersection points, be converted into two-dimensional coordinate point CrossPoint1 (x, y) with CrossPoint2 (x, y), namely data are finally returned to browser client by Web medical image server by the position of three dimensions point subpoint in the plane again.
Step S3, Script controlling language by browser, CT/MR medical image draws out position line.
According to the data that Web medical image server returns, first browser receives two two-dimensional coordinate point value CrossPoint1 (x, y) with CrossPoint2 (x, y), two two-dimensional coordinate point value CrossPoint1 (x, y) threshold value and end point values is represented respectively with CrossPoint2 (x, y).Then Web page coordinate is converted into according to the size of page-images display, the size of original image with relative block diagram image displacement etc.
Suppose that the original size of sectioning image is wide and be respectively srcWidth, srcHeight with height, returned to the request of Web medical image server by URL optional parameter Rows, Columns based on WADO agreement.Browser, assumed page display box size is ShowFramewidth, ShowFrameheight, obtains wide and high difference ratio to be, shown in (3-14), (3-15):
ratioW=ShowFramewidth/srcWidth (3-14)
ratioH=ShowFrameheight/srcHeight (3-15)
After original sectioning image endoadaptation display box, wide and height must convergent-divergent at equal pace, and sectioning image just can not distortion, and wide or high unnecessary part is referred to as non-image areas, and with filled black, scaling computing method are:
If 1 ratioW < ratioH, ratio=ratioW;
If 2 ratioW > ratioH, ratio=ratioH;
After obtaining scaling, then calculating on figure image width and height is not the part of view data, and having and only having on a direction has non-image areas, shown in (3-16) (3-17):
offsetW=(ShowFramewidth-ratio*srcWidth)/2 (3-16)
offsetH=(ShowFrameheight-ratio*srcHeight)/2 (3-17)
Simultaneously it is also noted that sectioning image is in display box, have offseting relative to display box after Scalable or movement, this skew is designated as offsetLeft, offsetTop relative to the left summit of display box.
So by above data, can the most individual coordinate point value CrossPoint1 (x, y) with CrossPoint2 (x, y) the starting point coordinate value TransStartPoint (x be converted in Web page is calculated, y) with end coordinate values TransEndPoint (x, y).
Wherein, shown in (3-18) (3-19), CrossPoint1 (x, y) is changed TransStartPoint (x, y):
TransStartPoint.x=CrossPoint1_x*ratio+offsetW+offsetLeft (3-18)
TransStartPoint.y=CrossPoint1.y*ratio+offsetH+offsetTop (3-19)
In like manner, shown in (3-20) (3-21), CrossPoint2 (x, y) is changed TransEndPoint (x, y):
TransEndPoint.x=CrossPoint2_x*ratio+offsetW+offsetLeft (3-18)
TransEndPoint.y=CrossPoint2.y*ratio+offsetH+offsetTop (3-19)
Browser uses canvas attribute in HTML5 to draw position line.After obtaining two extreme coordinates of position line on browser, according to browser rendering technique noted earlier, use the function getContext(of JavaScript) return an object, by this object provide for the method for drawing on painting canvas and attribute, with dotted line connection source coordinate figure TransStartPoint (x, y) with end coordinate values TransEndPoint (x, y), namely on CT/MR image, position line is drawn out.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. draw a method for medical image position line on a web browser, it is characterized in that, comprise step:
The unique identification UID of positioning image in medical image and sectioning image is formed request URL based on WADO agreement by browser, and sends request URL to Web medical image server;
Web medical image server reads the DICOM fileinfo needed by analysis request URL, calculated and draw two-dimensional coordinate value needed for position line, then two-dimensional coordinate value is returned browser by positioning image;
Browser, according to the two-dimensional coordinate value returned, uses canvas attribute in HTML5 to draw position line on the sectioning image of medical image.
2. draw the method for medical image position line according to claim 1 on a web browser, it is characterized in that, browser uses the Ajax technology in JavaScript and Web medical image server to carry out asynchronous communication.
3. draw the method for medical image position line according to claim 1 on a web browser, it is characterized in that, calculate the step of drawing two-dimensional coordinate value needed for position line by positioning image and specifically comprise:
Location picture and section picture is distinguished to comprising medical image in DICOM fileinfo;
TAG mark in the DICOM file obtained is utilized to set up unified coordinate system;
Determine positioning image place plane, calculate the upper left corner of sectioning image, the upper right corner, the lower right corner and these four vector shifts between end points and positioning image of the lower left corner, judged by vector shift and calculate two intersection coordinate value between section figure and positioning image, two intersection coordinate value are converted to two-dimensional coordinate value CrossPoint1 (x, y) with CrossPoint2 (x, y).
4. draw the method for medical image position line according to claim 3 on a web browser, it is characterized in that, determine that the step of positioning image place plane comprises:
Upper left corner end points, at the three-dimensional coordinate of unified coordinate system, is assumed to be O
1(x
1, y
1, z
1), and the direction vector of the first row of this positioning image
with the direction vector of first row
By the direction vector of the first row of positioning image
with the direction vector of first row
carry out multiplication cross computing, obtain the normal vector of located image plane
According to the normal vector of positioning image
obtain the plane of positioning image, be expressed as (x-x with plane equation
1) d
x+ (y-y
1) d
y+ (z-z
1) d
z=0.
5. draw the method for medical image position line according to claim 4 on a web browser, it is characterized in that, the step calculating four of the sectioning image vector shift between end points and positioning image comprises:
The D coordinates value O of upper left corner end points in described unified coordinate system that Tag (0020,0032) value determines sectioning image is taken out successively from sectioning image
2(x
2, y
2, z
2), take out the unit row vector of Tag (0020,0037) value determination sectioning image
with unit column vector
, take out Tag (0028,0030) the physical height Spacingx of each pixel representative in value determination sectioning image, Spacingy, taking-up Tag (0028,0010) the height SrcHeight of value determination sectioning image, the width S rcWight of taking-up Tag (0028,0011) value determination sectioning image;
Determine the coordinate of these four end points of the upper left corner of sectioning image, the upper right corner, the lower right corner and the lower left corner, be designated as P respectively
1(x, y, z), P
2(x, y, z), P
3(x, y, z) and P
4(x, y, z);
Calculate P respectively
1(x, y, z), P
2(x, y, z), P
3(x, y, z) and P
4(x, y, z) with (x-x
1) d
x+ (y-y
1) d
y+ (z-z
1) d
zvector shift dv between=0 positioning image represented
1, dv
2, dv
3and dv
4.
6. draw the method for medical image position line according to claim 5 on a web browser, it is characterized in that, determined the coordinate P of the upper left corner end points of sectioning image by following formula respectively
1the coordinate P of (x, y, z), upper right corner end points
2the coordinate P of (x, y, z), lower right corner end points
3the coordinate P of (x, y, z) and lower left corner end points
4(x, y, z):
P
1(x, y, z) is O
2(x
2, y
2, z
2),
7. draw the method for medical image position line according to claim 1 on a web browser, it is characterized in that, calculate the zoom factor during display box of sectioning image on endoadaptation browser, by the width of sectioning image and after highly all carrying out convergent-divergent process according to this zoom factor, sectioning image is presented in the display box of browser.
8. draw the method for medical image position line according to claim 7 on a web browser, it is characterized in that, after browser carries out conversion process according to the two-dimensional coordinate value returned and zoom factor, obtain starting point coordinate value TransStartPoint (x, y) with end coordinate values TransEndPoint (x, y), use canvas attribute in HTML5 on the sectioning image of medical image, use dotted line connection source coordinate figure TransStartPoint (x, y) namely position line is drawn with end coordinate values TransEndPoint (x, y).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310530395.1A CN104598469B (en) | 2013-10-31 | The method for drawing medical image position line on a web browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310530395.1A CN104598469B (en) | 2013-10-31 | The method for drawing medical image position line on a web browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104598469A true CN104598469A (en) | 2015-05-06 |
CN104598469B CN104598469B (en) | 2018-02-09 |
Family
ID=
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108766536A (en) * | 2018-05-28 | 2018-11-06 | 沈阳东软医疗系统有限公司 | Position line rendering, display methods and device, equipment and storage medium |
CN109472852A (en) * | 2018-10-29 | 2019-03-15 | 百度在线网络技术(北京)有限公司 | Display methods and device, the equipment and storage medium of point cloud chart picture |
CN110020235A (en) * | 2017-08-23 | 2019-07-16 | 北京京东尚科信息技术有限公司 | Web browser threedimensional model localization method, device, medium and electronic equipment |
CN112863700A (en) * | 2021-01-28 | 2021-05-28 | 青岛海信医疗设备股份有限公司 | Medical image cooperation method, device, equipment and computer storage medium |
CN113571162A (en) * | 2021-07-19 | 2021-10-29 | 蓝网科技股份有限公司 | Method, device and system for realizing multi-user cooperative operation medical image |
CN117116433A (en) * | 2023-10-24 | 2023-11-24 | 万里云医疗信息科技(北京)有限公司 | Labeling method and device for CT (computed tomography) slice images and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103093002A (en) * | 2013-02-28 | 2013-05-08 | 谢星球 | Medical imaging communication filing system operation method |
CN103093074A (en) * | 2011-11-03 | 2013-05-08 | 深圳市蓝韵网络有限公司 | Method of inserting medical images of DICOM into inspection reports |
CN103177037A (en) * | 2011-12-26 | 2013-06-26 | 深圳市蓝韵网络有限公司 | Method for rapidly displaying multiframe medical images on browser |
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103093074A (en) * | 2011-11-03 | 2013-05-08 | 深圳市蓝韵网络有限公司 | Method of inserting medical images of DICOM into inspection reports |
CN103177037A (en) * | 2011-12-26 | 2013-06-26 | 深圳市蓝韵网络有限公司 | Method for rapidly displaying multiframe medical images on browser |
CN103093002A (en) * | 2013-02-28 | 2013-05-08 | 谢星球 | Medical imaging communication filing system operation method |
Non-Patent Citations (2)
Title |
---|
方路平等: ""基于WebGL的医学图像三维可视化研究"", 《计算机系统应用》 * |
滕剑锋等: ""基于Web Service的PACS模型研究"", 《济宁医学院学报》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110020235A (en) * | 2017-08-23 | 2019-07-16 | 北京京东尚科信息技术有限公司 | Web browser threedimensional model localization method, device, medium and electronic equipment |
CN110020235B (en) * | 2017-08-23 | 2021-08-03 | 北京京东尚科信息技术有限公司 | Web browser three-dimensional model positioning method, device, medium and electronic equipment |
CN108766536A (en) * | 2018-05-28 | 2018-11-06 | 沈阳东软医疗系统有限公司 | Position line rendering, display methods and device, equipment and storage medium |
CN109472852A (en) * | 2018-10-29 | 2019-03-15 | 百度在线网络技术(北京)有限公司 | Display methods and device, the equipment and storage medium of point cloud chart picture |
CN109472852B (en) * | 2018-10-29 | 2021-08-10 | 百度在线网络技术(北京)有限公司 | Point cloud image display method and device, equipment and storage medium |
CN112863700A (en) * | 2021-01-28 | 2021-05-28 | 青岛海信医疗设备股份有限公司 | Medical image cooperation method, device, equipment and computer storage medium |
CN113571162A (en) * | 2021-07-19 | 2021-10-29 | 蓝网科技股份有限公司 | Method, device and system for realizing multi-user cooperative operation medical image |
CN113571162B (en) * | 2021-07-19 | 2024-02-06 | 蓝网科技股份有限公司 | Method, device and system for realizing multi-user collaborative operation medical image |
CN117116433A (en) * | 2023-10-24 | 2023-11-24 | 万里云医疗信息科技(北京)有限公司 | Labeling method and device for CT (computed tomography) slice images and storage medium |
CN117116433B (en) * | 2023-10-24 | 2024-02-09 | 万里云医疗信息科技(北京)有限公司 | Labeling method and device for CT (computed tomography) slice images and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109508681B (en) | Method and device for generating human body key point detection model | |
Khan et al. | Deep learning-based monocular depth estimation methods—a state-of-the-art review | |
Goode et al. | OpenSlide: A vendor-neutral software foundation for digital pathology | |
CN109634703A (en) | Image processing method, device, system and storage medium based on canvas label | |
US20230326109A1 (en) | System For Transmitting And Viewing A Series Of Images | |
CN113361521B (en) | Scene image detection method and device | |
Husz et al. | Web tools for large-scale 3D biological images and atlases | |
Li et al. | Studies on three-dimensional (3D) modeling of UAV oblique imagery with the aid of loop-shooting | |
Coudron et al. | Semantic extraction of permanent structures for the reconstruction of building interiors from point clouds | |
Gotlib et al. | A simplified method of cartographic visualisation of buildings’ interiors (2D+) for navigation applications | |
Ren et al. | Fast object detection in light field imaging by integrating deep learning with defocusing | |
Yin et al. | Binocular camera calibration based on timing correction | |
CN110162301B (en) | Form rendering method, form rendering device and storage medium | |
Hwang et al. | 3D face modeling using the multi-deformable method | |
Liu et al. | Automated Indoor Image Localization to Support a Post-Event Building Assessment | |
CN114781393B (en) | Image description generation method and device, electronic equipment and storage medium | |
Ohashi et al. | Joint estimation of high resolution images and depth maps from light field cameras | |
Lee et al. | Performance evaluation of ground ar anchor with webxr device api | |
CN104598469A (en) | Method for drawing medical image positioning line on browser | |
CN104598469B (en) | The method for drawing medical image position line on a web browser | |
CN115937661A (en) | 3D scene understanding method and system, electronic device and storage medium | |
Zhang et al. | Occlusion-free visualization of important geographic features in 3d urban environments | |
CN115760886A (en) | Plot partitioning method and device based on aerial view of unmanned aerial vehicle and related equipment | |
Hachaj | Adaptable 2D to 3D Stereo Vision Image Conversion Based on a Deep Convolutional Neural Network and Fast Inpaint Algorithm | |
CN113312568B (en) | Web information extraction method and system based on HTML source code and webpage snapshot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
CB02 | Change of applicant information |
Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park A3 building 6 floor Applicant after: LANWON TECHNOLOGY CO., LTD. Address before: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park A3 building 6 floor Applicant before: LANWON SCIENCE & TECHNOLOGY CO., LTD. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: LANWANG TECHNOLOGY CO., LTD. TO: LANWON TECHNOLOGY CO., LTD. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |