Building Computer Vision Projects with OpenCV 4 and C++
上QQ阅读APP看书,第一时间看更新

Preprocessing the input image

This section introduces some of the most common techniques that we can apply for preprocessing images in the context of object segmentation/detection. The preprocessing is the first change we make to a new image before we start working and extracting the information we require from it. Normally, in the preprocessing step, we try to minimize the image noise, light conditions, or image deformation due to a camera lens. These steps minimize errors while detecting objects or segments in our image.