WO2014008842A1 - Land-based cloud chart aberration correction method for whole sky imager - Google Patents

Land-based cloud chart aberration correction method for whole sky imager Download PDF

Info

Publication number
WO2014008842A1
WO2014008842A1 PCT/CN2013/079004 CN2013079004W WO2014008842A1 WO 2014008842 A1 WO2014008842 A1 WO 2014008842A1 CN 2013079004 W CN2013079004 W CN 2013079004W WO 2014008842 A1 WO2014008842 A1 WO 2014008842A1
Authority
WO
WIPO (PCT)
Prior art keywords
spherical
image
cloud
zenith angle
coordinate system
Prior art date
Application number
PCT/CN2013/079004
Other languages
French (fr)
Chinese (zh)
Inventor
丁宇宇
丁杰
周海
程序
陈颖
崔方
曹潇
王知嘉
于炳霞
谭志萍
周强
陈志宝
Original Assignee
国家电网公司
中国电力科学研究院
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 国家电网公司, 中国电力科学研究院 filed Critical 国家电网公司
Publication of WO2014008842A1 publication Critical patent/WO2014008842A1/en

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B13/00Optical objectives specially designed for the purposes specified below
    • G02B13/06Panoramic objectives; So-called "sky lenses" including panoramic objectives having reflecting surfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image

Definitions

  • the invention belongs to the technical field of photovoltaic power distribution and power transmission, and particularly relates to a method for correcting a ground cloud image distortion of a full sky imager. Background technique
  • ground-based cloud image observation is an atmospheric detection method for observing the local sky through a full-sky imager installed on the ground.
  • the advantage is that it has high spatial and temporal resolution, and can obtain the total cloud amount in the sky, the cloud detail information less than 1km, and the observation frequency of the minute level.
  • Domestic and foreign scholars have carried out certain researches on cloud recognition and radiation prediction based on ground-based cloud maps.
  • Calbo et al. realized the identification of cloud types by extracting the features of the ground-based all-sky cloud map. Chow et al.
  • the key to predicting the direction and speed of cloud movement is to use cloud-based maps for cloud trajectories and radiation prediction.
  • the imaging method of the full-sky imager is convex mirror imaging, and the imaging angle of view, the captured image has certain distortion, which brings difficulties to cloud computing and cloud trajectory prediction.
  • the invention realizes the distortion correction of the ground-based cloud image by performing spherical mirror reflection distortion correction and spherical coordinate to rectangular coordinate transformation on the original ground cloud image, and provides a real and reliable data source for cloud amount calculation, regional solar energy monitoring and prediction. Summary of the invention
  • the present invention provides a method for correcting the distortion of the foundation cloud image of the full sky imager.
  • the required parameters are small, and only a few parameters such as the distance from the full sky imager lens to the spherical mirror and the radius of the spherical mirror are required;
  • the calibration can be completed only by inputting the original ground cloud image data, and the image information is not lost during the conversion process.
  • a method for correcting a ground cloud image distortion of a full sky imager comprising the following steps:
  • Step 1 Establish a transfer function between the spherical distortion zenith angle and the actual zenith angle in the foundation cloud map;
  • Step 2 Convert the ground cloud image into a spherical coordinate system cloud image
  • Step 3 Convert the spherical coordinate system cloud image into a plane rectangular coordinate system actual cloud image.
  • the step 1 includes the following steps:
  • Step 1-1 establishing an imaging distortion model of the full sky imager
  • Step 1-2 Establish a conversion function between the spherical distortion zenith angle and the actual zenith angle in the ground cloud image according to the imaging distortion model.
  • the distance from the lens to the apex of the spherical mirror is calculated as /3 ⁇ 4, the mirror radius of the spherical mirror is R, and the angle between the incident point of the sky to the spherical mirror and the vertical direction at the incident point is ⁇ .
  • the angle of reflection of the reflected light reflected by the spherical mirror to the lens at the center of the lens is A;
  • the center of the mirror surface of the spherical mirror is the coordinate origin 0, the horizontal direction is the c-axis, and the vertical direction
  • the mirror equation is:
  • the simultaneous equations (6) and (3) are the conversion functions between the spherical zenith angle and the actual zenith angle in the ground-based cloud map.
  • the transfer function can obtain the conversion function curve of the spherical distortion zenith angle.
  • the spherical distortion zenith angle of each point in the ground cloud map is corrected by the conversion function to the actual zenith angle of the point, and the azimuth angle is maintained, and the ground-based cloud map to the spherical coordinate system cloud map can be realized. Conversion.
  • the image magnification at the center of the spherical coordinate system is set. Is 1, shown as:
  • the derivative of the distorted zenith angle, ⁇ 2 is the spherical surface
  • the unit zenith angle corresponds to the size of the image in the coordinate system cloud image, and ⁇ is the size of the image corresponding to the unit zenith angle in the image of the full sky imager;
  • Cloud radius spherical coordinate system at the maximum apex angle of the day all-sky imager image corresponding point radius R max is expressed as the ratio:
  • the cloud in the sky is at the same height H, and the thickness of the cloud is negligible, and the zenith angle of any point on the cloud relative to the full sky imager is “ 2 , and the zenith angle at the same height is known to be
  • the distance between zeros is L, and L is expressed as:
  • the image magnification ratio at the center of the actual cloud image is set in the plane rectangular coordinate system. Is 1, . Expressed as:
  • the Cartesian coordinate system is the size of the image corresponding to the unit distance in the actual cloud image, and Pl is the size of the image corresponding to the unit zenith angle in the spherical coordinate system cloud image;
  • L max is the maximum distance of the point in the actual cloud image of the plane rectangular coordinate system from the center of the actual rectangular image of the plane rectangular coordinate system
  • This method requires fewer parameters, only a few of the distance from the full sky imager lens to the spherical mirror and the radius of the spherical mirror.
  • FIG. 1 is a model diagram of an imaging distortion of a full sky imager in an embodiment of the present invention
  • FIG. 2 is a coordinate distortion diagram of a full sky imager in an embodiment of the present invention.
  • 3 is a conversion graph of actual zenith angle and spherical distortion zenith angle in the embodiment of the present invention
  • FIG. 4 is a schematic diagram of actual cloud image transformation from a spherical coordinate system to a plane rectangular coordinate system in an embodiment of the present invention. detailed description
  • Step 1 establishing a transfer function between a spherical distortion zenith angle and an actual zenith angle in the foundation cloud image;
  • Step 2 Convert the ground cloud image into a spherical coordinate system cloud image
  • Step 3 Convert the spherical coordinate system cloud image into a plane rectangular coordinate system actual cloud image.
  • the step 1 includes the following steps:
  • Step 1-1 establishing an imaging distortion model of the full sky imager
  • Step 1-2 Establish a conversion function between the spherical distortion zenith angle and the actual zenith angle in the ground cloud image according to the imaging distortion model.
  • the distance from the lens to the apex of the spherical mirror is calculated as /3 ⁇ 4, the mirror radius of the spherical mirror is R, and the angle between the incident point of the sky to the spherical mirror and the vertical direction at the incident point is ⁇ .
  • the angle of reflection of the reflected light reflected by the spherical mirror to the lens at the center of the lens is A;
  • the center of the mirror surface of the spherical mirror is the coordinate origin 0, the horizontal direction is the c-axis, and the vertical direction
  • the mirror equation is:
  • the spherical distortion zenith angle of each point in the ground cloud map is corrected by the conversion function to the actual zenith angle of the point, and the azimuth angle is maintained, and the ground-based cloud map to the spherical coordinate system cloud map can be realized. Conversion.
  • the step 2 includes the following steps:
  • Step 2-1 Obtain the image of the foundation cloud image taken by the full sky imager and store it in the array Arrayl;
  • Step 2-2 Remove the sky edge and the ground part of the image, and keep the area where the zenith angle of the cloud map is less than or equal to 70°.
  • Step 2-3 Calculate the spherical coordinate image size according to the size of the foundation cloud and equation (9), and define the corresponding size.
  • the array variable Array2 is used as the space for storing the spherical coordinate image;
  • Step 2-4 Calculate the spherical zenith angle and azimuth of each pixel in Array1, obtain the actual zenith angle of the point according to equation (6), and calculate the pixel in the spherical coordinate image by using equation (8).
  • the size of the azimuth remains unchanged during the transformation;
  • Step 2-5 Calculate the coordinates of the pixel in the spherical coordinate image according to the actual zenith angle and azimuth of each pixel, and write the color values of the R, G, and B channels of each pixel into the corresponding coordinates and colors in Array2.
  • a spherical coordinate cloud map is obtained in the channel and the correspondingly sized pixels.
  • the step 3 includes the following steps:
  • Step 3-1 Calculate the actual cloud image size of the Cartesian coordinate system according to the spherical coordinate cloud size and the equation (13), and define an array variable Array3 corresponding to the size as the space for storing the actual cloud image;
  • Step 3-2 For each pixel in Array2, obtain the distance from the point to the center point according to equation (10), calculate the coordinates in the Cartesian coordinate system image, and calculate the pixel in the spherical coordinate image by using equation (12). The size of the azimuth remains unchanged during the transformation;
  • Step3 Write the color values of each channel of R, G, and B of each pixel into the corresponding coordinates, color channels, and corresponding pixel in Array3 to obtain the actual cloud image of the Cartesian coordinate system.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Optics & Photonics (AREA)
  • Image Processing (AREA)

