DWT-based block feature calculation