CN104486578B - A kind of marine radar echo transmission method based on color index - Google Patents

A kind of marine radar echo transmission method based on color index Download PDF

Info

Publication number
CN104486578B
CN104486578B CN201410630171.2A CN201410630171A CN104486578B CN 104486578 B CN104486578 B CN 104486578B CN 201410630171 A CN201410630171 A CN 201410630171A CN 104486578 B CN104486578 B CN 104486578B
Authority
CN
China
Prior art keywords
echo
index
color
data
image
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
CN201410630171.2A
Other languages
Chinese (zh)
Other versions
CN104486578A (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.)
CETC 38 Research Institute
Original Assignee
CETC 38 Research Institute
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 CETC 38 Research Institute filed Critical CETC 38 Research Institute
Priority to CN201410630171.2A priority Critical patent/CN104486578B/en
Publication of CN104486578A publication Critical patent/CN104486578A/en
Application granted granted Critical
Publication of CN104486578B publication Critical patent/CN104486578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Radar Systems Or Details Thereof (AREA)

Abstract

The present invention relates to a kind of marine radar echo transmission method based on color index, the blanking time of echo brightness and echo twilight sunset is determined, set up echo color index table;16 RGB datas of echo each pixel are converted into 8 bit image index datas;Data processing unit transmits to display terminal two 8 adjacent bit image index datas together;Display terminal receives image index data, and image index data is divided into height by double byte data width two groups of single byte of data and is exchanged with each other, and its true 16 RGB color value is inquired about in color index table;RGB color value after conversion is combined as into echo display image to be stored in display caching, display processing is carried out;Repeat step two to five, until terminating echo acquirement.The data transmission channel bandwidth that half is only taken up compared with original transmission means of the invention, improves efficiency of transmission 100% so that the radar return image data of high speed acquisition can be shown with the continuous and stable display terminal that is transferred to.

Description

