CN104486578A - Color indexing-based marine radar echo image transmission method - Google Patents
Color indexing-based marine radar echo image transmission method Download PDFInfo
- Publication number
- CN104486578A CN104486578A CN201410630171.2A CN201410630171A CN104486578A CN 104486578 A CN104486578 A CN 104486578A CN 201410630171 A CN201410630171 A CN 201410630171A CN 104486578 A CN104486578 A CN 104486578A
- Authority
- CN
- China
- Prior art keywords
- echo
- image
- color
- data
- index
- 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
Landscapes
- Radar Systems Or Details Thereof (AREA)
Abstract
The invention relates to a color indexing-based marine radar echo image transmission method. The method includes the following steps that: echo brightness and blanking time of echo afterglow are determined, and an echo image color index table is established; 16-bit RGB data of each pixel of an echo image are converted into 8-bit image index data; a data processing unit transmits two adjacent 8-bit image index data to a display terminal together; the display terminal receives the image index data, and segments the image index data into a group of high single-byte data and a group of low single-byte data according to double-byte data width and performs mutual exchange on the high single-byte data and the low single-byte data, and inquires truth 16-bit RGB color values in the color index table; the converted RGB color values are combined so as to form an echo display image which is stored in a display cache and is subjected to display processing; and step one to step five are repeated until echo acquisition terminates. Compared with an original transmission method, with the transmission method of the invention adopted, only one half of data transmission channel bandwidth is occupied, and transmission efficiency is improved by 100%, and radar echo image data which are acquired with a high speed can be continuously and stably transmitted to the display terminal so as to be displayed.
Description
Technical field
The present invention relates to radar echo image transmission technique field, especially a kind of marine radar echo transmission method based on color index.
Background technology
Marine navigation radar is the infrastructure device of modern ships indispensability, may be used for measuring this ship position and prevents collision accident.Meanwhile, marine navigation radar accurately can also catch the thing mark information of other ships on the water surface or land.Normal domestic marine radar requires very high to cost control, therefore embedded computer is generally adopted to realize the display of its echo and target acquisition operation, but, the display size of marine radar display is increasing, display resolution is also more and more higher, and this just causes the quantity of echo data and image greatly to increase.Therefore, the problem of image data transmission bandwidth chahnel how is more effectively utilized to seem particularly important.
Conventional ship radar image generally adopts the image/video host-host protocol of standard to transmit, the view data transmitted carries out transmission collection by first-in first-out buffer storage or direct memory access controller, be stored in the core buffer of display terminal, finally, shown over the display by IMAQ and processing unit.This image transmitting mode is in application process, there is two problems particularly outstanding: first, when radar image adopts high Resolution and Large Size to show, image transmitting passage cannot meet image data transmission demand, in addition, radar antenna is when high speed rotates, and the realtime image data of generation is too much, radar echo image in image transmitting passage cannot be transferred on IMAQ and processing unit in time, can cause the loss of radar echo image; Second, the echo of radar generally only has three kinds of dominant hues, such as black is background colour, yellow is scan line color, the different green of brightness represents the varying strength of target echo, directly express three kinds of tones without the need to nearly 16 bit data width as seen, directly transmit original 16 color image data great " waste " bandwidth of image transmitting passage.
Summary of the invention
The object of the present invention is to provide a kind of demand, the marine radar echo transmission method based on color index of effectively avoiding radar echo image to lose that at utmost can reduce image transmitting bandwidth.
For achieving the above object, present invention employs following technical scheme: a kind of marine radar echo transmission method based on color index, the method comprises the step of following order:
(1) determine the blanking time of echo brightness and echo twilight sunset, set up echo color index table;
(2) 16 RGB data of each for echo pixel are converted to 8 bit image index datas;
(3) two adjacent 8 bit image index datas are transferred to display terminal according to the timing requirements of image video signal host-host protocol by data processing unit together;
(4) display terminal receives image index data according to the sequential of image video signal host-host protocol, the image index data received be divided into height two groups of single byte of data by double byte data width and mutually exchange, in color index table, inquiring about its true 16 RGB color values;
(5) the RGB color value after conversion is combined as echo display image stored in display buffer by display terminal, carries out Graphics Processing;
(6) according to the frequency of radar scanning, repeat step (2) to step (5), display terminal continues to export radar scanning video image until terminate echo acquirement.
First, according to echo rgb value determination echo brightness Y, the computing formula of echo brightness Y is as follows:
Y = 0.299*R + 0.587*G + 0.114*B
Determine stepping length s and the maximum magnitude r of index value according to the blanking time t of echo twilight sunset, the formula that stepping length s calculates with echo twilight sunset blanking time t is:
The formula that maximum magnitude r calculates with stepping length s is:
Determine the domain color C showing echo
s, set up 8 basic bit index value C
ito 16 color value C
tcorrespondence interval; 8 bit index value C
i16 the color value Cs corresponding with it
tcomputing formula be:
F in above-mentioned three formula is luminance weights.
Display terminal receives image index data according to image video signal host-host protocol, and the data received are stored in internal memory according to double byte, and double byte is 16; Index data in internal memory carries out the exchange of height byte according to double byte size, and byte is 8; With index datas all in the width of byte traversal internal memory, contrast color look-up table simultaneously and index value is converted to true 16 RGB color values.
Described image video signal host-host protocol is transmit according to the video format of ITU601 form.
Determine the domain color C showing echo
sit is three kinds: black, yellow and green.
As shown from the above technical solution, the present invention utilizes the feature of radar echo color dullness, set up the mapping relations of color index to true color, at transmitting terminal, true color is converted to color index value and image index data according to color index table, use color index value transmission radar echo display image, according to color index table at receiving terminal color index value is converted to true color and outputs to display memory and show.The present invention only takies the data transmission channel bandwidth of half compared with original transmission means, improve efficiency of transmission 100%, the radar echo image data of high speed acquisition can be continued and the stable display terminal that is transferred to shows, farthest reduce the demand of image transmitting bandwidth, efficiently avoid the loss of radar echo image.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Embodiment
Based on a marine radar echo transmission method for color index, the method comprises the step of following order: (1) determines the blanking time of echo brightness and echo twilight sunset, sets up echo color index table; (2) 16 RGB data of each for echo pixel are converted to 8 bit image index datas; (3) two adjacent 8 bit image index datas are transferred to display terminal according to the timing requirements of image video signal host-host protocol by data processing unit together; (4) display terminal receives image index data according to the sequential of image video signal host-host protocol, the image index data received be divided into height two groups of single byte of data by double byte data width and mutually exchange, in color index table, inquiring about its true 16 RGB color values; (5) the RGB color value after conversion is combined as echo display image stored in display buffer by display terminal, carries out Graphics Processing; (6) according to the frequency of radar scanning, repeat step (2) to step (5), display terminal continues to export radar scanning video image until terminate echo acquirement.Described image video signal host-host protocol is transmit according to the video format of ITU601 form.As shown in Figure 1.
For table 1, color index tableau format, content are as shown in table 1:
First, according to echo rgb value determination echo brightness Y, the computing formula of echo brightness Y is as follows:
Y = 0.299*R + 0.587*G + 0.114*B
Determine stepping length s and the maximum magnitude r of index value according to the blanking time t of echo twilight sunset, the formula that stepping length s calculates with echo twilight sunset blanking time t is:
The formula that maximum magnitude r calculates with stepping length s is:
Determine the domain color C showing echo
s, determine the domain color C showing echo
sit is three kinds: black, yellow and green.Set up 8 basic bit index value C
ito 16 color value C
tcorrespondence interval; 8 bit index value C
i16 the color value Cs corresponding with it
tcomputing formula be:
F in above-mentioned three formula is luminance weights.
Display terminal receives image index data according to image video signal host-host protocol, and the data received are stored in internal memory according to double byte, and double byte is 16; Index data in internal memory carries out the exchange of height byte according to double byte size, and byte is 8; With index datas all in the width of byte traversal internal memory, contrast color look-up table simultaneously and index value is converted to true 16 RGB color values.Arranging S3C6410 register makes radar echo image processing unit can gather video image 8 bit data.In other words, radar echo image processing unit receives image index data according to image video signal host-host protocol, the data received is not changed one to one according to 16 rgb formats, but is stored in internal memory according to double byte (16); Index data in internal memory is carried out the exchange of height byte (8) according to double byte size, transmission is held greatly owing to adopting, in transmitting procedure, the high low byte of double byte can exchange, in the process of decoding, need the byte of exchange to exchange go back, carry out the decoding of 8 to 16 according to the normal sequence of display; With index datas all in the width of byte traversal internal memory, index value is converted to true 16 RGB color values by the color look-up table simultaneously contrasting generation.
Embodiment one
Adopt S3C6410 processor, as receiving terminal, index value is converted to color true value in the present embodiment.S3C6410 uses as a computing unit, also can with other processors or the computing of hardware implementing reverse index.Radar signal data processing unit sends 30 frame radar echo images each second, and single frames radar image resolution is 640 × 640 × 8bits=400KB, and therefore radar echo image data rate is 12MB/s;
The blanking time t=2 second of echo twilight sunset, set up stepping length s and the maximum magnitude r of index value;
Echo domain color black to be background colour rgb format 16 bit value is 0x0000, yellow for scan line color rgb format 16 bit value be 0xFFE0, green be echo color of object, according to the requirement of 2 seconds persistences, setting rgb format 16 number range is 0x0020 ~ 0x07D0;
Foundation echo blanking time calculated step length is s=1;
Maximum magnitude with the result of stepping length computation for r=256;
8 bit index value C
iscope be 0 ~ 255, through rgb format conversion after, 16 the color value Cs corresponding with it
tfor C
t=0x0000,0x0020,0x0040 ..., 0x07D0,0xFFE0}.
In sum, the present invention utilizes the feature of radar echo color dullness, set up the mapping relations of color index to true color, at transmitting terminal, true color is converted to color index value and image index data according to color index table, use color index value transmission radar echo display image, according to color index table at receiving terminal color index value is converted to true color and outputs to display memory and show.The present invention only takies the data transmission channel bandwidth of half compared with original transmission means, and raising efficiency of transmission 100%, makes the radar echo image data of high speed acquisition to continue and the stable display terminal that is transferred to shows.
Claims (5)
1., based on a marine radar echo transmission method for color index, it is characterized in that the method comprises the step of following order:
(1) determine the blanking time of echo brightness and echo twilight sunset, set up echo color index table;
(2) 16 RGB data of each for echo pixel are converted to 8 bit image index datas;
(3) two adjacent 8 bit image index datas are transferred to display terminal according to the timing requirements of image video signal host-host protocol by data processing unit together;
(4) display terminal receives image index data according to the sequential of image video signal host-host protocol, the image index data received be divided into height two groups of single byte of data by double byte data width and mutually exchange, in color index table, inquiring about its true 16 RGB color values;
(5) the RGB color value after conversion is combined as echo display image stored in display buffer by display terminal, carries out Graphics Processing;
(6) according to the frequency of radar scanning, repeat step (2) to step (5), display terminal continues to export radar scanning video image until terminate echo acquirement.
2. the marine radar echo transmission method based on color index according to claim 1, is characterized in that: first, and according to echo rgb value determination echo brightness Y, the computing formula of echo brightness Y is as follows:
Y = 0.299*R + 0.587*G + 0.114*B
Determine stepping length s and the maximum magnitude r of index value according to the blanking time t of echo twilight sunset, the formula that stepping length s calculates with echo twilight sunset blanking time t is:
The formula that maximum magnitude r calculates with stepping length s is:
Determine the domain color C showing echo
s, set up 8 basic bit index value C
ito 16 color value C
tcorrespondence interval; 8 bit index value C
i16 the color value Cs corresponding with it
tcomputing formula be:
F in above-mentioned three formula is luminance weights.
3. the marine radar echo transmission method based on color index according to claim 1, it is characterized in that: display terminal receives image index data according to image video signal host-host protocol, the data received are stored in internal memory according to double byte, and double byte is 16; Index data in internal memory carries out the exchange of height byte according to double byte size, and byte is 8; With index datas all in the width of byte traversal internal memory, contrast color look-up table simultaneously and index value is converted to true 16 RGB color values.
4. the marine radar echo transmission method based on color index according to claim 1 or 3, is characterized in that: described image video signal host-host protocol is transmit according to the video format of ITU601 form.
5. the marine radar echo transmission method based on color index according to claim 1, is characterized in that: determine the domain color C showing echo
sit is three kinds: black, yellow and green.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410630171.2A CN104486578B (en) | 2014-11-11 | 2014-11-11 | A kind of marine radar echo transmission method based on color index |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410630171.2A CN104486578B (en) | 2014-11-11 | 2014-11-11 | A kind of marine radar echo transmission method based on color index |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104486578A true CN104486578A (en) | 2015-04-01 |
CN104486578B CN104486578B (en) | 2017-06-27 |
Family
ID=52761077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410630171.2A Active CN104486578B (en) | 2014-11-11 | 2014-11-11 | A kind of marine radar echo transmission method based on color index |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104486578B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106056530A (en) * | 2016-06-01 | 2016-10-26 | 腾讯科技(深圳)有限公司 | Method and device for displaying picture content in application |
CN110687536A (en) * | 2019-11-04 | 2020-01-14 | 深圳市华讯方舟雷达技术装备有限公司 | Ship radar video data storage and drawing method |
CN111551930A (en) * | 2020-05-18 | 2020-08-18 | 南京众博达电子科技有限公司 | Radar image display method based on layered display |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004128776A (en) * | 2002-10-01 | 2004-04-22 | Seiko Instruments Inc | Image compression method and transmitting apparatus using the same |
CN101839974A (en) * | 2010-05-05 | 2010-09-22 | 北京航空航天大学 | Dual-interface radar data recorder |
CN102331575A (en) * | 2011-06-23 | 2012-01-25 | 中国电子科技集团公司第三十八研究所 | Single-pass full-polarization interferometric synthetic aperture radar (SAR) |
US20120050073A1 (en) * | 2010-08-24 | 2012-03-01 | Honeywell International Inc. | Systems and methods for rapid updating of embedded text in radar picture data |
CN103048645A (en) * | 2013-01-24 | 2013-04-17 | 南京莱斯信息技术股份有限公司 | System and method for displaying radar echo wake |
CN103399311A (en) * | 2013-08-19 | 2013-11-20 | 中国电子科技集团公司第三十八研究所 | Rendering method used for real-time echo of scene surveillance radar |
-
2014
- 2014-11-11 CN CN201410630171.2A patent/CN104486578B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004128776A (en) * | 2002-10-01 | 2004-04-22 | Seiko Instruments Inc | Image compression method and transmitting apparatus using the same |
CN101839974A (en) * | 2010-05-05 | 2010-09-22 | 北京航空航天大学 | Dual-interface radar data recorder |
US20120050073A1 (en) * | 2010-08-24 | 2012-03-01 | Honeywell International Inc. | Systems and methods for rapid updating of embedded text in radar picture data |
CN102331575A (en) * | 2011-06-23 | 2012-01-25 | 中国电子科技集团公司第三十八研究所 | Single-pass full-polarization interferometric synthetic aperture radar (SAR) |
CN103048645A (en) * | 2013-01-24 | 2013-04-17 | 南京莱斯信息技术股份有限公司 | System and method for displaying radar echo wake |
CN103399311A (en) * | 2013-08-19 | 2013-11-20 | 中国电子科技集团公司第三十八研究所 | Rendering method used for real-time echo of scene surveillance radar |
Non-Patent Citations (1)
Title |
---|
程玉荣等: ""基于光栅扫描的高分辨率长余辉雷达显示仿真"", 《计算机应用与软件》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106056530A (en) * | 2016-06-01 | 2016-10-26 | 腾讯科技(深圳)有限公司 | Method and device for displaying picture content in application |
WO2017206761A1 (en) * | 2016-06-01 | 2017-12-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for displaying picture content in application, and storage medium |
CN106056530B (en) * | 2016-06-01 | 2019-12-06 | 腾讯科技(深圳)有限公司 | Method and device for displaying picture content in application |
US10636113B2 (en) | 2016-06-01 | 2020-04-28 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for displaying picture content in application, and storage medium |
US10825130B2 (en) | 2016-06-01 | 2020-11-03 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for displaying picture content in application, and storage medium |
CN110687536A (en) * | 2019-11-04 | 2020-01-14 | 深圳市华讯方舟雷达技术装备有限公司 | Ship radar video data storage and drawing method |
CN110687536B (en) * | 2019-11-04 | 2023-10-27 | 武汉华讯国蓉科技有限公司 | Ship radar video data storage and drawing method |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104486578B (en) | 2017-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108882028B (en) | The processing method and processing device of vision signal | |
EP3358561B1 (en) | Method and apparatus for a sink device to receive and process sub-sampled pixel data | |
CN103269425A (en) | Multifunctional intelligent image conversion system | |
CN108010488A (en) | Display device | |
DE102013105559B4 (en) | Method of detecting a data bit depth and interface device for a display device using the same | |
CN104486578A (en) | Color indexing-based marine radar echo image transmission method | |
KR101815895B1 (en) | Data driver, display device, and data driving method | |
TWI541778B (en) | Method of data transmission, terminal and processor | |
CN101990095B (en) | Method and apparatus for generating compressed file, camera module associated therewith, and terminal including the same | |
KR102120865B1 (en) | Display Device, Driver of Display Device, Electronic Device including thereof and Display System | |
CN110459176A (en) | A kind of gamut conversion method of displayer | |
CN105609033A (en) | Pixel rendering method, pixel rendering device and display device | |
CN104360319A (en) | CUDA platform-based radar B-display processing method | |
CN103745683B (en) | LED display control system based on HDMI | |
CN105954726B (en) | More radar station radar video method for drafting of electrodeless scaling based on GPU | |
CN102592557B (en) | Simulation method and device for squint angle images | |
KR101489637B1 (en) | Timing controller, its driving method, and flat panel display device | |
CN107566770A (en) | PG signals transmission control unit and method based on PCIe and HDMI | |
CN208128386U (en) | A kind of high-resolution large area array imaging circuit system | |
CN201892936U (en) | Video conversion device | |
CN106412544A (en) | Color gamut keeping system and method | |
CN107888288A (en) | A kind of short distance visible light communication method and its hardware system based on mobile terminal | |
CN103927986B (en) | A kind of LED high density display screen constant-current driven chip | |
US20170148418A1 (en) | Display method and display apparatus | |
CN104581096A (en) | Multiplexing video transmission optical transmitter and receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |