A software architecture for parallel image processing