用python绘制箱线图_用卫星图像绘制世界海岸线图-第一部分

用python绘制箱线图

At the UKHO, we use data science to gain valuable insight into the data sets we hold and further our understanding of the marine environment around us.

在UKHO,我们使用数据科学获得对所拥有数据集的宝贵见解,并进一步了解周围的海洋环境。

One of our latest projects combines satellite imagery and computer vision techniques to enable us to automate the creation of new coastline data.

我们的最新项目之一将卫星图像和计算机视觉技术相结合,使我们能够自动创建新的海岸线数据。

新的海岸线数据集 (A new coastline data set)

Automating the creation of coastline data was important to us for a variety of reasons. Firstly, we wanted to form the basis for performing global change detection. For us, this would help us to be more proactive in updating our portfolio of navigational charts.

出于多种原因,自动化海岸线数据创建对我们很重要。 首先,我们希望为执行全局变更检测奠定基础。 对于我们来说,这将帮助我们更加主动地更新导航图产品组合。

Beyond navigation, this data could also help to support other activities carried out by customers and partners, including:

除了导航之外,这些数据还可以帮助支持客户和合作伙伴进行的其他活动,包括:

  • Monitoring the natural environment (including erosion, sedimentation, subsidence etc.)

    监测自然环境(包括侵蚀,沉积,沉降等)
  • Developing tidal and coastal models (including currents, tides and ocean modelling)

    开发潮汐和沿海模型(包括洋流,潮汐和海洋模型)
  • Supporting disaster resilience

    支持灾难复原力

And finally, this would be a first step for us in producing much higher resolution data, that could then improve upon the accuracy and currency of other freely available coastline data sets.

最后,这将是我们生成更高分辨率数据的第一步,然后可以提高其他免费获得的海岸线数据集的准确性和时效性。

This method needed to be fully automated, repeatable and able to cope with a variety of different coastline types found across the globe.

这种方法需要完全自动化,可重复使用,并且能够应对全球范围内各种不同的海岸线类型。

这个怎么运作 (How it works)

First, we gather free, open-source optical satellite imagery with 10x10m pixels (available in Earth Engine). Sometimes pixels in these images can be obscured by shadow and cloud. So, by collecting all images taken of an area over the course of a year, we were able to select the ‘best pixel’ for every individual pixel location. By combining all the best pixels, we created a single image of the whole area that was free from any obscurities.

首先,我们收集了10x10m像素的免费开放源光学卫星图像(可在Earth Engine中获得 )。 有时,这些图像中的像素可能会被阴影和云遮盖。 因此,通过收集一年中某个区域的所有图像,我们能够为每个像素位置选择“最佳像素”。 通过结合所有最佳像素,我们创建了整个区域的单一图像,没有任何模糊感。

From this single image, we then identify areas of water by calculating what is called the ‘Normalised Difference Water Index’ (NDWI) : a remote sensing technique that uses the green and infrared bands to indicate the presence of water.

然后,从这幅单一图像中,我们通过计算所谓的“归一化差异水指数”(NDWI)来识别水域:这是一种使用绿色和红外波段指示水的存在的遥感技术。

On further analysis of our results, we then discovered that we needed to account for localised variation. To overcome this issue we calculated the land/water threshold for small areas dynamically using a method called Otsu thresholding, which finds the optimum value between two groups of pixels.

在对结果进行进一步分析时,我们发现需要考虑局部变化。 为了克服这个问题,我们使用称为Otsu阈值的方法动态计算了小区域的土地/水阈值 ,该方法在两组像素之间找到了最佳值。

We then used the outputs from this pipeline to produce a vectorised image of the coastline using PostGIS.

然后,我们使用该管道的输出,使用PostGIS生成海岸线的矢量化图像。

结果 (The result)

The first data generated by this pipeline covers the British Isles (except for Rockall, which was too small given the resolution of the imagery!).

该管道生成的第一批数据涵盖了不列颠群岛(Rockall除外,考虑到图像的分辨率,该数据太小了!)。

Below you can see a data set of the British Isles, created using a total of 4,084 Sentinel-2 images:

在下面,您可以查看不列颠群岛的数据集,该数据集使用总共4,084个Sentinel-2图像创建:

Image for post
UK Hydrographic Office © Crown Copyright 2019. Created using Google Earth Engine. Imagery Earthstar Geographics SIO, © 2020 HERE, Map data © 2020 Microsoft
英国水文办公室©Crown版权所有2019。使用Google Earth Engine创建。 图像Earthstar Geographics SIO,©2020 HERE,地图数据©2020 Microsoft

This is the first time that coastline has been automatically generated at the UKHO and the process is still being evaluated, developed and improved. As such, we are not producing this data for navigational purposes yet.

这是UKHO首次自动生成海岸线,并且该过程仍在评估,开发和改进中。 因此,我们尚未出于导航目的生成此数据。

