Fork me on Github

Chapter 5. Image Pre-Processing

Python codes for Image Preprocessing, Analysis and Machine Vision December 10, 2017

Histogram equalization

Edge detectors

An edge is a property attached to an individual pixel and is represented by a variable with magnitude and direction. The edge magnitude is the magnitude of the gradient, and the edge direction is rotated with respect to the gradient direction.

\(|grad g(x, y)| = \sqrt{(\frac{\partial g}{\partial x})^2 + (\frac{\partial g}{\partial y})^2}\), \(\phi = arg(\frac{\partial g}{\partial x}, \frac{\partial g}{\partial y})\)

Image sharping