A Note on the Computation of Haar-Based Features for High-Dimensional Images