A kind of marine radar echo transmission method based on color index
Technical field
Returned the present invention relates to radar return image transmission technique field, especially a kind of marine radar based on color index Ripple image transfer method.
Background technology
Marine navigation radar is the indispensable infrastructure device of modern ships, can be used for determining this ship position and pre- anticollision Accident.Meanwhile, marine navigation radar can also accurately capture the thing mark information of other ships or land on the water surface.The common people It is very high to cost control requirement with marine radar, therefore typically realize that its echo shows and target acquisition using embedded computer Operation, however, the display size of marine radar display is increasing, display resolution also more and more higher, this results in echo Data are greatly increased with the quantity of image.Therefore, how the problem of significantly more efficient utilization view data transmission channel bandwidth shows Obtain particularly important.
Conventional ship radar image is typically transmitted using the image/video host-host protocol of standard, the picture number transmitted Collection is transmitted according to by FIFO buffer storage or direct memory access controller, storage is delayed in the internal memory of display terminal Rush in area, finally, shown over the display by IMAQ and processing unit.This image transmitting mode is in application process In, have two it is particularly problematic:First, when radar image is shown using high Resolution and Large Size, image transmitting passage cannot Meet view data transmission demand, additionally, radar antenna is when high speed rotates, the realtime image data of generation is excessive, image Radar return image in transmission channel cannot be transferred on IMAQ and processing unit in time, can cause radar echo map The loss of picture;Second, echo typically only three kinds of dominant hues of radar, such as black is background colour, and yellow is scan line Color, the different green of brightness represents the varying strength of target echo, it is seen that directly express three without up to 16 bit data widths Tone is planted, original 16 color image data great " waste " bandwidth of image transmitting passage is directly transmitted.
The content of the invention
Can at utmost reduce the demand of image transmitting bandwidth, be prevented effectively from thunder it is an object of the invention to provide a kind of Up to the marine radar echo transmission method based on color index that echo is lost.
To achieve the above object, present invention employs following technical scheme:A kind of marine radar based on color index is returned Ripple image transfer method, the method include following order the step of:
(1)Determine the blanking time of echo brightness and echo twilight sunset, set up echo color index table;
(2)16 RGB datas of echo each pixel are converted into 8 bit image index datas;
(3)Data processing unit by two 8 adjacent bit image index datas according to image video signal host-host protocol when Sequence requirement is transmitted to display terminal together;
(4)Display terminal receives image index data according to the sequential of image video signal host-host protocol, by what is received Image index data is divided into two groups of single byte of data of height and is exchanged with each other by double byte data width, in color index table Inquire about its true 16 RGB color value;
(5)RGB color value after conversion is combined as echo display image and is stored in display caching by display terminal, is shown Show treatment;
(6)According to the frequency of radar scanning, repeat step(2)To step(5), display terminal persistently exports radar scanning and regards Frequency image is until terminate echo acquirement.
First, echo brightness Y is determined according to echo rgb value, the computing formula of echo brightness Y is as follows:
Y = 0.299*R + 0.587*G + 0.114*B
Blanking time t according to echo twilight sunset determines the stepping length s and maximum magnitude r of index value, and stepping length s is returning Ripple twilight sunset blanking time t calculate formula be:
Maximum magnitude r is with the formula that stepping length s is calculated:
It is determined that the domain color C of display echos, set up 8 basic bit index value CiTo 16 color value CtCorrespondence it is interval;8 Bit index value Ci16 corresponding color value CtComputing formula be:
F in above three formula is luminance weights.
Display terminal receives image index data according to image video signal host-host protocol, and the data for receiving are according to double byte In internal memory, double byte is 16 for storage;Index data in internal memory carries out the exchange of height single byte according to double byte size, Single byte is 8;With all of index data in the width of single byte traversal internal memory, while control color inquiry table is by index value Be converted to true 16 RGB color values.
Described image video signal transmission agreement is to be transmitted according to the video format of ITU601 forms.
It is determined that the domain color C of display echosIt is three kinds:Black, yellow and green.
As shown from the above technical solution, the characteristics of present invention is using radar return color dullness, sets up color index to very The mapping relations of color, color index value i.e. image index data is converted in transmitting terminal by true color according to color index table, Radar return display image is transmitted using color index value, color index value is converted to very according to color index table in receiving terminal Color and output shown to display memory.The data transmission channel that half is only taken up compared with original transmission means of the invention Bandwidth, improves efficiency of transmission 100% so that the radar return image data of high speed acquisition can with it is continuous and stable be transferred to it is aobvious Show that terminal is shown, farthest reduce the demand of image transmitting bandwidth, efficiently avoid radar return image Lose.
Brief description of the drawings
Fig. 1 is flow chart of the method for the present invention.
Specific embodiment
A kind of marine radar echo transmission method based on color index, the method include following order the step of: (1)Determine the blanking time of echo brightness and echo twilight sunset, set up echo color index table;(2)By echo each 16 RGB datas of pixel are converted to 8 bit image index datas;(3)Data processing unit is by two 8 adjacent bit image index numbers Transmitted together to display terminal according to the timing requirements according to image video signal host-host protocol;(4)Display terminal is regarded according to image The sequential of frequency signal transfer protocol receives image index data, and the image index data that will be received is by double byte data width point It is segmented into two groups of single byte of data of height and is exchanged with each other, its true 16 RGB color value is inquired about in color index table;(5)Display RGB color value after conversion is combined as echo display image and is stored in display caching by terminal, carries out display processing;(6)According to The frequency of radar scanning, repeat step(2)To step(5), display terminal persistently exports radar scanning video image until end Echo acquirement.Described image video signal transmission agreement is to be transmitted according to the video format of ITU601 forms.Such as Fig. 1 institutes Show.
By taking table 1 as an example, color index tableau format, content are as shown in table 1:
First, echo brightness Y is determined according to echo rgb value, the computing formula of echo brightness Y is as follows:
Y = 0.299*R + 0.587*G + 0.114*B
Blanking time t according to echo twilight sunset determines the stepping length s and maximum magnitude r of index value, and stepping length s is returning Ripple twilight sunset blanking time t calculate formula be:
Maximum magnitude r is with the formula that stepping length s is calculated:
It is determined that the domain color C of display echos, it is determined that the domain color C of display echosIt is three kinds:Black, yellow and green. Set up 8 basic bit index value CiTo 16 color value CtCorrespondence it is interval;8 bit index value Ci16 corresponding color values CtComputing formula be:
F in above three formula is luminance weights.
Display terminal receives image index data according to image video signal host-host protocol, and the data for receiving are according to double byte In internal memory, double byte is 16 for storage;Index data in internal memory carries out the exchange of height single byte according to double byte size, Single byte is 8;With all of index data in the width of single byte traversal internal memory, while control color inquiry table is by index value Be converted to true 16 RGB color values.S3C6410 registers are set and allow that radar return image processing unit gathers video figure As 8 data.In other words, radar return image processing unit receives image index number according to image video signal host-host protocol According to, the data that will not receive are changed correspondingly according to 16 rgb formats, but according to double byte(16)Storage In internal memory;Index data in internal memory is carried out into height single byte according to double byte size(8)Exchange, due to using big End transmission, the low byte high of double byte can be swapped in transmitting procedure, and the byte that will be exchanged is needed during decoding Exchange is gone back, and the decoding of 8 to 16 is carried out according to the normal sequence of display;With all of in the width traversal internal memory of single byte Index data, while index value is converted to true 16 RGB color values by the color look-up table for compareing generation.
Embodiment one
Index value is converted to by color true value as receiving terminal using S3C6410 processors in the present embodiment.S3C6410 Used as a computing unit, it is also possible to realize that reverse index calculating is processed with other processors or hardware.Radar is believed Number processing unit sends 30 frame radar return images each second, and single frames radar image resolution ratio is 640 × 640 × 8bits =400KB, therefore radar return image data rate is 12MB/s;
Blanking time t=2 seconds of echo twilight sunset, sets up the stepping length s and maximum magnitude r of index value;
Echo domain color black is the bit value of background colour rgb format 16 for 0x0000, yellow are scanning line color rgb format 16 bit values are 0xFFE0, green is echo color of object, according to the persistence requirement of 2 seconds, set the numerical value model of rgb format 16 It is 0x0020~0x07D0 to enclose;
It is s=1 to calculate stepping length according to the echo blanking time;
Maximum magnitude is with the result of stepping length computation as r=256;
8 bit index value CiScope be 0~255, by rgb format conversion after, 16 corresponding color value CtIt is Ct ={0x0000, 0x0020, 0x0040, ..., 0x07D0, 0xFFE0}。
In sum, the characteristics of present invention is using radar return color dullness, sets up color index to the mapping of true color Relation, color index value i.e. image index data is converted in transmitting terminal by true color according to color index table, uses color rope Draw value transmission radar return display image, color index value is converted into true color according to color index table in receiving terminal and is exported Shown to display memory.The data transmission channel bandwidth that half is only taken up compared with original transmission means of the invention, improves Efficiency of transmission 100% so that the radar return image data of high speed acquisition can be carried out with the continuous and stable display terminal that is transferred to Display.