Abstract

The present invention provides a land-based cloud chart aberration correction method for a whole sky imager, and relates to the technical field of photovoltaic power generation and power distribution. The method comprises the following steps: establishing a conversion function between a spherical aberration zenith angle in a land-based cloud chart and an actual zenith angle; converting the land-based cloud chart into a cloud chart of a spherical coordinates system; and converting the cloud chart of a spherical coordinates system into a cloud chart of a rectangular plane coordinate system. In the method, few parameters are required, and only a few of parameters such as a distance between a lens of a whole sky imager and a spherical lens, and a radius of the spherical lens are required; input data is simple, and it is only required to input original land-based cloud chart data for implementing the correction; and image information has no loss during the conversion.

Description

一种全天空成像仪地基云图畸变校正方法  Ground cloud image distortion correction method for full sky imager
技术领域 Technical field
本发明属于光伏发配电技术领域, 具体涉及一种全天空成像仪地基云图畸变校正方法。 背景技术  The invention belongs to the technical field of photovoltaic power distribution and power transmission, and particularly relates to a method for correcting a ground cloud image distortion of a full sky imager. Background technique
近年来, 太阳能科技和应用发展迅猛。 截止到 2010 年, 世界光伏累计装机容量已接近 40GW, 近十年平均年增长 45%, 成为发展速度最快的产业之一。 但由于太阳能发电具有随 机性和间歇性的特点, 大规模太阳能发电的并网将对电网的安全稳定运行带来冲击和挑战。 因此, 对区域太阳能资源进行及时有效的监测和预测成为制约光伏发电并网的关键因素。  In recent years, solar technology and applications have developed rapidly. As of 2010, the cumulative installed capacity of the world's photovoltaics is close to 40GW, with an average annual growth rate of 45% in the past decade, making it one of the fastest growing industries. However, due to the random and intermittent nature of solar power generation, the grid connection of large-scale solar power will bring shocks and challenges to the safe and stable operation of the power grid. Therefore, timely and effective monitoring and prediction of regional solar energy resources has become a key factor restricting the integration of photovoltaic power generation.
目前, 进行地基云量、 云状自动监测的有效手段为地基云图观测。 地基云图观测是通过 安装在地面的全天空成像仪, 对局地天空进行观测的大气探测方式。 其优点为具有高时空分 辨率, 能够获得天空总云量、 小于 lkm的云状细节信息以及分钟级的观测频率。 国内外学者 在基于地基云图的云识别、辐射预测等方面已经开展了一定的研究。 Calbo等通过对地基全天 空云图的特征提取实现了云类型的识别。 Chow等人使用 TSI 440A全天空成像仪对美国 San Diego 地区进行了观测, 并建立了基于地基云图的小时内云预测方法。 国内学者张永宏等采 用小波包分解和形态学方法分别对地基云图进行了边缘提取, 并利用图像融合技术得到最优 边缘图像。 但对地基云图的畸变校正, 以及水平面实际云图的还原, 还未见相关研究成果。  At present, an effective means for automatic monitoring of cloud-based and cloud-like conditions is ground-based cloud image observation. Ground-based cloud image observation is an atmospheric detection method for observing the local sky through a full-sky imager installed on the ground. The advantage is that it has high spatial and temporal resolution, and can obtain the total cloud amount in the sky, the cloud detail information less than 1km, and the observation frequency of the minute level. Domestic and foreign scholars have carried out certain researches on cloud recognition and radiation prediction based on ground-based cloud maps. Calbo et al. realized the identification of cloud types by extracting the features of the ground-based all-sky cloud map. Chow et al. used the TSI 440A full-sky imager to observe the San Diego region of the United States and established an intra-hour cloud prediction method based on ground-based cloud maps. Domestic scholar Zhang Yonghong et al. used wavelet packet decomposition and morphological methods to extract the edge of the foundation cloud image respectively, and used image fusion technology to obtain the optimal edge image. However, the distortion correction of the foundation cloud map and the restoration of the actual cloud map of the horizontal plane have not yet seen relevant research results.
利用地基云图进行云轨迹以及辐射预测, 其关键是预测云的运动方向和速度。 但由于全 天空成像仪的成像方式为凸面镜成像, 以及成像视角等问题, 其所摄图像存在一定的畸变, 这对云量计算、 云轨迹预测都带来了困难。 本项发明通过对原始地基云图实施球面镜反射畸 变校正和球面坐标到直角坐标变换, 实现了地基云图的畸变校正, 为云量计算、 区域太阳能 监测和预测提供了真实可靠的数据来源。 发明内容  The key to predicting the direction and speed of cloud movement is to use cloud-based maps for cloud trajectories and radiation prediction. However, because the imaging method of the full-sky imager is convex mirror imaging, and the imaging angle of view, the captured image has certain distortion, which brings difficulties to cloud computing and cloud trajectory prediction. The invention realizes the distortion correction of the ground-based cloud image by performing spherical mirror reflection distortion correction and spherical coordinate to rectangular coordinate transformation on the original ground cloud image, and provides a real and reliable data source for cloud amount calculation, regional solar energy monitoring and prediction. Summary of the invention
为了克服上述现有技术的不足, 本发明提供一种全天空成像仪地基云图畸变校正方法, 所需参数少, 只需要全天空成像仪镜头到球面镜的距离和球面镜半径等少数参数; 输入数据 简单, 仅需输入原始地基云图数据即可完成校正, 且转换过程中图像信息无损失。  In order to overcome the above deficiencies of the prior art, the present invention provides a method for correcting the distortion of the foundation cloud image of the full sky imager. The required parameters are small, and only a few parameters such as the distance from the full sky imager lens to the spherical mirror and the radius of the spherical mirror are required; The calibration can be completed only by inputting the original ground cloud image data, and the image information is not lost during the conversion process.
为了实现上述发明目的, 本发明采取如下技术方案: 一种全天空成像仪地基云图畸变校正方法, 所述方法包括以下步骤: In order to achieve the above object, the present invention adopts the following technical solutions: A method for correcting a ground cloud image distortion of a full sky imager, the method comprising the following steps:
步骤 1: 建立地基云图中球面畸变天顶角和实际天顶角之间的转换函数;  Step 1: Establish a transfer function between the spherical distortion zenith angle and the actual zenith angle in the foundation cloud map;
步骤 2: 将地基云图转换为球面坐标系云图;  Step 2: Convert the ground cloud image into a spherical coordinate system cloud image;
步骤 3: 将所述球面坐标系云图转换为平面直角坐标系实际云图。  Step 3: Convert the spherical coordinate system cloud image into a plane rectangular coordinate system actual cloud image.
所述步骤 1包括以下步骤:  The step 1 includes the following steps:
步骤 1-1: 建立所述全天空成像仪成像畸变模型;  Step 1-1: establishing an imaging distortion model of the full sky imager;
步骤 1-2:根据所述成像畸变模型建立地基云图中球面畸变天顶角和实际天顶角之间的转 换函数。  Step 1-2: Establish a conversion function between the spherical distortion zenith angle and the actual zenith angle in the ground cloud image according to the imaging distortion model.
所述成像畸变模型中, 镜头到球面镜顶点的距离计为 /¾, 所述球面镜的镜面半径计为 R, 天空某点到球面镜的入射光线在入射点处与竖直方向的夹角计为 α2, 经球面镜反射到所述镜 头的反射光线在所述镜头中心处与竖直方向的夹角计为 A; 以球面镜的镜面中心为坐标原点 0, 以水平方向为 c轴, 以竖直方向为 y轴, 则镜面方 程为: In the imaging distortion model, the distance from the lens to the apex of the spherical mirror is calculated as /3⁄4, the mirror radius of the spherical mirror is R, and the angle between the incident point of the sky to the spherical mirror and the vertical direction at the incident point is α. 2 , the angle of reflection of the reflected light reflected by the spherical mirror to the lens at the center of the lens is A; the center of the mirror surface of the spherical mirror is the coordinate origin 0, the horizontal direction is the c-axis, and the vertical direction For the y-axis, the mirror equation is:
x2 + y2 =R2 (1) 从反射光线的光线方程为: x 2 + y 2 =R 2 (1) The equation of light from the reflected light is:
+ = -c tan αχ ·χ (2) 由方程 (1) 和方程 (2) 可得入射点( c。,}^的横向坐标和纵向坐标分别为: (3)
Figure imgf000004_0001
+ = -c tan α χ ·χ (2) From the equations (1) and (2), the transverse and longitudinal coordinates of the incident point (c.,}^ are: (3)
Figure imgf000004_0001
设入射点( c。,y。)到镜面中心的连线在镜面中心处与竖直方向的夹角为 α3, a3表示为: Let the angle between the incident point (c., y.) to the center of the mirror at the center of the mirror and the vertical direction be α 3 , a 3 is expressed as:
= arcsin— (5) = arcsin— (5)
R  R
可得 与 之间的关系为: 2 = 2 · 3 + : = 2 · arcsin— - \- αλ (6) The relationship between available and obtained is: 2 = 2 · 3 + : = 2 · arcsin_ - \- α λ (6)
R  R
联立方程 (6) 和方程 (3) 即为地基云图中球面畸变天顶角和实际天顶角之间的转换函 由转换函数可得球面畸变天顶角的转换函数曲线。 所述步骤 2中, 通过转换函数将所述地基云图中每点的球面畸变天顶角校正为该点的实 际天顶角, 且维持方位角不变, 即可实现地基云图到球面坐标系云图的转换。 The simultaneous equations (6) and (3) are the conversion functions between the spherical zenith angle and the actual zenith angle in the ground-based cloud map. The transfer function can obtain the conversion function curve of the spherical distortion zenith angle. In the step 2, the spherical distortion zenith angle of each point in the ground cloud map is corrected by the conversion function to the actual zenith angle of the point, and the azimuth angle is maintained, and the ground-based cloud map to the spherical coordinate system cloud map can be realized. Conversion.
所述步骤 2中, 设球面坐标系云图中心处的图像放大率 。为 1, 示为:  In the step 2, the image magnification at the center of the spherical coordinate system is set. Is 1, shown as:
畸变天顶角的导数, ρ2为球面
Figure imgf000005_0001
The derivative of the distorted zenith angle, ρ 2 is the spherical surface
Figure imgf000005_0001
坐标系云图中单位天顶角对应图像的大小, Α为全天空成像仪图像中单位天顶角对应图像的 大小; The unit zenith angle corresponds to the size of the image in the coordinate system cloud image, and Α is the size of the image corresponding to the unit zenith angle in the image of the full sky imager;
通过方程 (7 ) 得球面坐标系云图中任一 M, M表示为:
Figure imgf000005_0005
为球面坐标系云图
Figure imgf000005_0002
By equation (7), any M, M in the spherical coordinate system cloud image is expressed as:
Figure imgf000005_0005
Cloud coordinate system
Figure imgf000005_0002
中心处球面畸变天顶角对实际天顶角的导数; The derivative of the zenith angle of the spherical distortion at the center to the actual zenith angle;
球面坐标系云图中最大天顶角处的半径与全天空成像仪图像中对应点半径的比值 Rmax表 示为:
Figure imgf000005_0003
Cloud radius spherical coordinate system at the maximum apex angle of the day all-sky imager image corresponding point radius R max is expressed as the ratio:
Figure imgf000005_0003
^lmax Pi aima.> 0 其中, A皿为最大实际天顶角, 为最大球面畸变天顶角。 ^lmax Pi a ima.> 0 where A is the maximum actual zenith angle and is the maximum spherical distortion zenith angle.
所述步骤 3中: 设天空中的云处于同一高度 H, 且云的厚度可以忽略, 云上任一点相对 于全天空成像仪的天顶角为《2,可知该点到相同高度上天顶角为零处的距离为 L, L表示为: In the step 3: the cloud in the sky is at the same height H, and the thickness of the cloud is negligible, and the zenith angle of any point on the cloud relative to the full sky imager is “ 2 , and the zenith angle at the same height is known to be The distance between zeros is L, and L is expressed as:
L = H tan a2 ( 10) 艮卩: 球面坐标系云图中任一点在平面直角坐标系下距相同高度上天顶角为零处的距离 L 通过该点的天顶角乘以该点距地面的高度得到。 L = H tan a 2 ( 10) 艮卩: The distance from any point in the spherical coordinate system to the zero point at the same height in the plane rectangular coordinate system. Multiply the zenith angle of the point by the point from the ground. The height is obtained.
所述步骤 3中, 设平面直角坐标系实际云图中心处的图像放大率 ,。为 1, ,。表示为:  In the step 3, the image magnification ratio at the center of the actual cloud image is set in the plane rectangular coordinate system. Is 1, . Expressed as:
M, Λ ( 11 )M, Λ ( 11 )
Figure imgf000005_0004
AL
Figure imgf000005_0004
AL
为平面直角坐标系实际云图中心处 L对实际天顶角的导数, p2 为平面Is the derivative of L to the actual zenith angle at the center of the actual cloud image in the plane rectangular coordinate system, p 2 is the plane
ΔΩ2人 2= ΔΩ 2 people 2= .
直角坐标系实际云图中单位距离对应图像的大小, Pl为球面坐标系云图中单位天顶角对应图 像的大小; The Cartesian coordinate system is the size of the image corresponding to the unit distance in the actual cloud image, and Pl is the size of the image corresponding to the unit zenith angle in the spherical coordinate system cloud image;
得平面直角坐标系实际云图任一点的图像放大率 Μ , 表示为:  The image magnification of any point in the actual rectangular image of the plane rectangular coordinate system is expressed as:
( 12)(12)
Figure imgf000006_0001
AL 其中, ϋ为该点处 L对实际天顶角的导数, 为平面直角坐标系实际云图中心处 Aa2 AL J0 实际天顶角对 L的导数;
Figure imgf000006_0001
Wherein AL, at the point L ϋ that the derivative of the actual zenith angle, plane rectangular coordinate system is at the center of the actual cloud Aa 2 AL J 0 zenith angle of the actual derivative L;
平面直角坐标系实际云图中最大半径与球面坐标系云图中对应点半径的比值 R max表示 为: The ratio R max of the maximum radius in the actual rectangular image of the plane rectangular coordinate system to the corresponding point radius in the spherical coordinate system cloud diagram is expressed as:
R _ Lmax P2L _ Lmax ) R _ L max P 2L _ L max )
Lmax ( 13)  Lmax ( 13)
fl2max ^2 fl2max V J。 其中, Lmax为平面直角坐标系实际云图中该点距平面直角坐标系实际云图中心处的最大 距离 ( f l 2max ^2 fl 2max VJ. Where L max is the maximum distance of the point in the actual cloud image of the plane rectangular coordinate system from the center of the actual rectangular image of the plane rectangular coordinate system (
与现有技术相比, 本发明的有益效果在于:  Compared with the prior art, the beneficial effects of the invention are:
1 ) 本方法所需参数少, 只需要全天空成像仪镜头到球面镜的距离和球面镜半径等少数  1) This method requires fewer parameters, only a few of the distance from the full sky imager lens to the spherical mirror and the radius of the spherical mirror.
2) 输入数据简单, 仅需输入原始地基云图数据即可完成校正, 校正精度高; 2) The input data is simple, only the original ground cloud image data needs to be input to complete the calibration, and the correction precision is high;
3) 转换过程中图像信息无损失;  3) There is no loss of image information during the conversion process;
4) 该方法简单可靠, 易执行。 附图说明  4) The method is simple, reliable and easy to implement. DRAWINGS
图 1 是本发明实施例中全天空成像仪成像畸变模型图;  1 is a model diagram of an imaging distortion of a full sky imager in an embodiment of the present invention;
图 2 是本发明实施例中全天空成像仪成像畸变坐标图;  2 is a coordinate distortion diagram of a full sky imager in an embodiment of the present invention;
图 3 是本发明实施例中实际天顶角和球面畸变天顶角的换算曲线图;  3 is a conversion graph of actual zenith angle and spherical distortion zenith angle in the embodiment of the present invention;
图 4 是本发明实施例中球面坐标系云图到平面直角坐标系实际云图变换示意图。 具体实施方式 4 is a schematic diagram of actual cloud image transformation from a spherical coordinate system to a plane rectangular coordinate system in an embodiment of the present invention. detailed description
下面结合附图对本发明作进一步详细说明。  The invention will be further described in detail below with reference to the accompanying drawings.
如图 1-图 4, 一种全天空成像仪地基云图畸变校正方法, 所述方法包括以下步骤: 步骤 1: 建立地基云图中球面畸变天顶角和实际天顶角之间的转换函数;  1 to 4, a method for correcting a ground cloud image distortion of a full sky imager, the method comprising the following steps: Step 1: establishing a transfer function between a spherical distortion zenith angle and an actual zenith angle in the foundation cloud image;
步骤 2: 将地基云图转换为球面坐标系云图;  Step 2: Convert the ground cloud image into a spherical coordinate system cloud image;
步骤 3: 将所述球面坐标系云图转换为平面直角坐标系实际云图。  Step 3: Convert the spherical coordinate system cloud image into a plane rectangular coordinate system actual cloud image.
所述步骤 1包括以下步骤:  The step 1 includes the following steps:
步骤 1-1: 建立所述全天空成像仪成像畸变模型;  Step 1-1: establishing an imaging distortion model of the full sky imager;
步骤 1-2:根据所述成像畸变模型建立地基云图中球面畸变天顶角和实际天顶角之间的转 换函数。  Step 1-2: Establish a conversion function between the spherical distortion zenith angle and the actual zenith angle in the ground cloud image according to the imaging distortion model.
所述成像畸变模型中, 镜头到球面镜顶点的距离计为 /¾, 所述球面镜的镜面半径计为 R, 天空某点到球面镜的入射光线在入射点处与竖直方向的夹角计为 α2, 经球面镜反射到所述镜 头的反射光线在所述镜头中心处与竖直方向的夹角计为 A; 以球面镜的镜面中心为坐标原点 0, 以水平方向为 c轴, 以竖直方向为 y轴, 则镜面方 程为: In the imaging distortion model, the distance from the lens to the apex of the spherical mirror is calculated as /3⁄4, the mirror radius of the spherical mirror is R, and the angle between the incident point of the sky to the spherical mirror and the vertical direction at the incident point is α. 2 , the angle of reflection of the reflected light reflected by the spherical mirror to the lens at the center of the lens is A; the center of the mirror surface of the spherical mirror is the coordinate origin 0, the horizontal direction is the c-axis, and the vertical direction For the y-axis, the mirror equation is:
x2 + y2 =R2 (1) 从反射光线的光线方程为: x 2 + y 2 =R 2 (1) The equation of light from the reflected light is:
+ = -c tan αχ ·χ (2) 由方程 (1) 和方程 (2) 可得入射点( c。,}^的横向坐标和纵向坐标分别为: (3)
Figure imgf000007_0001
+ = -c tan α χ ·χ (2) From the equations (1) and (2), the transverse and longitudinal coordinates of the incident point (c.,}^ are: (3)
Figure imgf000007_0001
设入射点( c。,y。)到镜面中心的连线在镜面中心处与竖直方向的夹角为 a3, 表示为: Let the angle of the incident point (c., y.) to the center of the mirror at the center of the mirror and the vertical direction be a 3 , expressed as:
= arcsin— (5) = arcsin— (5)
R  R
可得 与^之间的关系为:  The relationship between available and ^ is:
2 · 3 + : = 2· arcsin— + : (6) 2 · 3 + : = 2· arcsin— + : (6)
R 联立方程 (6) 和方程 (3 ) 即为地基云图中球面畸变天顶角和实际天顶角之间的转换函 数; 由转换函数可得球面畸变天顶角的转换函数曲线。 R The simultaneous equations (6) and (3) are the transfer functions between the spherical zenith angle and the actual zenith angle in the foundation cloud map; the transfer function curve of the spherical distortion zenith angle can be obtained from the transfer function.
所述步骤 2中, 通过转换函数将所述地基云图中每点的球面畸变天顶角校正为该点的实 际天顶角, 且维持方位角不变, 即可实现地基云图到球面坐标系云图的转换。  In the step 2, the spherical distortion zenith angle of each point in the ground cloud map is corrected by the conversion function to the actual zenith angle of the point, and the azimuth angle is maintained, and the ground-based cloud map to the spherical coordinate system cloud map can be realized. Conversion.
所述步骤 2包括以下步骤:  The step 2 includes the following steps:
步骤 2-1 : 获取全天空成像仪拍摄的地基云图图像, 存入数组 Arrayl中;  Step 2-1: Obtain the image of the foundation cloud image taken by the full sky imager and store it in the array Arrayl;
步骤 2-2: 去除图像中天空边缘和地面部分, 保留云图中央天顶角小于等于 70° 的区域; 步骤 2-3: 根据地基云图大小和方程 (9) 计算球面坐标图像大小, 定义对应大小的数组 变量 Array2作为储存球面坐标图像的空间;  Step 2-2: Remove the sky edge and the ground part of the image, and keep the area where the zenith angle of the cloud map is less than or equal to 70°. Step 2-3: Calculate the spherical coordinate image size according to the size of the foundation cloud and equation (9), and define the corresponding size. The array variable Array2 is used as the space for storing the spherical coordinate image;
步骤 2-4: 对 Arrayl中每一像素, 计算其球面畸变天顶角和方位角, 根据方程(6)得到 该点实际天顶角, 并利用方程(8)计算该像素在球面坐标图像中的大小; 方位角在变换中保 持不变;  Step 2-4: Calculate the spherical zenith angle and azimuth of each pixel in Array1, obtain the actual zenith angle of the point according to equation (6), and calculate the pixel in the spherical coordinate image by using equation (8). The size of the azimuth remains unchanged during the transformation;
步骤 2-5: 根据每一像素的实际天顶角和方位角, 计算像素在球面坐标图像中的坐标, 将 每一像素的 R、 G、 B各通道颜色值写入 Array2中对应坐标、 颜色通道以及对应大小的象元 内, 得到球面坐标云图。  Step 2-5: Calculate the coordinates of the pixel in the spherical coordinate image according to the actual zenith angle and azimuth of each pixel, and write the color values of the R, G, and B channels of each pixel into the corresponding coordinates and colors in Array2. A spherical coordinate cloud map is obtained in the channel and the correspondingly sized pixels.
所述步骤 3包括以下步骤:  The step 3 includes the following steps:
步骤 3-1 : 根据球面坐标云图大小和方程(13)计算直角坐标系实际云图大小, 定义对应 大小的数组变量 Array3作为储存实际云图图像的空间;  Step 3-1: Calculate the actual cloud image size of the Cartesian coordinate system according to the spherical coordinate cloud size and the equation (13), and define an array variable Array3 corresponding to the size as the space for storing the actual cloud image;
步骤 3-2: 对 Array2中每一像素, 根据方程 (10) 得到该点到中心点距离, 计算其在直 角坐标系图像中的坐标, 并利用方程 (12) 计算该像素在球面坐标图像中的大小; 方位角在 变换中保持不变;  Step 3-2: For each pixel in Array2, obtain the distance from the point to the center point according to equation (10), calculate the coordinates in the Cartesian coordinate system image, and calculate the pixel in the spherical coordinate image by using equation (12). The size of the azimuth remains unchanged during the transformation;
Step3: 将每一像素的 R、 G、 B各通道颜色值写入 Array3中对应坐标、 颜色通道以及对 应大小的象元内, 得到直角坐标系实际云图图像。  Step3: Write the color values of each channel of R, G, and B of each pixel into the corresponding coordinates, color channels, and corresponding pixel in Array3 to obtain the actual cloud image of the Cartesian coordinate system.
最后应当说明的是: 以上实施例仅用以说明本发明的技术方案而非对其限制, 尽管参照 上述实施例对本发明进行了详细的说明, 所属领域的普通技术人员应当理解: 依然可以对本 发明的具体实施方式进行修改或者等同替换, 而未脱离本发明精神和范围的任何修改或者等 同替换, 其均应涵盖在本发明的权利要求范围当中。  It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limited thereto. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the present invention can still be The invention is to be construed as being limited to the scope of the appended claims.

