CN103700111A - Method and equipment for drawing image ruler - Google Patents
Method and equipment for drawing image ruler Download PDFInfo
- Publication number
- CN103700111A CN103700111A CN201310737465.0A CN201310737465A CN103700111A CN 103700111 A CN103700111 A CN 103700111A CN 201310737465 A CN201310737465 A CN 201310737465A CN 103700111 A CN103700111 A CN 103700111A
- Authority
- CN
- China
- Prior art keywords
- scale
- image
- parameter data
- module
- ruler
- 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
Abstract
The invention discloses a method for drawing an image ruler. The method comprises the following steps: pre-analyzing the requirements of ruler drawing in various ultrasonic modes, distinguishing the same points and different points, and separating the same points and the different points; starting a ruler drawing function to obtain corresponding image parameter data information of each different point; converting the image parameter data information into corresponding ruler drawing parameter data; drawing a ruler according to the obtained ruler drawing parameter data. The invention further discloses corresponding equipment. In the method, the same points and the different points of the ruler drawing in different imaging modes are separated, and processing is performed specific to different points, so that the ruler drawing is simplified, the multiplex ratio and maintainability of codes are improved, and the problems of software instability, increase in the drawing error rate, code redundancy and the like are solved.
Description
Technical field
The present invention relates to ultrasonic imaging technique field, more particularly relate to the method and apparatus of drawing image scale.
Background technology
While utilizing ultrasonic device to carry out ultrasonic imaging, need on image, add scale according to the pattern of image imaging (such as B, M, PW etc.), some parameter informations such as the degree of depth, time, speed are quantized to be shown on image, facilitate doctor's judgement.
But the physical significance corresponding due to various imaging patterns is not identical, so the drafting of scale is also had to different requirements, add the display mode of image double width and four width, the different split screen ratios that image shows, image 90 degree, 180 degree, 270 degree upsets etc. factor, the complicacy that has caused scale to be drawn.
Current way is according to imaging pattern, to distinguish to carry out calculating and the scale drafting of position of rule, the calculating section of scale and drafting part are blended together, and have reduced reusability and the maintainability of code, thereby have caused software unstable, drawing the error rate occurring increases, the problems such as code redundancy
Summary of the invention
In view of this, the invention provides a kind of method and apparatus of drawing image scale.By different imaging patterns being drawn to identical point and the difference of scale, be separated, for difference, process, therefore simplified scale drafting, reusability and the maintainability of code have been improved, thereby it is unstable to have solved software, drawing the error rate occurring increases, the problems such as code redundancy.
For achieving the above object, the invention provides following technical scheme:
A kind of method that the invention provides drawing image scale, comprising:
Analyze in advance the requirement of drawing scale under various ultrasound mode, distinguish identical point and difference, and described similarities and differences is separated;
Start scale and draw function, obtain image parameter data message corresponding to described variant point;
Scale rendering parameter data corresponding to described image parameter data message convert to;
According to the described scale rendering parameter data that obtain, draw scale.
The present invention also provides a kind of equipment, it is characterized in that, described equipment has a drawing image scale unit.
Further, described drawing image scale unit comprises: calculating scale drawing data module, scale drafting module;
Described calculating scale drawing data module is used for obtaining the described corresponding data message of each image parameter and converts described parameter information to scale rendering parameter data;
Described scale drafting module is for drawing scale according to scale rendering parameter data
Further, described calculating scale drawing data module comprises:
Acquisition module, for obtaining described each image parameter data message;
Computing module, described computing module is for converting corresponding scale rendering parameter data to according to described each image parameter data message obtaining.
Known via above-mentioned technical scheme, compared with prior art, the invention discloses a kind of method and apparatus of drawing image scale.Described method has improved scale and has drawn reusable rate, the readability and maintainable of code, thereby has improved the stability of the accuracy in scale drawing process.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 shows the schematic flow sheet of an embodiment of the method for a kind of drawing image scale of the present invention;
Fig. 2 shows the structural representation that the present invention has an embodiment of equipment of a kind of drawing image unit;
Fig. 3 shows the structural representation of an embodiment of a kind of drawing image of the present invention unit.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, show the schematic flow sheet of an embodiment of the method for a kind of drawing image scale of the present invention.
In the present embodiment, the method comprises:
101: analyze in advance the requirement of drawing scale under various ultrasound mode, distinguish identical point and difference, and described similarities and differences is separated.
Analyze in advance and under various ultrasound mode, (comprise B, M, PW etc.) and draw scale and require all programs and the supplemental characteristic used, distinguish identical point and difference, then similarities and differences is separated.
By analyzing, identical point and difference are as follows:
Identical point mainly refers to the related mechanism while drawing scale, and such as comprising the drafting of scale and scale, scale is followed image and overturn etc. up and down, and identical point is stored as fixed routine content.
Difference mainly refers to the supplemental characteristic of various drafting scales, the scale pattern that comprises different mode, scale value unit, the position that scale line is drawn, the direction that scale line is drawn, scale value units etc., these are drawn scale parameter data and need to when drawing scale, according to the realtime graphic supplemental characteristic obtaining, convert.
102: start scale and draw function, obtain image parameter data message corresponding to described variant point.
Ultrasonic device start powers on to enter and forms after graphic interface, and according to current imaging pattern, scale drafting module meeting automatic acquisition image parameter data, comprise picture position, Image Reversal situation, the image parameter data messages such as single double width.
103: scale rendering parameter data corresponding to described image parameter data message convert to.
Calculating scale drawing data module scale rendering parameter data corresponding to described image parameter data message converts to.
The described method by the data of image parameter data-switching one-tenth drafting scale is common known technology, do not repeat them here, and described conversion method is fixed preservation as the identical point of drawing scale.
104: according to the described scale rendering parameter data message obtaining, draw scale.
Scale drafting module according to the content of identical point, such as scale is drawn mechanism etc., is drawn scale in the image corresponding position that image display interfaces is corresponding according to the scale drawing data of the difference calculating.
It should be added that, if in each image parameter data there is variation in any one data, calculating scale drawing data module is according to the message receiving, can be the more Polaroid pattern of automatic capturing again, image angles of display, image display position, the image parameter data such as image number, then recalculate scale drawing data, repaint scale.
In sum, identical point and difference that the present invention draws scale by different imaging patterns are separated, for difference, process, therefore simplified scale drafting, reusability and the maintainability of code have been improved, thereby it is unstable to have solved software, drawing the error rate occurring increases, the problems such as code redundancy.
The invention also discloses a kind of equipment adapting with method drawing image scale.Described equipment can be for having arbitrarily the equipment of this function of drawing image scale, such as: ultrasonic device etc.
Referring to Fig. 2, show the equipment S1 that the present invention has the device of drawing image scale, described equipment comprises the cell S 11 of a drawing image scale arranging separately.
Referring to Fig. 3, show drawing image scale cellular construction of the present invention.This unit comprises: calculating scale drawing data module 1, scale drafting module 2.
Described calculating scale drawing data module 1 is for obtaining the described corresponding data message of each image parameter and described parameter information being converted to the data message of drawing scale, and described calculating scale drawing data unit 1 comprises:
Described scale drafting module 2 is for drawing scale according to the scale drawing data calculating.
Because the present invention sets up separately a drawing image scale cell S 11 for the drafting of scale, and independently calculating scale drawing data module 1 and the such unification that has just realized scale drafting under various imaging patterns of scale drafting module 2 are set separately under this unit.Thereby improved scale, draw reusable rate, the readability and maintainable of code, thereby improved the stability of the accuracy in scale drawing process.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed unit of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (4)
1. a method for drawing image scale, is characterized in that, comprising:
Analyze in advance the requirement of drawing scale under various ultrasound mode, distinguish identical point and difference, and described similarities and differences is separated;
Start scale and draw function, obtain image parameter data message corresponding to described variant point;
Scale rendering parameter data corresponding to described image parameter data message convert to;
According to the described scale rendering parameter data that obtain, draw scale.
2. an equipment, is characterized in that, described equipment has a drawing image scale unit.
3. equipment according to claim 2, is characterized in that, described drawing image scale unit comprises: calculating scale drawing data module, scale drafting module;
Described calculating scale drawing data module is used for obtaining the described corresponding data message of each image parameter and converts described parameter information to scale rendering parameter data;
Described scale drafting module is for drawing scale according to scale rendering parameter data.
4. according to the equipment described in claim 2 or 3, it is characterized in that, described calculating scale drawing data module comprises:
Acquisition module, for obtaining described each image parameter data message;
Computing module, described computing module is for converting corresponding scale rendering parameter data to according to described each image parameter data message obtaining.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310737465.0A CN103700111A (en) | 2013-12-30 | 2013-12-30 | Method and equipment for drawing image ruler |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310737465.0A CN103700111A (en) | 2013-12-30 | 2013-12-30 | Method and equipment for drawing image ruler |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103700111A true CN103700111A (en) | 2014-04-02 |
Family
ID=50361629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310737465.0A Pending CN103700111A (en) | 2013-12-30 | 2013-12-30 | Method and equipment for drawing image ruler |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103700111A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112650434A (en) * | 2020-12-29 | 2021-04-13 | 微医云(杭州)控股有限公司 | Scale generation method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009285478A (en) * | 2009-09-07 | 2009-12-10 | Toshiba Corp | Ultrasonic image display apparatus |
CN102274047A (en) * | 2010-06-08 | 2011-12-14 | 株式会社东芝 | Ultrasonic image diagnostic apparatus |
CN103347450A (en) * | 2011-02-04 | 2013-10-09 | 株式会社日立医疗器械 | Ultrasound diagnostic apparatus and method |
-
2013
- 2013-12-30 CN CN201310737465.0A patent/CN103700111A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009285478A (en) * | 2009-09-07 | 2009-12-10 | Toshiba Corp | Ultrasonic image display apparatus |
CN102274047A (en) * | 2010-06-08 | 2011-12-14 | 株式会社东芝 | Ultrasonic image diagnostic apparatus |
CN103347450A (en) * | 2011-02-04 | 2013-10-09 | 株式会社日立医疗器械 | Ultrasound diagnostic apparatus and method |
Non-Patent Citations (3)
Title |
---|
CHRISTOPH B.BURCKHARDT: "Speckle in Ultrasound B-mode Scans", 《IEEE TRANSACTIONS ON SONICS AND ULTRASONIC》, 31 January 1978 (1978-01-31), pages 1 - 6, XP 011358454, DOI: doi:10.1109/T-SU.1978.30978 * |
周代明: "基于FPGA的B型超声成像系统给的设计与实现", 《中国优秀硕士论文全文数据库》, no. 04, 15 April 2010 (2010-04-15) * |
高守传等: "多视图的工程数据可视化", 《电脑编程技巧与维护》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112650434A (en) * | 2020-12-29 | 2021-04-13 | 微医云(杭州)控股有限公司 | Scale generation method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106527892B (en) | Screen capturing method and system of electronic equipment | |
CN109308681B (en) | Image processing method and device | |
CN108255773A (en) | A kind of intelligence computation heterogeneous polynuclear processing method and platform | |
CN111985306A (en) | OCR (optical character recognition) and information extraction method applied to documents in medical field | |
CN104102734B (en) | Method for exhibiting data and system | |
CN111625735B (en) | Method for visually displaying active operation and inspection by using secondary equipment of intelligent substation | |
TW200501224A (en) | Graphic processing method and apparatus | |
CN109816772A (en) | A kind of processing method quickly generating virtual reality scenario by CAD house type file | |
WO2023103329A1 (en) | Data labeling method, apparatus, and system, device, and storage medium | |
CN110889404A (en) | Irregular text recognition system and method based on correction network | |
CN105488470A (en) | Method and apparatus for determining character attribute information | |
CN111176707A (en) | Templated automatic operation and maintenance method and device and electronic equipment | |
EP3282351A1 (en) | System and method for facilitating an inspection process | |
CN103700111A (en) | Method and equipment for drawing image ruler | |
CN111523292B (en) | Method and device for acquiring image information | |
CN110472558B (en) | Image processing method and device | |
CN116168404A (en) | Intelligent document processing method and system based on space transformation | |
CN212516568U (en) | Cloud exhibition room system based on smart Internet of things | |
CN104680159A (en) | Note prompting system and method for intelligent glasses | |
CN114896644A (en) | Implementation method of three-dimensional (3D) tower crane construction scene display system based on ThreeJS | |
CN103631545A (en) | Printing method and system | |
CN114581523A (en) | Method and device for determining labeling data for monocular 3D target detection | |
CN113361371A (en) | Road extraction method, device, equipment and storage medium | |
US20140239072A1 (en) | Automatically Converting a Sign and Method for Automatically Reading a Sign | |
CN103455311A (en) | Drawing code generation system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 518051 Guangdong city of Shenzhen province Nanshan District Yuquanlu Road Yizhe building 4 floor Applicant after: Biologic medical Science and Technology Co., Ltd. is opened in Shenzhen Address before: 518051 Guangdong city of Shenzhen province Nanshan District Yuquanlu Road Yizhe building 4 floor Applicant before: Sonoscape Inc. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: SONOSCAPE INC. TO: SHENGZHEN SONOSCAPE MEDICAL CORP. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140402 |