Claims (3)

1. a kind of marine radar echo transmission method based on color index, it is characterised in that the method includes following order The step of:
(1)Determine the blanking time of echo brightness and echo twilight sunset, set up echo color index table;
(2)16 RGB datas of echo each pixel are converted into 8 bit image index datas;
(3)Data processing unit will according to the sequential of image video signal host-host protocol by two 8 adjacent bit image index datas Ask and transmit together to display terminal;
(4)Display terminal receives image index data, the image that will be received according to the sequential of image video signal host-host protocol Index data is divided into two groups of single byte of data of height and is exchanged with each other by double byte data width, is inquired about in color index table Its true 16 RGB color value;
(5)RGB color value after conversion is combined as echo display image and is stored in display caching by display terminal, is carried out at display Reason;
(6)According to the frequency of radar scanning, repeat step(2)To step(5), display terminal persistently exports radar scanning video figure As until terminating echo acquirement;
The step(1)Specifically refer to:
First, echo brightness Y is determined according to echo rgb value, the computing formula of echo brightness Y is as follows:
Y = 0.299*R + 0.587*G + 0.114*B
Blanking time t according to echo twilight sunset determines the stepping length s and maximum magnitude r of index value, and stepping length s is with more than echo Brightness blanking time t calculate formula be:
Maximum magnitude r is with the formula that stepping length s is calculated:
It is determined that the domain color C of display echos, it is determined that the domain color C of display echosIt is three kinds:Black, yellow and green;Set up 8 basic bit index value CiTo 16 color value CtCorrespondence it is interval;8 bit index value Ci16 corresponding color value Ct's Computing formula is:
F in above three formula is luminance weights.
2. the marine radar echo transmission method based on color index according to claim 1, it is characterised in that:It is aobvious Show that terminal receives image index data according to image video signal host-host protocol, the data for receiving are stored in internal memory according to double byte In, double byte is 16;Index data in internal memory carries out the exchange of height single byte according to double byte size, and single byte is 8 Position;With all of index data in the width traversal internal memory of single byte, while control color inquiry table is converted to very index value 16 RGB color values.
3. the marine radar echo transmission method based on color index according to claim 1 and 2, its feature exists In:Described image video signal transmission agreement is to be transmitted according to the video format of ITU601 forms.
CN201410630171.2A 2014-11-11 2014-11-11 A kind of marine radar echo transmission method based on color index Active CN104486578B (en)

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 CN104486578A (en) 2015-04-01
CN104486578B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056530B (en) * 2016-06-01 2019-12-06 腾讯科技(深圳)有限公司 Method and device for displaying picture content in application
CN110687536B (en) * 2019-11-04 2023-10-27 武汉华讯国蓉科技有限公司 Ship radar video data storage and drawing method
CN111551930B (en) * 2020-05-18 2022-03-18 南京众博达电子科技有限公司 Radar image display method based on layered display

