Pneumatic optical degeneration image Fast Restoration method based on guide
Technical field
Pneumatic optical degeneration image Fast Restoration method based on guide belongs to technical field of image processing, is specifically related to a kind of Pneumatic optical degeneration image Fast Restoration method being applied on high-speed aircraft.
Background technology
Reconnaissance plane is the main investigation instrument of modern war.In order to obtain information, the phase chance on reconnaissance plane is taken a series of photos.But along with the flying speed of reconnaissance plane is more and more faster, aero-optical effect also can produce thereupon, cause investigation image blurring, reduce the accuracy of investigation.In order to keep the investigation ability of high-speed reconnaissance plane, and take into account the real-time that information is transmitted, need to study a kind of Pneumatic optical degeneration image Fast Restoration method.
The restored method being most widely used is alternative manner, but this method is long operation time, can not meet the requirement of reconnaissance plane to image processing real-time.For traditional iteration restoration algorithm, accelerate although there have been numerous methods to realize, but because these methods are not fundamentally broken away from interative computation, therefore acceleration effect is limited.The people such as Yixian Qian have proposed the random motion blurred picture real time restoration method based on photoelectricity hybrid processing, but the method need to coordinate main CCD with high-speed CCD, and rely on associating correlating transforms device and could realize Fast Restoration, and hardware is had to high requirement.
Summary of the invention
In order to address the above problem, the present invention has designed a kind of Pneumatic optical degeneration image Fast Restoration method based on guide, and the method can not change under the prerequisite of existing imaging system hardware condition, realizes pneumatic light efficiency effect degraded image Fast Restoration.
The object of the present invention is achieved like this:
Pneumatic optical degeneration image Fast Restoration method based on guide, comprises early-stage preparations, the large step of image restoration two,
For early-stage preparations, obtain the parameter information of guide according to the locus coordinate of aircraft and Attitude Calculation, described parameter information comprises size, shape and the positional information of guide in detection image;
For image restoration, comprise the following steps:
The first step, high-speed aircraft obtain detection image, and the resolution of described detection image is A;
Second step, the intercepting first step obtain the subimage of detection image, and described subimage comprises the neighborhood part of guide and guide, and resolution is B;
In the 3rd step, the subimage that obtains taking second step, the gray-scale value of guide neighborhood part is basis, construct the background image that resolution is B, in the subimage obtaining taking second step, the gray-scale value of guide neighborhood part and size, shape and the positional information of early-stage preparations part guide in detection image, as basis, construct the prior image that resolution is B;
The 4th step, utilize the subimage that second step obtains to deduct the background image that the 3rd step obtains, obtain the first gray scale difference, the prior image that utilizes the 3rd step to obtain deducts the background image that the 3rd step obtains, and obtains the second gray scale difference;
The 5th step, the detection image that the first step is obtained do Fourier transform, obtain detection image frequency spectrum, the first gray scale difference that the 4th step is obtained does Fourier transform, obtains the first gray scale difference frequency spectrum, the second gray scale difference that the 4th step is obtained does Fourier transform, obtains the second gray scale difference frequency spectrum;
The 6th step, utilize the first gray scale difference frequency spectrum that the 5th step obtains divided by the second gray scale difference frequency spectrum, obtain degenrate function;
The resolution of the 7th step, degenrate function that the 6th step is obtained expands to A from B, obtains new degenrate function;
The 8th step, the new degenrate function that utilizes detection image frequency spectrum that the 5th step obtains to obtain divided by the 7th step, obtain restored image frequency spectrum;
The 9th step, the restored image frequency spectrum that the 8th step is obtained do inverse Fourier transform, obtain restored image.
Pneumatic optical degeneration image Fast Restoration method based on guide, comprises early-stage preparations, the large step of image restoration two,
For early-stage preparations, obtain the parameter information of guide according to the locus coordinate of aircraft and Attitude Calculation, described parameter information comprises size, shape and the positional information of guide in detection image;
For image restoration, comprise the following steps:
The first step, high-speed aircraft obtain detection image, and the resolution of described detection image is A;
Second step, the intercepting first step obtain the subimage of detection image, and described subimage comprises the neighborhood part of guide and guide, and resolution is B;
In the 3rd step, the subimage that obtains taking second step, the gray-scale value of guide neighborhood part is basis, construct the background image that resolution is B, in the subimage obtaining taking second step, the gray-scale value of guide neighborhood part and size, shape and the positional information of early-stage preparations part guide in detection image, as basis, construct the prior image that resolution is B;
The 4th step, the detection image that the first step is obtained do Fourier transform, obtain detection image frequency spectrum, the subimage that second step is obtained does Fourier transform, obtain subimage frequency spectrum, the background image that the 3rd step is obtained does Fourier transform, obtain background image frequency spectrum, the prior image that the 3rd step is obtained does Fourier transform, obtains prior image frequency spectrum;
The 5th step, the subimage frequency spectrum that utilizes the 4th step to obtain deduct background image frequency spectrum, obtain the first gray scale difference frequency spectrum, and the prior image frequency spectrum that utilizes the 4th step to obtain deducts background image frequency spectrum, obtain the second gray scale difference frequency spectrum;
The 6th step, utilize the first gray scale difference frequency spectrum that the 5th step obtains divided by the second gray scale difference frequency spectrum, obtain degenrate function;
The resolution of the 7th step, degenrate function that the 6th step is obtained expands to A from B, obtains new degenrate function;
The 8th step, the new degenrate function that utilizes detection image frequency spectrum that the 5th step obtains to obtain divided by the 7th step, obtain restored image frequency spectrum;
The 9th step, the restored image frequency spectrum that the 8th step is obtained do inverse Fourier transform, obtain restored image.
Pneumatic optical degeneration image Fast Restoration method based on guide, comprises early-stage preparations, the large step of image restoration two,
For early-stage preparations, aircraft flight attitude steadily after and do not reach before velocity of sound, obtain prior image, the resolution of described prior image is A;
For image restoration, comprise the following steps:
The first step, high-speed aircraft obtain detection image, and the resolution of described detection image is A;
The first subimage of the prior image that second step, intercepting early-stage preparations part obtain, described the first subimage comprises the neighborhood part of guide and guide, resolution is B, intercept the second subimage that the first step obtains detection image, described the second subimage comprises the neighborhood part of guide and guide, and resolution is B;
In the 3rd step, the first subimage obtaining taking second step or the second subimage, the gray-scale value of guide neighborhood part, as basis, constructs the background image that resolution is B;
The 4th step, utilize the second subimage that second step obtains to deduct the background image that the 3rd step obtains, obtain the first gray scale difference, utilize the first subimage that second step obtains to deduct the background image that the 3rd step obtains, obtain the second gray scale difference;
The 5th step, the detection image that the first step is obtained do Fourier transform, obtain detection image frequency spectrum, the first gray scale difference that the 4th step is obtained does Fourier transform, obtains the first gray scale difference frequency spectrum, the second gray scale difference that the 4th step is obtained does Fourier transform, obtains the second gray scale difference frequency spectrum;
The 6th step, utilize the first gray scale difference frequency spectrum that the 5th step obtains divided by the second gray scale difference frequency spectrum, obtain degenrate function;
The resolution of the 7th step, degenrate function that the 6th step is obtained expands to A from B, obtains new degenrate function;
The 8th step, the new degenrate function that utilizes detection image frequency spectrum that the 5th step obtains to obtain divided by the 7th step, obtain restored image frequency spectrum;
The 9th step, the restored image frequency spectrum that the 8th step is obtained do inverse Fourier transform, obtain restored image.
Pneumatic optical degeneration image Fast Restoration method based on guide, comprises early-stage preparations, the large step of image restoration two,
For early-stage preparations, aircraft flight attitude steadily after and do not reach before velocity of sound, obtain prior image, the resolution of described prior image is A;
For image restoration, comprise the following steps:
The first step, high-speed aircraft obtain detection image, and the resolution of described detection image is A;
The first subimage of the prior image that second step, intercepting early-stage preparations part obtain, described the first subimage comprises the neighborhood part of guide and guide, resolution is B, intercept the second subimage that the first step obtains detection image, described the second subimage comprises the neighborhood part of guide and guide, and resolution is B;
In the 3rd step, the first subimage obtaining taking second step or the second subimage, the gray-scale value of guide neighborhood part, as basis, constructs the background image that resolution is B;
The 4th step, the detection image that the first step is obtained do Fourier transform, obtain detection image frequency spectrum, the first subimage that second step is obtained does Fourier transform, obtain the first subimage frequency spectrum, the second subimage that second step is obtained does Fourier transform, obtain the second subimage frequency spectrum, the background image that the 3rd step is obtained does Fourier transform, obtains background image frequency spectrum;
The 5th step, utilize the second subimage frequency spectrum that the 4th step obtains to deduct background image frequency spectrum, obtain the first gray scale difference frequency spectrum, utilize the first subimage frequency spectrum that the 4th step obtains to deduct background image frequency spectrum, obtain the second gray scale difference frequency spectrum;
The 6th step, utilize the first gray scale difference frequency spectrum that the 5th step obtains divided by the second gray scale difference frequency spectrum, obtain degenrate function;
The resolution of the 7th step, degenrate function that the 6th step is obtained expands to A from B, obtains new degenrate function;
The 8th step, the new degenrate function that utilizes detection image frequency spectrum that the 5th step obtains to obtain divided by the 7th step, obtain restored image frequency spectrum;
The 9th step, the restored image frequency spectrum that the 8th step is obtained do inverse Fourier transform, obtain restored image.
Beneficial effect: the Pneumatic optical degeneration image Fast Restoration method that the present invention is based on guide, comprise early-stage preparations, the large step of image restoration two, early-stage preparations can obtain the priori of Pneumatic optical degeneration image, for image restoration is prepared, and image restoration step only comprises that nine steps can realize; Add because early-stage preparations and image restoration are, subtract, take advantage of, count, the simple operation of Fourier transform and inverse Fourier transform, avoid using iteration simultaneously, therefore there is fast operation; Owing to measurement mechanism not being had to particular determination, therefore the method can be carried out on existing system, without hardware is changed.
Brief description of the drawings
Fig. 1 is the detection image that the present invention is based on the Pneumatic optical degeneration image Fast Restoration method specific embodiment one of guide.
Fig. 2 is the subimage that the present invention is based on the detection image of the Pneumatic optical degeneration image Fast Restoration method specific embodiment one of guide.
Fig. 3 is the prior image that the present invention is based on the Pneumatic optical degeneration image Fast Restoration method specific embodiment one of guide.
Fig. 4 is the restored image that the present invention is based on the Pneumatic optical degeneration image Fast Restoration method specific embodiment one of guide.
Fig. 5 is the restored image Local map that the present invention is based on the Pneumatic optical degeneration image Fast Restoration method specific embodiment one of guide.
Fig. 6 is the prior image that the present invention is based on the Pneumatic optical degeneration image Fast Restoration method specific embodiment three of guide.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the invention is described in further detail.
Specific embodiment one
Pneumatic optical degeneration image Fast Restoration method based on guide, comprises early-stage preparations, the large step of image restoration two,
For early-stage preparations, obtain the parameter information of guide according to the locus coordinate of aircraft and Attitude Calculation, described parameter information comprises size, shape and the positional information of guide in detection image;
For image restoration, comprise the following steps:
The first step, high-speed aircraft obtain detection image, and as shown in Figure 1, the resolution of described detection image is A;
Second step, the intercepting first step obtain the subimage of detection image, and as shown in Figure 2, described subimage comprises the neighborhood part of guide and guide, and resolution is B;
In the 3rd step, the subimage that obtains taking second step, the gray-scale value of guide neighborhood part is basis, construct the background image that resolution is B, in the subimage obtaining taking second step, the gray-scale value of guide neighborhood part and size, shape and the positional information of early-stage preparations part guide in detection image are basis, construct the prior image that resolution is B, as shown in Figure 3;
The 4th step, utilize the subimage that second step obtains to deduct the background image that the 3rd step obtains, obtain the first gray scale difference, the prior image that utilizes the 3rd step to obtain deducts the background image that the 3rd step obtains, and obtains the second gray scale difference;
The 5th step, the detection image that the first step is obtained do Fourier transform, obtain detection image frequency spectrum, the first gray scale difference that the 4th step is obtained does Fourier transform, obtains the first gray scale difference frequency spectrum, the second gray scale difference that the 4th step is obtained does Fourier transform, obtains the second gray scale difference frequency spectrum;
The 6th step, utilize the first gray scale difference frequency spectrum that the 5th step obtains divided by the second gray scale difference frequency spectrum, obtain degenrate function;
The resolution of the 7th step, degenrate function that the 6th step is obtained expands to A from B, obtains new degenrate function;
The 8th step, the new degenrate function that utilizes detection image frequency spectrum that the 5th step obtains to obtain divided by the 7th step, obtain restored image frequency spectrum;
The 9th step, the restored image frequency spectrum that the 8th step is obtained do inverse Fourier transform, obtain restored image, and as shown in Figure 4, the Local map of its guide part as shown in Figure 5.
Specific embodiment two
Pneumatic optical degeneration image Fast Restoration method based on guide, comprises early-stage preparations, the large step of image restoration two,
For early-stage preparations, obtain the parameter information of guide according to the locus coordinate of aircraft and Attitude Calculation, described parameter information comprises size, shape and the positional information of guide in detection image;
For image restoration, comprise the following steps:
The first step, high-speed aircraft obtain detection image, and as shown in Fig. 1 of specific embodiment one, the resolution of described detection image is A;
Second step, the intercepting first step obtain the subimage of detection image, and as shown in Fig. 2 of specific embodiment one, described subimage comprises the neighborhood part of guide and guide, and resolution is B;
In the 3rd step, the subimage that obtains taking second step, the gray-scale value of guide neighborhood part is basis, construct the background image that resolution is B, in the subimage obtaining taking second step, the gray-scale value of guide neighborhood part and size, shape and the positional information of early-stage preparations part guide in detection image are basis, construct the prior image that resolution is B, as shown in Fig. 3 of specific embodiment one;
The 4th step, the detection image that the first step is obtained do Fourier transform, obtain detection image frequency spectrum, the subimage that second step is obtained does Fourier transform, obtain subimage frequency spectrum, the background image that the 3rd step is obtained does Fourier transform, obtain background image frequency spectrum, the prior image that the 3rd step is obtained does Fourier transform, obtains prior image frequency spectrum;
The 5th step, the subimage frequency spectrum that utilizes the 4th step to obtain deduct background image frequency spectrum, obtain the first gray scale difference frequency spectrum, and the prior image frequency spectrum that utilizes the 4th step to obtain deducts background image frequency spectrum, obtain the second gray scale difference frequency spectrum;
The 6th step, utilize the first gray scale difference frequency spectrum that the 5th step obtains divided by the second gray scale difference frequency spectrum, obtain degenrate function;
The resolution of the 7th step, degenrate function that the 6th step is obtained expands to A from B, obtains new degenrate function;
The 8th step, the new degenrate function that utilizes detection image frequency spectrum that the 5th step obtains to obtain divided by the 7th step, obtain restored image frequency spectrum;
The 9th step, the restored image frequency spectrum that the 8th step is obtained do inverse Fourier transform, obtain restored image, and as shown in Fig. 4 of specific embodiment one, the Local map of its guide part is as shown in Fig. 5 of specific embodiment one.
Specific embodiment three
Pneumatic optical degeneration image Fast Restoration method based on guide, comprises early-stage preparations, the large step of image restoration two,
For early-stage preparations, aircraft flight attitude steadily after and do not reach before velocity of sound, obtain prior image, as shown in Figure 6, the resolution of described prior image is A;
For image restoration, comprise the following steps:
The first step, high-speed aircraft obtain detection image, and as shown in Fig. 1 of specific embodiment one, the resolution of described detection image is A;
The first subimage of the prior image that second step, intercepting early-stage preparations part obtain, as shown in Fig. 3 of specific embodiment one, described the first subimage comprises the neighborhood part of guide and guide, resolution is B, intercept the second subimage that the first step obtains detection image, as shown in Fig. 2 of specific embodiment one, described the second subimage comprises the neighborhood part of guide and guide, and resolution is B;
In the 3rd step, the first subimage obtaining taking second step or the second subimage, the gray-scale value of guide neighborhood part, as basis, constructs the background image that resolution is B;
The 4th step, utilize the second subimage that second step obtains to deduct the background image that the 3rd step obtains, obtain the first gray scale difference, utilize the first subimage that second step obtains to deduct the background image that the 3rd step obtains, obtain the second gray scale difference;
The 5th step, the detection image that the first step is obtained do Fourier transform, obtain detection image frequency spectrum, the first gray scale difference that the 4th step is obtained does Fourier transform, obtains the first gray scale difference frequency spectrum, the second gray scale difference that the 4th step is obtained does Fourier transform, obtains the second gray scale difference frequency spectrum;
The 6th step, utilize the first gray scale difference frequency spectrum that the 5th step obtains divided by the second gray scale difference frequency spectrum, obtain degenrate function;
The resolution of the 7th step, degenrate function that the 6th step is obtained expands to A from B, obtains new degenrate function;
The 8th step, the new degenrate function that utilizes detection image frequency spectrum that the 5th step obtains to obtain divided by the 7th step, obtain restored image frequency spectrum;
The 9th step, the restored image frequency spectrum that the 8th step is obtained do inverse Fourier transform, obtain restored image, and as shown in Fig. 4 of specific embodiment one, the Local map of its guide part is as shown in Fig. 5 of specific embodiment one.
Specific embodiment four
Pneumatic optical degeneration image Fast Restoration method based on guide, comprises early-stage preparations, the large step of image restoration two,
For early-stage preparations, aircraft flight attitude steadily after and do not reach before velocity of sound, obtain prior image, as shown in Fig. 6 of specific embodiment three, the resolution of described prior image is A;
For image restoration, comprise the following steps:
The first step, high-speed aircraft obtain detection image, and as shown in Fig. 1 of specific embodiment one, the resolution of described detection image is A;
The first subimage of the prior image that second step, intercepting early-stage preparations part obtain, as shown in Fig. 3 of specific embodiment one, described the first subimage comprises the neighborhood part of guide and guide, resolution is B, intercept the second subimage that the first step obtains detection image, as shown in Fig. 2 of specific embodiment one, described the second subimage comprises the neighborhood part of guide and guide, and resolution is B;
In the 3rd step, the first subimage obtaining taking second step or the second subimage, the gray-scale value of guide neighborhood part, as basis, constructs the background image that resolution is B;
The 4th step, the detection image that the first step is obtained do Fourier transform, obtain detection image frequency spectrum, the first subimage that second step is obtained does Fourier transform, obtain the first subimage frequency spectrum, the second subimage that second step is obtained does Fourier transform, obtain the second subimage frequency spectrum, the background image that the 3rd step is obtained does Fourier transform, obtains background image frequency spectrum;
The 5th step, utilize the second subimage frequency spectrum that the 4th step obtains to deduct background image frequency spectrum, obtain the first gray scale difference frequency spectrum, utilize the first subimage frequency spectrum that the 4th step obtains to deduct background image frequency spectrum, obtain the second gray scale difference frequency spectrum;
The 6th step, utilize the first gray scale difference frequency spectrum that the 5th step obtains divided by the second gray scale difference frequency spectrum, obtain degenrate function;
The resolution of the 7th step, degenrate function that the 6th step is obtained expands to A from B, obtains new degenrate function;
The 8th step, the new degenrate function that utilizes detection image frequency spectrum that the 5th step obtains to obtain divided by the 7th step, obtain restored image frequency spectrum;
The 9th step, the restored image frequency spectrum that the 8th step is obtained do inverse Fourier transform, obtain restored image, and as shown in Fig. 4 of specific embodiment one, the Local map of its guide part is as shown in Fig. 5 of specific embodiment one.