[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104142494B - GPU-based video displaying method for rotary antenna radar - Google Patents

GPU-based video displaying method for rotary antenna radar Download PDF

Info

Publication number
CN104142494B
CN104142494B CN201410341272.8A CN201410341272A CN104142494B CN 104142494 B CN104142494 B CN 104142494B CN 201410341272 A CN201410341272 A CN 201410341272A CN 104142494 B CN104142494 B CN 104142494B
Authority
CN
China
Prior art keywords
pixel
texture
display area
radar
mapping
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.)
Active
Application number
CN201410341272.8A
Other languages
Chinese (zh)
Other versions
CN104142494A (en
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.)
SHAANXI CHANGLING ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SHAANXI CHANGLING ELECTRONIC TECHNOLOGY Co Ltd
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 SHAANXI CHANGLING ELECTRONIC TECHNOLOGY Co Ltd filed Critical SHAANXI CHANGLING ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201410341272.8A priority Critical patent/CN104142494B/en
Publication of CN104142494A publication Critical patent/CN104142494A/en
Application granted granted Critical
Publication of CN104142494B publication Critical patent/CN104142494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G01S7/06Cathode-ray tube displays or other two dimensional or three-dimensional displays
    • G01S7/064Cathode-ray tube displays or other two dimensional or three-dimensional displays using a display memory for image processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

The invention discloses a GPU-based video displaying method for a rotary antenna radar. The GPU-based video displaying method is characterized by including the following steps: (1) receiving radar video data, wherein the radar video data are unit data in m orientation dimensions and n distance dimensions; (2) building first grains in m*n dimensions and second grains in m*n dimensions according to the unit data, wherein the unit data are stored in the first grains; (3) determining a radar displaying window and a viewport, and mapping a viewport area in the grains; (4) carrying out coordinate transformation and mapping; (5) building a current frame through a circular displaying area mapped in the second grains, and displaying a circular-face image corresponding to the radar video data in the displaying viewport area.

Description