Claims

权 利 要 求 Rights request
1. 一种全天空成像仪地基云图畸变校正方法, 其特征在于: 所述方法包括以下步骤: A method for correcting a ground cloud image distortion of an all-sky imager, characterized in that: the method comprises the following steps:
步骤 1: 建立地基云图中球面畸变天顶角和实际天顶角之间的转换函数;  Step 1: Establish a transfer function between the spherical distortion zenith angle and the actual zenith angle in the foundation cloud map;
步骤 2: 将地基云图转换为球面坐标系云图;  Step 2: Convert the ground cloud image into a spherical coordinate system cloud image;
步骤 3: 将所述球面坐标系云图转换为平面直角坐标系实际云图。  Step 3: Convert the spherical coordinate system cloud image into a plane rectangular coordinate system actual cloud image.
2. 根据权利要求 1 所述的全天空成像仪地基云图畸变校正方法, 其特征在于: 所述步骤 1 包括以下步骤:  2. The method for correcting the ground cloud image distortion of the full sky imager according to claim 1, wherein the step 1 comprises the following steps:
步骤 1-1: 建立所述全天空成像仪成像畸变模型;  Step 1-1: establishing an imaging distortion model of the full sky imager;
步骤 1-2:根据所述成像畸变模型建立地基云图中球面畸变天顶角和实际天顶角之间的转 换函数。  Step 1-2: Establish a conversion function between the spherical distortion zenith angle and the actual zenith angle in the ground cloud image according to the imaging distortion model.
3. 根据权利要求 2所述的全天空成像仪地基云图畸变校正方法, 其特征在于: 所述成像畸 变模型中, 镜头到球面镜顶点的距离计为 /¾, 所述球面镜的镜面半径计为 R, 天空某点到球 面镜的入射光线在入射点处与竖直方向的夹角计为 α2, 经球面镜反射到所述镜头的反射光线 在所述镜头中心处与竖直方向的夹角计为 A; 以球面镜的镜面中心为坐标原点 0, 以水平方向为 c轴, 以竖直方向为 y轴, 则镜面方 程为: 3. The method for correcting a ground cloud image distortion of an all-sky imager according to claim 2, wherein: in the imaging distortion model, a distance from a lens to a vertex of the spherical mirror is /3⁄4, and a mirror radius of the spherical mirror is R. The angle between the incident light of the sky point to the spherical mirror and the vertical direction at the incident point is α 2 , and the angle of the reflected light reflected by the spherical mirror to the lens at the center of the lens is A; taking the mirror center of the spherical mirror as the coordinate origin 0, the horizontal direction as the c axis, and the vertical direction as the y axis, then the mirror equation is:
x2 + y2 =R2 (1) 从反射光线的光线方程为: x 2 + y 2 =R 2 (1) The equation of light from the reflected light is:
_ -( ¾ + = -c tan αχ ·χ (2) 由方程 (1) 和方程 (2) 可得入射点( ,}^的横向坐标和纵向坐标分别为: (3)
Figure imgf000009_0001
_ -( 3⁄4 + = -c tan α χ ·χ (2) From the equations (1) and (2), the transverse and longitudinal coordinates of the incident point ( , }^ are: (3)
Figure imgf000009_0001
设入射点( c。,y。)到镜面中心的连线在镜面中心处与竖直方向的夹角为 α3, a3表示为: Let the angle between the incident point (c., y.) to the center of the mirror at the center of the mirror and the vertical direction be α 3 , a 3 is expressed as:
= arcsin— (5) = arcsin— (5)
R  R
可得 与^之间的关系为: α2 = 2 · α3 + = 2 · arc sin + ( 6 ) 联立方程 (6 ) 和方程 (3 ) 即为地基云图中球面畸变天顶角和实际天顶角之间的转换函 数; 由转换函数可得球面畸变天顶角的转换函数曲线。 The relationship between available and ^ is: α 2 = 2 · α 3 + = 2 · arc sin + ( 6 ) The simultaneous equations (6) and (3) are the transfer functions between the spherical zenith angle and the actual zenith angle in the foundation cloud map; The conversion function can obtain the conversion function curve of the spherical distortion zenith angle.
4. 根据权利要求 1 所述的全天空成像仪地基云图畸变校正方法, 其特征在于: 所述步骤 2 中, 通过转换函数将所述地基云图中每点的球面畸变天顶角校正为该点的实际天顶角, 且维 持方位角不变, 即可实现地基云图到球面坐标系云图的转换。  The method for correcting the ground cloud image distortion of the full sky imager according to claim 1, wherein: in the step 2, the spherical distortion zenith angle of each point in the ground cloud image is corrected to the point by a conversion function. The actual zenith angle, and maintain the azimuth unchanged, can realize the conversion of the foundation cloud map to the spherical coordinate system cloud map.
5. 根据权利要求 4所述的全天空成像仪地基云图畸变校正方法, 其特征在于: 所述步骤 2 中, 设球面坐标系云图中心处的图像放大率 M。为 1 M。表示为:  The method for correcting the ground cloud image distortion of the full sky imager according to claim 4, wherein in the step 2, the image magnification M at the center of the spherical coordinate system is set. It is 1 M. Expressed as:
畸变天顶角的导数, ρ2为球面
Figure imgf000010_0001
The derivative of the distorted zenith angle, ρ 2 is the spherical surface
Figure imgf000010_0001
坐标系云图中单位天顶角对应图像的大小, Α为全天空成像仪图像中单位天顶角对应图像的 大小; The unit zenith angle corresponds to the size of the image in the coordinate system cloud image, and Α is the size of the image corresponding to the unit zenith angle in the image of the full sky imager;
通过方程 (7 ) 得球面坐标系云图中任一 M M表示为:
Figure imgf000010_0004
为球面坐标系云图
Figure imgf000010_0002
Any MM in the spherical coordinate system cloud diagram obtained by equation (7) is expressed as:
Figure imgf000010_0004
Cloud coordinate system
Figure imgf000010_0002
中心处球面畸变天顶角对实际天顶角的导数; The derivative of the zenith angle of the spherical distortion at the center to the actual zenith angle;
球面坐标系云图中最大天顶角处的半径与全天空成像仪图像中对应点半径的比值 Rmax表 示为:
Figure imgf000010_0003
Spherical coordinate system cloud radius and the maximum apex angle at day all-sky imager image corresponding point radius R max is expressed as the ratio:
Figure imgf000010_0003
^lmax Pi aima.} 0 其中, 《2 为最大实际天顶角, 为最大球面畸变天顶角。 ^lmax Pi a ima.} 0 where " 2 is the maximum actual zenith angle, which is the maximum spherical distortion zenith angle.
根据权利要求 1 所述的全天空成像仪地基云图畸变校正方法, 其特征在于: 所述步骤 3 设天空中的云处于同一高度 H, 且云的厚度可以忽略, 云上任一点相对于全天空成像仪 的天顶角为《,, 可知该点到相同高度上天顶角为零处的距离为 L, 表示为: The method for correcting the ground cloud image distortion of the full sky imager according to claim 1, wherein: the step 3 is that the clouds in the sky are at the same height H, and the thickness of the cloud is negligible, and any point on the cloud is imaged relative to the whole sky. Instrument The zenith angle is "," and it can be seen that the distance from the point to the same height at the zenith angle is L, which is expressed as:
L = H tan a2 ( 10) 艮卩: 球面坐标系云图中任一点在平面直角坐标系下距相同高度上天顶角为零处的距离 L 通过该点的天顶角乘以该点距地面的高度得到。 L = H tan a 2 ( 10) 艮卩: The distance from any point in the spherical coordinate system to the zero point at the same height in the plane rectangular coordinate system. Multiply the zenith angle of the point by the point from the ground. The height is obtained.
7. 根据权利要求 6所述的全天空成像仪地基云图畸变校正方法, 其特征在于: 所述步骤 3 中, 设平面直角坐标系实际云图中心处的图像放大率 ,。为 1, ,。表示为:  The method for correcting the ground cloud image distortion of the full sky imager according to claim 6, wherein: in the step 3, the image magnification ratio at the center of the actual cloud image is set in the plane rectangular coordinate system. Is 1, . Expressed as:
际天顶角的导数, ρ为平面
Figure imgf000011_0001
The derivative of the zenith angle, ρ is the plane
Figure imgf000011_0001
直角坐标系实际云图中单位距离对应图像的大小, Pl为球面坐标系云图中单位天顶角对应图 像的大小; The Cartesian coordinate system is the size of the image corresponding to the unit distance in the actual cloud image, and Pl is the size of the image corresponding to the unit zenith angle in the spherical coordinate system cloud image;
得平面直角坐标系实际云图任一点的图像放大率 Μ££表示为: 其中,The image magnification of any point in the actual rectangular image of the plane rectangular coordinate system Μ £ , £ is expressed as: among them,
Figure imgf000011_0002
Figure imgf000011_0002
实际天顶角对 L的导数; 平面直角坐标系实际云图中最大半径与球面坐标系云图中对应点半径的比值 R max表示 为: The derivative of the actual zenith angle to L; the ratio R max of the maximum radius in the actual cloud image of the plane rectangular coordinate system to the corresponding point radius in the spherical coordinate system cloud diagram is expressed as:
R, ( 13) R, ( 13)
J) 其中, Lmax为平面直角坐标系实际云图中该点距平面直角坐标系实际云图中心处的最大 距离。 J ) where L max is the maximum distance of the point from the center of the actual cloud image of the plane rectangular coordinate system in the actual rectangular image of the plane rectangular coordinate system.
PCT/CN2013/079004 2012-07-09 2013-07-08 Land-based cloud chart aberration correction method for whole sky imager WO2014008842A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210236335.4 2012-07-09
CN201210236335.4A CN103544679B (en) 2012-07-09 2012-07-09 A kind of total sky imager ground cloud atlas distortion correction method

