Membuat Komposit Citra Landsat 8 dalam Earth Engine (GEE-8)

GEE Bagian 8 ini adalah kelanjutan dari GEE-7 yang sebelumnya dibahas dalam artikel Mencari Image Collections dalam Earth Engine (GEE-007). Jika Anda belum membacanya, baca dulu, 5 menit kok.

Ketika Anda menambahkan citra multi band dalam peta yang Anda buat, Earth Engine secara otomatis akan memilih tiga band pertama dalam citra tersebut dan menampilkannya sebagai merah, hijau, dan biru secara default (RGB). Contohnya adalah jika Anda menggunakan Landsat 8 yang kita cari sebelumnya di Image Collections.

Map.centerObject(citral8, 11);
Map.addLayer(citral8, {}, 'RGB');

Hasilnya buruk, kan? Perhatikan bahwa citra ini dipusatkan dengan zoom sebesar 11. Perhatikan juga bahwa citra ini divisualisasikan dengan menggunakan objek kosong ( {} ) untuk visualisasi-nya sehingga citranya divisualisasikan dengan tiga band pertama sebagai R G B. Setiap dari band ini pun direntangkan menjadi [0, 1] karena band-band ini memiliki format float. Berarti, band yang digunakan untuk R (merah) adalah band coastal aerosol, G (hijau) adalah band biru, dan B (biru) adalah band hijau. Untuk membuat komposit citra warna nyata (true color) Anda perlu menyatakan penggunaan band ini dalam line javascript Anda. Gunakan B4 untuk R, B3 untuk G, dan B2 untuk B. Untuk menggunakan sebuah band gunakan properti dari perintah band dari objek visualisasi. Untuk band apa saja yang ada dalam Landsat 8 Anda dapat melihar referensi berikut.

Anda juga perlu untuk memberikan nilai min dan max yang sesuai untuk memvisualisasikan nilai pantulan dari permukaan Bumi yang Anda targetkan. Biasanya kita menggunakan 0.3 sebagai max serta 0 sebagai min untuk digunakan sebagai nilai default. Kombinasi dari parameter ini dapat dinyatakan dalam perintah berikut :

var visualisasi = {bands: ['B4', 'B3', 'B2'], max: 0.3};
Map.addLayer(citral8, visualisasi, 'komposit warna nyata');

Hasilnya akan terlihat seperti gambar di bawah ini. Perhatikan bahwa kode ini ditujukan pada objek visualisasi. Objek ini akan sangat bermanfaat ketika anda membuat visualisasi apapun dalam Earth Engine.

Landsat 8 TOA reflectance yang ditampilkan dalam komposit warna nyata

Cobalah bermain menggunakan band lain dalam membuat komposit. Cobalah dengan menggunakan kombinasi B5, B4, dan B3 untuk citra komposit false color.

// false color
var visualisasi = {bands: ['B5', 'B4', 'B3'], max: 0.3};
Map.addLayer(citral8, visualisasi, 'komposit false color');
Tampilan citra Landsat 8 false color

Updated:

