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

Geometrical examine types of line clipping, Geometrical examine Types of Li...

Geometrical examine Types of Line Clipping Geometrical examine of the above kinds of clipping (it assists to get point of intersection of line PQ along with any edge). Assu

Sub classes of orthographic projection, Sub Classes of Orthographic Project...

Sub Classes of Orthographic Projection There are three ordinary sub-classes of Orthographic (axonometric) projections as: 1) Isometric: The direction of projection makes

Application of sutherland hodgman polygon clipping, For good understanding ...

For good understanding of the application of the rules specified above see the following figure, where the shaded region demonstrates the clipped polygon. Fi

Avi codec format, AVI CODEC Formats: Various AVI file formats other than t...

AVI CODEC Formats: Various AVI file formats other than the DV Types 1 and 2 formats are there discussed earlier. All such the other formats involve the utilization of Compressor o

What is shearing, What is shearing?  The shearing transformation actua...

What is shearing?  The shearing transformation actually slants the object with the X direction or the Y direction as needed.ie; this transformation slants the shape of an obje

Hue and saturation, Hue and Saturation: A light source produced by a sun o...

Hue and Saturation: A light source produced by a sun or electric bulb emits all frequencies within the visible range to give white light. When this light is incident upon an objec

Progressive scan in image capture formats, Progressive Scan: Progressive o...

Progressive Scan: Progressive or non-interlaced scanning is a process which displays, transmits or stores moving images wherein, the lines of all frame are drawn in order. It is i

Flash - software to generate computer animations, Flash - software to gener...

Flash - software to generate computer animations Flash: Learning Macro-Media's Flash can quite complicated, although you can do almost anything along with it. You can devel

Differentiate between spatial and temporal interpolations, Question 1: ...

Question 1: (a) Define what you understand by the following terms: i) Pixel ii) Pixel Aspect Ratio iii) Frame rates. iv) Animation In each of the above, use diagr

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