A hardware implementation of a colour picture processing system