This Post Has 75 Comments

  1. You really make it seem really easy together with your presentation but I in finding this matter to be really something
    which I think I might never understand. It seems too complex and extremely large
    for me. I am having a look forward for your next post, I will attempt to get the hang of it!

  2. Aw, this was a very good post. Finding the time and actual effort to produce a superb article… but what can I say… I procrastinate a whole lot and don’t manage to get anything done.

  3. Hi, I do think this is an excellent site. I stumbledupon it 😉 I will come back yet again since I saved as a favorite it. Money and freedom is the best way to change, may you be rich and continue to guide other people.

  4. May I simply say what a comfort to discover somebody who truly knows what they’re talking about over the internet. You certainly know how to bring an issue to light and make it important. More people must look at this and understand this side of your story. I can’t believe you’re not more popular given that you definitely possess the gift.

  5. I truly love your blog.. Excellent colors & theme. Did you make this site yourself? Please reply back as I’m trying to create my own website and would like to find out where you got this from or what the theme is named. Cheers.

  6. An interesting discussion is definitely worth comment. I think that you should write more on this subject, it may not be a taboo subject but usually folks don’t discuss these topics. To the next! Many thanks.

  7. After looking into a few of the blog posts on your web page, I really appreciate your way of writing a blog. I saved as a favorite it to my bookmark site list and will be checking back soon. Please check out my website too and let me know how you feel.

  8. Can I just say what a relief to find somebody who really knows what they are discussing on the web. You definitely realize how to bring an issue to light and make it important. A lot more people ought to look at this and understand this side of your story. I was surprised you are not more popular because you most certainly possess the gift.

  9. Having read this I believed it was very informative. I appreciate you finding the time and effort to put this short article together. I once again find myself spending way too much time both reading and leaving comments. But so what, it was still worthwhile.

  10. Your style is unique compared to other people I have read stuff from. Thanks for posting when you’ve got the opportunity, Guess I’ll just bookmark this page.

  11. Aw, this was an extremely good post. Spending some time and actual effort to make a superb article… but what can I say… I put things off a lot and don’t seem to get nearly anything done.

  12. Hi! I could have sworn I’ve visited this blog before but after looking at many of the posts I realized it’s new to me. Anyhow, I’m certainly delighted I came across it and I’ll be book-marking it and checking back regularly.

  13. I absolutely love your site.. Pleasant colors & theme. Did you make this site yourself? Please reply back as I’m looking to create my own personal site and want to find out where you got this from or what the theme is called. Cheers.

  14. I really love your site.. Excellent colors & theme. Did you build this amazing site yourself? Please reply back as I’m wanting to create my very own website and would like to know where you got this from or just what the theme is named. Thanks.

  15. Aw, this was an exceptionally nice post. Taking the time and actual effort to make a superb article… but what can I say… I procrastinate a lot and don’t seem to get nearly anything done.

  16. I’m impressed, I have to admit. Seldom do I come across a blog that’s both equally educative and engaging, and let me tell you, you have hit the nail on the head. The problem is an issue that too few folks are speaking intelligently about. I’m very happy that I came across this in my search for something concerning this.

  17. Right here is the perfect site for everyone who hopes to find out about this topic. You understand a whole lot its almost hard to argue with you (not that I really would want to…HaHa). You definitely put a new spin on a subject that’s been discussed for years. Great stuff, just excellent.

  18. Next time I read a blog, I hope that it does not disappoint me just as much as this particular one. After all, Yes, it was my choice to read through, however I genuinely thought you’d have something interesting to say. All I hear is a bunch of complaining about something that you can fix if you were not too busy seeking attention.

  19. When I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I recieve 4 emails with the exact same comment. Perhaps there is a means you can remove me from that service? Appreciate it.

  20. A motivating discussion is worth comment. There’s no doubt that that you need to write more about this subject, it may not be a taboo subject but generally people do not talk about such topics. To the next! All the best.

  21. Having read this I thought it was extremely informative. I appreciate you spending some time and effort to put this short article together. I once again find myself personally spending way too much time both reading and commenting. But so what, it was still worth it.

  22. Hey there! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my site to rank for some targeted keywords but I’m not seeing very good success.
    If you know of any please share. Cheers! I saw similar article here:
    Eco bij

  23. Your style is unique in comparison to other folks I have read stuff from. Thank you for posting when you’ve got the opportunity, Guess I will just book mark this web site.

  24. Howdy! This post could not be written any better! Reading through this article reminds me of my previous roommate! He always kept talking about this. I most certainly will forward this information to him. Pretty sure he’s going to have a great read. Thank you for sharing!

  25. Hi, I do think this is an excellent site. I stumbledupon it 😉 I am going to come back once again since I book-marked it. Money and freedom is the best way to change, may you be rich and continue to guide others.

  26. May I simply just say what a comfort to discover an individual who truly understands what they are discussing on the web. You certainly understand how to bring a problem to light and make it important. More people must check this out and understand this side of the story. I can’t believe you’re not more popular since you surely have the gift.

  27. Nice post. I learn something new and challenging on websites I stumbleupon every day. It’s always helpful to read through content from other writers and use a little something from other sites.

  28. Hello there! I could have sworn I’ve visited this blog before but after going through a few of the articles I realized it’s new to me. Regardless, I’m definitely delighted I came across it and I’ll be bookmarking it and checking back frequently.

  29. Hello there! This post couldn’t be written much better! Looking at this article reminds me of my previous roommate! He constantly kept talking about this. I will forward this post to him. Fairly certain he will have a great read. I appreciate you for sharing!

  30. I really love your website.. Very nice colors & theme. Did you develop this web site yourself? Please reply back as I’m hoping to create my own personal site and would love to know where you got this from or just what the theme is named. Cheers.

  31. Good info. Lucky me I recently found your website by chance (stumbleupon). I have book marked it for later!

  32. When I initially commented I appear to have clicked the -Notify me when new comments are added- checkbox and from now on every time a comment is added I receive four emails with the exact same comment. Perhaps there is a means you can remove me from that service? Kudos.

  33. You’re so cool! I don’t think I have read through something like that before. So great to discover somebody with a few genuine thoughts on this issue. Seriously.. thanks for starting this up. This website is something that’s needed on the web, someone with a little originality.

  34. This is the right blog for anyone who wishes to find out about this topic. You realize so much its almost hard to argue with you (not that I personally will need to…HaHa). You definitely put a brand new spin on a topic which has been written about for decades. Wonderful stuff, just wonderful.

Leave a Reply