CN101572779A - CCD image data and auxiliary data transmission method and transmission device - Google Patents

CCD image data and auxiliary data transmission method and transmission device Download PDF

Info

Publication number
CN101572779A
CN101572779A CN 200910085942 CN200910085942A CN101572779A CN 101572779 A CN101572779 A CN 101572779A CN 200910085942 CN200910085942 CN 200910085942 CN 200910085942 A CN200910085942 A CN 200910085942A CN 101572779 A CN101572779 A CN 101572779A
Authority
CN
China
Prior art keywords
data
auxiliary data
ccd image
row
frame
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
Application number
CN 200910085942
Other languages
Chinese (zh)
Other versions
CN101572779B (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.)
Xian Institute of Space Radio Technology
Original Assignee
Xian Institute of Space Radio Technology
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 Xian Institute of Space Radio Technology filed Critical Xian Institute of Space Radio Technology
Priority to CN 200910085942 priority Critical patent/CN101572779B/en
Publication of CN101572779A publication Critical patent/CN101572779A/en
Application granted granted Critical
Publication of CN101572779B publication Critical patent/CN101572779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

The invention relates to a CCD image data and auxiliary data transmission method and a transmission device. Each line image data is labeled by determining update times of the current intra-frame auxiliary data and according to the update situation, a plenty of updated auxiliary data is only transmitted while transmitting image compression data, and corresponding auxiliary data of all the lines of an frame image is completely recovered according to the line labors and the updated auxiliary data after image decompression. Data size of transmitting auxiliary data of the technical program is greatly reduced, thus greatly improving data transmission efficiency. By adopting the technical program of the invention, time slot saved by reducing in actual auxiliary data transmission data size can be utilized to transmit image compression data to improve the recovered image quality, and storage capacity of backward stage device can be saved, thus having a wide application prospect.

Description

