PowerPoint 演示文稿
Given the following image F and filter H, answer the following questions:
Copyright By PowCoder代写 加微信 powcoder
(a) Show the result of HF,
(a) Show the result of HF,
1×0+2×1+4×0+5×1+2x(-4)+5×1+1×0+1×1+3×0=5
2×0+4×1+5×0+2×1+5x(-4)+2×1+1×0+3×1+6×0=-9
(a) Show the result of HF,
(b) A 3X3 median filter is a filter where the output image is obtained by selecting the median of the pixel values under the filter window. Show the result of convolving the median filter with F.
1,1,1,2,2,3,4,5,5
1,2,2,2,3,4,5,5,6
1,1,2,2,3,4,5,5,6
1,2,2,3,4,5,6,6,7
(c) Comment the property of median filter in comparison to mean filter learnt in class.
Mean filter:
(c) Comment the property of median filter in comparison to mean filter learnt in class.
Mean filter:
Median filter is a non-linear filter that could filter out the noise (pepper noise) by retaining the median value in a local area. Mean filter is a linear filter which may smooth and blur the image due to the averaging operation.
is a 2D symmetric filter of size , and is an odd number. By convoluting on an image (denoted as ), we obtain a filtered image .
(a) Given an image pixel at location , find its value in the filter image (x,y). Express your answer in terms of , , , and y.
is a 2D symmetric filter of size , and is an odd number. By convoluting on an image (denoted as ), we obtain a filtered image .
(a) Given an image pixel at location , find its value in the filter image (x,y). Express your answer in terms of , , , and y.
is a 2D symmetric filter of size , and is an odd number. By convoluting on an image (denoted as ), we obtain a filtered image .
(b) Calculate the number of operations in (a)? An operation is defined as an addition or multiplication of two numbers. Assuming the size of an image is 𝑁×𝑁. Express your answer in terms of 𝑁 and 𝑘.
is a 2D symmetric filter of size , and is an odd number. By convoluting on an image (denoted as ), we obtain a filtered image .
(b) Calculate the number of operations in (a)? An operation is defined as an addition or multiplication of two numbers. Assuming the size of an image is 𝑁×𝑁. Express your answer in terms of 𝑁 and 𝑘.
Multiplication: ;
Addition: ;
is a 2D symmetric filter of size , and is an odd number. By convoluting on an image (denoted as ), we obtain a filtered image .
(c) If , where and are two 1D filters, prove that convolution can be performed by What is the number of operations required?
is a 2D symmetric filter of size , and is an odd number. By convoluting on an image (denoted as ), we obtain a filtered image .
(c) If , where and are two 1D filters, prove that convolution can be performed by What is the number of operations required?
Multiplication:
is a 2D symmetric filter of size , and is an odd number. By convoluting on an image (denoted as ), we obtain a filtered image .
(d) Is (c) more computationally efficient than (b)? How many operations are saved?
is a 2D symmetric filter of size , and is an odd number. By convoluting on an image (denoted as ), we obtain a filtered image .
(d) Is (c) more computationally efficient than (b)? How many operations are saved?
/docProps/thumbnail.jpeg
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com