subject
Engineering, 11.02.2020 17:25 maddynichole2017

We often in slides and homework questions have neglected to induce the normalization constants that are needed to make a smoothing filter's coefficients add up to one, or that allow a derivative filter to compute the correct gradient magnitude (which would indicate the actual change in intensity value from dark to bright across an edge). For example, a 3 times 3 box filter 1 1 1 1 1 1 1 1 1 should really have each coefficient divided by 9 (to become 1/9). Otherwise, it simply adds up the 9 numbers in a local neighborhood instead than computing their average. Similarly, a 3 times 3 Gaussian smoothing filter 1 2 1 2 4 2 1 2 11 2 1 2 4 2 1 2 1 should be divided by 16, for the same reason. Finally, note that we often neglect to divide the central finite difference filter 1 0 -1 by 2, as Taylor series says we should. In lecture slides, we justify that it is OK pedagogically to do this because: 1) it is easier to apply filters with integer coefficients (certainly true when computing convolution by hand): and 2) we can apply the normalization at the end by dividing the image of results by the normalizing constant, for example (1/9 times boxfilter)' image = 1/9 times (boxfilter ' image), where x means multiplication, and ' means convolution. This is due to convolution being a linear operator, one of the nice mathematical properties listed on our convolution properties slide. In this question, determine what the normalization constants should be for two common filters that perform smoothed derivative compulsions. A) As discussed in lecture, the Prewitt edge operator 1 0 -1 1 0 -1 1 0 -1 combines a first derivative filter across rows with a box smoothing filter down columns. What should the normalization constant be so that this filter computes the correct gradient magnitude values across an intensity edge? B) The Sobel edge operator 1 0 -1 2 0 -2 1 0 -1 combines a first derivative filter across rows with a Gaussian smoothing filter down columns. What should the normalization constant be so that this filter computes the correct gradient magnitude values across an intensity edge?

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
question
Engineering, 03.07.2019 15:10
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
question
Engineering, 04.07.2019 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 19:10
Air inially occupying a volume of 1 m2 at 100 kpa, 27 c undergoes three internally reversible processes in series. process 1-2 compression to 500 kpa during which pv constant process 2-3 adiabatic expanslon to 100 kpa process 3-1: constant-pressure expansion to 100 kpa (a) calculate the change of entropy for each of the three processes. (b) calculate the heat and work involved in each process. (c) is this cycle a power cycle or refrigeration cycle?
Answers: 3
You know the right answer?
We often in slides and homework questions have neglected to induce the normalization constants that...
Questions
Questions on the website: 13722361