CN117294822A - Optical remote sensing satellite data processing method, device, equipment and storage medium - Google Patents
Optical remote sensing satellite data processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117294822A CN117294822A CN202311584965.5A CN202311584965A CN117294822A CN 117294822 A CN117294822 A CN 117294822A CN 202311584965 A CN202311584965 A CN 202311584965A CN 117294822 A CN117294822 A CN 117294822A
- Authority
- CN
- China
- Prior art keywords
- data
- ccd channel
- amplitude
- ccd
- channel
- 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
- 230000003287 optical effect Effects 0.000 title claims abstract description 56
- 238000003860 storage Methods 0.000 title claims abstract description 21
- 238000003672 processing method Methods 0.000 title claims description 7
- 238000000034 method Methods 0.000 claims abstract description 50
- 238000001514 detection method Methods 0.000 claims description 13
- 238000004140 cleaning Methods 0.000 claims description 10
- 238000006073 displacement reaction Methods 0.000 claims description 10
- 230000011218 segmentation Effects 0.000 claims description 10
- 238000007781 pre-processing Methods 0.000 abstract description 3
- 238000004590 computer program Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 11
- 230000015654 memory Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 3
- 101000857682 Homo sapiens Runt-related transcription factor 2 Proteins 0.000 description 2
- 102100025368 Runt-related transcription factor 2 Human genes 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/20—Adaptations for transmission via a GHz frequency band, e.g. via satellite
Abstract
The invention provides a method, a device, equipment and a storage medium for processing optical remote sensing satellite data, which can be applied to the technical field of optical remote sensing satellites. The method comprises the following steps: receiving optical remote sensing satellite data, transmitting the data by CCD channels, synchronizing the data of the CCD channels by adopting a frame number matching method, obtaining the effective frame number of the first frame data of each CCD channel, continuously detecting the effective frame number of the first frame data of each CCD channel, and jointly outputting the data of each CCD channel under the condition of meeting the continuity to obtain the preprocessed image data stream. The timeliness of data preprocessing is guaranteed, and the processing speed is not limited by the performance of a magnetic disk.
Description
Technical Field
The present invention relates to the field of optical remote sensing satellites, and in particular, to a method, an apparatus, a device, and a medium for processing optical remote sensing satellite data.
Background
The original data of the optical remote sensing satellite generally divides the data of a plurality of loads into a plurality of virtual channels for transmission, and after the data are transmitted to a ground system through a satellite-to-ground link, the decompressed data of each load are required to be subjected to processing steps such as data segmentation, CCD image splicing and the like, so that the image data which can be displayed are obtained.
On the one hand, with the maturity of satellite manufacturing technology and the reduction of transmission cost, the number of optical satellites operated in daily work and the data volume required to be received and processed are increasing, and for this reason, the hardware resources required by the ground processing system are increasing.
On the other hand, the data can be displayed in near real time by carrying out rapid segmentation and image splicing processing on the optical satellite and transmitting the data stream, so that a user can conveniently and rapidly acquire image information. Therefore, the method has important significance in carrying out rapid formatting and scenery-dividing treatment on the optical remote sensing satellite data.
According to the prior art, the data processing flow of the optical satellite is divided into a plurality of steps, the data segmentation processing needs to traverse the complete data file, then the segmentation basis is judged in sequence, and then the segmented data is subjected to disc-falling preservation in sequence. And after all the data are dropped, merging and outputting the data of each CCD. Each step is independent, and data transmission among the steps is carried out by using a file disc-falling form, so that the preprocessing flow of optical data can be completed.
However, the existing technical scheme has the problems of poor timeliness, more occupied resources and poor fault tolerance.
Disclosure of Invention
In view of the above, the present invention provides methods, apparatuses, devices and media for optical remote sensing satellite data processing.
According to a first aspect of the present invention, there is provided a method of processing optical remote sensing satellite data, comprising:
receiving optical remote sensing satellite data, wherein the data is transmitted by a CCD channel;
synchronizing the data of the CCD channels by adopting a frame number matching method to obtain an effective frame number of first frame data of each CCD channel;
continuously detecting the effective amplitude number of the first amplitude data of each CCD channel;
and under the condition that the continuity is met, the data of each CCD channel are output in a combined way, and a preprocessed image data stream is obtained.
According to an embodiment of the present invention, the step of synchronizing the data of the CCD channels by using a frame number matching method, to obtain an effective frame number of the first frame data of each CCD channel includes:
acquiring an effective amplitude number of first amplitude data of each CCD channel;
judging whether all CCD channels successfully acquire the next effective amplitude number of the first-amplitude data;
setting an ending mark under the condition that the CCD channel fails to acquire the next effective amplitude, wherein the ending mark is used for ending the optical remote sensing satellite data processing;
under the condition that all CCD channels successfully acquire the next effective amplitude number, calculating the maximum value of the effective amplitude numbers of all CCD channels;
respectively acquiring the amplitude data of each CCD channel until the effective amplitude number of the first amplitude data of all CCD channels is not smaller than the maximum value of the effective amplitude numbers;
judging whether the first data of each CCD channel are all equal in amplitude;
executing the operation of acquiring the effective amplitude number of the first amplitude data of each CCD channel under the condition that the first amplitude data of each CCD channel are not all equal;
under the condition that the amplitude numbers of the first amplitude data of all CCD channels are equal, outputting a starting amplitude number and setting an acquisition success mark.
According to an embodiment of the present invention, the acquiring the effective amplitude number of the first amplitude data of each CCD channel includes:
acquiring the amplitude number of the first amplitude data of each CCD channel;
setting an ending mark under the condition that the amplitude number of the first amplitude data of each CCD channel is not successfully acquired, wherein the ending mark is used for ending the optical remote sensing satellite data processing;
under the condition that the amplitude number of the first amplitude data of each CCD channel is successfully obtained, judging whether the amplitude number of the first amplitude data is valid or not;
under the condition that the frame number of the first frame data is invalid, cleaning the frame number of the first frame data, and executing the operation of acquiring the frame number of the first frame data of each CCD channel;
and under the condition that the amplitude number of the first-amplitude data is valid, storing the amplitude number of the first-amplitude data.
According to an embodiment of the present invention, the continuous detection of the effective amplitude number of the first amplitude data of each CCD channel includes:
the first data of each CCD channel is put into an area to be merged and put in, and the current number of the first data is recorded;
newly-built section output data stream;
combining the first data of each CCD channel;
continuously detecting the data of each CCD channel;
judging whether the data of each CCD channel are continuous or not;
under the condition that the data of each CCD channel are continuous, the operation of merging the first data of each CCD channel is executed;
and cleaning the data of each CCD channel under the condition that the data of each CCD channel is discontinuous.
According to an embodiment of the present invention, the performing continuity detection on the data of each CCD channel includes:
judging the data acquirability condition of each CCD channel;
setting a state identifier as an ending identifier under the condition that the data of the CCD channel is empty and the output of the CCD channel is ended, wherein the ending identifier is used for ending the data processing of the optical remote sensing satellite;
acquiring a frame number of first frame data of the CCD channel under the condition that the data of the CCD channel is not empty and the output of the CCD channel is not finished;
the judging whether the data of each CCD channel are continuous or not comprises the following steps:
judging whether the first data of the CCD channel and the last data are continuous or not;
if continuous, the first frame of the CCD channels is stored in the area to be combined, and the operation of combining the first frame of data of each CCD channel is executed;
if the difference value between the amplitude number of the discontinuous first-amplitude data and the amplitude number of the last-amplitude data is in the threshold range, filling a frame to be stored in a region to be combined, and executing the operation of combining the first-amplitude data of each CCD channel;
if the optical remote sensing satellite data processing is discontinuous and the difference value exceeds the threshold range, setting a state identifier as a segment identifier, wherein the end identifier is used for ending the optical remote sensing satellite data processing and cleaning the data of each CCD channel.
According to an embodiment of the present invention, each data of the CCD channel includes N lines of data, and each line of data includes one line of image data and auxiliary data corresponding to the one line of image data.
The step of jointly outputting the data of each CCD channel comprises the following steps:
acquiring displacement and line difference between each CCD channel and the wave band of the CCD channel;
and according to the displacement and the line difference between each CCD channel and the wave band of the CCD channel, the data of each CCD channel are output in a combined way.
According to an embodiment of the invention, the method further comprises:
recovering the data of each CCD channel;
and the data of each CCD channel is output in a combined way in the form of file data stream or network data stream.
A second aspect of the present invention provides an optical remote sensing satellite data processing apparatus comprising:
the data receiving module is used for receiving optical remote sensing satellite data, and the data is transmitted by the CCD channel;
the data synchronization module is used for synchronizing the data of the CCD channels by adopting a frame number matching method to obtain the effective frame number of the first frame data of each CCD channel;
the segmentation detection module is used for continuously detecting the effective amplitude number of the first amplitude data of each CCD channel;
and the merging output module is used for carrying out joint output on the data of each CCD channel under the condition of meeting the continuity to obtain a preprocessed image data stream.
A third aspect of the present invention provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method described above.
A fourth aspect of the invention also provides a computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the above method.
The fifth aspect of the invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the above method.
Drawings
The foregoing and other objects, features and advantages of the invention will be apparent from the following description of embodiments of the invention with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates a flow chart of a method of optical remote sensing satellite data processing according to an embodiment of the invention;
FIG. 2 schematically shows a block diagram of the amplitude data of each CCD channel according to an embodiment of the present invention;
FIG. 3 schematically illustrates a flow diagram of segment detection according to an embodiment of the invention;
FIG. 4 schematically illustrates a flow chart for determining a valid web number according to an embodiment of the invention;
FIG. 5 schematically illustrates a flow chart of combining outputs according to an embodiment of the invention;
FIG. 6 schematically illustrates a flow chart of channel continuity detection according to an embodiment of the present invention;
FIG. 7 schematically shows a flow chart of the data stitching results for each CCD channel according to an embodiment of the present invention;
FIG. 8 is a flow chart schematically showing the result of data splicing for each band of the same CCD channel according to an embodiment of the present invention;
FIG. 9 schematically illustrates a flow chart of combining outputs according to an embodiment of the invention;
FIG. 10 schematically shows a schematic of the row differences and displacements of the pixels of the x column and y row of CCDn and BANDm relative to the pixels of the x column and y row of CCD1 and BAND1, in accordance with an embodiment of the invention;
FIG. 11 schematically illustrates a block diagram of an optical remote sensing satellite data processing apparatus according to an embodiment of the invention;
fig. 12 schematically shows a block diagram of an electronic device adapted to implement the optical remote sensing satellite data processing method according to an embodiment of the invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the invention. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present invention.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the invention, the related processes of collecting, storing, using, processing, transmitting, providing, inventing, applying and the like of the personal information of the user all accord with the regulations of related laws and regulations, necessary security measures are adopted, and the public order harmony is not violated.
In the technical scheme of the invention, the processes of data acquisition, collection, storage, use, processing, transmission, provision, invention, application and the like all conform to the regulations of related laws and regulations, necessary security measures are adopted, and the public order harmony is not violated.
Fig. 1 schematically shows a flow chart of a method for processing optical remote sensing satellite data according to an embodiment of the invention.
As shown in FIG. 1, the optical remote sensing satellite data processing method of the embodiment includes operations S110-S130.
In operation S110, optical telemetry satellite data is received, the data being transmitted by a CCD channel.
The data may be decompressed optical telemetry satellite data, input in the form of a file data stream or a network data stream. The data is one or multiple paths of uncompressed optical remote sensing data binary data streams, and the data is output as a preprocessed image data stream.
In operation S120, the data of the CCD channels are synchronized by using a frame number matching method, so as to obtain an effective frame number of the first frame data of each CCD channel.
The optical remote sensing satellite data generally divides the data of a plurality of CCD channels of the load into a plurality of virtual channels for transmission. However, due to separate downloading, factors such as multi-channel transmission time difference, error code and the like can be generated, and data of each CCD may be asynchronous. Because the data of each CCD channel may not be synchronized, the invention synchronizes the data of multiple CCD channels for subsequent processing requirements.
In operation S130, a continuity check is performed on the effective amplitude number of the first amplitude data of each CCD channel.
For the same track data transmission, multiple times of startup shooting can exist. Therefore, the invention can keep continuous images, and is convenient for follow-up processing, scenery division imaging, quick display and other processes to use and the like. The invention adopts a method for detecting the continuity of the web numbers by segmentation, and detects whether the segmentation threshold value is reached or not when the web numbers jump.
In operation S140, in the case where the continuity is satisfied, data of each CCD channel is output in combination.
To maintain image integrity, joint output of data for each CCD channel and each band is required. The structure of the amplitude data of each CCD channel is shown in fig. 2. Each piece of data is composed of N lines of data, and each line of data is composed of one line of image data and auxiliary data corresponding to the line of data.
Fig. 3 schematically shows a flow chart of segment detection according to an embodiment of the invention.
As shown in fig. 3, the step of synchronizing the data of the CCD channels by using a frame number matching method to obtain an effective frame number of the first frame data of each CCD channel includes the following steps.
The first step, the first effective amplitude is obtained for the data of each CCD channel, and the judgment basis of the effective amplitude is slightly different according to satellites. Typically a non-filled web, the web data is judged valid. As shown in fig. 4, a specific flow of judging the effective web number is as follows.
(1) And acquiring the amplitude number of the first amplitude data of the CCD channel.
(2) Judging the acquisition condition, if the data of the CCD channel is empty and the data reception is completed, judging the reception failure at the moment, setting the state mark as the end, and ending the flow; if the acquisition is successful, the method proceeds to (3) and judges whether the amplitude number of the first-amplitude data is valid.
(3) Judging the validity of the frame number of the first frame of data, if the frame number is invalid, cleaning the frame of data, and jumping back to (1); if the web number is valid, the web number is stored and output, and the process is ended.
Secondly, judging whether all CCD channels successfully acquire the effective amplitude number of the next frame, if so, setting an ending mark for the state mark and ending the flow; and if all CCD channels successfully acquire that the first data is the effective amplitude number, performing a third step.
Thirdly, the maximum value of the effective amplitude numbers of all CCD channels is obtained.
And step four, respectively acquiring the data of each CCD channel until the amplitude numbers of the first amplitude data of all CCD channels are not smaller than the maximum value of the effective amplitude numbers obtained in the step three, storing and outputting the amplitude numbers of the first amplitude data of each CCD channel after the completion, and setting the state identifier as the end identifier if the end signal is acquired in the synchronous period.
Fifthly, detecting the state, and ending the flow if the state identifier is set as an ending identifier; if the first data of each CCD channel are not all equal in amplitude, returning to the first step; if all the parameters are equal, the initial amplitude number is stored and output, the acquisition success mark is set, and the process is ended.
Fig. 5 schematically shows a flow chart of combining outputs according to an embodiment of the invention.
As shown in fig. 5, the effective amplitude number of the first amplitude data of each CCD channel is continuously detected, including the following steps.
First, first data of each CCD channel are put into an area to be merged and a current number is recorded.
And step two, outputting the data stream by the new building section.
And thirdly, merging and outputting the first data of each CCD channel.
And fourthly, detecting the channel continuity. The flow of detecting channel continuity is shown in fig. 6, and the specific flow is as follows.
(1) Judging the data acquirability condition of each CCD channel, if the queue is empty and the channel output is finished, setting a state identifier as a finishing identifier, and finishing the flow; if the CCD channel can be acquired, the amplitude number of the first data of the CCD channel is acquired.
(2) Judging the frame number of the first frame of the CCD channel and the frame number of the last frame, and if the frame numbers are continuous, taking the first frame of the CCD channel and storing the first frame into a region to be combined; if the frame is discontinuous, but the difference value is in the threshold range, filling a frame and storing the frame into the region to be combined; if not, and the threshold is exceeded, the status flag is set to a segment flag.
(3) Ending the flow.
Fifthly, detecting the state, if the state identifier is not an end identifier or a segment identifier, jumping to a third step for merging and outputting; if the state identifier is the end identifier or the segment identifier, each queue is cleaned, and the flow is ended.
Fig. 7 schematically shows a flow chart of the data stitching results of the CCD channels according to an embodiment of the present invention, as shown in fig. 7, where the data of the CCD channels are stitched into a continuous image, and there may be an overlap and a line difference between each CCD.
Fig. 8 schematically shows a flowchart of the data splicing result of each band of the same CCD channel according to an embodiment of the present invention, where each CCD channel may include a plurality of bands, and in the same CCD channel, there is a line difference between the bands, as shown in fig. 8.
Fig. 9 schematically shows a flow chart of the combined output according to an embodiment of the invention, and fig. 10 schematically shows a schematic diagram of the row differences and displacements of the pixels of the xth column and the yth row of CCDn and BAND with respect to the pixels of the xth column and the yth row of CCD1 and BAND1 according to an embodiment of the invention. The joint output of the data for each CCD channel includes: acquiring displacement and line difference between each CCD channel and the wave band of the CCD channel; and according to the displacement and the line difference between each CCD channel and the wave band of the CCD channel, the data of each CCD channel are output in a combined way.
When the data are combined and output, BIL, BIP, BSQ can be adopted as the data arrangement mode.
In an embodiment of the present invention, the method shown in fig. 1 further includes: and recovering the data of each CCD channel, and outputting the data of each CCD channel in a combined way in a form of file data stream or network data stream.
Based on the optical remote sensing satellite data processing method, the invention also provides an optical remote sensing satellite data processing device. The device will be described in detail below with reference to fig. 11.
Fig. 11 schematically shows a block diagram of an optical remote sensing satellite data processing apparatus according to an embodiment of the invention.
As shown in fig. 11, the optical remote sensing satellite data processing apparatus 1100 of this embodiment includes a data receiving module 1110, a data synchronizing module 1120, a segment detecting module 1130, and a combining output module 1140.
The data receiving module 1110 is configured to receive optical remote sensing satellite data, where the data is transmitted by the CCD channel. In an embodiment, the data receiving module 1110 may be configured to perform the operation S110 described above, which is not described herein.
The data synchronization module 1120 is configured to synchronize the data of the CCD channels by using a frame number matching method, so as to obtain an effective frame number of the first frame data of each CCD channel. In an embodiment, the data synchronization module 1120 may be configured to perform the operation S130 described above, which is not described herein.
The segment detection module 1130 is configured to perform a continuity detection on the effective amplitude number of the first amplitude data of each CCD channel. In an embodiment, the segment detection module 1130 may be configured to perform the operation S120 described above, which is not described herein.
The merging output module 1140 is configured to jointly output the data of each CCD channel to obtain a preprocessed image data stream when the continuity is satisfied. In an embodiment, the merging output module 1140 may be used to perform the operation S120 described above, which is not described herein.
According to an embodiment of the present invention, the apparatus 1100 further includes:
a completion receiving module 1150, configured to recover data of each CCD channel;
according to an embodiment of the present invention, the apparatus 1100 further includes: and the data output module is used for jointly outputting the data of each CCD channel in the form of file data stream or network data stream.
According to an embodiment of the present invention, the step of synchronizing the data of the CCD channels by using a frame number matching method, to obtain an effective frame number of the first frame data of each CCD channel includes:
acquiring an effective amplitude number of first amplitude data of each CCD channel;
judging whether all CCD channels successfully acquire the next effective amplitude number of the first-amplitude data;
setting an ending mark under the condition that the CCD channel fails to acquire the next effective amplitude, wherein the ending mark is used for ending the optical remote sensing satellite data processing;
under the condition that all CCD channels successfully acquire the next effective amplitude number, calculating the maximum value of the effective amplitude numbers of all CCD channels;
respectively acquiring the amplitude data of each CCD channel until the effective amplitude number of the first amplitude data of all CCD channels is not smaller than the maximum value of the effective amplitude number;
judging whether the first data of each CCD channel are all equal in amplitude;
executing the operation of acquiring the effective amplitude number of the first amplitude data of each CCD channel under the condition that the first amplitude data of each CCD channel are not all equal;
under the condition that the amplitude numbers of the first amplitude data of all CCD channels are equal, outputting a starting amplitude number and setting an acquisition success mark.
According to an embodiment of the present invention, the acquiring the effective amplitude number of the first amplitude data of each CCD channel includes:
acquiring the amplitude number of the first amplitude data of each CCD channel;
setting an end mark for ending the optical remote sensing satellite data processing in case of not successfully acquiring the amplitude number of the first amplitude data of each CCD channel
Under the condition that the amplitude number of the first amplitude data of each CCD channel is successfully obtained, judging whether the amplitude number of the first amplitude data is valid or not;
under the condition that the frame number of the first frame data is invalid, cleaning the frame number of the first frame data, and executing the operation of acquiring the frame number of the first frame data of each CCD channel;
and storing the frame number of the first frame data under the condition that the frame number of the first frame data is valid.
According to an embodiment of the present invention, the continuous detection of the effective amplitude number of the first amplitude data of each CCD channel includes:
the first data of each CCD channel is put into an area to be merged and put in, and the current number of the first data is recorded;
newly-built section output data stream;
combining the first data of each CCD channel;
continuously detecting the data of each CCD channel;
judging whether the data of each CCD channel are continuous or not;
under the condition that the data of each CCD channel are continuous, the operation of merging the first data of each CCD channel is executed;
and cleaning the data of each CCD channel under the condition that the data of each CCD channel is discontinuous.
According to an embodiment of the present invention, the continuous detection of the data of each CCD channel includes:
judging the data acquirability condition of each CCD channel;
setting a state identifier as an ending identifier under the condition that the data of the CCD channel is empty and the output of the CCD channel is ended, wherein the ending identifier is used for ending the data processing of the optical remote sensing satellite;
acquiring a frame number of first frame data of the CCD channel under the condition that the data of the CCD channel is not empty and the output of the CCD channel is not finished;
the judging whether the data of each CCD channel are continuous or not comprises the following steps:
judging whether the first data of the CCD channel and the last data are continuous or not;
if continuous, the first frame of the CCD channel is stored in the area to be combined, and the operation of combining the first frame of the CCD channels is executed;
if the difference value between the amplitude number of the discontinuous first-amplitude data and the amplitude number of the last-amplitude data is in the threshold range, filling a frame to be stored in a region to be combined, and executing the operation of combining the first-amplitude data of each CCD channel;
if the optical remote sensing satellite data processing is discontinuous and the difference exceeds the threshold range, setting a state identifier as a segment identifier, wherein the end identifier is used for ending the optical remote sensing satellite data processing and cleaning the data of each CCD channel.
According to an embodiment of the present invention, each data of the CCD channel includes N lines of data, each line of data including one line of image data and auxiliary data corresponding to the one line of image data.
The joint output of the data for each CCD channel includes:
acquiring displacement and line difference between each CCD channel and the wave band of the CCD channel;
and according to the displacement and the line difference between each CCD channel and the wave band of the CCD channel, the data of each CCD channel are output in a combined way.
The invention carries out multi-flow concurrency on multiple modules, supports the input and output of file data streams and network data streams, and carries out interaction among the modules in a data stream mode. Each module can be carried out simultaneously, the intermediate process does not need to drop a disc or only outputs little key information, the timeliness of data preprocessing is ensured, and the processing speed is not limited by the performance of a magnetic disc.
The invention processes by taking the smaller object data stream as a unit, does not need to wait for the completion of the whole data disc or traverse the whole file, and ensures the timeliness of the processing.
The data segmentation and multi-channel data merging in the invention fully ensures the accuracy of data segmentation and image splicing operation and supports the data stream output of images in BIL, BIP or BSQ formats.
Any of the data receiving module 1110, the data synchronizing module 1120, the segment detecting module 1130, and the combining output module 1140 may be combined in one module or any of the modules may be split into a plurality of modules according to an embodiment of the present invention. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. At least one of the data receiving module 1110, the data synchronizing module 1120, the segment detecting module 1130, and the combining output module 1140 may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or by hardware or firmware, such as any other reasonable way of integrating or packaging the circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware, according to embodiments of the present invention. Alternatively, at least one of the data receiving module 1110, the data synchronizing module 1120, the segment detecting module 1130, and the combining output module 1140 may be at least partially implemented as a computer program module, which when executed, may perform the corresponding functions.
Fig. 12 schematically shows a block diagram of an electronic device adapted to implement the optical remote sensing satellite data processing method according to an embodiment of the invention.
As shown in fig. 12, the electronic apparatus 1200 according to the embodiment of the present invention includes a processor 1201 which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1202 or a program loaded from a storage section 1208 into a Random Access Memory (RAM) 1203. The processor 1201 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 1201 may also include on-board memory for caching purposes. The processor 1201 may include a single processing unit or multiple processing units for performing the different actions of the method flow according to embodiments of the invention.
In the RAM 1203, various programs and data required for the operation of the electronic apparatus 1200 are stored. The processor 1201, the ROM 1202, and the RAM 1203 are connected to each other through a bus 1204. The processor 1201 performs various operations of the method flow according to the embodiment of the present invention by executing programs in the ROM 1202 and/or the RAM 1203. Note that the program may be stored in one or more memories other than the ROM 1202 and the RAM 1203. The processor 1201 may also perform various operations of the method flow according to embodiments of the present invention by executing programs stored in the one or more memories.
According to an embodiment of the invention, the electronic device 1200 may also include an input/output (I/O) interface 1205, the input/output (I/O) interface 1205 also being connected to the bus 1204. The electronic device 1200 may also include one or more of the following components connected to the I/O interface 1205: an input section 1206 including a keyboard, a mouse, and the like; an output portion 1207 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 1208 including a hard disk or the like; and a communication section 1209 including a network interface card such as a LAN card, a modem, or the like. The communication section 1209 performs communication processing via a network such as the internet. The drive 1210 is also connected to the I/O interface 1205 as needed. A removable medium 1211 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 1210 so that a computer program read out therefrom is installed into the storage section 1208 as needed.
The present invention also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present invention.
According to embodiments of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the invention, the computer-readable storage medium may include ROM 1202 and/or RAM 1203 and/or one or more memories other than ROM 1202 and RAM 1203 described above.
Embodiments of the present invention also include a computer program product comprising a computer program containing program code for performing the method shown in the flowcharts. The program code means for causing a computer system to carry out the methods provided by embodiments of the present invention when the computer program product is run on the computer system.
The above-described functions defined in the system/apparatus of the embodiment of the present invention are performed when the computer program is executed by the processor 1201. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the invention.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program can also be transmitted, distributed over a network medium in the form of signals, and downloaded and installed via a communication portion 1209, and/or from a removable medium 1211. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1209, and/or installed from the removable media 1211. The above-described functions defined in the system of the embodiment of the present invention are performed when the computer program is executed by the processor 1201. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the invention.
According to embodiments of the present invention, program code for carrying out computer programs provided by embodiments of the present invention may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or in assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the invention can be combined in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the present invention. In particular, the features recited in the various embodiments of the invention can be combined and/or combined in various ways without departing from the spirit and teachings of the invention. All such combinations and/or combinations fall within the scope of the invention.
The embodiments of the present invention are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the invention, and such alternatives and modifications are intended to fall within the scope of the invention.
Claims (10)
1. An optical remote sensing satellite data processing method is characterized by comprising the following steps:
receiving optical remote sensing satellite data, wherein the data is transmitted by a CCD channel;
synchronizing the data of the CCD channels by adopting a frame number matching method to obtain an effective frame number of first frame data of each CCD channel;
continuously detecting the effective amplitude number of the first amplitude data of each CCD channel;
and under the condition that the continuity is met, the data of each CCD channel are output in a combined way, and a preprocessed image data stream is obtained.
2. The method for processing optical remote sensing satellite data according to claim 1, wherein synchronizing the data of the CCD channels by using a frame number matching method, obtaining an effective frame number of first frame data of each CCD channel comprises:
acquiring an effective amplitude number of first amplitude data of each CCD channel;
judging whether all CCD channels successfully acquire the next effective amplitude number of the first-amplitude data;
setting an ending mark under the condition that the CCD channel fails to acquire the next effective amplitude, wherein the ending mark is used for ending the optical remote sensing satellite data processing;
under the condition that all CCD channels successfully acquire the next effective amplitude number, calculating the maximum value of the effective amplitude numbers of all CCD channels;
respectively acquiring the amplitude data of each CCD channel until the effective amplitude number of the first amplitude data of all CCD channels is not smaller than the maximum value of the effective amplitude numbers;
judging whether the first data of each CCD channel are all equal in amplitude;
executing the operation of acquiring the effective amplitude number of the first amplitude data of each CCD channel under the condition that the first amplitude data of each CCD channel are not all equal;
under the condition that the amplitude numbers of the first amplitude data of all CCD channels are equal, outputting a starting amplitude number and setting an acquisition success mark.
3. The method of claim 2, wherein the obtaining the effective amplitude number of the first amplitude data of each CCD channel comprises:
acquiring the amplitude number of the first amplitude data of each CCD channel;
setting an ending mark under the condition that the amplitude number of the first amplitude data of each CCD channel is not successfully acquired, wherein the ending mark is used for ending the optical remote sensing satellite data processing;
under the condition that the amplitude number of the first amplitude data of each CCD channel is successfully obtained, judging whether the amplitude number of the first amplitude data is valid or not;
under the condition that the frame number of the first frame data is invalid, cleaning the frame number of the first frame data, and executing the operation of acquiring the frame number of the first frame data of each CCD channel;
and under the condition that the amplitude number of the first-amplitude data is valid, storing the amplitude number of the first-amplitude data.
4. The method of claim 1, wherein the continuously detecting the effective amplitude of the first amplitude data of each CCD channel comprises:
the first data of each CCD channel is put into an area to be merged and put in, and the current number of the first data is recorded;
newly-built section output data stream;
combining the first data of each CCD channel;
continuously detecting the data of each CCD channel;
judging whether the data of each CCD channel are continuous or not;
under the condition that the data of each CCD channel are continuous, the operation of merging the first data of each CCD channel is executed;
and cleaning the data of each CCD channel under the condition that the data of each CCD channel is discontinuous.
5. The method of claim 4, wherein the performing continuity detection on the data of each CCD channel comprises:
judging the data acquirability condition of each CCD channel;
setting a state identifier as an ending identifier under the condition that the data of the CCD channel is empty and the output of the CCD channel is ended, wherein the ending identifier is used for ending the data processing of the optical remote sensing satellite;
acquiring a frame number of first frame data of the CCD channel under the condition that the data of the CCD channel is not empty and the output of the CCD channel is not finished;
the judging whether the data of each CCD channel are continuous or not comprises the following steps:
judging whether the first data of the CCD channel and the last data are continuous or not;
if continuous, the first frame of the CCD channels is stored in the area to be combined, and the operation of combining the first frame of data of each CCD channel is executed;
if the difference value between the amplitude number of the discontinuous first-amplitude data and the amplitude number of the last-amplitude data is in the threshold range, filling a frame to be stored in a region to be combined, and executing the operation of combining the first-amplitude data of each CCD channel;
if the optical remote sensing satellite data processing is discontinuous and the difference value exceeds the threshold range, setting a state identifier as a segment identifier, wherein the end identifier is used for ending the optical remote sensing satellite data processing and cleaning the data of each CCD channel.
6. The method according to claim 1, wherein each piece of data of the CCD channel includes N lines of data, each line of data including one line of image data and auxiliary data corresponding to the one line of image data;
the step of jointly outputting the data of each CCD channel comprises the following steps:
acquiring displacement and line difference between each CCD channel and the wave band of the CCD channel;
and according to the displacement and the line difference between each CCD channel and the wave band of the CCD channel, the data of each CCD channel are output in a combined way.
7. The method of claim 1, further comprising:
recovering the data of each CCD channel;
and the data of each CCD channel is output in a combined way in the form of file data stream or network data stream.
8. An optical remote sensing satellite data processing device, comprising:
the data receiving module is used for receiving optical remote sensing satellite data, and the data is transmitted by the CCD channel;
the data synchronization module is used for synchronizing the data of the CCD channels by adopting a frame number matching method to obtain the effective frame number of the first frame data of each CCD channel;
the segmentation detection module is used for continuously detecting the effective amplitude number of the first amplitude data of each CCD channel;
and the merging output module is used for carrying out joint output on the data of each CCD channel under the condition of meeting the continuity to obtain a preprocessed image data stream.
9. An electronic device, comprising:
one or more processors; and
storage means for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311584965.5A CN117294822B (en) | 2023-11-27 | 2023-11-27 | Optical remote sensing satellite data processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311584965.5A CN117294822B (en) | 2023-11-27 | 2023-11-27 | Optical remote sensing satellite data processing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117294822A true CN117294822A (en) | 2023-12-26 |
CN117294822B CN117294822B (en) | 2024-03-01 |
Family
ID=89258951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311584965.5A Active CN117294822B (en) | 2023-11-27 | 2023-11-27 | Optical remote sensing satellite data processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117294822B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201322803Y (en) * | 2008-12-17 | 2009-10-07 | 北京空间机电研究所 | Image data acquisition and processing system for wide-swath multi-spectra CCD remote sensing camera |
US20100289951A1 (en) * | 2009-05-12 | 2010-11-18 | Ryu Jae-Kyung | Synchronization method |
CN102638661A (en) * | 2012-03-23 | 2012-08-15 | 南京理工大学 | Data processing and transmitting system of high-speed multichannel CCD (charge-coupled device) |
CN104062923A (en) * | 2014-07-01 | 2014-09-24 | 中国科学院长春光学精密机械与物理研究所 | Spaceflight multichannel TDICCD camera synchronization method |
CN104427218A (en) * | 2013-09-02 | 2015-03-18 | 北京计算机技术及应用研究所 | Ultra high definition CCD (charge coupled device) multichannel acquisition and real-time transmission system and method |
CN105447875A (en) * | 2015-12-09 | 2016-03-30 | 新疆畜牧科学院草业研究所 | Automatic geometric correction method for electronic topographical map |
CN113329174A (en) * | 2021-05-21 | 2021-08-31 | 浙江大华技术股份有限公司 | Control method, device and system of multi-view camera and electronic device |
CN115168788A (en) * | 2022-09-07 | 2022-10-11 | 中国科学院空天信息创新研究院 | Method, device, equipment and medium for determining satellite remote sensing big data |
EP4216548A1 (en) * | 2022-01-19 | 2023-07-26 | EarthStreamer GmbH | Method and system for transmitting satellite image data via a data network |
-
2023
- 2023-11-27 CN CN202311584965.5A patent/CN117294822B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201322803Y (en) * | 2008-12-17 | 2009-10-07 | 北京空间机电研究所 | Image data acquisition and processing system for wide-swath multi-spectra CCD remote sensing camera |
US20100289951A1 (en) * | 2009-05-12 | 2010-11-18 | Ryu Jae-Kyung | Synchronization method |
CN102638661A (en) * | 2012-03-23 | 2012-08-15 | 南京理工大学 | Data processing and transmitting system of high-speed multichannel CCD (charge-coupled device) |
CN104427218A (en) * | 2013-09-02 | 2015-03-18 | 北京计算机技术及应用研究所 | Ultra high definition CCD (charge coupled device) multichannel acquisition and real-time transmission system and method |
CN104062923A (en) * | 2014-07-01 | 2014-09-24 | 中国科学院长春光学精密机械与物理研究所 | Spaceflight multichannel TDICCD camera synchronization method |
CN105447875A (en) * | 2015-12-09 | 2016-03-30 | 新疆畜牧科学院草业研究所 | Automatic geometric correction method for electronic topographical map |
CN113329174A (en) * | 2021-05-21 | 2021-08-31 | 浙江大华技术股份有限公司 | Control method, device and system of multi-view camera and electronic device |
EP4216548A1 (en) * | 2022-01-19 | 2023-07-26 | EarthStreamer GmbH | Method and system for transmitting satellite image data via a data network |
CN115168788A (en) * | 2022-09-07 | 2022-10-11 | 中国科学院空天信息创新研究院 | Method, device, equipment and medium for determining satellite remote sensing big data |
Non-Patent Citations (1)
Title |
---|
朱红;康骊;张爱兵;: "卫星遥感多路数据传输合路方案研究", 航天器工程, no. 01 * |
Also Published As
Publication number | Publication date |
---|---|
CN117294822B (en) | 2024-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107945098B (en) | Image processing method, image processing device, computer equipment and storage medium | |
CN112101305B (en) | Multi-path image processing method and device and electronic equipment | |
US10674066B2 (en) | Method for processing image and electronic apparatus therefor | |
CN111292420B (en) | Method and device for constructing map | |
KR101990491B1 (en) | Method and system for stiching ultra high resolution image | |
US9948859B2 (en) | Video image alignment for video stabilization | |
CN111277728B (en) | Video detection method and device, computer-readable storage medium and electronic device | |
CN110855852A (en) | Multi-channel image data output method and device and storage medium | |
CN108924461B (en) | Video image processing method and device | |
CN117294822B (en) | Optical remote sensing satellite data processing method, device, equipment and storage medium | |
US20240112299A1 (en) | Video cropping method and apparatus, storage medium and electronic device | |
CN115346278A (en) | Image detection method, device, readable medium and electronic equipment | |
CN115442637A (en) | Live special effect rendering method, device and equipment, readable storage medium and product | |
CN113689372B (en) | Image processing method, apparatus, storage medium, and program product | |
CN111428568A (en) | Living body video picture processing method and device, computer equipment and storage medium | |
CN111783632B (en) | Face detection method and device for video stream, electronic equipment and storage medium | |
CN112261417B (en) | Video pushing method and system, equipment and readable storage medium | |
US20100026691A1 (en) | Method and system for processing graphics data through a series of graphics processors | |
CN109146916B (en) | Moving object tracking method and device | |
US20080174697A1 (en) | Apparatus of processing image sections and control method thereof | |
US8923639B2 (en) | Image processing system, image processing method, and program | |
CN113286140B (en) | Video coding and decoding test method, device and storage medium | |
CN112291483B (en) | Video pushing method and system, electronic equipment and readable storage medium | |
US20190304135A1 (en) | Object tracking method, device, augmented reality system and storage medium | |
CN112308809A (en) | Image synthesis method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |