2014-11-27 20:39:05 +08:00
|
|
|
Image Processing (imgproc module) {#tutorial_table_of_content_imgproc}
|
|
|
|
=================================
|
|
|
|
|
|
|
|
In this section you will learn about the image processing (manipulation) functions inside OpenCV.
|
|
|
|
|
|
|
|
- @subpage tutorial_gausian_median_blur_bilateral_filter
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Let's take a look at some basic linear filters!
|
|
|
|
|
|
|
|
- @subpage tutorial_erosion_dilatation
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
Author: Ana Huamán
|
|
|
|
|
|
|
|
Let's *change* the shape of objects!
|
|
|
|
|
|
|
|
- @subpage tutorial_opening_closing_hats
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Here we investigate different morphology operators
|
|
|
|
|
2017-01-04 01:34:04 +08:00
|
|
|
- @subpage tutorial_hitOrMiss
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.4
|
|
|
|
|
|
|
|
*Author:* Lorena García
|
|
|
|
|
|
|
|
Learn how to find patterns in binary images using the Hit-or-Miss operation
|
|
|
|
|
2015-02-24 21:33:15 +08:00
|
|
|
- @subpage tutorial_moprh_lines_detection
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Theodore Tsesmelis
|
|
|
|
|
|
|
|
Here we will show how we can use different morphology operators to extract horizontal and vertical lines
|
|
|
|
|
2014-11-27 20:39:05 +08:00
|
|
|
- @subpage tutorial_pyramids
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
What if I need a bigger/smaller image?
|
|
|
|
|
|
|
|
- @subpage tutorial_threshold
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
After so much processing, it is time to decide which pixels stay!
|
|
|
|
|
2016-03-21 10:53:04 +08:00
|
|
|
- @subpage tutorial_threshold_inRange
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Rishiraj Surti
|
|
|
|
|
|
|
|
Thresholding operations using inRange function.
|
|
|
|
|
2014-11-27 20:39:05 +08:00
|
|
|
- @subpage tutorial_filter_2d
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn to design our own filters by using OpenCV functions
|
|
|
|
|
|
|
|
- @subpage tutorial_copyMakeBorder
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to pad our images!
|
|
|
|
|
|
|
|
- @subpage tutorial_sobel_derivatives
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to calculate gradients and use them to detect edges!
|
|
|
|
|
|
|
|
- @subpage tutorial_laplace_operator
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn about the *Laplace* operator and how to detect edges with it.
|
|
|
|
|
|
|
|
- @subpage tutorial_canny_detector
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn a sophisticated alternative to detect edges.
|
|
|
|
|
|
|
|
- @subpage tutorial_hough_lines
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to detect lines
|
|
|
|
|
|
|
|
- @subpage tutorial_hough_circle
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to detect circles
|
|
|
|
|
|
|
|
- @subpage tutorial_remap
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to manipulate pixels locations
|
|
|
|
|
|
|
|
- @subpage tutorial_warp_affine
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to rotate, translate and scale our images
|
|
|
|
|
|
|
|
- @subpage tutorial_histogram_equalization
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to improve the contrast in our images
|
|
|
|
|
|
|
|
- @subpage tutorial_histogram_calculation
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to create and generate histograms
|
|
|
|
|
|
|
|
- @subpage tutorial_histogram_comparison
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn to calculate metrics between histograms
|
|
|
|
|
|
|
|
- @subpage tutorial_back_projection
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to use histograms to find similar objects in images
|
|
|
|
|
|
|
|
- @subpage tutorial_template_matching
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to match templates in an image
|
|
|
|
|
|
|
|
- @subpage tutorial_find_contours
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to find contours of objects in our image
|
|
|
|
|
|
|
|
- @subpage tutorial_hull
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to get hull contours and draw them!
|
|
|
|
|
|
|
|
- @subpage tutorial_bounding_rects_circles
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to obtain bounding boxes and circles for our contours.
|
|
|
|
|
|
|
|
- @subpage tutorial_bounding_rotated_ellipses
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to obtain rotated bounding boxes and ellipses for our contours.
|
|
|
|
|
|
|
|
- @subpage tutorial_moments
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn to calculate the moments of an image
|
|
|
|
|
|
|
|
- @subpage tutorial_point_polygon_test
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Ana Huamán
|
|
|
|
|
|
|
|
Where we learn how to calculate distances from the image to contours
|
2015-01-21 11:49:31 +08:00
|
|
|
|
|
|
|
- @subpage tutorial_distance_transform
|
|
|
|
|
|
|
|
*Compatibility:* \> OpenCV 2.0
|
|
|
|
|
|
|
|
*Author:* Theodore Tsesmelis
|
|
|
|
|
|
|
|
Where we learn to segment objects using Laplacian filtering, the Distance Transformation and the Watershed algorithm.
|