OpenCV 2 Computer Vision Application Programming Cookbook by Laganiere Robert

OpenCV 2 Computer Vision Application Programming Cookbook by Laganiere Robert

Author:Laganiere, Robert
Language: eng
Format: epub
Publisher: Packt Publishing


Clearly, the noisy pixels shifted the mean value of neighboring pixels. As a result, the noise is still visible even if it has been blurred by the mean filter.

The median filter also has the advantage of preserving the sharpness of the edges. However, it washes out the textures in uniform regions (for example, the trees in the background).

Applying directional filters to detect edges

The first recipe of this chapter introduced the idea of linear filtering using kernel matrices. The filters used had the effect of blurring an image by removing or attenuating its high-frequency components. In this recipe, we will perform the opposite transformation that is amplifying the high-frequency content of an image. As a result, the high-pass filters introduced here will perform edge detection.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.