Top Banner
(Object based classfication) เเเเเเเเเเเ QGIS เเเเเเเเเ Add Raster Layer เเเเเเเเเเเ เเเเเเเเเเเเเเเเเเเเเเเเเเเเเเเ
40

(งานกลุ่ม) Object based classfication

Feb 17, 2016

Download

Documents

พื้นที่จันทบุรี
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: (งานกลุ่ม) Object based classfication

(Object based classfication)

เปิดโปรแกรม QGIS แล้วไปที่ Add Raster Layer

หลังจากนัน้ เลือกไฟล์ภาพท่ีเราต้องการจะเปิด

Page 2: (งานกลุ่ม) Object based classfication

เมื่อเลือกภาพเสรจ็ จะแสดงผลดังภาพ

หลังจากนัน้ให ้คลิกเขา้ไปท่ี Sami-automatic classification Plugin

Page 3: (งานกลุ่ม) Object based classfication

กด Select all

กดเครื่องหมายบวก (+) ตรง UL

Page 4: (งานกลุ่ม) Object based classfication

จากนัน้คลิกบนภาพบรเิวณที่ต้องการ 1 ครัง้

กดเครื่องหมายบวก (+) ตรง LR

Page 5: (งานกลุ่ม) Object based classfication

คลิกที่ภาพบรเิวณท่ีต้องการอีก 1 ครัง้ > จะเกิดเป็นกรอบสสีม้ขึ้นบรเิวณท่ีต้องการ

กด clip selected resters

Page 6: (งานกลุ่ม) Object based classfication

สรา้งโฟลเดอรข์ึ้นใหม ่ > ตัง้ชื่อวา่ Clip_segmentation > Select Folder

Page 7: (งานกลุ่ม) Object based classfication

จะแสดงผลออกมาดังภาพ

ลบภาพที่ขึ้นต้น LC ใหห้มด

Page 8: (งานกลุ่ม) Object based classfication

จะเหลือแต่บรเิวณท่ีเราต้องการ

ไปที่ C: > RS2_image > Chanthaburi > Copy ไฟล์ตามภาพด้านล่าง

Page 9: (งานกลุ่ม) Object based classfication

จากนัน้ไปท่ี C: > RS2 > วางในโฟลเดอร ์Clip_segmentation

กลับมาท่ีโปรแกรม QGIS > Pre processing > Landsat > Select drectory

Page 10: (งานกลุ่ม) Object based classfication

เลือก โฟลเดอร ์Clip_segmentation

ต่อมาให ้กด Select a MTL file

Page 11: (งานกลุ่ม) Object based classfication

แล้วใหเ้ราเลือก เปิดไฟล์งานขึ้นมา

หลังจากนัน้ใหก้ดใสเ่ครื่องหมาย ถกู ตรงหน้าคำาวา่ Apply DOS1 atmospheric in Celsius

Page 12: (งานกลุ่ม) Object based classfication

และกด ใสเ่ครื่องหมาย ถกู ตรงหน้าคำาวา่ Perform pan-sharpening

และต่อมากด ใสเ่ครื่องหมาย ถกู ตรงหน้าคำาวา่ Creat Vrtual Rester

Page 13: (งานกลุ่ม) Object based classfication

หลังจากนัน้ใหก้ด Perform conversion

สรา้งโฟลเดอรใ์หม่

Page 14: (งานกลุ่ม) Object based classfication

ตัง้ชื่อโฟลเดอรว์า่ RT_segmentation > Select Folder

ลบภาพที่ขึ้นต้น clip ใหห้มด

Page 15: (งานกลุ่ม) Object based classfication

จากนัน้ดับเบิล้คลิกท่ี Landsat > Red band = Band 4 , Green band = Band 5 , Blue band = Band 3 > OK

กด Local cumulative cut stretch using current extent เพื่อใหภ้าพคมชดั

Page 16: (งานกลุ่ม) Object based classfication

