当前位置:网站首页>Envi SHP to ROI and mask the grid
Envi SHP to ROI and mask the grid
2022-07-24 16:28:00 【ronvicki】
1. Open the grid data to be cut
classic Open grid data ,File / Open Image File, Select grid data ,Load Band.
2. open shp file
classic / vector / Open Vector, Select file type shapefile(*.shp) , Select vector file .shp, open shp file .
3. preservation EVF file
eject Import Vector Files Parameters Window , stay Enter Output Filename[.evf] Lower setup evf The output path and file name of the file QQ.evf. Click on OK.
stay Available Vectors List Select the opened vector file , choice Load Selected Button .
Choose... Here Display #1, Click on OK.
eject #1 Vector Parameters :Cursor Query window ( Black background , There are vector lines ).
Select vector file , Click on Apply. here , stay #1 Scroll The vector file can be seen in the window ( white ) Superimposed on the grid .
4. preservation roi file
stay Available Vectors List window , Click on file choice Export Layers to Roi….
eject Select Data File to Associate with new ROIs window , Select the grid data to be extracted , Click on OK.
eject Export EVF Layers to ROI window , choice Convert all records of an EVF layer to one ROI…. Click on OK.
And then in #1 scroll A white vector area appears in the window .
stay scroll Right click the mouse in the window , Click on ROI Tool…, open #1 ROI Tool window .

choice “EVF:layer:QQ.shp”, Click on the top left corner File / Save ROIs…

Can be shp The file is saved as roi file .MCD12Q1.A2001_Type1_class.roi
5. New mask
stay ENVI 5.3 Open the raster data that needs to be masked .
open Toolbox / Raster Management / Masking / Build mask
stay Build Mask Input File Select the grid data that needs mask .
In the pop-up Mask Definition Click... Under the window Options / Import ROIs…
Select the previously generated roi, Click on OK.
Set the output path and file name MCD12Q1.A2001_Type1_class_roimask.dat
6. Apply mask
stay ENVI 5.3 Open in Toolbox / Raster Management / Masking / Apply mask
stay Apply Mask Input File Select the file to mask .
Click on Spatial Subset, eject Select Spatial Subset window , Click on Subset Using Under the File, Select the target grid file , Such as temp_2001, This defines the scope . Click on OK.
stay Select Spatial Subset Window click OK.
Click on Select Mask Band, Select the... Generated in the previous step MCD12Q1.A2001_Type1_class_roimask.dat Of documents Mask Band. Click on OK.
Apply Mask Input File Window click OK.
Set the output path and file name , Click on OK, Generate MCD12Q1.A2001_Type1_class_QQ.dat, Mask extraction is complete .
What the hell? , The row and column numbers of the output file have increased 1, And temp_2001 atypism .
So shuffle again , from 6. Apply mask to start changing .
open temp_2001 file ,Layer Manager Middle right click the file name , Click on View Metadata, open View Metadata:temp_2001 window , Click on the left side of the Extents, View scope , Record . And then in Spatial Subset Next click Subset Using Under the Map, Input and temp_2001 Of Extents Same Upper Left and Lower Right Coordinate, This defines the scope . Click on OK. I'm drunk , The row and column numbers of output results increase 2.
Shuffle again , from 6. Apply mask to start changing . stay Spatial Subset Next click Subset Using Under the ROI/EVF, Enter the previous ROI, The row and column number of the output result is reduced 10-50.
It's broken , Why not be obedient temp_2001 The same ?
I gave up , I choose ArcGIS…
边栏推荐
- Software recommendation - Mechanical Major
- Intel plans to sell baseband chip business, but Apple has given up?
- Princeton calculus reader 02 Chapter 1 -- composition of functions, odd and even functions, function images
- 15. ARM embedded system: how to debug single board with PC
- 如何防止跨站点脚本 (XSS) 攻击完整指南
- [Nanjing Agricultural University] information sharing of postgraduate entrance examination and re examination
- Qt设计机器人仿真控制器——按键控制机器人关节转动
- C TCP client form application asynchronous receiving mode
- ArcGIS layer annotation display
- Software - prerequisite software
猜你喜欢

About SQL data query statements

Quickly view the version of redis in the server
![Leetcode:162. looking for peak [two points looking for peak]](/img/77/64b7c9bf1aebc2a0ab82218ddfff62.png)
Leetcode:162. looking for peak [two points looking for peak]

REST风格

LaneATT

如何防止跨站点脚本 (XSS) 攻击完整指南

After data management, the quality is still poor

EMQ Yingyun technology was listed on the 2022 "cutting edge 100" list of Chinese entrepreneurs
[email protected]"/>ZBar source code analysis - img_ scanner. c | [email protected]

Complete guide on how to prevent cross site scripting (XSS) attacks
随机推荐
To create a private Ca, I use OpenSSL
[Nanjing Agricultural University] information sharing of postgraduate entrance examination and re examination
图片浏览器?Qt也可以实现!
With regard to performance testing, dry goods hit "suggestions collection"
“天上天下,唯我独尊”——单例模式
QT design robot simulation controller -- key control robot joint rotation
Meizu blood exchange: Alibaba quits? Zhuhai SASAC joins the Bureau, and Huang Zhang hands over the controlling stake! Li Nan is removed from the main staff!
C TCP client form application asynchronous receiving mode
31 next spread
[loj3247] [USACO 2020.1 platinum "non declining subsequences (DP, divide and conquer)
QT keyboard event (II) -- long press the key to trigger the event event repeatedly, and the problem is solved
JUC源码学习笔记3——AQS等待队列和CyclicBarrier,BlockingQueue
Wentai technology's revenue in the first quarter soared by 184.6% year-on-year, and its net profit soared by 256.21%!
VSCode如何鼠标滚轮放大界面
How to prevent XSS in PHP
leetcode:162. 寻找峰值【二分寻找峰值】
JUC source code learning note 3 - AQS waiting queue and cyclicbarrier, BlockingQueue
ArcGIS layer annotation display
[LeetCode]75.颜色分类——题解(执行用时击败90% ,内存消耗击败 78%)
文件浏览器?Qt也可以实现!