Optical imaging satellite original data real-time target detection slice obtaining method
Technical Field
The invention belongs to the technical field of satellite remote sensing data ground processing, and particularly relates to a method for acquiring an optical imaging satellite original data real-time target detection slice.
Background
With the development of the remote sensing satellite technology and the improvement of application requirements, the spatial resolution and the time resolution of the remote sensing satellite are greatly improved, the obtained original image data are huge, the types and the load modes of the satellite are more and more, the original data are required to be subjected to processing such as formatting recording, scene classification cataloguing, data extraction, radiation correction, sensor correction, system geometric correction and the like as necessary for target detection work, and finally target detection is carried out to complete the output of target slices so as to meet the requirement of rapid target detection processing of data of various satellites.
In the current processing flow design, the original data needs to be preprocessed to generate a standard product, and then target detection application processing is performed, so that the flow is complex, intermediate results are excessive, most of time is wasted in reading and writing of image data, and the production efficiency of target slice acquisition is reduced.
Disclosure of Invention
The invention aims to provide a method for acquiring an optical imaging satellite original data real-time target detection slice, which can meet the real-time rapid target detection processing of different optical imaging loads of different satellites.
The technical scheme adopted by the invention is as follows:
the method for acquiring the optical imaging satellite original data real-time target detection slice is characterized by comprising the following steps:
the method comprises the following steps:
the first step is as follows: receiving the original data which is decrypted, decompressed and output in real time, and performing separation processing on auxiliary data and image data;
the second step is that: and carrying out target detection on the separated image data, returning target position information, further searching corresponding auxiliary data, and finishing geometric correction output of the target slice.
The first step is specifically:
extracting auxiliary data from each frame of original data acquired in real time, finishing the processing of the auxiliary data during posture, orbit and line, and generating an auxiliary data group to be used with time as a sequence;
and extracting image data of each frame of original data acquired in real time, completing 16-bit conversion of the image data, caching 1024 lines, performing relative radiation correction, and generating image block data to be detected.
In the first step, auxiliary data are extracted and separated in real time, are analyzed and processed to obtain an auxiliary data packet, and are used for resolving the geometric correction parameters without caching;
after 16-bit conversion is completed on each line of data of the image, after 1024 lines of data need to be received, relative radiation correction processing is performed, and then auxiliary data and image data separation processing is completed.
The second step is specifically as follows:
after 1024 lines of image block data are cached each time and radiation correction is carried out, target detection is carried out on the image block data, if a target is detected, target position information is returned, corresponding auxiliary data is searched through the position information, geometric correction of a target slicing system is completed, and a slice and an xml file are output; otherwise, continuing the next group of data processing until all data is processed.
In the second step, carrying out system geometric correction on the target area, taking the target center as a reference point, and extracting target slice data by using 256 multiplied by 256 or 1024 multiplied by 1024; and establishing an imaging model by using the resolved auxiliary data corresponding to the target slice, and performing system geometric correction processing to generate the target slice with geographic information and an xml file.
The invention has the following advantages:
the invention can meet the requirements of real-time and rapid target detection processing of the original data of different optical imaging loads of different satellites, and carries out format analysis, auxiliary data and image data separation, image radiation correction, target detection and geometric correction slice output on the original data of the satellites in real time.
Drawings
FIG. 1 is a schematic diagram of algorithm assistance data separated from image data;
FIG. 2 is a schematic diagram of algorithmic image data object detection slice generation.
Detailed Description
The present invention will be described in detail with reference to specific embodiments.
The invention relates to a method for acquiring an optical imaging satellite original data real-time target detection slice, which comprises the following steps:
the first step is as follows: receiving the original data which is decrypted, decompressed and output in real time, and performing separation processing on auxiliary data and image data;
the second step is that: and carrying out target detection on the separated image data, returning target position information, further searching corresponding auxiliary data, and finishing geometric correction output of the target slice.
The first step is specifically:
extracting auxiliary data from each frame of original data acquired in real time, finishing the processing of the auxiliary data during posture, orbit and line, and generating an auxiliary data group to be used with time as a sequence; and extracting image data of each frame of original data acquired in real time, completing 16-bit conversion of the image data, caching 1024 lines, performing relative radiation correction, and generating image block data to be detected.
In the first step, auxiliary data are extracted and separated in real time, are analyzed and processed to obtain an auxiliary data packet, and are used for resolving the geometric correction parameters without caching; after 16-bit conversion is completed on each line of data of the image, after 1024 lines of data need to be received, relative radiation correction processing is performed, and then auxiliary data and image data separation processing is completed.
The second step is specifically as follows:
after 1024 lines of image block data are cached each time and radiation correction is carried out, target detection is carried out on the image block data, if a target is detected, target position information is returned, corresponding auxiliary data is searched through the position information, geometric correction of a target slicing system is completed, and a slice and an xml file are output; otherwise, continuing the next group of data processing until all data is processed.
In the second step, carrying out system geometric correction on the target area, taking the target center as a reference point, and extracting target slice data by using 256 multiplied by 256 or 1024 multiplied by 1024; and establishing an imaging model by using the resolved auxiliary data corresponding to the target slice, and performing system geometric correction processing to generate the target slice with geographic information and an xml file.
The technical scheme of the invention has the following characteristics:
1. the compressed and output data is decrypted through real-time receiving, data format analysis is completed, auxiliary data is separated from image data, image data with a certain size is cached, target detection is carried out after radiation correction processing is carried out, the relative and absolute positions of target detection images are returned, corresponding auxiliary data information is searched for, geometric correction is carried out, and target slicer xml information is output, so that intermediate processing results are reduced, target slice information is quickly obtained, and processing efficiency is greatly improved.
2. The direct network receives, decrypts, decompresses and outputs original data, completes the separation of auxiliary data of the original data from image data frame by frame in real time, analyzes the auxiliary data, and comprises attitude data processing, orbit data processing and line-time file generation; and (4) image data radiation correction is carried out, and an image to be detected and a corresponding auxiliary data packet are rapidly acquired.
3. The method comprises the steps of carrying out rapid target detection on an image to be detected, identifying the position of a target in the image, returning the position information of the target, further determining the imaging time of the target position, then finding out corresponding auxiliary data information according to the imaging time, and finally establishing a geometric imaging model to carry out system geometric correction on a target block to output a target slice. Therefore, the target detection processing of the whole-orbit data is completed in real time, the production efficiency of rapid target slicing is improved, and the timeliness requirement of a user is greatly met.
The invention is not limited to the examples, and any equivalent changes to the technical solution of the invention by a person skilled in the art after reading the description of the invention are covered by the claims of the invention.