An Introduction to Total Variation for Image Analysis