Hierarchical Architectures for Image Processing