Question

In: Accounting

Consider an image of size 10,000-by-10,000 pixels that needs to be convolved with a filter of...

  1. Consider an image of size 10,000-by-10,000 pixels that needs to be convolved with a filter of size 100-by-100. Comment about the most efficient method for convolving. Would it be convolution in spatial domain or Fourier?

Solutions

Expert Solution

Convolution has applications that include probability, statistics, computer vision, natural language processing, image and signal processing, engineering, and differential equations. The convolution can be defined for functions on Euclidean space, and other groups.Convolution:Convolution in time domain results in multiplication in the frequency domain. You find the Fourier transform of the signals and multiply them,then find the inverse Fourier transform of the result. The final result will be equivalent to convolution of the signals in time domain.

Suppose that you despise convolution. What are you going to do if given an input signal and impulse response, and need to find the resulting output signal? Figure 9-8 provides an answer: transform the two signals into the frequency domain, multiply them, and then transform the result back into the time domain. This replaces one convolution with two DFTs, a multiplication, and an Inverse DFT. Even though the intermediate steps are very different, the output is identical to the standard convolution algorithm.

Does anyone hate convolution enough to go to this trouble? The answer is yes. Convolution is avoided for two reasons. First, convolution is mathematically difficult to deal with. For instance, suppose you are given a system's impulse response, and its output signal. How do you calculate what the input signal is? This is called deconvolution, and is virtually impossible to understand in the time domain. However, deconvolution can be carried out in the frequency domain as a simple division, the inverse operation of multiplication. The frequency domain becomes attractive whenever the complexity of the Fourier Transform is less than the complexity of the convolution. This isn't a matter of which you like better; it is a matter of which you hate less.

The Fourier transform of the convolution is the product of the two Fourier transforms! The correlation of a function with itself is called its autocorrelation.

The Fourier transform is a linear operator – The transform of the sum of two functions is the sum of the transforms h12 = h1 + h2 H12 ( f )= h12e−2πift dt −∞ ∞ ∫ = h1 + h ( 2 )e−2πift dt −∞ ∞ ∫ = h1 e−2πift dt −∞ ∞ ∫ + h2 e−2πift dt −∞ ∞ ∫ = H1 + H Fourier Transforms • h(t) may have some special properties – Real, imaginary – Even: h(t) = h(-t) – Odd: h(t) = -h(-t) • In the frequency domain these symmetries lead to relations between H(f) and H(-f).


Related Solutions

Answer the following questions appropriately.For an image of size 16 x 16 pixels consisting of digits,...
Answer the following questions appropriately.For an image of size 16 x 16 pixels consisting of digits, i.e. each image is of a hand-written digit. Assume that there are as many hidden neuron in the only hidden layer as in the input layer. The output layer is used to predict the digit written in the impute image. The digit can be from 0 to 9. Answer the following questions:                              [5 x 4] What should be the number of neurons in output...
For the following style rules, what is the font size of the h1 heading in pixels?...
For the following style rules, what is the font size of the h1 heading in pixels? body {font-size: 16px;} body > article {font-size: 0.75em;} body > article > h1 {font-size: 1.5em;} 16px; 12px; 18px; 18.25px;
Please answer the following questions. 1. Please explain why we need image rejection filter or image...
Please answer the following questions. 1. Please explain why we need image rejection filter or image rejection mixer and when we need with detail explanation. 2. Please introduce a couple of methods to remove image signals.
Complete the table below. Trial Object Distance (cm) Object Size (cm) Image Distance (cm) Image Size/Orientation...
Complete the table below. Trial Object Distance (cm) Object Size (cm) Image Distance (cm) Image Size/Orientation (cm) Focal Length (cm) 1 11.25 2.00 87.75 15.5 / inverted 2 87.60 2.00 11.40 0.300 / inverted 3 23.35 XXX 17.65 XXX 4 17.55 XXX 23.45 XXX XXX XXX XXX XXX Average XXX XXX XXX XXX Std. Dev. (5 points x 6 = 30 points) 1. Plot the 1/o (object distance) vs. 1/i (image distance) graph from all data collected. (10 points) What...
1. Create a color image of size 200 × 200. The image should have a blue...
1. Create a color image of size 200 × 200. The image should have a blue background. 2. Create 100 yellow regions within the image that have a variable size. More specifically, their width should be an odd number and vary between 3 and 7 and their height should also be an odd number and vary between 3 and 7. For example, you may get rectangular regions of size 3 × 3, 3 × 5, 5 × 3, 5 ×...
I blurred a grayscale image using a 5x5 average filter and then I am supposed to...
I blurred a grayscale image using a 5x5 average filter and then I am supposed to deblur using an Inverse filter using Constrained Division. Is there a better way to do this? The error that pops up is this: Error using ./ Complex integer arithmetic is not supported. Error in test2 (line 12) fbw = fftshift(fft2(blur))./bw; When I blur the image using a butterworth filter it works just fine yet when I blur using the average filter my code won't...
Using Matlab 1. Create a color image of size 200 × 200. The image should have...
Using Matlab 1. Create a color image of size 200 × 200. The image should have a blue background. 2. Create 100 yellow regions within the image that have a variable size. More specifically, their width should be an odd number and vary between 3 and 7 and their height should also be an odd number and vary between 3 and 7. For example, you may get rectangular regions of size 3 × 3, 3 × 5, 5 × 3,...
Determine the size of the high rate trickling filter for the following data: Sewage flow is...
Determine the size of the high rate trickling filter for the following data: Sewage flow is 5 MLD; Recirculation factor is 1.89; Raw wastewater BOD is 230 mg/L; BOD removed in PST is 30%; Final desired BOD in the treated effluent is 25 mg/L pls send the sol fast in rough only i need it urgent
Draw diagrams to indicate qualitatively the position, nature, and size of the image formed by a...
Draw diagrams to indicate qualitatively the position, nature, and size of the image formed by a converging lens of focal length f for the following object distances: (a) infinity, (b) greater than 2f, (c) equal to 2f, (d) between 2f and f, (e) equal to f, (f) less than f.
Consider two Images of same dimensions where one image is an original image and other should...
Consider two Images of same dimensions where one image is an original image and other should be a degraded image.    Write a matlab program to measure picture quality using objective assessment validation criteria for the degraded image and original image. Calculate MSE, PSNR, Normalized absolute error, Maximum Difference, Structural content, Average difference, Normalized cross correlation for the images.    Explain the importance of Objective assessment in Image processing
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT