Parallel architectures for image processing