Convolving with user defined kernels

Assignment Help Programming Languages
Reference no: EM13189140

Convolving with User defined Kernels

As described previously, the SMOOTH function gives equal weight to the neighbouring pixels.  IDL also allows us to define the form of our filter (kernel, smoother, mask etc) and convolve it with an image. We can therefore create a Gaussian-weighted 5´5 kernel of the form

1042_Convolving with User defined Kernels.png

and convolve it with an image using the following commands

kernel = [[1,2,3,2,1],[2,7,11,7,2],[3,11,17,11,3], $

         [2,7,11,7,2],[1,2,3,2,1]]

tv, CONVOL(noisy_image,kernel,TOTAL(kernel))

The command:TOTAL(kernel) in the previous line automatically scales the kernel so that the dynamic range of the processed pixel is more or less preserved (it is the same as putting the fraction outside the kernel, as in section a). 

Exercise 1

 Edit the original Kernel to make the output image shifted by 3 pixels to the left.

Reference no: EM13189140

Questions Cloud

Informative and persuasive speaking : According to the differences outlined in the Thesis Exercise between informative and persuasive speaking, which of the following is an example of a persuasive proposition, rather than an informative thesis?
Is your employer doing enough : "Is Your Employer Doing Enough?" Choose an employer with which you are familiar (it could be your own or one you know well.)
Civil rights to terrorism suspects : Argue whether or not the government should extend the same civil rights to terrorism suspects that American citizens enjoy. Base your argument on your present knowledge of civil rights and liberties.
What is countervailing duty : Explain the nature of the deadweight losses that occur from a tariff. What is countervailing duty, why is it needed, and how does it work. What is the difference between a specific tariff and an ad valorem tariff.
Convolving with user defined kernels : Convolving with User defined Kernels - Edit the original Kernel to make the output image shifted by 3 pixels to the left.
Why is a shortage of internet access at new ceiling price : Suppose that the black market for Internet providers arises, with internet service providers developing hidden connections. Illustrate the black market for inter access, including the implicit supply schedule, the ceiling price, the black market s..
List some of products you typically purchase as a consumer : Identify the market structure(s) for the products listed Is advertising is associated with the identified market structure(s). If so, explain why advertising and/or product differentiation is important to this particular market structure.
What is the dollar value of the total surplus : Assume the following values for Figures 5.4a and Figures 5.4b. Q1 = 20 bags. Q2 = 15 bags. Q3 = 27 bags. The market equilibrium price is $45 per bag. The price at a is $85 per bag. The price at c is $5 per bag. The price at f is $59 per bag.
Which indicate an oligopolistic market structure : Name the circumstances which indicate an oligopolistic market structure and discuss a real life example of such a market structure. What are the most significant differences between oligopolistic and perfect competition from the consumer's point o..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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