The transmission method and the transmission equipment of a kind of ccd image data and auxiliary data
Technical field
The present invention relates to the data processing and the transmission field of CCD camera output image data, particularly relate to the transmission method of a kind of CCD camera output image data and auxiliary data.
Background technology
The CCD camera data is to give data processing and transmission system according to certain row format, the time slot that comprises effective view data of transmission and auxiliary data (or invalid data) in the row format, data processing and transmission system are compressed the effective view data of CCD, be transferred to back level receiving equipment together with auxiliary data splicing back (or with auxiliary data insertion back) then, recovery raw image data again decompresses.Present data processing and transmission system receive the CCD camera image data according to certain row format output, at first to the effective view data of CCD by line mode or frame by frame mode compress, then delegation's image compression dateout is comprised with current line and give back level processing unit after the whole auxiliary datas that comprise all row in auxiliary data or a two field picture packed data and the frame are spliced, or back level processing unit will be given after the auxiliary data insertion, this data transfer mode has comprised more auxiliary data, anatomize the auxiliary data that every capable ccd image carries, can find that the update cycle of auxiliary data is very long with respect to line period, line period is millisecond (ms) order of magnitude, the auxiliary data update cycle is at (s) order of magnitude second, therefore the auxiliary data of all row is all transmitted the validity that can reduce transfer of data, especially in the limited applied environment of data transmission frequency band, can increase the transmission and the storage pressure of data processing and transmission system.
Summary of the invention
The objective of the invention is to overcome above-mentioned defective, the transmission method and the transmission equipment of a kind of CCD camera output image data and auxiliary data are provided, when transmit image data, the two field picture packed data only need be in present frame delegation or the auxiliary data that comprises of several capable image be transferred to back level equipment after splicing, greatly improve the validity of transfer of data, can also improve simultaneously the quality of images, reduce the bit rate that number passes passage.
Above-mentioned purpose of the present invention is achieved by following technical solution:
The transmission method of a kind of ccd image data and auxiliary data comprises the steps:
(1) receives the ccd image data of each frame and the auxiliary data of each frame, the buffer memory that the view data and the auxiliary data of described each frame are spliced laggard line data;
(2) receive the ccd image data and the auxiliary data of each frame of buffer memory output, and the ccd image data and the auxiliary data of each frame carried out following operation:
The ccd image data of present frame are compressed, and judged the number of times that auxiliary data is upgraded in the present frame, establishing update times is n time,
If n 〉=1, then ccd image data after the compression in the present frame and n the auxiliary data of upgrading through n time are spliced, the renewal rower of advancing is annotated simultaneously according to the more new situation of auxiliary data in the present frame, with spliced ccd image packed data of present frame and n the auxiliary data of upgrading through n time, and to the more mark output of newline;
If n=0, then ccd image data after the compression in the present frame and 1 auxiliary data that does not take place to upgrade are spliced, add simultaneously and do not upgrade mark, and with spliced ccd image packed data of present frame and 1 auxiliary data that does not take place to upgrade, and do not upgrade mark output;
(3) receive spliced ccd image packed data of each frame and n the auxiliary data of upgrading through n time, reach the more mark of newline; Or receive spliced ccd image packed data of each frame and 1 auxiliary data that does not take place to upgrade, and do not upgrade mark, and each frame data is carried out following operation:
If n 〉=1, then the ccd image packed data with present frame decompresses, n the auxiliary data of upgrading for n time according to the auxiliary data and the process of the capable mark of current frame inner updating, previous frame footline correspondence recovers the corresponding auxiliary data of each row of ccd image in the present frame simultaneously;
If n=0, then the CCD compressing image data with present frame decompresses, and simultaneously according to 1 auxiliary data not upgrading mark and do not take place to upgrade, recovers the corresponding auxiliary data of each row of ccd image in the present frame;
Wherein n is an integer.
In the transmission method of above-mentioned ccd image data and auxiliary data, if n 〉=1, as follows to the renewal method that rower annotates of advancing in the step (2) according to the more new situation of auxiliary data in the present frame:
(1) establish that the line number of ccd image data is that m is capable in the present frame, the capable view data of described m is added the zero clearing sign, the span of zero clearing sign is 0,1,2.....m;
(2) since first row zero clearing sign of the row that auxiliary data does not take place upgrades is made as 0, the row that upgrades first to auxiliary data whenever afterwards, zero clearing sign is made as the row number at this row place, and the zero clearing sign of the non-row that upgrades first that takes place afterwards still is 0;
Wherein m is a positive integer.
In the transmission method of above-mentioned ccd image data and auxiliary data, the row counting of the row that in the step (2) the every generation of auxiliary data is upgraded first is made as 0 again, and row counting accumulative total afterwards adds 1.
In the transmission method of above-mentioned ccd image data and auxiliary data, as if n=0, the method that mark is upgraded in interpolation is as follows in the step (2):
If the line number of ccd image data is that m is capable in the present frame, the capable view data of described m is added the zero clearing sign, the value of zero clearing sign is 0.
In the transmission method of above-mentioned ccd image data and auxiliary data, as if n=0,1 auxiliary data that takes place to upgrade is the auxiliary data of the first row ccd image data correspondence in the present frame in the step (2).
In the transmission method of above-mentioned ccd image data and auxiliary data, in the step (3) if n 〉=1, according to n the auxiliary data that the auxiliary data and the process of the capable mark of current frame inner updating, previous frame footline correspondence are upgraded for n time, the method that recovers the auxiliary data that each row of ccd image is corresponding in the present frame is as follows:
(1) since the first capable auxiliary data of each row that the auxiliary data updated images does not take place in the present frame being inserted previous frame footline correspondence respectively;
(2) row that first generation auxiliary data in the present frame is upgraded and next row that auxiliary data upgrades takes place before all each row insert the auxiliary data of upgrading for the 1st time respectively, and the like, up to the auxiliary data of inserting the n time renewal.
In the transmission method of above-mentioned ccd image data and auxiliary data, as if n=0, according to not upgrading mark and 1 auxiliary data that renewal takes place, the method that recovers the auxiliary data of each row correspondence of ccd image in the present frame is as follows in the step (3):
Since first row all each row in the present frame are inserted described 1 auxiliary data that renewal takes place respectively.
In the transmission method of above-mentioned ccd image data and auxiliary data, the data of output also comprise the different dark pixel data of each row in the present frame in the step (2).
The transmission equipment of a kind of ccd image data and auxiliary data comprises ccd image buffer unit, ccd image compression unit and ccd image decompression unit,
Ccd image buffer unit: receive the ccd image data of each frame from the CCD camera, receive the auxiliary data of each frame, the buffer memory that the view data and the auxiliary data of described each frame are spliced laggard line data from the Star Service main frame;
Ccd image compression unit: receive the ccd image data and the auxiliary data of each frame of ccd image buffer unit output, and the ccd image data and the auxiliary data of each frame are carried out following operation:
The ccd image data of present frame are compressed, and judged the number of times that auxiliary data is upgraded in the present frame, establishing update times is n time,
If n 〉=1, then ccd image data after the compression in the present frame and n the auxiliary data of upgrading through n time are spliced, the renewal rower of advancing is annotated simultaneously according to the more new situation of auxiliary data in the present frame, with spliced ccd image packed data of present frame and n the auxiliary data of upgrading through n time, and more the mark of newline is exported to the ccd image decompression unit;
If n=0, then ccd image data after the compression in the present frame and 1 auxiliary data that does not take place to upgrade are spliced, add simultaneously and do not upgrade mark, and with spliced ccd image packed data of present frame and 1 auxiliary data that does not take place to upgrade, and do not upgrade mark and export to the ccd image decompression unit;
The ccd image decompression unit: the spliced ccd image packed data of each frame and n the auxiliary data of upgrading through n time of the output of reception ccd image compression unit reach the more mark of newline; Or receive the spliced ccd image data of each frame of ccd image compression unit output and 1 auxiliary data that does not take place to upgrade, and do not upgrade mark, and carry out following operation:
If n 〉=1, then the ccd image packed data with present frame decompresses, according to the mark of each row in the present frame, the auxiliary data of previous frame footline correspondence and n the auxiliary data that process is upgraded for n time, recover the also output of auxiliary data that each row of ccd image is corresponding in the present frame simultaneously;
If n=0, then the CCD compressing image data with present frame decompresses, and simultaneously according to 1 auxiliary data not upgrading mark and do not take place to upgrade, recovers the corresponding auxiliary data of each row of ccd image in the present frame;
Wherein n is an integer.
In the transmission equipment of above-mentioned ccd image data and auxiliary data, comprise that also a number passes slave computer, described number passes slave computer will give the ccd image buffer unit from the auxiliary data transmission that the Star Service main frame receives.
The present invention has following advantage compared to existing technology:
1, the ccd image data that the present invention proposes and the transmission method of auxiliary data, by judging the update times of auxiliary data in the present frame, and each row view data is marked according to new situation more, auxiliary data after in the images packed data, only transmitting several and upgrading, after to image decompressor, according to the auxiliary data after rower notes that image is done and the renewal, recover all each self-corresponding auxiliary datas of row of a two field picture fully, therefore this technical scheme has improved data transmission efficiency greatly because the data volume of the auxiliary data of transmission reduces greatly.
2, the slot transmission image compression data that adopts technical solution of the present invention can utilize actual transmissions auxiliary data amount to reduce to save recovers picture quality to improve, and can save back level device storage amount, and therefore wide application prospect is arranged.
3, technical solution of the present invention only needs to judge the update times of auxiliary data in each frame, and according to new situation more the rower of respectively advancing is annotated, and carries out the recovery of auxiliary data according to update times and rower notes, and practical operation is simple, has good practical value.
Description of drawings
Fig. 1 is the procedure chart of ccd image data of the present invention and auxiliary data transmission method;
Fig. 2 is the structured flowchart of ccd image data of the present invention and auxiliary data transmission equipment.
Embodiment
Below in conjunction with the drawings and specific embodiments content of the present invention is described in further detail:
Be illustrated in figure 1 as the procedure chart of ccd image data of the present invention and auxiliary data transmission method, transmission course comprises reception each frame ccd image data and auxiliary data, splices the back buffer memory; Receive the data cached of each frame output, compressing image data, and the update times of judging auxiliary data is n, if n 〉=1, output after n auxiliary data after view data after then will compressing is upgraded for n time with process spliced, the while advances to renewal according to the more new situation of auxiliary data and exports after rower is annotated; If n=0, view data after then will compressing and 1 the auxiliary data splicing back output that does not take place to upgrade; Decompressed image data, if n 〉=1, then according to the auxiliary data of the previous frame footline that receives and n auxiliary data of n renewal of process, the mark of n+1 auxiliary data and each row recovers the auxiliary data of each row correspondence of ccd image altogether; If n=0 then recovers the corresponding auxiliary data of each row of ccd image according to 1 auxiliary data that does not take place to upgrade that receives.The data output of each frame after will recovering at last.
Wherein when n 〉=1, as follows to the renewal method that rower annotates of advancing according to the more new situation of auxiliary data in the present frame:
(1) establish that the line number of ccd image data is that m is capable in the present frame, the capable view data of described m is added the zero clearing sign, the numerical value of zero clearing sign is 0,1,2.....m;
(2) since first row zero clearing sign of the row that auxiliary data does not take place upgrades is made as 0, arrive auxiliary data afterwards whenever the row of renewal first takes place, zero clearing sign is made as the row number at this row place, and the zero clearing sign of the non-row that upgrades first that takes place afterwards still is 0;
In addition, the row counting of the row that the every generation of auxiliary data is upgraded first is made as 0 again, and row counting accumulative total afterwards adds 1.
According to n the auxiliary data that the auxiliary data and the process of the capable mark of current frame inner updating, previous frame footline correspondence are upgraded for n time, the method that recovers the auxiliary data that each row of ccd image is corresponding in the present frame is as follows:
(1) since the first capable auxiliary data of each row that the auxiliary data updated images does not take place in the present frame being inserted previous frame footline correspondence respectively;
(2) row that first generation auxiliary data in the present frame is upgraded and next row that auxiliary data upgrades takes place before all each row insert the 1st auxiliary data after the renewal respectively, and the like, up to inserting n the auxiliary data after the renewal.
When n=0, the method that recovers the auxiliary data of each row correspondence of ccd image according to 1 auxiliary data that does not take place to upgrade that receives is: since first row all each row in the present frame are inserted 1 auxiliary data that renewal takes place respectively.
Be illustrated in figure 2 as the schematic diagram of ccd image data of the present invention and auxiliary data transmission equipment, number passes the satellite assistance data that slave computer receives the transmission of Star Service main frame, and it is transferred to the ccd image buffer unit, pass slave computer and do not receive auxiliary data by number by the CCD buffer unit, reason is between number biography slave computer and Star Service main frame communication interface to be arranged, and auxiliary data sends to data transmission system by the Star Service main frame, in order to reduce the number of devices that has interface between Star Service main frame and data transmission system, just adopted several biography slave computers to receive auxiliary data.The CCD buffer unit receives CCD camera image transmitted data simultaneously, and the CCD buffer unit splices the back buffer memory with the view data and the auxiliary data of each frame; The ccd image compression unit receives each frame image data and the auxiliary data of CCD buffer unit output, the view data of present frame is compressed, and the number of times that auxiliary data is upgraded in the judgement present frame, if update times is n time, if n 〉=1, ccd image data after the compression and n the auxiliary data of upgrading through n time are spliced back output, according to the more new situation of auxiliary data in the present frame renewal is advanced simultaneously and export after rower is annotated; If n=0 splices back output with ccd image data after the compression and 1 auxiliary data that does not take place to upgrade, add simultaneously and do not upgrade mark; The CCD decompression unit receives the spliced CCD compressing image data of each frame and n the auxiliary data of upgrading through n time, the more mark of newline of CCD compression unit output; Or spliced CCD compressing image data and 1 auxiliary data that does not take place to upgrade, and renewal marks, compressing image data is decompressed, when n 〉=1, according to the auxiliary data of the capable mark of current frame inner updating, previous frame footline correspondence and n auxiliary data of n renewal of process, recover the corresponding auxiliary data of each row of ccd image in the present frame, when n=0, according to 1 auxiliary data not upgrading mark in the present frame and do not take place to upgrade, recover the corresponding auxiliary data of each row of ccd image in the present frame.
When n 〉=1, because since first row corresponding auxiliary data of the corresponding auxiliary data of each row that auxiliary data upgrades and previous frame footline not taking place in the present frame must be identical, therefore in the ccd image compression unit, view data in the present frame after the compression is only spliced back output with n the auxiliary data of upgrading through n time, the auxiliary data upgraded does not take place and do not need to splice not again, when in the CCD decompression unit, carrying out the recovery of auxiliary data, can carry out the recovery of auxiliary data to each row that the auxiliary data renewal does not take place with reference to the auxiliary data of previous frame footline.
When n=0, because the auxiliary data that each row is corresponding in the present frame is not all upgraded, when carrying out the recovery of auxiliary data, also can recover with reference to the auxiliary data of previous frame footline, but in technical solution of the present invention, export to the method for ccd image decompression unit after the auxiliary data splicing that ccd image data and 1 row took place to upgrade after employing will be compressed, in decompression unit, carry out the recovery of the auxiliary data of each row view data correspondence in the present frame according to the auxiliary data that 1 row that splices takes place to upgrade, the 1 row auxiliary data that does not wherein take place to upgrade can be the auxiliary data of any 1 row view data correspondence in the present frame, the general row counting that calculates is for convenience selected the corresponding auxiliary data of the 1st row.
In transmission equipment shown in Figure 2, a kind of pattern is transferred to the ccd image compression unit after to be the ccd image buffer unit with the view data that receives and auxiliary data splice, also have a kind of pattern to finish the splicing function of each frame image data and auxiliary data, promptly can save the ccd image cache module for the CCD camera.
Enumerate several specific embodiments below:
Embodiment 1
Image auxiliary data upgrades in the present frame
Suppose that the ccd image fabric width is 1024 bytes in the present frame, whole two field picture line number is 256 row, every capable image flyback time slot is 128 bytes, the auxiliary data that wherein every capable view data is carried is 74 bytes, comprise 70 byte auxiliary parameters, 2 byte row counting and the dark pixel of 2 bytes, the compression ratio of view data is 4: 1, as shown in table 1 belowly be the dateout form of CCD compression unit when image auxiliary data upgrades in present frame, this data format has comprised the view data after the present frame compression, update times n, the zero clearing sign, the auxiliary data of the 1st row view data correspondence, and the dark pixel of all the other 255 row images, also comprise the flyback data:
Table 1
Figure A20091008594200141
Associative list 1 as can be known in the present embodiment because the renewal of auxiliary data does not take place, update times n is 0, and the zero clearing sign of all 256 row is 0 in the frame, this two field picture does not have the auxiliary data of renewal, so view data of compression unit output 256 row compressions, the auxiliary data of the 1st row view data correspondence (also can be the corresponding auxiliary data of other row) and other some data, comprise update times n, the zero clearing sign, the dark pixel of all the other 255 row, because the dark pixel of 2 bytes of every capable image correspondence is all different, so should all export the dark pixel data of 510 bytes.The flyback time slot is 228790 ((1024+128) x256-65536-586=228790) clock cycle among this embodiment, 586=1+1+74+510 wherein, the flyback time slot comprises invalid data, this time slot can not be deleted in compression unit output, because front end camera output image data is handled through overcompression, so exporting under the constant situation of clock frequency and data bit width, necessarily there is empty slot in the data format that compression unit outputs to back level equipment, back level equipment can remove the invalid data of this slot transmission, saves the device storage amount and reduces transmission code speed.
After entering the CCD decompression unit and decompress by the view data of this CCD compression unit output, according to this frame output auxiliary data recover auxiliary data of each row.
The result who is transmission method in conventional transportation method and the present embodiment below compares:
When image compression rate was 4: 1, a two field picture amount of compressed data was:
1024x256/4=65536 (byte)
In the conventional method: the auxiliary data amount of two field picture output is:
The 256x74=18944 byte accounts for a transmission frame number according to 22% of total amount
Only transmit dark pixel 510 bytes of auxiliary data 74 bytes, remaining row (as shown in table 1) that update times 1 byte, zero clearing identify 1 byte, the 1st row image in the present embodiment, the 1+1+74+510=586 byte accounts for a transmission frame number according to 1% of total amount altogether.
If utilize unnecessary slot transmission image compression data, image compression rate can be reduced to 65536/ (65536+18944-586) x4=3.1247 so doubly, recover picture quality thereby improve
If from the bit rate angle of reduction number biography passage,
Employing conventional method, number biography channel code speed are reduced to the original input data rate
((1024x256)/4+256x74)/((1024+74)x256)=30%;
Employing the present invention program, number biography channel code speed reduce to the original input data rate
((1024x256)/4+586)/((1024+74)x256)=23.52%;
If the original camera data transfer rate is 200Mbps, be respectively 60Mbps and 47.05Mbps through the data transfer rate after 4: 1 image compression and the above-mentioned two kinds of auxiliary data transmission modes so.
Embodiment 2
Image auxiliary data upgrades 1 time in the present frame
Suppose that the ccd image fabric width is 1024 bytes in the present frame, whole two field picture line number is 256 row, every capable image flyback time slot is 128 bytes, the auxiliary data that wherein every capable view data is carried is 74 bytes, comprise 70 byte auxiliary parameters, 2 byte row counting and the dark pixel of 2 bytes, the compression ratio of view data is 4: 1, the renewal of auxiliary data occurs in the 98th row, as shown in table 2 below is the dateout form of CCD compression unit image auxiliary data in present frame when upgrading 1 time, this data format has comprised the view data after the compression, auxiliary data after the renewal, update times n, the zero clearing sign, reach the corresponding dark pixel of all the other 255 row except that the 98th row, also comprise the flyback data:
Table 2
The update times n that auxiliary data takes place in the present embodiment associative list 2 as can be known is 1, the 1st row is 0 to the pairing zero clearing sign of the 97th row in the present frame, the corresponding zero clearing of the 98th row is designated the row number of this row, promptly 98, the zero clearing of all the other each row sign still is 0 afterwards, and the row counting of the 98th row returns 0 again, and row counting accumulative total adds 1 afterwards, up to footline the 158th row (256 row before the corresponding counting again).Export to the CCD decompression unit after 1 auxiliary data after after compression unit will compress 256 row view data and the renewal (row counting wherein becomes 0) splicing, Shu Chu data also comprise update times n, zero clearing sign, the dark pixel of each row except that the 98th row simultaneously, the dark pixel of 2 bytes of wherein every capable view data correspondence is all different, should all export the dark pixel of 510 bytes.
Wherein the flyback time slot is 228790 ((1024+128) x256-65536-586=228790) clock cycle, wherein 586=1+1+74+510.
The CCD decompression unit is according to the footline auxiliary data of previous frame compressed image transmission, recover present frame the interior the 1st and walk to auxiliary data that each row of auxiliary data renewal does not take place the 97th row, according to the auxiliary data after upgrading, recover that the common 158+1=159 that auxiliary data upgrades takes place after the 98th row is capable, the auxiliary data that each row is corresponding.
The result who is transmission method in conventional transportation method and the present embodiment below compares:
When image compression rate was 4: 1, a two field picture amount of compressed data was:
1024x256/4=65536 (byte)
In the conventional method: the auxiliary data amount of two field picture output is:
The 256x74=18944 byte accounts for a transmission frame number according to 22% of total amount
Only transmit dark pixel 510 bytes of auxiliary data 74 bytes, remaining row (as shown in table 2) that update times 1 byte, zero clearing identify 1 byte, the 98th row image in the present embodiment, the 1+1+74+510=586 byte accounts for a transmission frame number according to 1% of total amount altogether.
If utilize unnecessary slot transmission image compression data, image compression rate can be reduced to 65536/ (65536+18944-586) x4=3.1247 so doubly, recover picture quality thereby improve
If, adopt conventional method from reducing the bit rate angle that number passes passage,
Number biography channel code speed is reduced to the original input data rate
((1024x256)/4+256x74)/((1024+74)x256)=30%;
Employing the present invention program, number biography channel code speed reduce to the original input data rate
((1024x256)/4+586)/((1024+74)x256)=23.52%;
If the original camera data transfer rate is 200Mbps, be respectively 60Mbps and 47.05Mbps through the data transfer rate after 4: 1 image compression and the above-mentioned two kinds of auxiliary data transmission modes so.
Embodiment 3
Image auxiliary data upgrades 2 times in the present frame
Suppose that the ccd image fabric width is 1024 bytes in the present frame, whole two field picture line number is 256 row, every capable image flyback time slot is 128 bytes, the auxiliary data that wherein every capable view data is carried is 74 bytes, comprise 70 byte auxiliary parameters, 2 byte row counting and the dark pixel of 2 bytes, the compression ratio of view data is 4: 1, the renewal of auxiliary data occurs in the 101st row and 161 row respectively, as shown in table 3 below is the dateout form of CCD compression unit image auxiliary data in present frame when upgrading 2 times, this data format has comprised the view data after the compression, auxiliary data 1 and auxiliary data 2 after the renewal, update times n, zero clearing sign 1 and zero clearing sign 2, and remove the 101st, the dark pixel data of all the other 254 row outside the 161st comprise the flyback data in addition:
Table 3
Figure A20091008594200181
The update times n that auxiliary data takes place in the present embodiment associative list 3 as can be known is 2, the 1st row is 0 to the pairing zero clearing sign of the 100th row in the present frame, the corresponding zero clearing of the 101st row is designated the row number of this row, promptly 101 (zero clearing sign 1 in the table), the 102nd zero clearing sign that walks to each row between the 160th row still is 0 afterwards, and the row counting of the 101st row returns 0 again, and row counting accumulative total adds 1 afterwards, up to the 59th row (the 160th row before the corresponding counting again).Then the corresponding zero clearing of the 161st row is designated the row number of this row, promptly 161 (zero clearing sign 2 in the table), the 162nd zero clearing sign that walks to each row between the 256th row still is 0 afterwards, and the row counting of the 161st row returns 0 again, row counting accumulative total adds 1 afterwards, up to the 95th row (the 256th row before the corresponding counting again).Export to the CCD decompression unit after 2 auxiliary datas splicings after after compression unit will compress 256 row view data and 2 renewals, Shu Chu data comprise that also update times n, zero clearing sign 1 identify 2 with zero clearing, all the other 254 dark pixel data of going except that the 101st, the 161st simultaneously, the dark pixel of 2 bytes of wherein every capable image correspondence is all different, should all export the dark pixel data of 508 bytes.
Wherein the flyback time slot is 228717 ((1024+128) x256-65536-659=228717) clock cycle, wherein 659=1+2+74x2+254x2.
The CCD decompression unit is according to the footline auxiliary data of previous frame compressed image transmission, recover present frame interior first and walk to auxiliary data that each row of auxiliary data renewal does not take place the 100th row, according to the auxiliary data 1 after the 1st renewal, recover the 101st and walk to the 160th row, be total to the corresponding auxiliary data of capable each row of 59+1=60, according to the auxiliary data 2 after the 2nd renewal, recover the 161st and walk to 256 row, altogether the corresponding auxiliary data of capable each row of 95+1=96.
The result who is transmission method in conventional transportation method and the present embodiment below compares:
When image compression rate was 4: 1, a two field picture amount of compressed data was:
1024x256/4=65536 (byte)
In the conventional method: the auxiliary data amount of two field picture output is:
The 256x74=18944 byte accounts for a transmission frame number according to 22% of total amount
Transmission update times 1 byte in the present embodiment, two zero clearings signs be auxiliary data 2x74 byte, dark pixel 508 bytes of remaining row (as shown in table 3) altogether of totally 2 bytes, the 101st row and the 161st row image, the 1+2+74x2+254x2=659 byte accounts for a transmission frame number according to 1% of total amount altogether.
If utilize unnecessary slot transmission image compression data, image compression rate can be reduced to 65536/ (65536+18944-659) x4=3.127 so doubly, recover picture quality thereby improve
If, adopt conventional method from reducing the bit rate angle that number passes passage,
Number biography channel code speed is reduced to the original input data rate
((1024x256)/4+256x74)/((1024+74)x256)=30%;
Employing the present invention program, number biography channel code speed reduce to the original input data rate
((1024x256)/4+659)/((1024+74)x256)=23.55%,
If the original camera data transfer rate is 200Mbps, be respectively 60Mbps and 47.10Mbps through the data transfer rate after 4: 1 image compression and the above-mentioned two kinds of auxiliary data transmission modes so.
Embodiment 4
Image auxiliary data upgrades 3 times in the present frame
Suppose that the ccd image fabric width is 1024 bytes in the present frame, whole two field picture line number is 256 row, every capable image flyback time slot is 128 bytes, the auxiliary data that wherein every capable view data is carried is 74 bytes, comprise 70 byte auxiliary parameters, 2 byte row counting and the dark pixel of 2 bytes, the compression ratio of view data is 4: 1, the renewal of auxiliary data occurs in the 51st row respectively, the 121st row and the 205th row, as shown in table 4 below is the dateout form of CCD compression unit image auxiliary data in present frame when upgrading 3 times, this data format has comprised the view data after the compression, auxiliary data 1 after the renewal, auxiliary data 2 and auxiliary data 3, zero clearing sign 1, zero clearing sign 2 and zero clearing sign 3, remove the 51st row, the 121st row, the dark pixel of all the other 253 row outside the 205th row comprises the flyback data in addition:
Table 4
Figure A20091008594200201
The update times n that auxiliary data takes place in the present embodiment associative list 4 as can be known is 3, the 1st row is 0 to the pairing zero clearing sign of the 50th row in the present frame, the corresponding zero clearing of the 51st row is designated the row number of this row, promptly 51 (zero clearing sign 1 in the table), the 52nd zero clearing sign that walks to each row between the 120th row still is 0 afterwards, and the row counting of the 51st row returns 0 again, and row counting accumulative total adds 1 afterwards, up to the 69th row (the 120th row before the corresponding counting again).Then the corresponding zero clearing of the 121st row is designated the row number of this row, promptly 121 (zero clearing sign 2 in the table), the 122nd zero clearing sign that walks to each row between the 204th row still is 0 afterwards, and the row counting of the 121st row returns 0 again, row counting accumulative total adds 1 afterwards, up to the 83rd row (the 204th row before the corresponding counting again).Then the corresponding zero clearing of the 205th row is designated the row number of this row, promptly 205 (zero clearing sign 3 in the table), the 206th zero clearing sign that walks to each row between the 256th row still is 0 afterwards, and the row counting of the 205th row returns 0 again, row counting accumulative total adds 1 afterwards, up to the 51st row (the 256th row before the corresponding counting again), export to the CCD decompression unit after 3 auxiliary datas splicings after after compression unit will compress 256 row view data and 3 renewals, Shu Chu data also comprise update times n simultaneously, zero clearing sign 1, zero clearing sign 2 and zero clearing sign 3, remove the 51st row, the 121st row, the dark pixel data of all the other 253 row outside the 205th row, the dark pixel of 2 bytes of wherein every capable image correspondence is all different, should all export 506 byte datas.
Wherein the flyback time slot is 228644 ((1024+128) x256-65536-732=228644) clock cycle, wherein 732=1+3+74x3+253x2.
The CCD decompression unit is according to the footline auxiliary data of previous frame compressed image transmission, recover present frame the interior the 1st and walk to auxiliary data that each row of auxiliary data renewal does not take place the 50th row, according to the auxiliary data 1 after the 1st renewal, recover the 51st and walk to the 120th row, be total to the corresponding auxiliary data of capable each row of 69+1=70, according to the auxiliary data 2 after the 2nd renewal, recover the 121st and walk to 204 row, be total to the corresponding auxiliary data of capable each row of 83+1=84, according to the auxiliary data 3 after the 3rd renewal, recover the 205th and walk to 256 row, altogether the corresponding auxiliary data of capable each row of 51+1=52.
The result who is transmission method in conventional transportation method and the present embodiment below compares:
When image compression rate was 4: 1, a two field picture amount of compressed data was:
1024x256/4=65536 (byte)
In the conventional method: the auxiliary data amount of two field picture output is:
The 256x74=18944 byte accounts for a transmission frame number according to 22% of total amount
Transmission update times 1 byte in the present embodiment, three zero clearings signs be auxiliary datas 3x74 byte, dark pixel 506 bytes of remaining row (as shown in table 4) altogether of totally 3 bytes, the 51st row, the 121st row and the 205th row image, the 1+3+74x3+253x2=732 byte accounts for a transmission frame number according to 1.1% of total amount altogether.
If utilize unnecessary slot transmission image compression data, image compression rate can be reduced to 65536/ (65536+18944-732) x4=3.130 so doubly, recover picture quality thereby improve
If, adopt conventional method from reducing the bit rate angle that number passes passage,
Number biography channel code speed is reduced to the original input data rate
((1024x256)/4+256x74)/((1024+74)x256)=30%;
Employing the present invention program, number biography channel code speed reduce to the original input data rate
((1024x256)/4+732)/((1024+74)x256)=23.575%,
If the original camera data transfer rate is 200Mbps, be respectively 60Mbps and 47.15Mbps through the data transfer rate after 4: 1 image compression and the above-mentioned two kinds of auxiliary data transmission modes so.
Table 5 is employing conventional transportation method and above-mentioned 4 embodiment of employing the present invention, and what draw is improving efficiency of transmission, utilizing the performance of unnecessary slot transmission image compression data aspect raising recovery picture quality and reduction number biography channel code speed relatively:
Table 5
Figure A20091008594200221
Figure A20091008594200231
The above; only be the embodiment of the best of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.
The content that is not described in detail in the specification of the present invention belongs to this area professional and technical personnel's known technology.

