Terrain Filter

Hi,

I am new to s1tbx, I would like to know… how to mask the pixels with slopes >3 degree?
I have to do threshold after this filtering process. If there any difference to either process first?
Hope someone can help. Thanks.

Mei

you have to calculate slope (at best outside SNAP), import the raster again and use the band maths to formulate a threshold condition

slope < 3

This creates a binary raster (1 where true, 0 where false) which you can then multiply by your raster so all values which have slopes > 3 become zero.