Approximate Circuits in Low-Power Image and Video Processing: The Approximate Median Filter