用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.pswp.cn/news/392497.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/392497.shtml
英文地址,請注明出處:http://en.pswp.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;不管做什么&#…