Claims (10)

1, the transmission method of a kind of ccd image data and auxiliary data is characterized in that comprising the steps:
(1) receives the ccd image data of each frame and the auxiliary data of each frame, the buffer memory that the view data and the auxiliary data of described each frame are spliced laggard line data;
(2) receive the ccd image data and the auxiliary data of each frame of buffer memory output, and the ccd image data and the auxiliary data of each frame carried out following operation:
The ccd image data of present frame are compressed, and judged the number of times that auxiliary data is upgraded in the present frame, establishing update times is n time,
If n 〉=1, then ccd image data after the compression in the present frame and n the auxiliary data of upgrading through n time are spliced, the renewal rower of advancing is annotated simultaneously according to the more new situation of auxiliary data in the present frame, with spliced ccd image packed data of present frame and n the auxiliary data of upgrading through n time, and to the more mark output of newline;
If n=0, then ccd image data after the compression in the present frame and 1 auxiliary data that does not take place to upgrade are spliced, add simultaneously and do not upgrade mark, and with spliced ccd image packed data of present frame and 1 auxiliary data that does not take place to upgrade, and do not upgrade mark output;
(3) receive spliced ccd image packed data of each frame and n the auxiliary data of upgrading through n time, reach the more mark of newline; Or receive spliced ccd image packed data of each frame and 1 auxiliary data that does not take place to upgrade, and do not upgrade mark, and each frame data is carried out following operation:
If n 〉=1, then the ccd image packed data with present frame decompresses, n the auxiliary data of upgrading for n time according to the auxiliary data and the process of the capable mark of current frame inner updating, previous frame footline correspondence recovers the corresponding auxiliary data of each row of ccd image in the present frame simultaneously;
If n=0, then the CCD compressing image data with present frame decompresses, and simultaneously according to 1 auxiliary data not upgrading mark and do not take place to upgrade, recovers the corresponding auxiliary data of each row of ccd image in the present frame;
Wherein n is an integer.
2, the transmission method of a kind of ccd image data according to claim 1 and auxiliary data is characterized in that: if n 〉=1, as follows to the renewal method that rower annotates of advancing according to the more new situation of auxiliary data in the present frame in the described step (2):
(1) establish that the line number of ccd image data is that m is capable in the present frame, the capable view data of described m is added the zero clearing sign, the span of zero clearing sign is 0,1,2.....m;
(2) since first row zero clearing sign of the row that auxiliary data does not take place upgrades is made as 0, the row that upgrades first to auxiliary data whenever afterwards, zero clearing sign is made as the row number at this row place, and the zero clearing sign of the non-row that upgrades first that takes place afterwards still is 0;
Wherein m is a positive integer.
3, the transmission method of a kind of ccd image data according to claim 2 and auxiliary data is characterized in that: the row counting of the row that in the described step (2) the every generation of auxiliary data is upgraded first is made as 0 again, and row counting accumulative total afterwards adds 1.
4, the transmission method of a kind of ccd image data according to claim 1 and auxiliary data is characterized in that: as if n=0, the method that mark is upgraded in interpolation is as follows in the described step (2):
If the line number of ccd image data is that m is capable in the present frame, the capable view data of described m is added the zero clearing sign, the value of zero clearing sign is 0;
Wherein m is a positive integer.
5, the transmission method of a kind of ccd image data according to claim 1 and auxiliary data is characterized in that: as if n=0,1 auxiliary data that takes place to upgrade is the auxiliary data of the first row ccd image data correspondence in the present frame in the described step (2).
6, the transmission method of a kind of ccd image data according to claim 1 and auxiliary data, it is characterized in that: in the described step (3) if n 〉=1, according to n the auxiliary data that the auxiliary data and the process of the capable mark of current frame inner updating, previous frame footline correspondence are upgraded for n time, the method that recovers the auxiliary data that each row of ccd image is corresponding in the present frame is as follows:
(1) since the first capable auxiliary data of each row that the auxiliary data updated images does not take place in the present frame being inserted previous frame footline correspondence respectively;
(2) row that first generation auxiliary data in the present frame is upgraded and next row that auxiliary data upgrades takes place before all each row insert the auxiliary data of upgrading for the 1st time respectively, and the like, up to the auxiliary data of inserting the n time renewal.
7, the transmission method of a kind of ccd image data according to claim 1 and auxiliary data, it is characterized in that: in the described step (3) if n=0, according to 1 auxiliary data not upgrading mark and do not take place to upgrade, the method that recovers the auxiliary data that each row of ccd image is corresponding in the present frame is as follows:
Since first row all each row in the present frame are inserted described 1 auxiliary data that renewal takes place respectively.
8, according to the transmission method of described a kind of ccd image data of the arbitrary claim of claim 1-7 and auxiliary data, it is characterized in that: the data of output also comprise the different dark pixel data of each row in the present frame in the described step (2).
9, the transmission equipment of a kind of ccd image data and auxiliary data is characterized in that comprising ccd image buffer unit, ccd image compression unit and ccd image decompression unit,
Ccd image buffer unit: receive the ccd image data of each frame from the CCD camera, receive the auxiliary data of each frame, the buffer memory that the view data and the auxiliary data of described each frame are spliced laggard line data from the Star Service main frame;
Ccd image compression unit: receive the ccd image data and the auxiliary data of each frame of ccd image buffer unit output, and the ccd image data and the auxiliary data of each frame are carried out following operation:
The ccd image data of present frame are compressed, and judged the number of times that auxiliary data is upgraded in the present frame, establishing update times is n time,
If n 〉=1, then ccd image data after the compression in the present frame and n the auxiliary data of upgrading through n time are spliced, the renewal rower of advancing is annotated simultaneously according to the more new situation of auxiliary data in the present frame, with spliced ccd image packed data of present frame and n the auxiliary data of upgrading through n time, and more the mark of newline is exported to the ccd image decompression unit;
If n=0, then ccd image data after the compression in the present frame and 1 auxiliary data that does not take place to upgrade are spliced, add simultaneously and do not upgrade mark, and with spliced ccd image packed data of present frame and 1 auxiliary data that does not take place to upgrade, and do not upgrade mark and export to the ccd image decompression unit;
The ccd image decompression unit: the spliced ccd image packed data of each frame and n the auxiliary data of upgrading through n time of the output of reception ccd image compression unit reach the more mark of newline; Or receive the spliced ccd image data of each frame of ccd image compression unit output and 1 auxiliary data that does not take place to upgrade, and do not upgrade mark, and carry out following operation:
If n 〉=1, then the ccd image packed data with present frame decompresses, according to the mark of each row in the present frame, the auxiliary data of previous frame footline correspondence and n the auxiliary data that process is upgraded for n time, recover the also output of auxiliary data that each row of ccd image is corresponding in the present frame simultaneously;
If n=0, then the CCD compressing image data with present frame decompresses, and simultaneously according to 1 auxiliary data not upgrading mark and do not take place to upgrade, recovers the corresponding auxiliary data of each row of ccd image in the present frame;
Wherein n is an integer.
10, the transmission equipment of a kind of ccd image data according to claim 9 and auxiliary data is characterized in that: comprise that also a number passes slave computer, described number passes slave computer will give the ccd image buffer unit from the auxiliary data transmission that the Star Service main frame receives.
CN 200910085942 2009-05-31 2009-05-31 CCD image data and auxiliary data transmission method and transmission device Active CN101572779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910085942 CN101572779B (en) 2009-05-31 2009-05-31 CCD image data and auxiliary data transmission method and transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910085942 CN101572779B (en) 2009-05-31 2009-05-31 CCD image data and auxiliary data transmission method and transmission device