A kind of image display method based on gpu for rotable antenna radar
Technical field
The invention belongs to radar asorbing paint control technology field, particularly to a kind of video based on gpu for rotable antenna radar Display methods.
Background technology
It is basis and the important component part of Radar Displaying Console technical field that the scan conversion of radar video and twilight sunset control.Logical Often radar return is formed radar video data after digitized sampling, and radar video data presses polar coordinates (distance and bearing) form Output, but, the input of general raster scan display is the video data under rectangular co-ordinate, therefore, is swept using general grating When retouching display display radar video data, need to carry out polar coordinates to the conversion of rectangular co-ordinate.
Conventional radar video shows and adopts cathode-ray tube display, it is glimmering that its target echo signal is made by display interior Twilight sunset (keeping in) effect of luminescent material, shows mesh by the twilight sunset fading down that the inswept screen of electron beam scanning line stays Mark.But raster display cannot automatically generate the afterglow effect of fluorescent material in random scanning, therefore must artificial analog scanning The afterglow effect of line.
At present, domestic raster scan display is substantially the seat to realize radar video data using specialized hardware board Mark scan conversion and echo twilight sunset effect.But, above-mentioned technology has following difficult point or a shortcoming: the exploitation of (1) hardware board, upgrading with Maintenance cost is high;(2) display effect is poor, and twilight sunset has grains of sand sense;(3) realize radar using the hardware board of Digital Logical Circuits to regard The mode of frequency coordinate scan conversion and echo twilight sunset effect falls behind.
Content of the invention
It is an object of the invention to overcoming difficult point and the shortcoming of prior art presence, proposing a kind of rotable antenna radar and being based on The image display method of gpu, the method using programmable gpu software implementation realize radar video data coordinate scan conversion and Twilight sunset controls, and not only can improve performance and cost-effective, and can improve reliability and ease for maintenance.
In order to achieve the above object, the present invention employs the following technical solutions and is achieved.
A kind of image display method based on gpu for rotable antenna radar is it is characterised in that comprise the following steps:
Step 1, receives continuous radar video data by orientation, and extracts present orientation value th and the rotation of radar antenna Direction;Wherein, radar video data is m azimuth dimension, n apart from the cell data tieed up;
Step 2, builds the first texture of m × n dimension and the second texture of m × n dimension, described first texture according to cell data Memory cell data;
Step 3, determines the display window region of radar video data, determines display viewport area in display window region Domain, determines circular display area in display viewport region, sets the radius of circular display area as r;Corresponding, in the second line The display viewport region of mapping and the circular display area of mapping is divided in reason;
Step 4, the rectangular co-ordinate of each pixel in circular display area is converted into the pixel with respect to its center of circle Point polar coordinates, the radius r of circular display area ties up maximum maps mutually with the distance of the cell data of described first texture storage; Search corresponding pixel value further according to pixel polar coordinates in the cell data of described first texture storage, and write the second line The circular display area of mapping in reason, wherein, each pixel side of comprising of the circular display area of mapping in the second texture Place value θ, distance value and pixel value;
Step 5, the circular display area using mapping in the second texture builds present frame, and shows in display viewport region Radar video data corresponding disc image.
Further improvement of the present invention is, the circular display area to mapping in the second texture described in step (5) Each pixel pixel value carry out twilight sunset process after, display viewport region display radar video data corresponding disc figure Picture;The sub-step that its medium afterglow is processed is as follows:
5a) set the radar scanning cycle as t, persistence is t, then twilight sunset control parameter g=t/t;
5b) by orientation values θ of each pixel of the circular display area of mapping in the second texture and present orientation value Th compares, and obtains azimuth deviation amount d with the direction of rotation of radar antenna as positive direction for this pixel, and azimuth deviation amount d is On the occasion of;
When 5c) twilight sunset control parameter g is more than or equal to 1, the codomain of twilight sunset controlling elements f is [g-1,1], this pixel remaining Brightness controlling elements f=(g-1)+c × (2-g), wherein, c=d/ (2 π);
When 5d) twilight sunset control parameter g is less than 1, calculate orientation total radian k, k=2 π × (1-g) of the complete blanking of pixel, When azimuth deviation amount d of this pixel is more than orientation total radian k of the complete blanking of pixel, the twilight sunset of this pixel control because Sub- f=(d-k)/(2 π-k);When azimuth deviation amount d of this pixel is less than or equal to orientation total radian k of the complete blanking of pixel When, twilight sunset controlling elements f=0 of this pixel;
5e) using the product of the twilight sunset controlling elements of this pixel and pixel value as the correction pixel value of this pixel, write Enter the circular display area mapping in the second texture and build present frame.
The present invention has the advantage that
1) it is based on programmable gpu software to realize, display effect is good, has high flexibility ratio;
2) exploitation, upgrading and maintenance cost have been saved;
3) improve reliability and ease for maintenance.
Brief description
The present invention will be further described with reference to the accompanying drawings and detailed description.
Fig. 1 is the flow chart based on the image display method of gpu for the rotable antenna radar of the present invention;
Fig. 2 is the corresponding relation figure of the first texture and cell data;
Fig. 3 is the corresponding relation figure of the second texture and viewport;
Fig. 4 is the mapping relations figure of the second texture and the first texture.
Specific embodiment
With reference to Fig. 1, illustrate that a kind of rotable antenna radar of the present invention is based on gpu (graphic processing unit) Image display method, it comprises the following steps:
Step 1, receives radar video data: receive continuous radar video data by orientation, and extract present orientation value Th and the direction of rotation of radar antenna;Wherein, radar video data is m azimuth dimension, n apart from the cell data tieed up.
Step 2, builds texture: build the first texture of m × n dimension and the second texture of m × n dimension, institute according to cell data State the first texture storage cell data.
Size and parameter setting are carried out to the first texture and the second texture, specifically: in order that texture coordinate and m × n The cell data position of dimension corresponds, and the texture type of the first texture need to be set to rectangular texture, texture format is set to single-pass Road texture, is sized to m × n, and textured inner type carries out relative set according to said units data type;The line of the second texture Reason type is set to rectangular texture, and texture format is set to four-way, is sized to m × n.The cell data storage format of the first texture As shown in Figure 2.
Step 3, determines radar asorbing paint window and viewport, maps viewport region: determine radar video data in texture Display window region, determines display viewport region in display window region, determines circular viewing area in display viewport region Domain, sets the radius of circular display area as r;Corresponding, the second texture divides display viewport region and the mapping of mapping Circular display area, its mapping relations is as shown in Figure 3.
Step 4, Coordinate Conversion is simultaneously mapped: by the rectangular co-ordinate (x, y) of each pixel in circular display area Be converted into pixel polar coordinates with respect to its center of circle (θ, r), the radius r of circular display area and described first texture storage The distance dimension maximum n maps mutually of cell data;Further according to pixel polar coordinates described first texture storage cell data The middle pixel value searching corresponding texture coordinate (i, j), and write the circular display area of mapping in the second texture, wherein, second In texture, each pixel of the circular display area of mapping comprises orientation values θ, distance value r and pixel value v.
Due to, during texture mapping, if zooming effect can be produced during the cause not of uniform size with viewport of texture size, being Eliminate this effect, create one in frame buffer and carry out off screen with big viewports such as the first textures and render, make the line of the first texture Reason coordinate executes above-mentioned mapping in render process, and will be tied using rtt (render to texture) render to texture technology Fruit is rendered into the second texture.As shown in figure 4, pixel polar coordinates (θ, calculating r) and itself and corresponding texture coordinate (i, j) Mapping relations are as follows:
θ=π-atan (y/x);
θ/(2 π)=i/m;R/r=j/n.
Step 5, twilight sunset processes and shows present frame: is built current using the circular display area of mapping in the second texture Frame, and in display viewport region display radar video data corresponding disc image, its concrete sub-step is as follows:
5a) set the radar scanning cycle as t, persistence is t, twilight sunset control parameter g=t/t;
5b) by orientation values θ of each pixel of the circular display area of mapping in the second texture and present orientation value Th compares, and is calculated azimuth deviation amount d with the direction of rotation of radar antenna as positive direction for this pixel, azimuth deviation amount d Be on the occasion of;
When θ is more than or equal to th, d=θ-th;When θ is less than th, d=θ-th+2 π;
When 5c) twilight sunset control parameter g is more than or equal to 1, illustrate that this pixel will not disappear in radar scanning cycle t completely Hidden, the codomain of twilight sunset controlling elements f is [g-1,1], twilight sunset controlling elements f=(g-1)+c × (2-g) of this pixel, wherein, C is this pixel orientation values shared ratio in total orientation, c=d/ (2 π);
When 5d) twilight sunset control parameter g is less than 1, this pixel complete blanking of meeting, twilight sunset in radar scanning cycle t are described The codomain of controlling elements f is [0,1], calculates orientation total radian k of the complete blanking of pixel, k=2 π × (1-g), when this pixel When azimuth deviation amount d of point is more than orientation total radian k of pixel complete blanking, the twilight sunset controlling elements f=(d- of this pixel k)/(2π-k);When azimuth deviation amount d of this pixel is less than or equal to orientation total radian k of the complete blanking of pixel, this pixel Twilight sunset controlling elements f=0 of point;
5e) using the product of the twilight sunset controlling elements of this pixel and pixel value as the correction pixel value of this pixel, write Enter the circular display area mapping in the second texture and build present frame.
Above in conjunction with accompanying drawing, the preferred embodiment for the present invention is explained in detail, but the invention is not restricted to above-mentioned enforcement Mode, in the ken that those of ordinary skill in the art possess, can also be on the premise of without departing from present inventive concept Make a variety of changes.
Those of ordinary skill in the art can make many other without departing from the spirit and scope of the present invention and change and remodeling. It should be appreciated that the invention is not restricted to specific embodiment, the scope of the present invention is defined by the following claims.

