A method for processing a digital signal of an electronically or mechanically scanned pulse radar during an observation of a coastal zone in a land and sea detection mode, the digital signal being sampled according to a two-dimensional temporal sampling map, one dimension corresponding to a distance from the radar and the other dimension corresponding to a recurrence of emission of pulses by the radar, wherein the method includes:
- selecting a digital terrain model file corresponding to the coastal zone observed;
- transforming the temporal sampling map and the digital terrain model file to obtain a transformed temporal sampling map and a transformed digital terrain model file whose data are expressed in a shared reference frame;
- constructing a mask from the transformed digital terrain model file;
- and
- applying said mask to the samples of a sampling map associated with the transformed temporal sampling map, so as to obtain filtered samples.