An adaptive DPCM algorithm for predicting contours in NTSC composite video signals