[go: up one dir, main page]

CN112906657A - Novel method for quickly and efficiently detecting contour lines of meteorological facsimile diagram - Google Patents

Novel method for quickly and efficiently detecting contour lines of meteorological facsimile diagram Download PDF

Info

Publication number
CN112906657A
CN112906657A CN202110340235.5A CN202110340235A CN112906657A CN 112906657 A CN112906657 A CN 112906657A CN 202110340235 A CN202110340235 A CN 202110340235A CN 112906657 A CN112906657 A CN 112906657A
Authority
CN
China
Prior art keywords
image
generator
discriminator
weather
real
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.)
Pending
Application number
CN202110340235.5A
Other languages
Chinese (zh)
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.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
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 Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN202110340235.5A priority Critical patent/CN112906657A/en
Publication of CN112906657A publication Critical patent/CN112906657A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • G06F18/2132Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods based on discrimination criteria, e.g. discriminant analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Facsimiles In General (AREA)
  • Image Processing (AREA)

Abstract

本发明提供了一种具有可行性和有效性的快速高效的气象传真图等值线检测的新方法。生成只包含等值线的气象传真图,可以用于气象图信息填充研究;该方法以条件生成对抗网络pix2pix为基础,网络结构由生成器与判别器组成,损失函数由cGAN损失函数和L1损失函数组成,将未经处理的气象传真图原图转换为可应用于气象研究的等值线图。

Figure 202110340235

The present invention provides a new method for fast and efficient detection of contour lines of meteorological facsimile map, which is feasible and effective. Generate a weather facsimile map containing only contour lines, which can be used for weather map information filling research; the method is based on the conditional generative adversarial network pix2pix, the network structure consists of a generator and a discriminator, and the loss function consists of cGAN loss function and L1 loss It is composed of a function that converts the original raw weather facsimile map into a contour map that can be applied to meteorological research.

Figure 202110340235

Description

