Massively parallel architectures for image processing: a case study