Support the Arctic Sea Ice Forum and Blog

Author Topic: Sentinel-Hub custom rendering settings  (Read 4304 times)

blumenkraft

  • Guest
Sentinel-Hub custom rendering settings
« on: June 19, 2020, 08:42:17 AM »
Share your custom rendering settings here.

blumenkraft

  • Guest
Re: Sentinel-Hub custom rendering settings
« Reply #1 on: June 19, 2020, 08:43:48 AM »
return [B8A*2,B03*1,B02*2]

Sometimes it's hard to distinguish melt ponds from shadows from clouds. This setting makes the shadows purple, while melt ponds are bright blue (second pic).
« Last Edit: June 19, 2020, 03:49:12 PM by blumenkraft »

blumenkraft

  • Guest
Re: Sentinel-Hub custom rendering settings
« Reply #2 on: June 19, 2020, 08:44:58 AM »
return [B8A*1,B03*1,B02*1]

This one is the 'real' natural colors setting (IMHO). See it as the default setting.
« Last Edit: June 19, 2020, 03:58:34 PM by blumenkraft »

blumenkraft

  • Guest
Re: Sentinel-Hub custom rendering settings
« Reply #3 on: June 19, 2020, 08:46:10 AM »
return [B8A*2,B03*1,B02*1]

This setting is the most useful in the early melting season for me. It makes spotting melt ponds very easy. Non-wet ice would appear in pinkish tones but liquid water on ice is bright blue. Deeper melt ponds are getting darker towards the middle where they are deeper (second pic).
« Last Edit: June 19, 2020, 04:06:44 PM by blumenkraft »

kassy

  • Moderator
  • First-year ice
  • Posts: 8235
    • View Profile
  • Liked: 2042
  • Likes Given: 1986
Re: Sentinel-Hub custom rendering settings
« Reply #4 on: June 19, 2020, 02:52:47 PM »
Maybe add a short description of the sort of detail they bring out?
Þetta minnismerki er til vitnis um að við vitum hvað er að gerast og hvað þarf að gera. Aðeins þú veist hvort við gerðum eitthvað.

blumenkraft

  • Guest
Re: Sentinel-Hub custom rendering settings
« Reply #5 on: June 19, 2020, 04:05:26 PM »
Absolutely, Kassy! :) Done.

Freegrass

  • Young ice
  • Posts: 3825
  • Autodidacticism is a complicated word...
    • View Profile
  • Liked: 951
  • Likes Given: 1251
Re: Sentinel-Hub custom rendering settings
« Reply #6 on: June 19, 2020, 06:27:57 PM »
Share your custom rendering settings here.
Thanks for this Blum! Really helpful. :)
90% of the world is religious, but somehow "love thy neighbour" became "fuck thy neighbours", if they don't agree with your point of view.

WTF happened?

blumenkraft

  • Guest
Re: Sentinel-Hub custom rendering settings
« Reply #7 on: June 19, 2020, 06:36:19 PM »
Welcome, FG. I hope others share theirs too! :D

blumenkraft

  • Guest
Re: Sentinel-Hub custom rendering settings
« Reply #8 on: June 27, 2020, 07:42:43 PM »
Fun! This one makes melt ponds and very wet ice green!

return [B8A*1,B03*1,B09*9]

SimonF92

  • Grease ice
  • Posts: 592
    • View Profile
  • Liked: 210
  • Likes Given: 87
Re: Sentinel-Hub custom rendering settings
« Reply #9 on: August 18, 2020, 10:49:49 AM »
Im working on a large project at the moment (Scottish snow, not Arctic stuff), but heres the mask im using;

easy distinction between clouds and ice/snow

https://apps.sentinel-hub.com/sentinel-playground/?source=S2&lat=81.2492016395353&lng=-70.00167832709849&zoom=11&preset=CUSTOM&layers=B01,B02,B03&maxcc=100&gain=1.0&gamma=1.0&time=2020-01-01%7C2020-07-01&atmFilter=&showDates=false&evalscript=cmV0dXJuIFtCMDEqMi41LEIwNCoyLjUsQjExKjIuNV0%3D


You can separate ice (yellow) from clouds (white) in python with;

img = cv2.imread(directory + filename)
hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
lower_range = np.array([22, 93, 0])
upper_range = np.array([45, 255, 255])
mask = cv2.inRange(hsv, lower_range, upper_range)

'mask' then becomes cloud-corrected ice, with caveats

« Last Edit: August 18, 2020, 10:56:21 AM by SimonF92 »
Bunch of small python Arctic Apps:
https://github.com/SimonF92/Arctic

SimonF92

  • Grease ice
  • Posts: 592
    • View Profile
  • Liked: 210
  • Likes Given: 87
Re: Sentinel-Hub custom rendering settings
« Reply #10 on: August 19, 2020, 12:03:22 PM »
Im still improving this, but I think it will come in pretty handy when I get it working, for tracking the area of small ice caps

Real
Ice
Clouds
Open-ground


Will post a link to the github when done
Bunch of small python Arctic Apps:
https://github.com/SimonF92/Arctic

SimonF92

  • Grease ice
  • Posts: 592
    • View Profile
  • Liked: 210
  • Likes Given: 87
Re: Sentinel-Hub custom rendering settings
« Reply #11 on: August 19, 2020, 12:04:50 PM »
Some data iv generated with this "bluebird" technique on a well known Scottish snowfield

Delta is number of days from April 1st each year (these fields melt before winter)
Bunch of small python Arctic Apps:
https://github.com/SimonF92/Arctic