Novel method for quickly and efficiently detecting contour lines of meteorological facsimile diagram
Technical Field
The invention belongs to the technical field of meteorological facsimile image data processing, and particularly relates to a method for detecting a contour line of a countermeasure network generated based on deep learning.
Background
The weather facsimile picture is a weather picture which is usually used for visually presenting weather information, and is essentially a weather image and a file which are transmitted and received by a special facsimile machine and are used in the field of ship navigation. The method is mainly applied to the navigation field, and the weather facsimile graph can provide various weather data at the same time in a certain area. For scientific researchers, the research such as meteorological prediction, ocean motion mathematical modeling and terrain evolution can be carried out by using the meteorological parameters and numerical values of the reaction. The method has the advantages that sea surface weather can be detected in real time for navigation personnel, and the moving track of sea surface weather disasters can be displayed or predicted, so that risks caused by severe weather are avoided, and safe and effective navigation is carried out. In addition, in military application, the sea surface humidity and the storm are large, so that the high-precision military detection equipment is greatly interfered, and in addition, the military equipment is mostly monitored from high altitude, so the interference of cloud layers is also very important. From the last century to the present, no matter civil, military or academic research, the meteorological facsimile graph is more and more emphasized, and meanwhile, the requirements on the data extraction speed and accuracy of the meteorological facsimile graph are higher and higher. The contour lines represent various planes with the same parameters in the meteorological facsimile diagram, such as a climbing surface, an isothermal surface and an isobaric surface, and the extraction of the contour lines has great significance for the numerical processing.
There are many types of weather facsimile diagrams, and weather facsimile diagrams suitable for marine use include: ground maps (AS, FS), altitude maps (AU, FU), satellite clouds (VS, IR), sea wave maps (AW, FW), sea current maps (SO, FO), sea temperature maps (CO, FO), ice state maps (ST, FI) and tropical cyclone alarm maps (WT). The used weather fax diagrams can be divided into two analysis diagrams (A) and a forecast diagram (F) according to the code, wherein the analysis diagrams are divided into a ground Analysis (AS), a high altitude Analysis (AU) and a sea wave Analysis (AW), and the forecast diagram comprises a ground forecast diagram (FS), a high altitude forecast diagram (FU), an important weather Forecast (FB), a medium term Forecast (FE) and a sea wave Forecast (FW).
During the period, a plurality of people carry out intensive research on the meteorological fax, wherein the more effective methods comprise intersection point detection in the fax based on multi-region feature point pairing, an equipotential vorticity line identification method based on vector product, a traversal algorithm for extracting contour lines from an elevation grid and an algorithm for searching and searching for contour line starting points by interval tree search, and the algorithms comprise a part of work for researching contour line extraction and a complete contour line extraction method. In the years, the deep learning technology is rapidly developed, and both the calculation power, the network structure and the optimization method are improved in response, but the deep learning technology is not applied to the field in the image with high complexity and huge information quantity based on the weather facsimile image, and a plurality of different versions are derived in the years for generating the confrontation network and are respectively applied to various different professional fields.
Disclosure of Invention
The invention provides a novel method for detecting contour lines of a weather fax image, which is used for generating a countermeasure network based on deep learning and is rapid and efficient, aiming at the problems that the conventional digital image processing algorithm is complicated in redundancy and cannot rapidly process the weather fax image with complicated data.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a new method for quickly and efficiently detecting the contour line of a weather facsimile chart comprises the following steps,
(1) establishing a training data set: forming a series of paired images { (x, y) } by using an unprocessed original image x of the weather fax image and a preprocessed picture y only containing isolines, forming a training data set, and dividing the training data set into a training set, a verification set and a test set;
(2) establishing a network structure of the model: the network structure is based on a pix2pix network and comprises a generator G and a discriminator D; sending the paired data sets established in the step (1) to a generator for training, inputting an unprocessed original image of the weather fax image into the generator, outputting the weather fax image only containing contour lines, and then inputting the output image and the original image together into a discriminator; the other set of input of the discriminator is unprocessed original images of the meteorological fax images and preprocessed real images; finally, the discriminator maps the input image into a label, the scalar represents the probability that the input image is a real image, and the network parameters of the generator are optimized after the scalar is reversely transmitted to the generator;
(3) composition of the loss function: the loss function comprises three parts, wherein one part is a loss function corresponding to the generator, the other part is a loss function corresponding to the discriminator, and the other part is an L1 loss function; the three loss functions are combined and set as the target to optimize the network in (2).
Further, when the unprocessed weather fax image original image is spliced with the weather fax image only containing the contour line, the left side is the unprocessed weather fax image original image, and the right side is the processed weather fax image.
Furthermore, the processing confrontation state of the generator and the discriminator is characterized in that the training process is as follows, the generator makes the generated image more real as much as possible, and the discriminator is used for judging whether the image is true or false; over time, the generator and the arbiter compete against each other, and finally, two networks reach a dynamic balance: the image generated by the generator is close to a real image, and the discriminator cannot judge whether the image is true or false; finally, obtaining a trained generator model:
further, the generator is based on an Encoder-Decoder structure improved Unet structure, and jumper wires between layers are increased. The discriminator adds PatchGAN structure in the binary discriminator, and calculates the average value as the final probability after the diagnosis of each Patch is discriminated.
Further, the formula of the pix2pix to resist the loss function of the generated network is:
Figure BDA0002999273020000031
wherein L iscGANThe formula for (G, D) is:
Figure BDA0002999273020000032
LL1(G) the formula of (1) is: l isL1(G)=Ex,y,z[||y-G(x,z)||1]
Here, x is an input image, z is a random noise vector, y is a condition (real image), G (z | y) represents a picture generated with noise z under the condition of the real picture y, D (x | y) represents a discrimination score for the input image under the condition of the real picture y, and D (x, G (z | y)) represents discrimination as to whether or not an image generated by the generator and the real image match.
Further, the L1 function represents the difference between the real picture y and the picture generated by the G network, so as to constrain the difference between the two, and ensure the commonality of the input and output, and the λ parameter is selected to be 100.
The L1 function is expressed as
Figure BDA0002999273020000033
y(i)Representing a preprocessed contour image
Figure BDA0002999273020000034
The contour map generated by the generator is represented, and the minimization of the sum of the absolute differences of the contour map and the contour map is obtained.
Drawings
FIG. 1 is a block diagram of a network architecture of generators and discriminators in accordance with the present invention;
FIG. 2 is a detailed block diagram of a generator generated by the present invention;
FIG. 3 is a diagram of the PatchGAN structure in the arbiter generated by the present invention;
FIG. 4 is a data set picture pair used by the present invention;
FIG. 5 is a diagram of a contour detection map generated by the present invention and ultimately generated across a pix2pix network.
Detailed Description
The present invention will be further described with reference to the accompanying drawings.
The invention provides a new method for quickly and efficiently detecting the contour line of a meteorological facsimile diagram, which mainly comprises the following three aspects: establishing a data set, constructing a network structure of a model and forming a loss function.
(1) Establishing a training data set: firstly, downloading weather fax images of various time periods and regions at official websites of a China Central weather station (CMA) and a Japanese weather station (JMH), then naming the images by ascending numbers, totaling 4030 images, firstly carrying out primary processing on the original images by utilizing a traditional template matching algorithm, then carrying out manual rescreening, and further refining the images reaching the processing standards, and calling the images as the preprocessed images. And then, storing the preprocessed pictures and the original pictures in a one-to-one correspondence manner to form 4030 pair (8060) of pictures as a special data set for the meteorological facsimile picture.
The pictures are scaled equally, the size of the pictures is set to be 256 × 256, the size of the pictures is 512 × 256 after splicing, and the format of the pictures is converted into RGB three channels.
Randomly dividing the processed 4030 pair of data sets into a training set, a verification set and a test set, wherein the picture quantity ratio is 6: 2: 2, where there are 2418 pairs of training set pictures, the validation set 805 pair and the test set 807 pair.
(2) Network structure of the model:
on the basis of pix2pix, a mapping from the unprocessed weather fax image original x to the contour image y is learned.
The network structure comprises a generator part and a discriminator part, and a training data set consists of paired images in (1) { (x)i,yi) In which xiOriginal drawing, y, representing unprocessed weather faxiRepresenting the contour map after preprocessing, 2418 sends the training data set to the generator for training. The generator G is used for converting the unprocessed original weather fax map into a contour map only containing contour lines, and the judgment result of the discriminator is 1 as much as possible. Finally, the contour map generated by the generator is respectively summed with xi、yiAre input together to the discriminator. The discriminator is used for receiving a real image or an image generated by the generator G, and has the main functions of distinguishing a 'true' image from a 'false' image as far as possible, setting the image judgment result input by the generator as 0 as far as possible, and judging the real image in the data set as 1. The discriminator maps the input picture to a value that represents the probability that the input image is a true image, with closer to 1 indicating a greater likelihood that the input image is a true image.
These two parts constitute a supervised learning mode, as shown in fig. 1. The final objective function is as follows:
Figure BDA0002999273020000041
wherein G (z | y) is the output image of the generator, D (x, G (z | y)) and D (x | y) are the output results of the decider, and the generator is opposite and uniform with the object of the decider.
In the training process, an Adam optimizer and a minibochcSGD gradient descent algorithm are adopted, the batch size is set to be 4, the learning rate is set to be 0.0001, 20epoch training is carried out, and under the environment of ubuntu16.04, the NVDIA GTX1070 video card shares 43 minutes. In the training process, the generator and the discriminator adopt an alternative training mode
In the whole process, the generator makes the generated image more real as much as possible, and the function of the discriminator is to judge whether the image is true or false. Over time, the generator and the arbiter continually compete, and eventually both networks reach the nash equilibrium point: the contour map generated by the generator is close to the characteristic distribution of a real contour image in the data set, and the discriminator can better identify the truth of the image.
(3) Composition of the loss function:
in order to make the fit degree between the contour map converted from the original weather fax image and the preprocessed contour real image higher, an L1 loss function is added to the loss function, and the L1 loss function is as follows:
LL1(G)=Ex,y,z[||y-G(x,z)||1]
Figure BDA0002999273020000051
y(i)representing a preprocessed contour image
Figure BDA0002999273020000052
The contour map generated by the generator is represented, and the minimization of the sum of the absolute differences of the contour map and the contour map is obtained.
The final loss function for Pix2Pix is
Figure BDA0002999273020000053
Figure BDA0002999273020000054
Wherein the lambda parameter is selected to be 100
Therefore, a new method for quickly and efficiently detecting the contour line of the weather fax image is realized and verified. The invention provides a contour line extraction system for a weather fax image based on a pix2pix countermeasure generation network, and solves the problems that the redundancy of the traditional digital image processing algorithm is complex, and the weather fax image with complex data cannot be rapidly processed.
The above description is only of the preferred embodiments of the present invention, and it should be noted that: it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention and these are intended to be within the scope of the invention.

