用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,一经查实,立即删除!

相关文章

vue 递归创建菜单_如何在Vue中创建类似中等的突出显示菜单

vue 递归创建菜单by Taha Shashtari由Taha Shashtari 如何在Vue中创建类似中等的突出显示菜单 (How to Create a Medium-Like Highlight Menu in Vue) A cool feature in Medium is the highlight menu that pops up when you select some text. This menu contains buttons t…

leetcode 376. 摆动序列(dp)

如果连续数字之间的差严格地在正数和负数之间交替,则数字序列称为摆动序列。第一个差(如果存在的话)可能是正数或负数。少于两个元素的序列也是摆动序列。 例如, [1,7,4,9,2,5] 是一个摆动序列,因为差值 (6,-3,5,-7,3…

在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…

sap wm内向交货步骤_内向型人在数据科学中成功的五个有效步骤

sap wm内向交货步骤Just like most attributes of humans, including both the bright and dark sides, being an introvert is no exception. This article was not written to inspire you as most articles about data science or engineering do. What we want is that by …

C# 学习之路--百度网盘爬虫设计与实现(一)

百度网盘爬虫 现在市面上出现了很多网盘搜索引擎,写这系列博文及爬虫程序的初衷: 更方面的查找资源学习C#学习爬虫的设计与实现记录学习历程自我监督 能力有限,如有不妥之处,还请各位看官点评。同在学习的网友~与君共勉。工具/库选…

实习生对企业的认识_如何成为您认识的超级明星实习生

实习生对企业的认识by Maple Ong由Maple Ong 如何成为您认识的超级明星实习生 (How to be The Superstar Intern You Know You Are) 遏制冒名顶替综合症,为即将到来的软件工程实习做准备 (Curb the Impostor Syndrome and get prepared for your upcoming Software…

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

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

在没人相信的时候,你的坚持才真正可贵

2018 世界 VR 产业大会在南昌开幕,阿里巴巴创始人马云在演讲中说: “在人人都相信一个产业的时候,其实你已经没有机会了。在没有人相信的时候,你的坚持才是真正的珍贵。很多人是因为看见而相信,只有很少数的人是因为相…

leetcode 49. 字母异位词分组(排序+hash)

给定一个字符串数组,将字母异位词组合在一起。字母异位词指字母相同,但排列不同的字符串。 示例: 输入: [“eat”, “tea”, “tan”, “ate”, “nat”, “bat”] 输出: [ [“ate”,“eat”,“tea”], [“nat”,“tan”], [“bat”] ] 代码 class S…

数据库备份策略 分布式_管理优秀的分布式数据团队的4种基本策略

数据库备份策略 分布式COVID-19 has forced nearly every organization to adapt to a new workforce reality: distributed teams. We share four key tactics for turning your remote data team into a force multiplier for your entire company.COVID-19迫使几乎每个组织都…

如何使用阿里云云解析API实现动态域名解析,搭建私有服务器

原文地址:http://www.yxxrui.cn/article/116.shtml 未经许可请勿转载,如有疑问,请联系作者:yxxrui163.com 公司的网络没有固定的公网IP地址,但是能够保证的是,每次动态分配的IP地址均为独立的公网IP&#x…

新手指南:dvwa_如何构建基本的Slackbot:新手指南

新手指南:dvwaBy Vishwa ShahVishwa Shah着 Update: code and tutorial updated on June 28 to reflect Slack API changes.更新:代码和教程已于6月28日更新,以反映Slack API的更改 。 Slackbots:为什么要使用它们? (Slackbots:…

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

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

leetcode 738. 单调递增的数字(贪心算法)

给定一个非负整数 N&#xff0c;找出小于或等于 N 的最大的整数&#xff0c;同时这个整数需要满足其各个位数上的数字是单调递增。 &#xff08;当且仅当每个相邻位数上的数字 x 和 y 满足 x < y 时&#xff0c;我们称这个整数是单调递增的。&#xff09; 示例 1: 输入: …

python+[:]+切片_我从C ++到Python的方式:概念上的改变

python[:]切片by asya f由asya f 我从C 到Python的方式&#xff1a;概念上的改变 (How I went from C to Python: a conceptual change) 介绍 (Introduction) People say that coding in Python is so easy that even a 6 year old can do it. This was the thought that I ha…

深度学习 免费课程_2020年排名前三的免费深度学习课程

深度学习 免费课程&#xff03;1 Fastai面向程序员的实用深度学习2020 (#1 Fastai Practical Deep Learning for Coders 2020) On 21 of August 2020, fastai released the new version of the fastai library and of their Deep Learning course!2020年8月21日&#xff0c;fas…

mysql复制主从集群搭建

近期搭了个主从复制。中间出了点小问题&#xff0c;排查搞定&#xff0c;记录下来1环境&#xff1a;虚拟机&#xff1a;OS:centos6.5Linux host2 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/LinuxserverIP192.168.18.66192.168.18.6…

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

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

你的周末时光是什么样的?

周末是一个特殊的假日&#xff0c;隔三差五就会有&#xff0c;来的容易去得也容易&#xff0c;即便如此&#xff0c;我们还是应该好好珍惜&#xff0c;周末可以做的事太多了&#xff0c;既可以用来减压&#xff0c;也可以为下一周的学习和工作充电&#xff0c;不管做什么&#…