Publications (2)

Publication Number Publication Date
CN101572779A true CN101572779A (en) 2009-11-04
CN101572779B CN101572779B (en) 2011-08-17

Family

ID=41232000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910085942 Active CN101572779B (en) 2009-05-31 2009-05-31 CCD image data and auxiliary data transmission method and transmission device

Country Status (1)

Country Link
CN (1) CN101572779B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873199A (en) * 2014-03-20 2014-06-18 中国资源卫星应用中心 Efficient fault-tolerant data collecting method
CN107548558A (en) * 2015-04-29 2018-01-05 三星电子株式会社 Source device and its control method and place device and its image quality improvement processing method
CN108924460A (en) * 2018-06-20 2018-11-30 中国科学院西安光学精密机械研究所 Image data acquisition box and image acquisition system
CN109672923A (en) * 2018-12-17 2019-04-23 龙迅半导体(合肥)股份有限公司 A kind of data processing method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237247A (en) * 2013-03-29 2013-08-07 东莞宇龙通信科技有限公司 System and method for synchronous display of terminal and network player

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100787747B1 (en) * 2006-07-06 2007-12-24 주식회사 대우일렉트로닉스 Device and method for updating front road map image of car navigation terminal
JP2008271325A (en) * 2007-04-23 2008-11-06 Olympus Imaging Corp Digital camera

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873199A (en) * 2014-03-20 2014-06-18 中国资源卫星应用中心 Efficient fault-tolerant data collecting method
CN103873199B (en) * 2014-03-20 2017-04-05 中国资源卫星应用中心 A kind of efficiently fault-tolerant collecting method
CN107548558A (en) * 2015-04-29 2018-01-05 三星电子株式会社 Source device and its control method and place device and its image quality improvement processing method
US10574957B2 (en) 2015-04-29 2020-02-25 Samsung Electronics Co., Ltd. Source device and control method thereof, and sink device and image quality improvement processing method thereof
CN107548558B (en) * 2015-04-29 2022-03-08 三星电子株式会社 Source apparatus, control method thereof, sink apparatus, and image quality improvement processing method thereof
US11350069B2 (en) 2015-04-29 2022-05-31 Samsung Electronics Co., Ltd. Source device and control method thereof, and sink device and image quality improvement processing method thereof
CN108924460A (en) * 2018-06-20 2018-11-30 中国科学院西安光学精密机械研究所 Image data acquisition box and image acquisition system
CN109672923A (en) * 2018-12-17 2019-04-23 龙迅半导体(合肥)股份有限公司 A kind of data processing method and device

