Gaussian blurring is an image smoothing algorithm that used to remove noise from the image.
OpenCV has GaussianBlur function that allows to apply Gaussian blurring on image. Smoothing is controlled...
Canny edge detection is an image processing algorithm that allows to detect edges in an image. It is a multi-stage algorithm that involves a series of steps such as noise...
Black hat (also known as bottom hat) is a morphological image processing operation. It is the difference between image on which applied closing operation and input image. Black hat operation...
Top hat (also known as white hat) is a morphological image processing operation. It is the difference between input image and image on which applied opening operation. Top hat operation...
Morphological gradient is an image processing operation. It is the difference between dilation and erosion operations. Morphological gradient can be useful to determine the outline of the object.
The morphologyEx...
Closing is a morphological image processing operation when dilation operation is applied to an image and then erosion operation. Closing operation is useful to fill small holes in objects while...
Opening is a morphological image processing operation when erosion operation is applied to an image and then dilation operation. Opening operation allows removing small objects while preserving the size of...
Dilation is a morphological image processing operation that increases the boundaries of the foreground object. In most case, foreground pixels are white. To apply dilation operation to an image, the...
Erosion is a morphological image processing operation that removes the boundaries of the foreground object. In most case, foreground pixels are white. To apply an erosion operation to an image...
OpenCV has various drawing functions to draw geometric shapes such as line, rectangle, circle and write text on images.
The getTextSize function calculates and returns width and height of a...