Claims (1)

1. a kind of image display method based on gpu for rotable antenna radar is it is characterised in that comprise the following steps:
Step 1, receives continuous radar video data by orientation, and extracts the rotation side of present orientation value th and radar antenna To;Wherein, radar video data is m azimuth dimension, n apart from the cell data tieed up;
Step 2, builds the first texture of m × n dimension and the second texture of m × n dimension, described first texture storage according to cell data Cell data;
Step 3, determines the display window region of radar video data, determines display viewport region in display window region, Display determines circular display area in viewport region, sets the radius of circular display area as r;Corresponding, in the second texture Divide the display viewport region of mapping and the circular display area of mapping;
Step 4, the rectangular co-ordinate of each pixel in circular display area is converted into the pixel point pole with respect to its center of circle Coordinate, the radius r of circular display area ties up maximum maps mutually with the distance of the cell data of described first texture storage;Root again Search corresponding pixel value according to pixel polar coordinates in the cell data of described first texture storage, and write in the second texture The circular display area of mapping, wherein, in the second texture, each pixel of the circular display area of mapping comprises orientation values θ, distance value and pixel value;
Step 5, the circular display area using mapping in the second texture builds present frame, and in display viewport region display radar Video data corresponding disc image;
Wherein, the pixel value for each pixel of the circular display area of mapping in the second texture described in step 5 enters After row twilight sunset is processed, in display viewport region display radar video data corresponding disc image;The sub-step that its medium afterglow is processed Suddenly as follows:
5a) set the radar scanning cycle as t, persistence is t, then twilight sunset control parameter g=t/t;
5b) by orientation values θ of each pixel of the circular display area of mapping and present orientation value th ratio in the second texture Relatively, obtain azimuth deviation amount d with the direction of rotation of radar antenna as positive direction for this pixel, azimuth deviation amount d be on the occasion of;
When 5c) twilight sunset control parameter g is more than or equal to 1, the codomain of twilight sunset controlling elements f is [g-1,1], the twilight sunset control of this pixel Factor f=(g-1)+c × (2-g) processed, wherein, c=d/ (2 π);
When 5d) twilight sunset control parameter g is less than 1, calculate orientation total radian k of the complete blanking of pixel, k=2 π × (1-g), when this When azimuth deviation amount d of pixel is more than orientation total radian k of pixel complete blanking, twilight sunset controlling elements f of this pixel =(d-k)/(2 π-k);When azimuth deviation amount d of this pixel is less than or equal to orientation total radian k of the complete blanking of pixel, Twilight sunset controlling elements f=0 of this pixel;
5e) using the product of the twilight sunset controlling elements of this pixel and pixel value as this pixel correction pixel value, write the In two textures mapping circular display area and build present frame.
CN201410341272.8A 2014-07-17 2014-07-17 GPU-based video displaying method for rotary antenna radar Active CN104142494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410341272.8A CN104142494B (en) 2014-07-17 2014-07-17 GPU-based video displaying method for rotary antenna radar

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410341272.8A CN104142494B (en) 2014-07-17 2014-07-17 GPU-based video displaying method for rotary antenna radar