Also Published As

Publication number Publication date
CN101572779B (en) 2011-08-17

Similar Documents

Publication Publication Date Title
CN101572779B (en) CCD image data and auxiliary data transmission method and transmission device
CN102638579B (en) A kind of data processing method and system based on mobile device data transmission
CN101246678B (en) Multi-screen real-time signal processing method and system
CN102065470B (en) Data transmission method, device and distributed base station system
US9575863B2 (en) Apparatus of wireless gigabit display extension (WDE) device
US20100169535A1 (en) Data stream management
CN113099133A (en) Method for transmitting high-bandwidth camera data by serial deserializer link
CN102571844A (en) Remote program updating device for data acquisition and transmission instrument
CN104394410A (en) Image data compression method, decompression method, transmission method and device
CN101646075A (en) Device and method for adjusting code rate of multimedia code stream
CN103067970A (en) Microwave transmission system based on compression algorithm and microwave transmission method
CN103207843A (en) Data line width dynamically-configurable cache structure design method
CN203435079U (en) SDI relay line
CN103379543B (en) A kind of data transmission method based on TD-LTE
CN103166732A (en) Clock pulse embedded data transfer method and packet data coding/decoding method
CN112769196B (en) Charging control method and device, electronic equipment and charger
CN103458214B (en) Serial digital interface (SDI) junction line
CN201477571U (en) Display system with function of high-speed data communication
CN104918079B (en) A kind of natural light realization method and system of module TV
CN103095326B (en) System and transmission method for data transmission between mobile phone and computer
CN201846416U (en) Image sensor
CN201910801U (en) Circuit for realizing hot-swapping function of optical fiber passage port
CN104301799A (en) Method and system for communication between server and digital TV terminal
CN104202124A (en) Erp (enterprise resource planning) data package communication method
CN104065936A (en) Method for video data transmission of node optical transmitter and receiver, and node 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
C14 Grant of patent or utility model
GR01 Patent grant