regional minima: add support for 16 bits images