Difference of gaussians, Computer Graphics

Assignment Help:

Difference of Gaussians

In this project we will implement the difference of Gaussians (DoG) edge detector and learn its characteristics.

Part A: Design and implement a procedure that takes the displayed image and the standard deviation (scale) of a Gaussian and replaces the displayed image with its Gaussian smoothed image. The Gaussian scale is provided interactively. Implement 2-D Gaussian smoothing by 1-D Gaussian smoothing.

Part B: Design and implement a procedure that receives the scale σ of a LoG edge detector and approximates the LoG edge detector by a DoG, by

1) Calling the Gaussian smoother once with scale σ and another time with scale 1.61σ,

2) Subtracting the two smoothed images, and

3) Finding the zero-crossings of the difference image. This procedure should set the zero-crossing pixels to 255 and all other pixels to 0. It should also replace the displayed image with its DoG edge image.

Part C: In a page or two describe your implementation and comment on the obtained results.

 Extra-credit: Design and implement a procedure that receives an image and the scale of a Gaussian smoother and finds the edges and the gradient magnitudes at the edges and returns the edge image where an edge pixel shows the gradient magnitude there. Replace the displayed image with the returned result. (1 point) Design and implement an interactive method to remove the weak edges. The implementation should allow the user to select a gradient threshold value interactively. It should then replace values in the displayed image that are below the threshold value to 0 and those equal to and greater than the threshold value to 255. Note that there is a need to make a backup copy of the displayed image to reuse it as needed.

Note: For accurate results, perform all calculations in float and then round to byte when saving and displaying the results.


Related Discussions:- Difference of gaussians

Polygon representation methods - space partitioning, Polygon representation...

Polygon representation methods - Space Partitioning Representations Space partitioning representations: this type of representation is used for explain the interior pr

Perspective projection, Perspective Projection 1. Perspective projectio...

Perspective Projection 1. Perspective projection gives more realistic appearance and uses the same principle as used in camera. 2. Perspective projection is not an affine tr

Polygon -rendering methods, Polygon -Rendering Methods Now we will see...

Polygon -Rendering Methods Now we will see the application of an illumination model to execute the rendering of standard graphics objects that are formed along with polygonal

Pitfalls in computer simulation - computer aided design, Pitfalls in comput...

Pitfalls in computer simulation Though generally avoided in computer simulations, in strict logic the rules governing floating point arithmetic even apply. For illustration, t

Give three ways to display a panel, QUESTION (a) Give some ways you can...

QUESTION (a) Give some ways you can change the magnification of a document? (b) Give three ways to display a panel? (c) Identify the differences between Selection tool an

Sequencing of animation design, Sequencing of Animation Design Previous...

Sequencing of Animation Design Previously we have discussed many things regarding the traditional and current trends of computer created animation although now it is time to pr

Overview of hardware primitives, Overview of Hardware Primitives With t...

Overview of Hardware Primitives With the advancement of computer technology, computer graphics has become a practical tool used in real life applications in diverse areas such

C++ programming, self test exercise 17 asked you to overload the operator >...

self test exercise 17 asked you to overload the operator >> and the operator Overload biinary operator + to add pairs according to the rule (a, b) + (c, d) = (a + c, b, + d) overl

Differences, difference between vecgen and breshnam algorithm

difference between vecgen and breshnam algorithm

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd