Convolution and Correlation
Q1. This Equation is commonly used in image processing:
- What does the above equation represent?
- What does represent?
Deep Learning & Generative AI
Interview questions on Convolution Neural Networks.
46 questions
Convolution and Correlation
Convolution and Correlation
Convolution and Correlation
Convolution and Correlation
Using above, write the equivalent 2D correlation operation.
Convolution and Correlation
Convolution and Correlation
Convolution and Correlation
\begin{equation} A = \begin{bmatrix} 0 & 0 & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & 0 \\ \end{bmatrix} \tag{8.4} \end{equation}
Convolution and Correlation
Convolution and Correlation
Convolution and Correlation
arr001 = \begin{bmatrix} 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 \\ \end{bmatrix}
Convolution and Correlation
\begin{equation} f(x,y) * h(x,y) = \sum_{m=0}^{M-1} \sum_{n=0}^{N-1} f(m,n)h(x - m, y - n) \tag{8.6} \end{equation} K = \frac{1}{2} \begin{bmatrix} -1 & 1 \\ -1 & 1 \end{bmatrix}
Convolution and Correlation
Convolution and Correlation
Convolution and Correlation
\begin{equation} G(x) = \sqrt\frac{1}{2\pi\sigma^2}e^{-\frac{x^2}{2\sigma^2}} \tag{8.8} \end{equation}
\begin{equation} G(x, y) = \sqrt\frac{1}{2\pi\sigma^2}e^{-\frac{x^2+y^2}{2\sigma^2}} \tag{8.9} \end{equation} $$The Gaussian filter, is an operator that is used to blur images and remove detail and noise while acting like a low-pass filter. This is similar to the way a mean filter works, but the Gaussian filter uses a different kernel. This kernel is represented with a Gaussian bell shaped bump. Answer the following questions: 1. Can 8.8 be used directly on a 2D image? 2. Can 8.9 be used directly on a 2D image? 3. Is the Gaussian filter separable? if so, what are the advantages of separable filters.CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
CNN as Fixed Feature Extractor
Neural Style Transfer
Neural Style Transfer
Neural Style Transfer
Neural Style Transfer
Neural Style Transfer
sim(u, v) = \frac{u.v}{|u||v|} = \frac{\sum_{i=1}^Nu_iv_i}{\sqrt{(\sum_{i=1}^Nu_i^2)(\sum_{i=1}^Nv_i^2)}}