Is it possible to get the coordinates of polygons drawn with the “area of interest” tool in EO browser? I would like to use the polygons in custom scripts to get different effects on the areas inside and outside of the polygons. For example to render the area outside the polygon grayscale and area inside in colour, so that focus will be on the area inside the polygon. Would be a nice effect to use on timelapses to avoid changes outside of the area of interest distracting from what is happening inside the area of interest.
it is not possible to use geometries within the Custom script as the script is evaluater on pixel-by-pixel basis.
What you could do, however, is to import a data mask layer using “Bring your own data” and then perform “Data Fusion” to check, whether the pixel is “in” or "not. It does take a bit of effort though.
Another (non-optimised) approach would be to request two images; one with bounding box requesting desaturated image, another with geometry (not bbox), making everything else transparent, and then overlaying them.
Thank you for your replies, gmilcinski and batic. I’m new to EO Browser, but I think both solutions cannot be done directly within EO Browser and requires using requests builder? When trying to login to request builder I get an “invalid account” message, so I am unable to send requests. But would it be possible to create timelapses like the ones in EO Browser with requests builder?
It seems that it will be quicker for now to just download the timelapse from EO Browser and just manipulate it with some other tool. But it is still a very cool feature:)
I do have a Sentinel Hub account, but when I go to the dashboard it says my account is expired and asks me to upgrade it. I can still use login with EO browser to save pins etc., but not with request builder.
Would the bounding and geometry boxes be created using longitude/latitude coordinates? Do you have an example of how the boxes can be made in a way that would run in custom scripts?