CN107340501A - Radar video method of processing display based on OpenGL ES - Google Patents

Radar video method of processing display based on OpenGL ES Download PDF

Info

Publication number
CN107340501A
CN107340501A CN201710529594.9A CN201710529594A CN107340501A CN 107340501 A CN107340501 A CN 107340501A CN 201710529594 A CN201710529594 A CN 201710529594A CN 107340501 A CN107340501 A CN 107340501A
Authority
CN
China
Prior art keywords
fundamental
unit
scene model
data
radar
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
Application number
CN201710529594.9A
Other languages
Chinese (zh)
Inventor
张帅
唐梅金
何康康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leihua Electronic Technology Research Institute Aviation Industry Corp of China
Original Assignee
Leihua Electronic Technology Research Institute Aviation Industry Corp of China
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Leihua Electronic Technology Research Institute Aviation Industry Corp of China filed Critical Leihua Electronic Technology Research Institute Aviation Industry Corp of China
Priority to CN201710529594.9A priority Critical patent/CN107340501A/en
Publication of CN107340501A publication Critical patent/CN107340501A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/04Display arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention relates to radar data processing technology field, specifically provide a kind of radar video method of processing display based on OpenGL ES, the fundamental figure unit of radar drawing image is selected first, scene model is built according to the attribute of fundamental figure unit, then target echo data and terrain return data are obtained, Coordinate Conversion is carried out to input data, obtains coordinate value of the scene model in space;The viewpoint position of light source is set again, calculates the color-values of object in scene model, opposite vertexes tinter and fragment shader inject specific source code, determine the type of texture stickup and the mode of illumination condition, render the display effect of fundamental figure unit;Finally according to the spatial value of scene model, fundamental figure unit after rendering or the figure being made up of two and above fundamental figure unit are converted into pixel data deposit frame buffer, and the pixel data is launched onto painting canvas.

Description