จะได้ผลลัพธต์ามภาพ

จากนัน้คลิกขวาท่ี Landsat > กด Save As…

Page 17: (งานกลุ่ม) Object based classfication

กด Browse…

Save ชื่อวา่ Ls8_chanthaburi > Save

Page 18: (งานกลุ่ม) Object based classfication

กด OK

เขา้โปรแกรม Leo works

Page 19: (งานกลุ่ม) Object based classfication

คลิกเลือก File > open > singer File Database

เลือกภาพ Ls8_chantaburi

Page 20: (งานกลุ่ม) Object based classfication

กด OK

คลิกขวา Ls8_chantaburi > Combine in RGB

Page 21: (งานกลุ่ม) Object based classfication

เปล่ียนเป็น 4,3,2

เลือก tools > Convert

Page 22: (งานกลุ่ม) Object based classfication

เปล่ียนเป็น Ls8_chantaburi

ชอ่ง Directory ให ้Save ในโฟลเดอร ์RS2

Page 23: (งานกลุ่ม) Object based classfication

เลือกเปล่ียนเป็น int8

กด RUN

Page 24: (งานกลุ่ม) Object based classfication

เลือก File > Export > Export Geo TIFF Product

Save เป็นชื่อ Ls8_chantaburi_DC

Page 25: (งานกลุ่ม) Object based classfication

เปิด Monterverdi application

เลือก File > Open Dataset

Page 26: (งานกลุ่ม) Object based classfication

เลือก Ls8_chantaburi_DC

กด open

Page 27: (งานกลุ่ม) Object based classfication

คลิกขวา

เปล่ียน Red channel = 4 , Green channel = 5 , Blue channel = 3 > Apply

Page 28: (งานกลุ่ม) Object based classfication

สขีองภาพถ่ายดาวเทียมจะเปล่ียนตามภาพด้านล่าง

เลือก File > Extract ROI form dataset

Page 29: (งานกลุ่ม) Object based classfication

เลือก Ls8_chantaburi_DC

กด OK

Page 30: (งานกลุ่ม) Object based classfication

สามารถครอบพื้นท่ีในบรเิวณท่ีเราต้องการได้เลย

สามารถเลือกบรเิวณที่ต้องการโดยการเลือกกรอบสแีดงได้เลย

Page 31: (งานกลุ่ม) Object based classfication

เลือก Filtering > mean shift clustering

เลือก Extract ROI > Outputimage

Page 32: (งานกลุ่ม) Object based classfication

กด streamed (ปุ่มชมพู)

กด OK

Page 33: (งานกลุ่ม) Object based classfication

จะขึ้นเป็นหน้าต่างตามภาพด้านล่าง

เลือก Manu > view manager

Page 34: (งานกลุ่ม) Object based classfication

กด OK

กด RUN

Page 35: (งานกลุ่ม) Object based classfication

ภาพจะเปล่ียนเป็นเหมอืนภาพสนีำ้ามนั

เปล่ียน spatial radius = 2 , Min region size = 34 , กด RUN

Page 36: (งานกลุ่ม) Object based classfication

คลิกขวาท่ี Boundaries Image > Display in viewer

จะได้ภาพถ่ายดาวเทียมตามภาพ

Page 37: (งานกลุ่ม) Object based classfication

คลิกขวาท่ี Labeled Image > Display in viewer

จะได้ภาพถ่ายดาวเทียมตามภาพ

Page 38: (งานกลุ่ม) Object based classfication

คลิกขวาท่ี Clustered Image > Export dataset

Save ชื่อวา่ Ls8_Segmentation.tif > กด OK

Page 39: (งานกลุ่ม) Object based classfication

เลือก unsigned char (8 bits) > กด Save

จากนัน้ไปท่ีโปรแกรม ArcGis > ลากที่ save ไวม้าใสใ่นโปรแกรมได้เลย > ทำาการปรบัแก้สี