tutorial: explanations to image processing codes