Publications (1)

Publication Number Publication Date
WO2014008842A1 true WO2014008842A1 (en) 2014-01-16

Family

ID=49915406

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079004 WO2014008842A1 (en) 2012-07-09 2013-07-08 Land-based cloud chart aberration correction method for whole sky imager

Country Status (2)

Country Link
CN (1) CN103544679B (en)
WO (1) WO2014008842A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3026496B1 (en) * 2014-09-26 2016-12-02 Reuniwatt DETECTION ASSEMBLY AND METHOD FOR CLOUD IDENTIFICATION AND TRACKING IN AN AREA OF OBSERVED SKY
CN110222783B (en) * 2019-06-13 2023-04-07 南京信息工程大学 Foundation and satellite-borne radar precipitation data fusion method based on wavelet domain regularization
CN110426047B (en) * 2019-08-30 2021-05-04 合肥工业大学 Atmospheric polarization mode establishing and distortion degree analyzing method based on imaging theory
CN112799144B (en) * 2020-12-30 2024-01-16 中国极地研究中心 Geometric calibration method of all-sky imager based on gradient descent method
CN112669236B (en) * 2020-12-31 2022-11-01 天津大学 Distortion correction method based on foundation cloud picture
CN116385622B (en) * 2023-05-26 2023-09-12 腾讯科技(深圳)有限公司 Cloud image processing method, cloud image processing device, computer and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040169770A1 (en) * 2003-02-28 2004-09-02 Widener Kevin B. All sky imager
US20090167886A1 (en) * 2007-12-26 2009-07-02 Dai Nippon Printing Co., Ltd. Image converter and image converting method
US20110069160A1 (en) * 2009-09-24 2011-03-24 Alex Ning Imaging system and device
US20120169864A1 (en) * 2010-12-29 2012-07-05 Leica Microsystems Cms Gmbh Method for Correcting Image Distortions in a Confocal Scanning Microscope

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010250253A (en) * 2009-03-23 2010-11-04 Olympus Corp Optical system
JP5561963B2 (en) * 2009-06-30 2014-07-30 株式会社日建設計 Direct light presence / absence determination device, electric blind control device, direct light presence / absence determination method, and electric blind control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040169770A1 (en) * 2003-02-28 2004-09-02 Widener Kevin B. All sky imager
US20090167886A1 (en) * 2007-12-26 2009-07-02 Dai Nippon Printing Co., Ltd. Image converter and image converting method
US20110069160A1 (en) * 2009-09-24 2011-03-24 Alex Ning Imaging system and device
US20120169864A1 (en) * 2010-12-29 2012-07-05 Leica Microsystems Cms Gmbh Method for Correcting Image Distortions in a Confocal Scanning Microscope

