CN116245753A - Red and blue stereoscopic satellite cloud image generation method, system, electronic equipment and medium - Google Patents

Red and blue stereoscopic satellite cloud image generation method, system, electronic equipment and medium Download PDF

Info

Publication number
CN116245753A
CN116245753A CN202211720895.7A CN202211720895A CN116245753A CN 116245753 A CN116245753 A CN 116245753A CN 202211720895 A CN202211720895 A CN 202211720895A CN 116245753 A CN116245753 A CN 116245753A
Authority
CN
China
Prior art keywords
image
satellite cloud
cloud image
brightness
satellite
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211720895.7A
Other languages
Chinese (zh)
Other versions
CN116245753B (en
Inventor
瞿建华
鄢俊洁
刘银萍
崔浩楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huayun Xingditong Technology Co ltd
Original Assignee
Beijing Huayun Xingditong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huayun Xingditong Technology Co ltd filed Critical Beijing Huayun Xingditong Technology Co ltd
Priority to CN202211720895.7A priority Critical patent/CN116245753B/en
Publication of CN116245753A publication Critical patent/CN116245753A/en
Application granted granted Critical
Publication of CN116245753B publication Critical patent/CN116245753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • G06T5/90
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30181Earth observation
    • G06T2207/30192Weather; Meteorology
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Abstract

The invention provides a method, a system, electronic equipment and a medium for generating a red-blue stereoscopic satellite cloud image, which belong to the field of satellite observation, wherein the method for generating the red-blue stereoscopic satellite cloud image comprises the following steps: acquiring two-dimensional satellite cloud pictures of an observation area acquired by two satellites at different observation angles at the same moment, namely an initial left satellite cloud picture and an initial right satellite cloud picture; performing brightness compensation on the initial left satellite cloud image and the initial right satellite cloud image; rejecting blue-green channel values in the left satellite cloud picture after brightness compensation to obtain a red channel cloud picture; removing red channel values in the right satellite cloud image after brightness compensation to obtain a blue-green channel cloud image; and combining the red channel cloud image and the blue-green channel cloud image to obtain the red-blue stereoscopic satellite cloud image. The three-dimensional satellite cloud picture can be observed on paper and a computer display by a user with low cost of one color filter glasses, the three-dimensional effect is obvious, the red and blue three-dimensional satellite cloud picture is more uniform in color by brightness compensation treatment, and the phenomenon of binocular competition is reduced.

Description

Red and blue stereoscopic satellite cloud image generation method, system, electronic equipment and medium
Technical Field
The invention relates to the field of satellite observation, in particular to a method, a system, electronic equipment and a medium for generating a red-blue stereoscopic satellite cloud image.
Background
Satellite cloud (satellite cloud imagery) is an image of cloud cover and ground surface features on the earth as viewed from top to bottom by meteorological satellites. Different weather systems can be identified by utilizing the satellite cloud pictures, the positions of the weather systems are determined, the strength and the development trend of the weather systems are estimated, and a basis is provided for weather analysis and weather forecast. With the development and progress of meteorological satellite observation technology and computer technology, the precision of satellite observation data is gradually improved, and higher requirements are also put forward on data analysis and display. At present, although the display of true color satellite cloud pictures is realized, the traditional display method of two-dimensional images is still adopted, the depth information of the cloud pictures cannot be displayed, and the requirements of users cannot be met.
Disclosure of Invention
The invention aims to provide a method, a system, electronic equipment and a medium for generating a red-blue stereoscopic satellite cloud picture, which can display depth information of the cloud picture, have obvious stereoscopic effect, have uniform colors and reduce the phenomenon of binocular competition.
In order to achieve the above object, the present invention provides the following solutions:
a method for generating a red-blue stereoscopic satellite cloud image comprises the following steps:
acquiring an initial left satellite cloud image and an initial right satellite cloud image of an observation area; the initial left satellite cloud image and the initial right satellite cloud image are two-dimensional satellite cloud images of the observation area, which are acquired by two satellites at different observation angles at the same moment, respectively;
performing brightness compensation on the initial left satellite cloud image and the initial right satellite cloud image to obtain a left satellite cloud image after brightness compensation and a right satellite cloud image after brightness compensation;
rejecting a blue channel value and a green channel value in the left satellite cloud picture after brightness compensation to obtain a red channel cloud picture;
removing red channel values in the right satellite cloud image after brightness compensation to obtain a blue-green channel cloud image;
and combining the red channel cloud image and the blue-green channel cloud image to obtain the red-blue stereoscopic satellite cloud image.
Optionally, the initial left satellite cloud image is a two-dimensional satellite cloud image acquired by a wind cloud No. A star; the initial right satellite cloud image is a two-dimensional satellite cloud image acquired by a wind cloud No. four B star.
Optionally, performing brightness compensation on the initial left satellite cloud image and the initial right satellite cloud image to obtain a left satellite cloud image after brightness compensation and a right satellite cloud image after brightness compensation, which specifically include:
converting the initial left satellite cloud image into an HSV color space to obtain a left HSV satellite cloud image;
converting the initial right satellite cloud image into an HSV color space to obtain a right HSV satellite cloud image;
summing the brightness components of the left HSV satellite cloud image and the right HSV satellite cloud image respectively to obtain a left image brightness value and a right image brightness value;
judging whether the brightness value of the left image is larger than the brightness value of the right image;
if the left image brightness value is larger than the right image brightness value, calculating a first gain coefficient according to the left image brightness value and the right image brightness value; adjusting the brightness component of the left HSV satellite cloud image according to the first gain coefficient, and converting the adjusted left HSV satellite cloud image into an RGB color space to obtain a left satellite cloud image with brightness compensated; the initial right satellite cloud image is a right satellite cloud image after brightness compensation;
if the left image brightness value is smaller than the right image brightness value, calculating a second gain coefficient according to the left image brightness value and the right image brightness value; adjusting the brightness component of the right HSV satellite cloud image according to the second gain coefficient, and converting the adjusted right HSV satellite cloud image into an RGB color space to obtain a right satellite cloud image with brightness compensated; the initial left satellite cloud image is a left satellite cloud image after brightness compensation;
and if the brightness value of the left image is equal to the brightness value of the right image, the initial left satellite cloud image is a left satellite cloud image after brightness compensation, and the initial right satellite cloud image is a right satellite cloud image after brightness compensation.
Alternatively, a formula is employed
Figure BDA0004028449340000021
Calculating a first gain coefficient; using the formula->
Figure BDA0004028449340000022
Calculating a second gain coefficient; wherein K is 1 For the first gain factor, K 2 Is the second gain coefficient, V r For right-hand value of brightness, V l Is the left graph brightness value.
Alternatively, equation V is employed l' =V l ×K 1 Adjusting the brightness component of the left HSV satellite cloud image; using formula V r' =V r ×K 2 Adjusting the brightness component of the right HSV satellite cloud image; wherein V is l' For the brightness component of the adjusted left HSV satellite cloud image, V r' K for brightness component of right HSV satellite cloud image after adjustment 1 For the first gain factor, K 2 Is the second gain coefficient, V r For right-hand value of brightness, V l Is the left graph brightness value.
In order to achieve the above purpose, the present invention also provides the following solutions:
a red and blue stereoscopic satellite cloud image generation system, comprising:
the cloud image acquisition unit is used for acquiring an initial left satellite cloud image and an initial right satellite cloud image of the observation area; the initial left satellite cloud image and the initial right satellite cloud image are two-dimensional satellite cloud images of the observation area, which are acquired by two satellites at different observation angles at the same moment, respectively;
the brightness compensation unit is connected with the cloud image acquisition unit and is used for carrying out brightness compensation on the initial left satellite cloud image and the initial right satellite cloud image to obtain a left satellite cloud image after brightness compensation and a right satellite cloud image after brightness compensation;
the blue-green eliminating unit is connected with the brightness compensation unit and is used for eliminating the blue channel value and the green channel value in the left satellite cloud picture after brightness compensation to obtain a red channel cloud picture;
the red removing unit is connected with the brightness compensating unit and used for removing red channel values in the right satellite cloud image after brightness compensation to obtain a blue-green channel cloud image;
and the cloud image merging unit is respectively connected with the bluish green eliminating unit and the red eliminating unit and is used for merging the red channel cloud image and the bluish green channel cloud image to obtain the bluish red stereoscopic satellite cloud image.
Optionally, the brightness compensation unit includes:
the first space conversion module is connected with the cloud image acquisition unit and is used for converting the initial left satellite cloud image into an HSV color space to obtain a left HSV satellite cloud image;
the second space conversion module is connected with the cloud image acquisition unit and is used for converting the initial right satellite cloud image into an HSV color space to obtain a right HSV satellite cloud image;
the brightness calculation module is respectively connected with the first space conversion module and the second space conversion module and is used for respectively summing brightness components of the left HSV satellite cloud image and the right HSV satellite cloud image to obtain a left image brightness value and a right image brightness value;
the judging module is connected with the brightness calculating module and is used for judging whether the brightness value of the left image is larger than the brightness value of the right image or not;
the first gain coefficient calculation module is connected with the judgment module and is used for calculating a first gain coefficient according to the left image brightness value and the right image brightness value when the left image brightness value is larger than the right image brightness value;
the left image adjusting module is connected with the first gain coefficient calculating module and is used for adjusting the brightness component of the left HSV satellite cloud image according to the first gain coefficient, converting the adjusted left HSV satellite cloud image into an RGB color space to obtain a left satellite cloud image after brightness compensation, and taking the initial right satellite cloud image as a right satellite cloud image after brightness compensation;
the second gain coefficient calculation module is connected with the judgment module and is used for calculating a second gain coefficient according to the left image brightness value and the right image brightness value when the left image brightness value is smaller than the right image brightness value;
the right image adjusting module is connected with the second gain coefficient calculating module and is used for adjusting the brightness component of the right HSV satellite cloud image according to the second gain coefficient, converting the adjusted right HSV satellite cloud image into an RGB color space to obtain a right satellite cloud image after brightness compensation, and taking the initial left satellite cloud image as a left satellite cloud image after brightness compensation;
and the left and right image determining module is connected with the judging module and is used for taking the initial left satellite cloud image as a left satellite cloud image after brightness compensation and taking the initial right satellite cloud image as a right satellite cloud image after brightness compensation when the brightness value of the left image is equal to the brightness value of the right image.
In order to achieve the above purpose, the present invention also provides the following solutions:
an electronic device comprising a memory and a processor, the memory being configured to store a computer program, the processor being configured to run the computer program to cause the electronic device to perform the method of generating a red and blue stereoscopic satellite cloud image as described above.
In order to achieve the above purpose, the present invention also provides the following solutions:
a computer readable storage medium storing a computer program which when executed by a processor implements the method of generating a red and blue stereoscopic satellite cloud image described above.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects: based on an imaging principle of a red-blue stereoscopic image, performing brightness compensation on two-dimensional satellite cloud images (an initial left satellite cloud image and an initial right satellite cloud image) of an observation area acquired by two satellites at different observation angles at the same moment, and then removing a blue channel value and a green channel value in the left satellite cloud image after brightness compensation to obtain a red channel cloud image; removing red channel values in the right satellite cloud image after brightness compensation to obtain a blue-green channel cloud image; and finally, combining the red channel cloud image and the blue-green channel cloud image to obtain the red-blue stereoscopic satellite cloud image. The three-dimensional satellite cloud picture can be observed on paper and a computer display by a user with low cost of one color filter glasses, the three-dimensional effect is obvious, the color of the red and blue three-dimensional satellite cloud picture is more uniform, and the phenomenon of binocular competition is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for generating a red and blue stereoscopic satellite cloud image according to the invention;
fig. 2 is a schematic block diagram of the system for generating a red-blue stereoscopic satellite cloud image according to the present invention.
Symbol description:
the device comprises a cloud picture acquisition unit-1, a brightness compensation unit-2, a blue-green rejection unit-3, a red rejection unit-4 and a cloud picture merging unit-5.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
First, the principle of stereoscopic imaging is introduced: by means of binocular vision difference and optical refraction principle, two images with slight difference can be seen by the left eye and the right eye through a certain technology, and then a three-dimensional stereoscopic image containing object depth relation can be seen in a two-dimensional plane. The common color complementation method is to make the left and right eyes respectively see the images with different colors so as to achieve the purpose of three-dimensional display. The red-blue stereogram technology is to use the principle of a color complementation method to carry out complementation processing on two color images with certain parallax, then use lenses of red-blue glasses as information of a left image and a right image to be separated by a color filter, and enter different image information into left eyes and right eyes to be analyzed and fused by visual nerves, so that people observe depth information of the images, and the effect of a stereoscopic image is obtained.
The invention aims to provide a method, a system, electronic equipment and a medium for generating a red-blue stereoscopic satellite cloud image, which are characterized in that a red-blue stereoscopic technology is applied to cloud image display of a remote sensing satellite, two-dimensional plane satellite cloud images with the same observation area and different observation angles are combined into a red-blue stereoscopic satellite cloud image, the display effect of the three-dimensional stereoscopic cloud image can be obtained by means of red-blue glasses, the image processing speed is high, the observation mode is simple and economical, and the method has good service application value.
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Example 1
As shown in FIG. 1, the method for generating the red-blue stereoscopic satellite cloud image comprises the following steps:
s1: an initial left satellite cloud image and an initial right satellite cloud image of an observation area are acquired. The initial left satellite cloud image and the initial right satellite cloud image are two-dimensional satellite cloud images of the observation area, wherein the two satellites are collected from different observation angles at the same time. Specifically, the observation region is left in the initial left satellite cloud image relative to the position in the initial right satellite cloud image. I.e., the satellite that acquired the initial left satellite cloud image is located to the east of the satellite that acquired the initial right satellite cloud image.
As a specific implementation mode, the wind cloud No. four (code number: FY-4) is a second generation geostationary orbit meteorological satellite in China, wherein the star A (code number: FY 4A) of the wind cloud No. four is positioned above the east longitude 99.5 degree equator after successful transmission, and the star B (code number: FY 4B) is positioned above the east longitude 123.5 degree equator. The wind cloud No. A star and the B star observe the earth in different visual angles, so that the two satellites shoot satellite cloud images in the same time and a region to meet the synthetic condition of the red-blue stereoscopic image. Thus, two satellite clouds taken at time 15 minutes 00 seconds of day 25 of 2022 were used for testing, as were the wind cloud No. a star and the wind cloud No. B star. Because of the fixed point positions and the observation areas of the two satellites, the A star cloud image of the wind cloud No. four is used as a left viewpoint image, and the B star cloud image is used as a right viewpoint image. The initial left satellite cloud image is a two-dimensional satellite cloud image acquired by the wind cloud No. A star. The initial right satellite cloud image is a two-dimensional satellite cloud image acquired by a wind cloud No. four B star.
S2: and carrying out brightness compensation on the initial left satellite cloud image and the initial right satellite cloud image to obtain a left satellite cloud image after brightness compensation and a right satellite cloud image after brightness compensation.
Further, step S2 includes:
(1) And converting the initial left satellite cloud image into an HSV color space to obtain a left HSV satellite cloud image.
(2) And converting the initial right satellite cloud image into an HSV color space to obtain a right HSV satellite cloud image.
(3) And summing the brightness components of the left HSV satellite cloud image and the right HSV satellite cloud image respectively to obtain a left image brightness value and a right image brightness value.
(4) And judging whether the brightness value of the left image is larger than the brightness value of the right image.
(5) And if the left image brightness value is larger than the right image brightness value, calculating a first gain coefficient according to the left image brightness value and the right image brightness value. And adjusting the brightness component of the left HSV satellite cloud image according to the first gain coefficient, and converting the adjusted left HSV satellite cloud image into an RGB color space to obtain a left satellite cloud image with brightness compensated. The initial right satellite cloud image is a right satellite cloud image after brightness compensation. Specifically, the formula is adopted
Figure BDA0004028449340000071
A first gain factor is calculated. Using formula V l' =V l ×K 1 The brightness component of the left HSV satellite cloud image is adjusted.
(6) And if the left image brightness value is smaller than the right image brightness value, calculating a second gain coefficient according to the left image brightness value and the right image brightness value. Adjusting the right HSV satellite cloud according to the second gain coefficientAnd the brightness component of the image, and converting the adjusted right HSV satellite cloud image into an RGB color space to obtain a right satellite cloud image with brightness compensation. The initial left satellite cloud image is a left satellite cloud image after brightness compensation. Specifically, the formula is adopted
Figure BDA0004028449340000072
A second gain factor is calculated. Using formula V r' =V r ×K 2 And adjusting the brightness component of the right HSV satellite cloud image.
Wherein K is 1 For the first gain factor, K 2 Is the second gain coefficient, V r For right-hand value of brightness, V l Is the left graph brightness value. V (V) l' For the brightness component of the adjusted left HSV satellite cloud image, V r' Is the brightness component of the adjusted right HSV satellite cloud image.
(7) And if the brightness value of the left image is equal to the brightness value of the right image, the initial left satellite cloud image is a left satellite cloud image after brightness compensation, and the initial right satellite cloud image is a right satellite cloud image after brightness compensation.
As a specific implementation mode, the red-blue stereogram synthesized directly by using the Potoshop algorithm is slightly bluish-green in overall hue when the image is watched by naked eyes, and obvious stereoscopic effect can be seen after the image is worn with color filtering glasses, but stronger binocular competition can be felt, and the stereoscopic effect is caused by a certain brightness difference of satellite stereograms shot by the wind cloud No. A star and the wind cloud No. B star. Therefore, optimization is required based on the conventional potshop red-blue algorithm. The brightness of the satellite cloud image of the satellite cloud No. B is higher than that of the satellite cloud No. A, so that when the image is subjected to illumination compensation treatment, the brightness of the satellite cloud image of the satellite cloud No. B, namely the initial right satellite cloud image, is integrally adjusted to be consistent with the satellite cloud image of the satellite cloud No. A, namely the initial left satellite cloud image. Further, for the sake of calculation convenience, gray values may be used instead of the brightness.
S3: and rejecting the blue channel value and the green channel value in the left satellite cloud image after brightness compensation to obtain a red channel cloud image.
S4: and eliminating the red channel value in the right satellite cloud image after brightness compensation to obtain a blue-green channel cloud image.
S5: and combining the red channel cloud image and the blue-green channel cloud image to obtain the red-blue stereoscopic satellite cloud image.
The invention synthesizes two images of left and right visual angles into one image by utilizing a color multiplexing technology based on the RGB three primary color separation principle of the image, namely, a red and blue stereogram is formed. The colors of the left and right views are separated by the color filter sheet, and the images having a certain parallax are respectively made to reach the left and right eyes of the viewer, thereby forming stereoscopic images.
The most common method used at present is a method for combining red and green (R-C) double colors into an image, namely, two images with certain parallax are combined into a three-channel color image by only reserving a red channel in a left view, removing a blue channel and a green channel in a right view, removing the red channel and reserving the blue channel and the green channel in the right view and combining the complementary color channels reserved in the left view and the right view. According to the characteristic that the color filter glasses can only pass through the light of the same spectrum, when an observer uses the red-blue stereoscopic glasses to observe, the red glasses can only see the red image from the red glasses of the left eye, so that the glasses of the right eye can only see the blue-green image, the information seen by the two eyes is separated, the depth information of the image can be obtained through the analysis of the optic nerve, and the effect of the stereoscopic image is obtained.
The red-blue three-dimensional algorithm used by the invention is the most commonly used Photoshop algorithm, and can be used for representing the color channel value calculation method of the red-blue three-dimensional image in a matrix form:
Figure BDA0004028449340000091
wherein R is A Red channel value, G, of a red-blue stereoscopic satellite cloud picture A Is the green channel value of the red-blue stereoscopic satellite cloud picture, B A Blue channel value R of red-blue stereoscopic satellite cloud picture l For the red channel value, G, in the brightness compensated left satellite cloud l For the green channel value, B in the brightness compensated left satellite cloud l For the blue channel value, R in the left satellite cloud picture after brightness compensation r For the red channel value, G, in the brightness compensated right satellite cloud r For the green channel value, B in the right satellite cloud after brightness compensation r And the blue channel value in the right satellite cloud image after brightness compensation.
The invention is based on the imaging principle of the red and blue stereoscopic image, and the color cloud images obtained by the static orbit meteorological satellites with different observation angles of the wind cloud No. A star and the wind cloud No. B star are subjected to light supplementing, fusion and other treatments to obtain the red and blue stereoscopic satellite cloud image with better stereoscopic effect, so that a satellite data user can observe the three-dimensional stereoscopic satellite cloud image on paper and a computer display with the small cost of one color filter glasses, the stereoscopic effect is obvious, the naked eyes of the image after illumination compensation treatment look more uniform in color, the phenomenon that one color is too prominent is avoided, and the binocular competition phenomenon is effectively lightened.
Example two
In order to execute the corresponding method of the above embodiment to achieve the corresponding functions and technical effects, a red-blue stereoscopic satellite cloud image generating system is provided below.
As shown in fig. 2, the red-blue stereoscopic satellite cloud image generating system provided in this embodiment includes: the device comprises a cloud picture acquisition unit 1, a brightness compensation unit 2, a blue-green rejection unit 3, a red rejection unit 4 and a cloud picture merging unit 5.
The cloud image acquisition unit 1 is used for acquiring an initial left satellite cloud image and an initial right satellite cloud image of an observation area; the initial left satellite cloud image and the initial right satellite cloud image are two-dimensional satellite cloud images of the observation area, wherein the two satellites are collected from different observation angles at the same time.
The brightness compensation unit 2 is connected with the cloud image acquisition unit 1, and the brightness compensation unit 2 is used for carrying out brightness compensation on the initial left satellite cloud image and the initial right satellite cloud image to obtain a left satellite cloud image after brightness compensation and a right satellite cloud image after brightness compensation.
The blue-green eliminating unit 3 is connected with the brightness compensating unit 2, and the blue-green eliminating unit 3 is used for eliminating blue channel values and green channel values in the brightness compensated left satellite cloud image to obtain a red channel cloud image.
The red eliminating unit 4 is connected with the brightness compensating unit 2, and the red eliminating unit 4 is used for eliminating the red channel value in the right satellite cloud image after brightness compensation to obtain a blue-green channel cloud image.
And the cloud image merging unit 5 is respectively connected with the bluish green eliminating unit 3 and the red eliminating unit 4, and the cloud image merging unit 5 is used for merging the red channel cloud image and the bluish green channel cloud image to obtain a red-blue stereoscopic satellite cloud image.
Specifically, the luminance compensation unit 2 includes: the system comprises a first space conversion module, a second space conversion module, a brightness calculation module, a judgment module, a first gain coefficient calculation module, a left image adjustment module, a second gain coefficient calculation module, a right image adjustment module and a left image and right image determination module.
The first space conversion module is connected with the cloud image acquisition unit 1, and is used for converting the initial left satellite cloud image into an HSV color space to obtain a left HSV satellite cloud image.
The second space conversion module is connected with the cloud image acquisition unit and is used for converting the initial right satellite cloud image into an HSV color space to obtain a right HSV satellite cloud image.
The brightness calculation module is respectively connected with the first space conversion module and the second space conversion module, and is used for summing brightness components of the left HSV satellite cloud image and the right HSV satellite cloud image respectively to obtain a left image brightness value and a right image brightness value.
The judging module is connected with the brightness calculating module and is used for judging whether the brightness value of the left image is larger than the brightness value of the right image.
The first gain coefficient calculation module is connected with the judgment module and is used for calculating a first gain coefficient according to the left image brightness value and the right image brightness value when the left image brightness value is larger than the right image brightness value.
The left image adjusting module is connected with the first gain coefficient calculating module, and is used for adjusting the brightness component of the left HSV satellite cloud image according to the first gain coefficient, converting the adjusted left HSV satellite cloud image into an RGB color space, obtaining a left satellite cloud image after brightness compensation, and taking the initial right satellite cloud image as a right satellite cloud image after brightness compensation.
The second gain coefficient calculation module is connected with the judgment module and is used for calculating a second gain coefficient according to the left image brightness value and the right image brightness value when the left image brightness value is smaller than the right image brightness value.
The right image adjusting module is connected with the second gain coefficient calculating module, and is used for adjusting the brightness component of the right HSV satellite cloud image according to the second gain coefficient, converting the adjusted right HSV satellite cloud image into an RGB color space, obtaining a right satellite cloud image after brightness compensation, and taking the initial left satellite cloud image as a left satellite cloud image after brightness compensation.
The left and right image determining module is connected with the judging module, and is used for taking the initial left satellite cloud image as a left satellite cloud image after brightness compensation and taking the initial right satellite cloud image as a right satellite cloud image after brightness compensation when the brightness value of the left image is equal to the brightness value of the right image.
Compared with the prior art, the red-blue stereoscopic satellite cloud image generation system provided by the embodiment has the same beneficial effects as the red-blue stereoscopic satellite cloud image generation method provided by the embodiment one, and is not repeated here.
Example III
The embodiment provides an electronic device, including a memory and a processor, where the memory is configured to store a computer program, and the processor is configured to run the computer program to cause the electronic device to execute the method for generating a red-blue stereoscopic satellite cloud image according to the first embodiment.
Alternatively, the electronic device may be a server.
In addition, the embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program realizes the red-blue stereoscopic satellite cloud image generation method of the first embodiment when being executed by a processor.
The algorithm adopted by the invention is realized by means of an openCV library in a python3 environment, and compared with the existing two-dimensional plane satellite cloud image, the three-dimensional color satellite cloud image can be generated. In addition, the invention has higher operation efficiency on the computer, the supported platform environment is not difficult to reach, the service real-time or batch production is easier to realize, and a new possibility is provided for remote sensing satellite products.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the methods of the present invention and the core ideas thereof; also, it is within the scope of the present invention to be modified by those of ordinary skill in the art in light of the present teachings. In view of the foregoing, this description should not be construed as limiting the invention.

Claims (9)

1. The method for generating the red-blue stereoscopic satellite cloud picture is characterized by comprising the following steps of:
acquiring an initial left satellite cloud image and an initial right satellite cloud image of an observation area; the initial left satellite cloud image and the initial right satellite cloud image are two-dimensional satellite cloud images of the observation area, which are acquired by two satellites at different observation angles at the same moment, respectively;
performing brightness compensation on the initial left satellite cloud image and the initial right satellite cloud image to obtain a left satellite cloud image after brightness compensation and a right satellite cloud image after brightness compensation;
rejecting a blue channel value and a green channel value in the left satellite cloud picture after brightness compensation to obtain a red channel cloud picture;
removing red channel values in the right satellite cloud image after brightness compensation to obtain a blue-green channel cloud image;
and combining the red channel cloud image and the blue-green channel cloud image to obtain the red-blue stereoscopic satellite cloud image.
2. The method for generating a red-blue stereoscopic satellite cloud image according to claim 1, wherein the initial left satellite cloud image is a two-dimensional satellite cloud image acquired by a star A of a wind cloud; the initial right satellite cloud image is a two-dimensional satellite cloud image acquired by a wind cloud No. four B star.
3. The method for generating a red-blue stereoscopic satellite cloud image according to claim 1, wherein the method for generating the red-blue stereoscopic satellite cloud image is characterized by performing brightness compensation on the initial left satellite cloud image and the initial right satellite cloud image to obtain a left satellite cloud image after brightness compensation and a right satellite cloud image after brightness compensation, and specifically comprises the following steps:
converting the initial left satellite cloud image into an HSV color space to obtain a left HSV satellite cloud image;
converting the initial right satellite cloud image into an HSV color space to obtain a right HSV satellite cloud image;
summing the brightness components of the left HSV satellite cloud image and the right HSV satellite cloud image respectively to obtain a left image brightness value and a right image brightness value;
judging whether the brightness value of the left image is larger than the brightness value of the right image;
if the left image brightness value is larger than the right image brightness value, calculating a first gain coefficient according to the left image brightness value and the right image brightness value; adjusting the brightness component of the left HSV satellite cloud image according to the first gain coefficient, and converting the adjusted left HSV satellite cloud image into an RGB color space to obtain a left satellite cloud image with brightness compensated; the initial right satellite cloud image is a right satellite cloud image after brightness compensation;
if the left image brightness value is smaller than the right image brightness value, calculating a second gain coefficient according to the left image brightness value and the right image brightness value; adjusting the brightness component of the right HSV satellite cloud image according to the second gain coefficient, and converting the adjusted right HSV satellite cloud image into an RGB color space to obtain a right satellite cloud image with brightness compensated; the initial left satellite cloud image is a left satellite cloud image after brightness compensation;
and if the brightness value of the left image is equal to the brightness value of the right image, the initial left satellite cloud image is a left satellite cloud image after brightness compensation, and the initial right satellite cloud image is a right satellite cloud image after brightness compensation.
4. A method for generating a stereoscopic red and blue satellite cloud image according to claim 3, wherein the formula is adopted
Figure FDA0004028449330000021
Calculating a first gain coefficient; using the formula->
Figure FDA0004028449330000022
Calculating a second gain coefficient; wherein K is 1 For the first gain factor, K 2 Is the second gain coefficient, V r For right-hand value of brightness, V l Is the left graph brightness value.
5. A method for generating a stereoscopic red and blue satellite cloud image according to claim 3, wherein formula V is adopted l' =V l ×K 1 Adjusting the brightness component of the left HSV satellite cloud image; using formula V r' =V r ×K 2 Adjusting the brightness component of the right HSV satellite cloud image; wherein V is l' For the brightness component of the adjusted left HSV satellite cloud image, V r' K for brightness component of right HSV satellite cloud image after adjustment 1 For the first gain factor, K 2 Is the second gain coefficient, V r For right-hand value of brightness, V l Is the left graph brightness value.
6. The system for generating the red-blue stereoscopic satellite cloud image is characterized by comprising the following components:
the cloud image acquisition unit is used for acquiring an initial left satellite cloud image and an initial right satellite cloud image of the observation area; the initial left satellite cloud image and the initial right satellite cloud image are two-dimensional satellite cloud images of the observation area, which are acquired by two satellites at different observation angles at the same moment, respectively;
the brightness compensation unit is connected with the cloud image acquisition unit and is used for carrying out brightness compensation on the initial left satellite cloud image and the initial right satellite cloud image to obtain a left satellite cloud image after brightness compensation and a right satellite cloud image after brightness compensation;
the blue-green eliminating unit is connected with the brightness compensation unit and is used for eliminating the blue channel value and the green channel value in the left satellite cloud picture after brightness compensation to obtain a red channel cloud picture;
the red removing unit is connected with the brightness compensating unit and used for removing red channel values in the right satellite cloud image after brightness compensation to obtain a blue-green channel cloud image;
and the cloud image merging unit is respectively connected with the bluish green eliminating unit and the red eliminating unit and is used for merging the red channel cloud image and the bluish green channel cloud image to obtain the bluish red stereoscopic satellite cloud image.
7. The red-blue stereoscopic satellite cloud image generation system of claim 6, wherein said brightness compensation unit comprises:
the first space conversion module is connected with the cloud image acquisition unit and is used for converting the initial left satellite cloud image into an HSV color space to obtain a left HSV satellite cloud image;
the second space conversion module is connected with the cloud image acquisition unit and is used for converting the initial right satellite cloud image into an HSV color space to obtain a right HSV satellite cloud image;
the brightness calculation module is respectively connected with the first space conversion module and the second space conversion module and is used for respectively summing brightness components of the left HSV satellite cloud image and the right HSV satellite cloud image to obtain a left image brightness value and a right image brightness value;
the judging module is connected with the brightness calculating module and is used for judging whether the brightness value of the left image is larger than the brightness value of the right image or not;
the first gain coefficient calculation module is connected with the judgment module and is used for calculating a first gain coefficient according to the left image brightness value and the right image brightness value when the left image brightness value is larger than the right image brightness value;
the left image adjusting module is connected with the first gain coefficient calculating module and is used for adjusting the brightness component of the left HSV satellite cloud image according to the first gain coefficient, converting the adjusted left HSV satellite cloud image into an RGB color space to obtain a left satellite cloud image after brightness compensation, and taking the initial right satellite cloud image as a right satellite cloud image after brightness compensation;
the second gain coefficient calculation module is connected with the judgment module and is used for calculating a second gain coefficient according to the left image brightness value and the right image brightness value when the left image brightness value is smaller than the right image brightness value;
the right image adjusting module is connected with the second gain coefficient calculating module and is used for adjusting the brightness component of the right HSV satellite cloud image according to the second gain coefficient, converting the adjusted right HSV satellite cloud image into an RGB color space to obtain a right satellite cloud image after brightness compensation, and taking the initial left satellite cloud image as a left satellite cloud image after brightness compensation;
and the left and right image determining module is connected with the judging module and is used for taking the initial left satellite cloud image as a left satellite cloud image after brightness compensation and taking the initial right satellite cloud image as a right satellite cloud image after brightness compensation when the brightness value of the left image is equal to the brightness value of the right image.
8. An electronic device comprising a memory for storing a computer program and a processor that runs the computer program to cause the electronic device to perform the method of generating a red-blue stereoscopic satellite cloud according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the erythroblue stereoscopic satellite cloud image generation method according to any one of claims 1 to 5.
CN202211720895.7A 2022-12-30 2022-12-30 Red and blue stereoscopic satellite cloud image generation method, system, electronic equipment and medium Active CN116245753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211720895.7A CN116245753B (en) 2022-12-30 2022-12-30 Red and blue stereoscopic satellite cloud image generation method, system, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211720895.7A CN116245753B (en) 2022-12-30 2022-12-30 Red and blue stereoscopic satellite cloud image generation method, system, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN116245753A true CN116245753A (en) 2023-06-09
CN116245753B CN116245753B (en) 2023-10-03

Family

ID=86626917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211720895.7A Active CN116245753B (en) 2022-12-30 2022-12-30 Red and blue stereoscopic satellite cloud image generation method, system, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN116245753B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103384340A (en) * 2013-06-28 2013-11-06 中南大学 Method for obtaining 3D imaging image from single 2D image
CN105741235A (en) * 2016-02-29 2016-07-06 西北工业大学 Visual rivalry improving method of complementary color three-dimensional image for improving color fidelity
CN110176037A (en) * 2019-05-31 2019-08-27 东北大学 A kind of target range Method of fast estimating driven for outdoor road auxiliary
CN110852953A (en) * 2019-11-15 2020-02-28 展讯通信(上海)有限公司 Image interpolation method and device, storage medium, image signal processor and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103384340A (en) * 2013-06-28 2013-11-06 中南大学 Method for obtaining 3D imaging image from single 2D image
CN105741235A (en) * 2016-02-29 2016-07-06 西北工业大学 Visual rivalry improving method of complementary color three-dimensional image for improving color fidelity
CN110176037A (en) * 2019-05-31 2019-08-27 东北大学 A kind of target range Method of fast estimating driven for outdoor road auxiliary
CN110852953A (en) * 2019-11-15 2020-02-28 展讯通信(上海)有限公司 Image interpolation method and device, storage medium, image signal processor and terminal

Also Published As

Publication number Publication date
CN116245753B (en) 2023-10-03

Similar Documents

Publication Publication Date Title
CN111161356B (en) Infrared and visible light fusion method based on double-layer optimization
Drews et al. Transmission estimation in underwater single images
CN101755236B (en) Method and equipment for producing and displaying stereoscopic images with coloured filters
CN102547063B (en) Natural sense color fusion method based on color contrast enhancement
CN111062905A (en) Infrared and visible light fusion method based on saliency map enhancement
CN112419472B (en) Augmented reality real-time shadow generation method based on virtual shadow map
WO2015163317A1 (en) Video display device, video projection device, dynamic illusion presentation device, video generation device, method thereof, data construct, and program
CN115223004A (en) Method for generating confrontation network image enhancement based on improved multi-scale fusion
CN110120049B (en) Method for jointly estimating scene depth and semantics by single image
JP2011223566A (en) Image converting device and three-dimensional image display device including the same
CN112543317A (en) Method for converting high-resolution monocular 2D video into binocular 3D video
CN113891061B (en) Naked eye 3D display method and display equipment
CN106165398A (en) Imaging apparatus, camera head and image processing apparatus
CA2429176A1 (en) Combined colour 2d/3d imaging
CN105472308A (en) Multi-view naked eye 3D video conference system
CN112561996A (en) Target detection method in autonomous underwater robot recovery docking
CN109712093B (en) Image color restoration method and device based on sea-sky background
CN116245753B (en) Red and blue stereoscopic satellite cloud image generation method, system, electronic equipment and medium
CN113935917A (en) Optical remote sensing image thin cloud removing method based on cloud picture operation and multi-scale generation countermeasure network
CN106971385B (en) A kind of aircraft Situation Awareness multi-source image real time integrating method and its device
USH1914H (en) Method and system for mitigation of image distortion due to optical turbulence
Huang et al. Visual and infrared dual-band false color image fusion method motivated by Land’s experiment
CN114339191B (en) Naked eye three-dimensional display method based on multi-viewpoint reconstruction
CN113989164B (en) Underwater color image restoration method, system and storage medium
CN113014902B (en) 3D-2D synchronous display method and system

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