Publications (2)

Publication Number Publication Date
CN104142494A CN104142494A (en) 2014-11-12
CN104142494B true CN104142494B (en) 2017-01-25

Family

ID=51851722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410341272.8A Active CN104142494B (en) 2014-07-17 2014-07-17 GPU-based video displaying method for rotary antenna radar

Country Status (1)

Country Link
CN (1) CN104142494B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360319A (en) * 2014-12-03 2015-02-18 中国电子科技集团公司第二十八研究所 CUDA platform-based radar B-display processing method
CN105954726B (en) * 2016-04-26 2018-03-09 南京鹏力系统工程研究所 More radar station radar video method for drafting of electrodeless scaling based on GPU
CN107340501A (en) * 2017-07-02 2017-11-10 中国航空工业集团公司雷华电子技术研究所 Radar video method of processing display based on OpenGL ES
CN108226873A (en) * 2017-12-28 2018-06-29 重庆邮电大学 A kind of radar return display methods under android system
CN108663662B (en) * 2018-03-06 2022-10-21 中国船舶重工集团公司第七二四研究所 Radar video signal integral timing refreshing mapping display method based on GPU

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1165342A (en) * 1965-10-28 1969-09-24 Emi Ltd Improvements relating to Apparatus for Displaying Information Corresponding to Electrical Signals
US7161531B1 (en) * 2003-11-04 2007-01-09 Northrop Grumman Corporation High performance radar display
CN102542870A (en) * 2010-12-22 2012-07-04 中国人民解放军空军军训器材研究所 Radar image simulation method and device
CN102854495A (en) * 2012-07-10 2013-01-02 中国船舶重工集团公司第七二四研究所 Method for implementing radar video rendering display based on direct 3D (D3D) alpha blending technology
CN103048645A (en) * 2013-01-24 2013-04-17 南京莱斯信息技术股份有限公司 System and method for displaying radar echo wake

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1165342A (en) * 1965-10-28 1969-09-24 Emi Ltd Improvements relating to Apparatus for Displaying Information Corresponding to Electrical Signals
US7161531B1 (en) * 2003-11-04 2007-01-09 Northrop Grumman Corporation High performance radar display
CN102542870A (en) * 2010-12-22 2012-07-04 中国人民解放军空军军训器材研究所 Radar image simulation method and device
CN102854495A (en) * 2012-07-10 2013-01-02 中国船舶重工集团公司第七二四研究所 Method for implementing radar video rendering display based on direct 3D (D3D) alpha blending technology
CN103048645A (en) * 2013-01-24 2013-04-17 南京莱斯信息技术股份有限公司 System and method for displaying radar echo wake

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于OpenGL的雷达显示器仿真;张剑等;《中国舰船研究》;20091031;第4卷(第5期);正文第71-74页 *
基于可编程显卡的信息化雷达终端显示系统;张辉等;《信息与电子工程》;20101231;第8卷(第6期);正文第653页 *