To assess the success of our method, we compared our results to the widely-used NGA World Vector Shoreline (WVS) data set. The comparison showed that our methods captured better detail and accuracy in some instances, as you can see from the images below (where the WVS is shown in red and our results shown in blue):

为了评估我们方法的成功,我们将我们的结果与广泛使用的NGA世界矢量海岸线(WVS)数据集进行了比较。 通过比较可以看出,在某些情况下,我们的方法捕获了更好的细节和准确性,如您从下面的图片中可以看到的(WVS以红色显示,我们的结果以蓝色显示):

Image for post
UK Hydrographic Office © Crown Copyright 2019. Created using Google Earth Engine. Imagery Earthstar Geographics SIO, © 2020 HERE, Map data © 2020 Microsoft
英国水文办公室©Crown版权所有2019。使用Google Earth Engine创建。 图像Earthstar Geographics SIO,©2020 HERE,地图数据©2020 Microsoft
Image for post
UK Hydrographic Office © Crown Copyright 2019. Created using Google Earth Engine. Imagery Earthstar Geographics SIO, © 2020 HERE, Map data © 2020 Microsoft
英国水文办公室©Crown版权所有2019。使用Google Earth Engine创建。 图像Earthstar Geographics SIO,©2020 HERE,地图数据©2020 Microsoft

In addition to these results, we generated coastline in over 40 areas around the rest of the world to test the performance of the model in different geographic locations, to help us understand what areas need improvement.

除了这些结果之外,我们还在世界其他地区的40多个区域生成了海岸线,以测试模型在不同地理位置的性能,以帮助我们了解哪些区域需要改进。

Image for post
UK Hydrographic Office © Crown Copyright 2019. Created using Google Earth Engine. Imagery Earthstar Geographics SIO, © 2020 HERE, Map data © 2020 Microsoft
英国水文办公室©Crown版权所有2019。使用Google Earth Engine创建。 图像Earthstar Geographics SIO,©2020 HERE,地图数据©2020 Microsoft

访问数据集 (Accessing the data set)

A data set of the British Isles is now available to access via the ADMIRALTY Marine Data Portal — our platform for marine data sets held by the UKHO. This data is currently in the alpha stage and further improvements are being made.

现在可以通过ADMIRALTY海洋数据门户网站访问英伦三岛的数据集,这是UKHO持有的海洋数据集平台。 该数据目前处于Alpha阶段,并且正在进一步改进。

Access the coastline data set on the ADMIRALTY Marine Data Portal.

在ADMIRALTY海洋数据门户上访问海岸线数据集。

This article originally appeared on ukhodigital.blog.gov.uk

本文最初出现在 ukhodigital.blog.gov.uk

翻译自: https://medium.com/uk-hydrographic-office/mapping-the-worlds-coastlines-with-satellite-imagery-part-i-296fa5f2985b

用python绘制箱线图

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/392497.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

在ASP.NET Atlas中调用Web Service——创建Mashup调用远端Web Service(基础知识以及简单示例)...

作者:Dflying Chen (http://dflying.cnblogs.com/) 注:Atlas中的Mashup极其复杂,其中涉及众多的对象与架构,为了写这篇文章,我花了不少时间学习研究。同时,关于这方面资源的匮乏简直…

java弹框形式输入_java中点击一个按钮弹出两个输入文本框的源代码

展开全部写了一个很简单的案例,可以参考和修改import java.awt.BorderLayout;import java.awt.GridLayout;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JDialog;import javax.swing.JFrame;import…

7时过2小时是几时_2017最北师大版二年级下册数学第七单元《时、分、秒》过关检测卷...

二年级数学下册时分秒测试卷一、填一填。(每空1分,共36分)1.钟面上有()大格,()个小格,时针走1个大格是()时,分针走一个大格是()分。2.1分()秒()分1时1分15秒()秒3.1小时20分()分90分()小时()分 70秒()分()秒4.用时、分、秒填空a)我…

java 加载class文件路径_动手实现MVC: 1. Java 扫描并加载包路径下class文件

背景用过spring框架之后,有个指定扫描包路径,然后自动实例化一些bean,这个过程还是比较有意思的,抽象一下,即下面三个点如何扫描包路径下所有的class文件如何扫描jar包中对应包路径下所有的class文件如何加载class文件…

java jolt tuxedo_java通过jolt调用tuxedo服务.xls

java通过jolt调用tuxedo服务.xls还剩20页未读,继续阅读下载文档到电脑,马上远离加班熬夜!亲,喜欢就下载吧,价低环保!内容要点:?private bea.jolt.pool.servlet.ServletSessionPoolManager bool…

pandas之Seris和DataFrame

pandas是一个强大的python工具包,提供了大量处理数据的函数和方法,用于处理数据和分析数据。 使用pandas之前需要先安装pandas包,并通过import pandas as pd导入。 一、系列Series Seris为带标签的一维数组,标签即为索引。 1.Seri…

机器学习:分类_机器学习基础:K最近邻居分类