Radar video method of processing display based on OpenGL ES
Technical field
The present invention relates to radar data processing technology field, the radar video processing more particularly to based on OpenGL ES is aobvious Show method.
Background technology
The window that radar video display picture is user and radar directly interacts, its design follow two aspect principles: First, radar function is embodied comprehensively;Second, picture is smooth, image quality is fine and smooth.At present, radar video processing is typically dispatched with master control Completed in same processor, this processing mode has following defect:
1st, video processing data amount is big, calculates and takes the excessive CPU time, causes master control scheduling resource nervous, even if outside Coprocessor is hung, but bus data transfer is equally time-consuming, improvement unobvious;
When the 2nd, carrying out Image Rendering by the RGB of all data points merely, picture is likely to occur interim card, while display effect Stiff, especially when handling terrain data, spike is obvious, and Consumer's Experience effect is not ideal enough.
The content of the invention
To overcome at least one defect existing for above-mentioned prior art, the invention provides a kind of based on OpenGL ES's Radar video method of processing display, comprises the following steps:
Step 1, the fundamental figure unit of radar drawing image is selected, is built according to the attribute of the fundamental figure unit Scene model, wherein the attribute of the fundamental figure unit includes vertex position and quantity;
Step 2, input data is obtained, the input data includes target echo data and terrain return data, to described Input data carries out Coordinate Conversion, obtains coordinate value of the scene model in space;
Step 3, the viewpoint position of light source is set, calculates the color-values of object in the scene model, opposite vertexes tinter Specific source code is injected with fragment shader, the type of texture stickup and the mode of illumination condition are determined, to the scenery mould Type is atomized, is transparent, fuzzy special effect processing, so as to render the display effect of fundamental figure unit;
Step 4, according to the spatial value of scene model, fundamental figure unit after rendering or by two and with The figure of the upper fundamental figure unit composition is converted into pixel data deposit frame buffer, and the pixel data is launched and arrives picture On cloth.
Preferably, the fundamental figure unit is the one of which in point, line, polygon.
Preferably, the fundamental figure unit is triangle.
Radar video method of processing display provided by the invention based on OpenGL ES, has the advantages that:
1st, image procossing is done using the ARM GPU embedded, release CPU calculates the pressure of multitude of video data, will more provided Source is applied to system call, ensures radar sequential.
2nd, because OpenGL ES2.0 drawing techniques are therefore the numbers of data point needed for drawing based on region vertex coloring Amount greatly reduces, so as to mitigate the pressure of bus communication, lifting processor CPU execution efficiency.
3rd, GPU function of hardware acceleration is relied on, by OpenGL ES2.0 abundant patterns rendering capability, video is shown More true to nature, image quality is finer and smoother.
Brief description of the drawings
Fig. 1 is the flow chart of the radar video method of processing display based on OpenGL ES.
Embodiment
To make the purpose, technical scheme and advantage that the present invention is implemented clearer, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is further described in more detail.
It should be noted that:The embodiments described below with reference to the accompanying drawings are exemplary, it is intended to for explaining this hair It is bright, and be not considered as limiting the invention.In the accompanying drawings, same or similar label represents same or like from beginning to end Element or with same or like function element.Described embodiment is part of the embodiment of the present invention, rather than entirely The embodiment in portion, in the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
In the description of the invention, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", "front", "rear", The orientation or position relationship of the instruction such as "left", "right", " vertical ", " level ", " top ", " bottom ", " interior ", " outer " is based on accompanying drawing institutes The orientation or position relationship shown, it is for only for ease of and describes the present invention and simplify description, rather than indicates or imply meaning Device or element must have specific orientation, with specific azimuth configuration and operation, therefore it is not intended that the present invention be protected Protect the limitation of scope.
In view of this mode of original plug-in coprocessor of primary processor, is deposited in terms of radar system scheduling, Video processing The defects of, the present invention choose ARM deal with device, its CPU be merely responsible for master control scheduling, original video processing module is transferred to GPU processing embedded ARM, because GPU possesses the image-capable of brilliance, painted in terms of video is shown using OpenGL ES2.0 Diagram technology, pass through the operation performed needed for self-defined tinter so that application program can be realized abundant by hardware-accelerated Figure renders, and so as to lift the quality of radar video picture, can either solve to cause at its because CPU calculates multitude of video data The problem of efficiency declines is managed, and can improves the feature of video display picture, and the quality that lifting picture is shown can extensive use It is obvious to optimizing and improving Video processing display effect in Radar Technology field in terms of 3-D view and special effect processing.
A kind of radar video method of processing display based on OpenGL ES provided by the invention, as shown in figure 1, its step It is as follows:
Step 1:Build scene model
The elementary cell that OpenGL ES2.0 draw is point, line and polygon, and when drawing radar video picture, demand is most More is setting-out and picture, and line and face essence are the cumulative of pixel, when establishing scene model, it is important to calculate graphics vertex Position.Detection range is typically abstracted into the line being a little summed into, bitmap selection GL_POINTS modes during setting-out, draws landform When, landform is subjected to netted division, each grid is spliced by triangle, and two triangles are determined by four summits, then will Two triangle splices quadrangularly, is finally spliced into terrain graph by three dimensional constitution with substantial amounts of quadrangle, that is, establishes landform Model.If processor disposal ability is stronger, it can suitably select more summits to carry out structural relief, pass through follow-up wash with watercolours Dye, the effect of display will be more smooth, true to nature.
Step 2:Calculate space coordinates
Three-dimensional point processing is done in all summits when calculating in OpenGL ES2.0, i.e., (x, y, z) can be with representation space Arbitrfary point, when calculating topographic(al) point space coordinates, three-dimensional sphere coordinate data of the topographic(al) point in body system can be utilized, and The carrier aircraft attitude information that inertial navigation provides, calculates position (x, y, z) of the topographic(al) point in geographic coordinate system, by reconstructing digital Shape information, you can structure terrain profile, circular are as follows:
Assuming that the azimuth of radar irradiation current is Az, angle of pitch El, and topographic(al) point distance R, carrier aircraft longitude λ, latitude φ, sea Degree of lifting h, attitude orientation angle Ψ, pitching angle theta and the roll angle γ of aircraft.Select datum markIn summary count According to according to formula
Topographic(al) point X is to distance:
Topographic(al) point Y-direction distance:
Topographic(al) point Z-direction height:
Z=h+Rsin (EL)
3-dimensional digital topographic(al) point vertex data (x, y, z) can be calculated, R in formulaEIt is terrestrial equator radius.
Step 3:Coloring mode is set
The vertex position information of all range points is tried to achieve by above step, creates vertex shader, and work out summit and Color device source code or executable code, describe, by the vertex coloring operation of execution, to compile vertex shader, bind vertex attribute rope Attribute variable's (vertex position) is guided to, obtains the address of " loaded " position matrix constant, location matrix constant is tied to caching pair As so far, trying to achieve the position data on all summits.Input using this type of information as fragment shader, by rotation, illumination, The operation such as shade and color calculating, is calculated by the fragment colors of four apex envelopes.Equally, it is normal to obtain loading color vector The address of amount, it is tied to color cache object.
Step 4:Launch cache image
Because OpenGL ES2.0 are the shape libraries of a platform independence, after this technology to drawing 3-D graphic, Need the physical window with a reality to associate, the image information in caching could be projected painting canvas and shown, take display Device parameter, including display height, width information.Initialize EGL,.EGL configuration is selected, and creates drawing window.Due to internal memory Image divides context, therefore enabled switch attribute is needed before image is switched.By connecting drawing window and context, you can from View data is read in frame internal memory to show in display end.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, the change or replacement that can readily occur in, all should It is included within the scope of the present invention.Therefore, protection scope of the present invention should using the scope of the claims as It is accurate.

