You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the image above, the edges in the gradient magnitude image are brighter and clearer to see.
82
+
From the image above, the edges in the gradient magnitude image are brighter and more distinct.
83
83
</p>
84
84
85
85
</article>
86
86
87
87
<!-- 1.3 -->
88
88
<articleid="part1-3">
89
-
<h3>Part 1.3. Gaussian & DoG Filters; Cameraman Comparisons</h3>
89
+
<h3>Part 1.3: Derivative of Gaussian (DoG) Filter</h3>
90
90
<p>
91
-
<strong>Goal:</strong> Construct Gaussian filters using <em>cv2.getGaussianKernel</em>, build Difference-of-Gaussians (DoG), visualize the filters, apply Gaussian smoothing and DoG to the cameraman image, and compare with finite difference results.
91
+
To further improve edge visibility, we can first smooth out the noise by convolving the original image with a Gaussian filter. To generate one with dimensions <i>n × n</i>, we can take the outer product of 2 length <i>n</i> arrays. Below is the result of blurring the original image using a 5 × 5 Gaussian filter.
To illustrate the improvements, below is a side-by-side comparison of the edge magnitudes for each of the 3 methods, in row-major order from least to most clarity:
0 commit comments