add some digital image processing testing code