Claims (3)

1. a kind of radar video method of processing display based on OpenGL ES, it is characterised in that comprise the following steps:
Step 1, the fundamental figure unit of radar drawing image is selected, scenery is built according to the attribute of the fundamental figure unit Model, wherein the attribute of the fundamental figure unit includes vertex position and quantity;
Step 2, input data is obtained, the input data includes target echo data and terrain return data, to the input Data carry out Coordinate Conversion, obtain coordinate value of the scene model in space;
Step 3, the viewpoint position of light source is set, calculates the color-values of object in the scene model, opposite vertexes tinter and piece Section tinter injects specific source code, determines the type of texture stickup and the mode of illumination condition, the scene model is entered Row atomization, transparent, fuzzy special effect processing, so as to render the display effect of fundamental figure unit;
Step 4, according to the spatial value of scene model, fundamental figure unit after rendering or by two and above institute The figure for stating fundamental figure unit composition is converted into pixel data deposit frame buffer, and the pixel data is launched and arrives painting canvas On.
2. radar video method of processing display according to claim 1, it is characterised in that the fundamental figure unit is One of which in point, line, polygon.
3. radar video method of processing display according to claim 2, it is characterised in that the fundamental figure unit is three It is angular.
CN201710529594.9A 2017-07-02 2017-07-02 Radar video method of processing display based on OpenGL ES Pending CN107340501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710529594.9A CN107340501A (en) 2017-07-02 2017-07-02 Radar video method of processing display based on OpenGL ES

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710529594.9A CN107340501A (en) 2017-07-02 2017-07-02 Radar video method of processing display based on OpenGL ES

Publications (1)

Publication Number Publication Date
CN107340501A true CN107340501A (en) 2017-11-10

Family

ID=60218235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710529594.9A Pending CN107340501A (en) 2017-07-02 2017-07-02 Radar video method of processing display based on OpenGL ES

Country Status (1)