Claims (6)

1. A new method for quickly and efficiently detecting the contour line of a weather facsimile chart comprises the following steps,
(1) establishing a training data set: forming a series of paired images { (x, y) } by using an unprocessed original image x of the weather fax image and a preprocessed picture y only containing isolines to form a training data set, and dividing the training data set into a training set, a verification set and a test set;
(2) establishing a network structure of the model: the network structure is based on a pix2pix network and comprises a generator G and a discriminator D, wherein the generator G is connected with the discriminator D through a convolutional neural network; sending the paired data sets established in the step (1) to a generator for training, inputting an unprocessed original image of the weather fax image into the generator, outputting the weather fax image only containing contour lines, and then inputting the output image and the original image together into a discriminator; the other set of input of the discriminator is unprocessed original images of the meteorological fax images and preprocessed real images; finally, the discriminator maps the input image into a label, the label represents the probability that the input image is a real image, and the network parameters of the generator are optimized after the label is reversely transmitted to the generator;
(3) composition of the loss function: the loss function comprises three parts, wherein one part is a loss function corresponding to the generator, the other part is a loss function corresponding to the discriminator, and the other part is an L1 loss function; the three loss functions are combined and set as the target to optimize the network in (2).
2. The method for detecting the contour line of the weather fax chart in a fast and efficient mode as claimed in claim 1, wherein the method comprises the following steps: when the unprocessed weather fax image original image is spliced with the weather fax image only containing the contour lines, the unprocessed weather fax image original image is arranged on the left side, and the processed weather fax image is arranged on the right side.
3. The method for detecting the contour line of the weather fax chart in a fast and efficient mode as claimed in claim 1, wherein the method comprises the following steps: the generator and the discriminator are in a confrontation state, the training process is as follows, the generator makes the generated image more real as possible, and the discriminator is used for judging whether the image is true or false; over time, the generator and the arbiter compete against each other, and finally, two networks reach a dynamic balance: the image generated by the generator is close to a real image, and the discriminator cannot judge whether the image is true or false; and finally obtaining the trained generator model.
4. The method for detecting the contour line of the weather fax chart in a fast and efficient mode as claimed in claim 1, wherein the method comprises the following steps: the generator is based on an Encoder-Decoder structure improved Unet structure, jumper wires between layers are increased, the discriminator is additionally provided with a PatchGAN structure in two classification discriminators, and an average value is obtained after the diagnosis of a special diagnosis in each Patch is discriminated to serve as a final probability.
5. The method for detecting the contour line of the weather fax chart in a fast and efficient mode as claimed in claim 1, wherein the method comprises the following steps: the formula of the loss function of pix2pix for resisting the generation network is as follows:
Figure FDA0002999273010000011
wherein L iscGANThe formula for (G, D) is:
Figure FDA0002999273010000012
LL1(G) the formula of (1) is: l isL1(G)=Ex,y,z[||y-G(x,z)||1]
Here, x is an input image, z is a random noise vector, y is a condition (real image), G (z | y) represents a picture generated with noise z under the condition of the real picture y, D (x | y) represents a discrimination score for the input image under the condition of the real picture y, and D (x, G (z | y)) represents discrimination as to whether or not an image generated by the generator and the real image match.
6. The method for detecting the contour line of the weather fax chart in a fast and efficient mode as claimed in claim 1, wherein the method comprises the following steps: the L1 function represents the difference between the real picture y and the picture generated by the G network, and is used for constraining the difference between the real picture y and the picture generated by the G network, so that the commonality of input and output is ensured, and the lambda parameter is selected to be optimal to be 100;
the L1 function is expressed as
Figure DA00029992730136644341
y(i)Representing the pre-processed contour image,
Figure DA00029992730136671288
the contour map generated by the generator is represented, and the minimization of the sum of the absolute differences of the contour map and the contour map is obtained.
CN202110340235.5A 2021-03-30 2021-03-30 Novel method for quickly and efficiently detecting contour lines of meteorological facsimile diagram Pending CN112906657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110340235.5A CN112906657A (en) 2021-03-30 2021-03-30 Novel method for quickly and efficiently detecting contour lines of meteorological facsimile diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110340235.5A CN112906657A (en) 2021-03-30 2021-03-30 Novel method for quickly and efficiently detecting contour lines of meteorological facsimile diagram

