A kind of handheld B-ultrasound real-time measuring device and measuring method
Technical field
The present invention relates to the supersonic imaging apparatus technical field, be specifically related to a kind of handheld B-ultrasound real-time measuring device and measuring method.
Background technology
Ultrasonic diagnosis is one of most widely used modern medicine image technology, and it has in real time, noinvasive, the advantage such as cheap.The new technique of development and new demand have also proposed new challenge to the software operating method of ultrasonic diagnostic equipment, and palm B-ultra is an important application branch.It is little, lightweight that palm B-ultra has a volume, the advantage such as is convenient for carrying, and is applicable to open-air diagnosis, first aid diagnosis etc.
As shown in Figure 1, the palm B-ultra of prior art design is directly to be encased among the shell of palm formula B ultrasonic after each functional module of desk-top B ultrasonic is simplified.In the simplification process, removed alphabetic keypad and trackball as the keyboard portion of equipment control interface, only keep the function key of carrying out ultrasound procedure.
Meter is doctor's using ultrasound equipment, on the image of current acquisition, and by modes such as setting-out section, rectangles, the quantitative information of the image-region that acquisition is concerned about.Measuring computing function has higher use value in clinical practice, be the effective means that the help doctor obtains quantitative information, and the doctor is diagnosed higher clinical value.The prior art palm B-ultra since cutting trackball, in system, just do not had pointing apparatus, can't realize that carrying out real-time measurement in operation site calculates.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of handheld B-ultrasound real-time measuring device and measuring method, overcomes the prior art palm B-ultra and can't carry out the on-the-spot defective of measuring in real time.
The present invention solves the problems of the technologies described above the technical scheme that adopts to be:
A kind of handheld B-ultrasound real-time measuring device, comprise the ultra sonic imaging module, also comprise touch-screen display module and real-time measuring and calculating module, described touch-screen display module, described real-time measuring and calculating module links to each other successively with described ultra sonic imaging module, described touch-screen display module is used for showing the ultrasonoscopy of described ultra sonic imaging module generation, and line segment measured or measurement calculation command that rectangle is measured and the coordinates transmission on the described ultrasonoscopy to described real-time measuring and calculating module, described real-time measuring and calculating module is used for measuring to calculate or the rectangular area that described coordinate forms measured to calculate and will measure result of calculation according to the line segment that the coordinate on described measurement calculation command and the described ultrasonoscopy forms described coordinate sending to described touch-screen display module.
Described handheld B-ultrasound real-time measuring device, wherein said touch-screen display module comprises touch screen, touch screen control chip and display, described touch screen, described touch screen control chip and described real-time measuring and calculating module link to each other successively, described display links to each other with described real-time measuring and calculating module, and described touch screen is overlying on the screen surface of described display.
Described handheld B-ultrasound real-time measuring device, wherein said real-time measuring and calculating module is made as microprocessor.
Described handheld B-ultrasound real-time measuring device, wherein said real-time measuring and calculating module is made as complex programmable logic device (CPLD).
Described handheld B-ultrasound real-time measuring device, wherein said real-time measuring and calculating module is made as field programmable gate array FPGA.
Described handheld B-ultrasound real-time measuring device, wherein on the display interface of described touch-screen display module with menu-style display measurement calculation command.
Described handheld B-ultrasound real-time measuring device, wherein said display interface have also been divided the ultrasonoscopy viewing area and have been measured and calculate results display area.
Described handheld B-ultrasound real-time measuring device, wherein said touch screen is made as four-wire resistance type touch screen, and described touch screen control chip is made as chip TSC2046.
A kind of handheld B-ultrasound real-time measuring method comprises step:
A1, touch-screen display module show the ultrasonoscopy that the ultra sonic imaging module produces;
A2, described touch-screen display module with line segment is measured or rectangle is measured measurement calculation command and the coordinates transmission on the described ultrasonoscopy to real-time measuring and calculating module;
The line segment that A3, described real-time measuring and calculating module form described coordinate according to the coordinate on described measurement calculation command and the described ultrasonoscopy is measured calculating or the rectangular area that described coordinate forms is measured calculating;
A4, described real-time measuring and calculating module will be measured result of calculation and send to described touch-screen display module.
Described handheld B-ultrasound real-time measuring method, wherein on the display interface of described touch-screen display module with menu-style display measurement calculation command.
Beneficial effect of the present invention: handheld B-ultrasound real-time measuring device of the present invention and measuring method are used touch screen technology, by appropriate design software and operational approach, having realized the on-the-spot computing function of measuring in real time of palm B-ultra, is a much progress of palm B-ultra equipment and technology.
Description of drawings
The present invention includes following accompanying drawing:
Fig. 1 is prior art palm B-ultra schematic diagram;
Fig. 2 is handheld B-ultrasound real-time measuring device schematic diagram of the present invention;
Fig. 3 is the connection diagram of handheld B-ultrasound real-time measuring device touch-screen display module of the present invention and real-time measuring and calculating module;
Fig. 4 is touch screen in the embodiment of the invention, touch screen control chip and microprocessor connection diagram;
Fig. 5 is the display interface of touch-screen display module of the present invention;
Fig. 6 is the real-time measuring and calculating module main flow chart of the present invention;
Fig. 7 is that the real-time measuring and calculating module of the present invention is measured the flow chart of calculating;
Fig. 8 is that the present invention carries out the rectangular coordinates schematic diagram of rectangle when measure calculating.
The specific embodiment
The below is described in further detail the present invention with embodiment with reference to the accompanying drawings:
As shown in Figure 2, handheld B-ultrasound real-time measuring device of the present invention comprises the ultra sonic imaging module, also comprise touch-screen display module and real-time measuring and calculating module, touch-screen display module, measuring and calculating module links to each other successively with the ultra sonic imaging module in real time, touch-screen display module shows the ultrasonoscopy that described ultra sonic imaging module produces, and will measure coordinates transmission on calculation command and the described ultrasonoscopy to real-time measuring and calculating module, measuring and calculating module is measured to calculate and will measure result of calculation according to the coordinate on described measurement calculation command and the ultrasonoscopy and is sent to touch-screen display module in real time.Measuring and calculating module can be by microprocessor, complex programmable logic device (CPLD) or field programmable gate array FPGA specific implementation in real time.
As shown in Figure 3, touch-screen display module comprises touch screen, touch screen control chip and display, touch screen, touch screen control chip and real-time measuring and calculating module link to each other successively, and display links to each other with real-time measuring and calculating module, and touch screen is overlying on the screen surface of described display.
The ultra sonic imaging module adopts totally digitilized ultra sonic imaging module, and imaging parameters downloads to the ultra sonic imaging module by real-time measuring and calculating module imaging is controlled.Touch screen detects user touch location, send the touch screen control chip after the reception; The touch screen control chip receives touch information from touch point detection device, and converts it to contact coordinate, gives real-time measuring and calculating module again.
As shown in Figure 4 and Figure 5, adopted resistive touch screen in the specific embodiments of the invention.The major part of electric resistance touch screen is a resistance film screen that cooperates very much with display surface, this is a kind of laminated film of multilamellar, it with one deck glass or duroplasts flat board as basic unit, the surface scribbles layer of transparent oxidized metal (transparent conductive resistance) conductive layer, and the above is stamped one deck outer surface cure process, smooth anti-friction plastic layer, its inner surface again and also scribbles one deck coating, has the transparent isolating points of many tiny (less than 1/1000 inches) that two conductive layers is separated insulation between them.When the finger touch screen, the two conductive layers of usual mutually insulated has just had a contact in the position, touch point, cause is the 5V even voltage field of a conductive layer connection Y direction wherein, so that the voltage of detecting layer becomes non-zero by zero, the touch screen control chip detects after this connects, and carries out the A/D conversion, and the magnitude of voltage that obtains compared with 5V gets final product to get the Y-axis coordinate of touch point, in like manner draw the coordinate of X-axis, then the touch screen control chip sends interrupt requests to microprocessor.Adopted four-wire resistance type touch screen among the present invention, use TI (Texas Instrument, TIX) TSC2046 is as control chip, TSC2046 is connected on the microprocessor by SPI (Serial Peripheral Interface, Serial Peripheral Interface (SPI)) bus.After microprocessor was received the interrupt requests of touch screen control chip, response was interrupted and is obtained the click location coordinate information, then co-ordinate position information is sent to corresponding message processing module or computing module and is further processed.The display interface of touch-screen display module is divided into five zones: inactive area, image area, menu area, state switch area, measurement result viewing area.Each regional coordinate range is fixed value, and each submenu of menu area wherein and the subregion of state switch area also have fixing position.Three menus in state switch area are used for control system in realtime imaging, switch between cineloop and the measuring state, change simultaneously corresponding menu item in the process that state switches.Click inactive area and be used for some current fix informations of display system, such as system time, identification of the manufacturer etc.The measurement result viewing area is used for display measurement data message under measuring state.
Handheld B-ultrasound real-time measuring method of the present invention comprises step:
A1, touch-screen display module show the ultrasonoscopy that the ultra sonic imaging module produces;
A2, described touch-screen display module will be measured the extremely real-time measuring and calculating module of coordinates transmission on calculation command and the described ultrasonoscopy;
A3, described real-time measuring and calculating module are measured calculating according to the coordinate on described measurement calculation command and the described ultrasonoscopy;
A4, described real-time measuring and calculating module will be measured result of calculation and send to described touch-screen display module.
Such as Fig. 6, Fig. 7 and shown in Figure 8, enter measuring state by the menu " measurements " of clicking the state switch area, this moment, menu area can be closed the menu of previous status, display measurement menu again, measurement menu is current to include that line segment is measured and the rectangle measurement.Click the line segment measurement menu and then enter the line segment measuring state, click the rectangle measurement menu and then enter the rectangle measuring state.Just begin automatically to calculate the distance of point-to-point transmission after the user has determined the terminal point of line segment, computing formula is as follows:
Wherein (x1, y1), (x2, y2) are the coordinate of starting point and terminal point, and pixel_width is the width of each pixel of present image, are that microprocessor is from the parameter of the present image of ultra sonic imaging module acquisition.Measure result of calculation and be presented at measurement calculating results display area.In rectangle is measured, only the position of rectangle has just been determined on two summits of the definite rectangle of need, after in rectangle is measured, having determined two summits, less X coordinate is set to left in two apex coordinates, the larger right that is set to, less Y coordinate is made as top, and larger Y coordinate is made as bottom.The girth of rectangle be exactly the bar line segment length and, the measurement of computing formula and line segment is similar.The area of rectangle is calculated as follows:
* (right-left) the * pixel_width of rectangular area=(bottom-top)
2Pixel_width and line segment are measured similar.Measure result of calculation and be presented at measurement calculating results display area.
Those skilled in the art do not break away from essence of the present invention and spirit, can there be the various deformation scheme to realize the present invention, the above only is the better feasible embodiment of the present invention, be not so limit to interest field of the present invention, the equivalent structure that all utilizations description of the present invention and accompanying drawing content are done changes, and all is contained within the interest field of the present invention.