In statistical analysis of binary classification, the Harmonic mean in ML is a measure of a test’s accuracy and is known as F1 score or subcontrary mean. The F1 score (Harmonic mean) is combined by using the recall and the precision , and is better then taking the arithmetic meanContinue Reading

Gradient is a vector that is made up from a the derivatives of multi-variate function. Gradient of an Image = ∇f = [∂f/∂x,∂f/∂y] The gradient of a function is the vector direction/angle of the most rapid increase in Intensity(Getting Brighter), and the magnitude of that vector is how much itContinue Reading

Images – A table of pixels, usually of RGB(3D columns – a.k.a a tensor) – can be ravled/unrolled/flattened  to a 1D longer array. Sound – long series of numbers(1D array) when digitally recorded(x = time(duration column), y = amplitude of the sound) – usually represented by frequences. Text – partsContinue Reading

The Lucas–Kanade method is a widely used differential method for optical flow estimation. Assumptions – flow is essentially constant in a local neighbourhood – solves the basic optical flow equations for all the pixels in that neighbourhood, by the least squares criterion. motion is linear : When it is non linearContinue Reading

The motion direction of a contour is ambiguous(usually to a combination of left/right with up/down), because the motion component parallel to the line (edge) cannot be inferred based on the visual input. You can only tell the motion locally in the direction perpendicular to the edge(line).Continue Reading

In order to compute Optical Flow there are two assumptions/constraints: Image moves in u(x cord) and v(y cord): The brightness(grayscale)/color consistency is same between the original image I ( x, y,t),  and the image in I ( x+u, y+v,t+1). The change in motion is almost zero(smooth), which means that the original IContinue Reading

The Karatsuba algorithm is a fast multiplication algorithm of two (works better for large) n-digit numbers(x and y),using three multiplications of smaller numbers(about half as many digits as x or y), plus some additions and digit shifts.   The steps are: For any positive integer  less than  (string length): where   and   are less than  .Continue Reading