Publications (1)

Publication Number Publication Date
CN112906657A true CN112906657A (en) 2021-06-04

Family

ID=76109752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110340235.5A Pending CN112906657A (en) 2021-03-30 2021-03-30 Novel method for quickly and efficiently detecting contour lines of meteorological facsimile diagram

Country Status (1)

Country Link
CN (1) CN112906657A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115222837A (en) * 2022-06-23 2022-10-21 国家卫星气象中心(国家空间天气监测预警中心) True color cloud picture generation method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115222837A (en) * 2022-06-23 2022-10-21 国家卫星气象中心(国家空间天气监测预警中心) True color cloud picture generation method and device, electronic equipment and storage medium
CN115222837B (en) * 2022-06-23 2025-08-15 国家卫星气象中心(国家空间天气监测预警中心) True color cloud image generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108537742B (en) A Panchromatic Sharpening Method for Remote Sensing Images Based on Generative Adversarial Networks
CN112507793A (en) Ultra-short-term photovoltaic power prediction method
CN117557775A (en) Substation power equipment detection method and system based on infrared and visible light fusion
CN108230291B (en) Object recognition system training method, object recognition method, device and electronic equipment
CN110929592A (en) Extraction method and system for outer boundary of mariculture area
CN119474768A (en) A method and system for multimodal fusion prediction of marine environment based on digital twin
CN113947555A (en) Infrared and visible light fused visual system and method based on deep neural network
CN110807369B (en) Intelligent classification method of short video content based on deep learning and attention mechanism
CN111091102B (en) Video analysis device, server, system and method for protecting identity privacy
CN114492149B (en) A credible simulation method for distribution network production and operation scenarios based on adversarial game
CN112380945B (en) Method and system for identifying potential hazards of power transmission channel environment based on satellite remote sensing image
CN116168418A (en) Multi-mode target perception and re-identification method for image
CN115331079A (en) An Adversarial Attack Method for Multimodal Remote Sensing Image Classification Networks
CN114444757A (en) Combined prediction method for plateau mountain multi-model multi-scale new energy power station output
CN112906657A (en) Novel method for quickly and efficiently detecting contour lines of meteorological facsimile diagram
CN116152678B (en) Marine disaster-bearing body identification method based on twin neural network under small sample condition
CN114912572B (en) Target recognition method and neural network training method
CN115641514A (en) A Pseudo-Visible Light Cloud Image Generation Method for Nighttime Sea Fog Monitoring
CN119048635B (en) Feature mapping-based infrared image cross-mode generation method
CN114972992A (en) A remote sensing image target detection method based on visual saliency and multi-scale feature fusion
CN119992209A (en) A multimodal ship classification method based on cross-modal multi-stage fusion
CN116543158B (en) A point cloud segmentation method based on multi-feature input and matrix supervision
CN117172372B (en) Typhoon path prediction method and typhoon path prediction system
CN118314442A (en) Transmission tower foreign matter hidden danger identification method based on deep learning
CN114627540A (en) Face information identification and comparison system for meeting reconnaissance application platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210604