Country Link
CN (1) CN107340501A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738721A (en) * 2019-10-12 2020-01-31 四川航天神坤科技有限公司 Three-dimensional scene rendering acceleration method and system based on video geometric analysis
CN111551930A (en) * 2020-05-18 2020-08-18 南京众博达电子科技有限公司 Radar image display method based on layered display
CN111932689A (en) * 2020-07-03 2020-11-13 北京庚图科技有限公司 Three-dimensional object rapid selection method adopting ID pixel map
CN114217894A (en) * 2021-12-10 2022-03-22 中国人民解放军96901部队25分队 Method for realizing radar screen display by adopting Qt

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070195100A1 (en) * 1998-03-31 2007-08-23 Brown John M System and method for assessing performance optimizations in a graphics system
CN102854495A (en) * 2012-07-10 2013-01-02 中国船舶重工集团公司第七二四研究所 Method for implementing radar video rendering display based on direct 3D (D3D) alpha blending technology
CN103971396A (en) * 2014-05-24 2014-08-06 哈尔滨工业大学 OpenGL ES (open graphics library for embedded system) implementation method for ray casting algorithm under ARM+GPU (advanced RISC machine+graphic processing unit) heterogeneous architecture
CN104142494A (en) * 2014-07-17 2014-11-12 陕西长岭电子科技有限责任公司 GPU-based video displaying method for rotary antenna radar

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070195100A1 (en) * 1998-03-31 2007-08-23 Brown John M System and method for assessing performance optimizations in a graphics system
CN102854495A (en) * 2012-07-10 2013-01-02 中国船舶重工集团公司第七二四研究所 Method for implementing radar video rendering display based on direct 3D (D3D) alpha blending technology
CN103971396A (en) * 2014-05-24 2014-08-06 哈尔滨工业大学 OpenGL ES (open graphics library for embedded system) implementation method for ray casting algorithm under ARM+GPU (advanced RISC machine+graphic processing unit) heterogeneous architecture
CN104142494A (en) * 2014-07-17 2014-11-12 陕西长岭电子科技有限责任公司 GPU-based video displaying method for rotary antenna radar

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TIAN-QI FAN等: "OpenGL-Based Hybrid GO/PO Computation for RCS of Electrically Large Complex Objects", 《IEEE ANTENNAS AND WIRELESS PROPAGATION LETTERS》 *
刘天桥: "基于OpenGL的天基预警雷达视景仿真方法研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738721A (en) * 2019-10-12 2020-01-31 四川航天神坤科技有限公司 Three-dimensional scene rendering acceleration method and system based on video geometric analysis
CN110738721B (en) * 2019-10-12 2023-09-01 四川航天神坤科技有限公司 Three-dimensional scene rendering acceleration method and system based on video geometric analysis
CN111551930A (en) * 2020-05-18 2020-08-18 南京众博达电子科技有限公司 Radar image display method based on layered display
CN111551930B (en) * 2020-05-18 2022-03-18 南京众博达电子科技有限公司 Radar image display method based on layered display
CN111932689A (en) * 2020-07-03 2020-11-13 北京庚图科技有限公司 Three-dimensional object rapid selection method adopting ID pixel map
CN111932689B (en) * 2020-07-03 2023-11-14 北京庚图科技有限公司 Three-dimensional object quick selection method adopting ID pixel graph
CN114217894A (en) * 2021-12-10 2022-03-22 中国人民解放军96901部队25分队 Method for realizing radar screen display by adopting Qt
CN114217894B (en) * 2021-12-10 2023-09-05 中国人民解放军96901部队25分队 Method for realizing radar screen display by adopting Qt

Similar Documents

Publication Publication Date Title
CN107340501A (en) Radar video method of processing display based on OpenGL ES
EP3552182B1 (en) Multiple shader processes in graphics processing
US11024077B2 (en) Global illumination calculation method and apparatus
US8035641B1 (en) Fast depth of field simulation
US9183608B2 (en) Image processing techniques for tile-based rasterization
CN110383337A (en) Variable bit rate coloring
CN106485776A (en) A kind of method and system of 3D game real-time rendering large scale scene
US6556195B1 (en) Image processing device and image processing method
US20050134588A1 (en) Method and apparatus for image processing
CN111400024B (en) Resource calling method and device in rendering process and rendering engine
CN106408635A (en) Graphics processing
CN110335333A (en) For efficiently rendering the method and system of skies gas effect figure in three-dimensional map
WO2014025516A1 (en) Gpu-accelerated rendering of paths with a dash pattern
JPH0620063A (en) Method and apparatus for generation of texture map perspective view
CN109196549A (en) Dynamic low resolution z tests size
CN105023233A (en) Graphics processing systems
CN105321200A (en) Offline rendering preprocessing method
CN107330964A (en) A kind of display methods and system of complex three-dimensional object
CN111986303A (en) Fluid rendering method and device, storage medium and terminal equipment
CN106157357B (en) GPU acceleration-based dynamic light effect implementation method and system
JP3549871B2 (en) Drawing processing apparatus and method, recording medium storing drawing processing program, drawing processing program
CN113593027A (en) Three-dimensional avionics display control interface device
Hooker Volumetric global illumination at Treyarch
EP0644509B1 (en) Method and apparatus for filling polygons
US5880735A (en) Method for and apparatus for transparency conversion, image processing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171110