Also Published As

Publication number Publication date
CN104142494A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN104142494B (en) GPU-based video displaying method for rotary antenna radar
CN103778900B (en) A kind of image processing method and system
CN108022223B (en) Tone mapping method based on logarithm mapping function blocking processing fusion
CN112634275B (en) Radar echo image processing method and system
CN107610225B (en) Method for unitizing three-dimensional oblique photography live-action model
CN101592729B (en) Device and method for partial enlarged display of radar PPI images based on target details
CN106791758A (en) The determination methods and device of natural light mixing colour temperature in a kind of image
CN105954726B (en) More radar station radar video method for drafting of electrodeless scaling based on GPU
WO2019153731A1 (en) Image processing method and system
CN102855627B (en) City remote sensing image shadow detection method based on spectral characteristic and topological relation
CN110245199A (en) A kind of fusion method of high inclination-angle video and 2D map
CN111489430A (en) Game shadow data processing method and device and game equipment
CN102722902B (en) Anti-aliasing the improving one's methods of rasterization stage in a kind of graph rendering streamline
EP3220355A1 (en) Image processing apparatus, image processing method, and image processing program
CN109829962B (en) Object space hidden line elimination calculation acceleration method using OPENGL
CN106131455B (en) A kind of adaptive dual radars video-splicing method
CN103514628A (en) Method for image nonlinear geometric correction based on 3D modeling and position lookup table technology
CN105933620A (en) Video signal switching method and equipment
CN106097426B (en) A kind of weather radar data three-dimensional visualization space leaping acceleration light projection method
CN112037292B (en) Weather system generation method, device and equipment
CN108280887A (en) A kind of echo determines method and device
CN108414987A (en) Optimize display methods for the radar return of VTS electronic chart display systems
Tian et al. Local histogram modification based contrast enhancement
CN103335636B (en) Detection method of small targets on ground
MohammadBagher et al. Screen-space percentage-closer soft shadows

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant