Statistics for Efficient Stockwell Transform with Applications to Image Processing