机器学习:分类In the previous stories, I had given an explanation of the program for implementation of various Regression models. Also, I had described the implementation of the Logistic Regression model. In this article, we shall see the algorithm of the K…

安卓中经常使用控件遇到问题解决方法(持续更新和发现篇幅)(在textview上加一条线、待续)...

TextView设置最多显示30个字符。超过部分显示...(省略号)&#xff0c;有人说分别设置TextView的android:signature"true",而且设置android:ellipsize"end";可是我试了。居然成功了&#xff0c;供大家參考 [java] view plaincopy<TextView android:id…

垃圾邮件分类 python_在python中创建SMS垃圾邮件分类器

垃圾邮件分类 python介绍 (Introduction) I have always been fascinated with Google’s gmail spam detection system, where it is able to seemingly effortlessly judge whether incoming emails are spam and therefore not worthy of our limited attention.我一直对Goo…

简单易用的MongoDB

从我第一次听到Nosql这个概念到如今已经走过4个年头了&#xff0c;但仍然没有具体的去做过相应的实践。最近获得一段学习休息时间&#xff0c;购买了Nosql技术实践一书&#xff0c;正在慢慢的学习。在主流观点中&#xff0c;Nosql大体分为4类&#xff0c;键值存储数据库&#x…

java断点续传插件_视频断点续传+java视频

之前仿造uploadify写了一个HTML5版的文件上传插件&#xff0c;没看过的朋友可以点此先看一下~得到了不少朋友的好评&#xff0c;我自己也用在了项目中&#xff0c;不论是用户头像上传&#xff0c;还是各种媒体文件的上传&#xff0c;以及各种个性的业务需求&#xff0c;都能得到…

tomcat中设置Java 客户端程序的http(https)访问代理

1、假定http/https代理服务器为 127.0.0.1 端口为8118 2、在tomcat/bin/catalina.sh脚本文件中设置JAVA_OPTS&#xff0c;如下图&#xff1a; 保存后重启tomcat就能生效。转载于:https://www.cnblogs.com/zhangmingcheng/p/11211776.html

MQTT服务器搭建--Mosquitto用户名密码配置

前言&#xff1a; 基于Mosquitto服务器已经搭建成功&#xff0c;大部分都是采用默认的是允许匿名用户登录模式&#xff0c;正式上线的系统需要进行用户认证。 1.用户参数说明 Mosquitto服务器的配置文件为/etc/mosquitto/mosquitto.conf&#xff0c;关于用户认证的方式和读取的…

压缩/批量压缩/合并js文件

写在前面 如果文件少的话&#xff0c;直接去网站转化一下就行。 http://tool.oschina.net/jscompress?type3 1.压缩单个js文件 cnpm install uglify-js -g 安装 1>压缩单个js文件打开cmd,目录引到当前文件夹&#xff0c;cduglifyjs inet.js -o inet-min.js 或者 uglifyjs i…

软件安装(JDK+MySQL+TOMCAT)

一&#xff0c;JDK安装 1&#xff0c;查看当前Linux系统是否已经安装了JDK 输入 rpm -qa | grep java 如果有&#xff1a; 卸载两个openJDK&#xff0c;输入rpm -e --nodeps 要卸载的软件 2&#xff0c;上传JDK到Linux 3&#xff0c;安装jdk运行需要的插件yum install gl…

TensorFlow 2.X中的动手NLP深度学习模型准备

简介&#xff1a;为什么我写这篇文章 (Intro: why I wrote this post) Many state-of-the-art results in NLP problems are achieved by using DL (deep learning), and probably you want to use deep learning style to solve NLP problems as well. While there are a lot …

静态代码块

静态代码块 静态代码块&#xff1a;定义在成员位置&#xff0c;使用static修饰的代码块{ }。位置&#xff1a;类中方法外。执行&#xff1a;随着类的加载而执行且执行一次&#xff0c;优先于main方法和构造方法的执行。格式&#xff1a;作用&#xff1a; 给类变量进行初始化赋值…

学java 的要点_零基础学Java,掌握Java的基础要点

对于程序员群体来说&#xff0c;了解一定的技巧会对学习专业技能更有帮助&#xff0c;也更有助于在自己的职业发展中处于有利地位&#xff0c;无限互联Java培训专家今天就为大家总结Java程序员入门时需要掌握的基础要点&#xff1a;掌握静态方法和属性静态方法和属性用于描述某…

实验人员考评指标_了解实验指标

实验人员考评指标In the first part of my series on experimental design Thinking About Experimental Design, we covered the foundations of an experiment: the goals, the conditions, and the metrics. In this post, we will move away from the initial experimental…

核心技术java基础_JAVA核心技术I---JAVA基础知识(集合set)

一&#xff1a;集合了解(一)确定性&#xff0c;互异性&#xff0c;无序性确定性&#xff1a;对任意对象都能判定其是否属于某一个集合互异性&#xff1a;集合内每个元素都是无差异的&#xff0c;注意是内容差异无序性&#xff1a;集合内的顺序无关(二)集合接口HashSet&#xff…