Citations (5)

* Cited by examiner, † Cited by third party
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)
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8373580B2 (en) * 2010-08-24 2013-02-12 Honeywell International Inc. Systems and methods for rapid updating of embedded text in radar picture data

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)
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)

* Cited by examiner, † Cited by third party
Title
"基于光栅扫描的高分辨率长余辉雷达显示仿真";程玉荣等;《计算机应用与软件》;20101231;第27卷(第12期);第226-229页 *

Also Published As

Publication number Publication date
CN104486578A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN104917990B (en) Video frame rate compensation is carried out by adjusting vertical blanking
CN104486578B (en) A kind of marine radar echo transmission method based on color index
CN103269425A (en) Multifunctional intelligent image conversion system
JP2015231103A (en) Image processing device, image processing system, imaging device and image processing method
JP2013013060A (en) Method for processing high dynamic range image using tone mapping to extended rgb space
JP6185176B2 (en) Color gamut mapping system and method
CN107680142B (en) Method for improving out-of-gamut color overlay mapping
WO2023217036A1 (en) Three-dimensional scanning system and three-dimensional scanning method
TW201430805A (en) Method of data transmission, terminal and processor
WO2018045789A1 (en) Method and device for adjusting grayscale values of image
CN112924966B (en) Terahertz video SAR real-time processing system
CN104052969A (en) Power line carrier photographing system for underwater LED fish gathering lamp
WO2022133944A1 (en) Image processing method and image processing apparatus
CN104036467A (en) Image color cast correction method based on channel gain coefficient weighting
CN103745683B (en) LED display control system based on HDMI
CN107566770B (en) PG signal transmission control unit and method based on PCIe and HDMI
CN106530312B (en) One kind being based on low-power-consumption embedded system real-time image scratching method
CN103209331A (en) System and method for strengthening image color saturation
CN106981277B (en) The method of adjustment of tone for display, apparatus and system
JP4618683B2 (en) Image processing apparatus, gamut correction method, image processing method, program, and recording medium
US11363282B1 (en) System and method for low latency distributed image compression and composition
CN111175744A (en) Radar image rapid generation and scaling method
CN204929046U (en) Real -time image acquisition system
CN102497593A (en) Text-oriented online remote education video rendering method
CN110072124A (en) A kind of pair of vision signal carries out compound method, apparatus and electronic equipment

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