Also Published As

Publication number Publication date
CN103544679A (en) 2014-01-29
CN103544679B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
WO2014008842A1 (en) Land-based cloud chart aberration correction method for whole sky imager
CN106204544B (en) It is a kind of to automatically extract the method and system of mark point position and profile in image
CN105739091B (en) A kind of imaging method and device weakening atmospheric turbulance influence
CN108492333B (en) Spacecraft attitude estimation method based on satellite-rocket docking ring image information
CN104616325B (en) A kind of large surfaces Light stripes center extraction method of quick high accuracy
CN107358631A (en) A kind of binocular vision method for reconstructing for taking into account three-dimensional distortion
CN104537616A (en) Correction method for fisheye image distortion
CN109115184B (en) Collaborative measurement method and system based on non-cooperative target
CN102663385B (en) Detection method for spot target on satellite
CN108416812A (en) A kind of scaling method of single camera mirror image binocular vision system
CN104318583B (en) Visible light broadband spectrum image registration method
CN105825470A (en) Fisheye image correction method base on point cloud image
CN103592756A (en) Aperture-sharing light beam two-dimensional positioning tracking method and device
CN111536981A (en) Embedded binocular non-cooperative target relative pose measuring method
CN103901615A (en) Foveated imaging optical system
CN108761453A (en) A kind of imaged viewing angle optimization method of optical satellite and SAR Satellite Images Fusions
CN109542145A (en) A kind of light path automatically collimating method of device of high power laser
CN108981721B (en) Method for determining target angle of static infrared earth sensor for attitude determination of micro-nano satellite
CN116109540B (en) Image registration fusion method and system based on particle swarm optimization gray curve matching
CN106169178B (en) A method of improving camera lens vignetting
CN105783861A (en) Cloud cluster height measuring method based on dual foundation cloud atlas
CN203365800U (en) Non-planar image plane optical system
CN112037274A (en) Multi-rotor unmanned aerial vehicle viewpoint determining method based on solar illumination condition
CN104091308B (en) Polar line correction method for reducing image distortion
Li et al. A fast correction algorithm for inverse longitude and latitude mapping of fish eye image

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13816746

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13816746

Country of ref document: EP

Kind code of ref document: A1