Smooth the image with a gaussian filter to remove noise.  Find gradients with max intensity (above a certain threshold). Apply non-maximum suppression to get rid of spurious response to edge detection (by finding the peaks in the gradients detected above the certain threshold, so it basically is the maximum ofContinue Reading

First when you just have 1D and want to find edges such as just a vertical or horizontal  scanning, it’s easy to take the second derivative times the kernel and times the image: ∂²/∂x² * h(kernel) *f(image) for horizontal or ∂²/∂y² * h(kernel) * f(image) for vertical. Then just find aContinue Reading

An image gradient is a(or the most) directional change in the intensity or color in an image. * Canny edge detector uses image gradient for edge detection. The gradient of a two-variable function (here the image intensity function) at each image point is a 2D vector with the components givenContinue Reading

Regression is estimation(correlation) – of the independent variable with the dependent variable.(We can make a scatter plot whenever you have data that relates two values together). We need an equation – which models the data for y(dependent) for any x(independent), that is, the correlation between them. If the data pointsContinue Reading