This does the following :
pixpipe.FileImageReaderpixpipe.Image2D objectpixpipe.ImageDerivativeFilterpixpipe.GradientImageFilter with the derivativepixpipe.CanvasImageWriter
The first image is the gradient direction. Note that it does not really make sens to match a [-PI/2, PI/2] interval to [0, 255].
The second image is the gradient magnitude, matched to [0, 255]