- Home
- Bengal Math Curriculum
- Statistics Help
- Statistics Consulting
- Popular Services
- *99 Cents for 1 Math Problem
- Statistics Help
- Statistics Solutions
- Statistics Symbols
- Statistics Lecture Notes
- Statistics Class Notes
- Hire Freelancer - xlance Alternative
- Math Olympiad
- Free Accounting Homework Help
- Free Business Math Homework Help
- Free Programming Homework Help
- Free Finance Homework Help
- Free Economics Homework Help
- Free Chemistry Homework Help
- Free Biology Homework Help
- Free Management Homework Help
- Free Engineering Homework Help
- Free Chemical Engineering Homework Help
- Free Mechanical Engineering Homework Help
- Free Computer Science Homework Help
- Free Bioinformatics Homework Help
- Free Calculus Homework Help
- Free College Homework Help
- Get One Month Coaching ($149)
- Math Curriculum(High Expectation)
- 1-On-1 Coaching
- Accounting Solutions
- Bioinformatics Solutions
- Biology Solutions
- Business Math Solutions
- Calculus Solutions
- Chemical Engineering Solutions
- Chemistry Solutions
- Computer Science Solutions
- Economics Solutions
- Engineering Solutions
- Finance Solutions
- Management Solutions
- Mechanical Engineering Solutions
- Programming Solutions
- Donate
- Almost FREE Service
- Chat Core Dump
- WhiteBoard Sessions
- Submit Math Problems
- Checkout Math Solutions
- Sample Math Video
- College Textbooks
- College Courses
- Coursera Courses
- edX Courses
- Give Gift Certificates to Your Loved One
- Get a Scholarship
- Tell a Friend
- *Online Math Help ($16 per Hour)
- Vedic Maths
- Home Schooling
- Community College Math
- Online Degree Program
- Blog
- We are in News
- FAQ
- Contact Us
- Privacy Policy
- Terms & Condition * Restrictions Apply

- Home
- *99 Cents for 1 Math Problem
- Statistics Help
- Statistics Solutions
- Statistics Symbols
- Statistics Lecture Notes
- Statistics Class Notes
- Hire Freelancer - xlance Alternative
- Math Olympiad
- Free Accounting Homework Help
- Free Business Math Homework Help
- Free Programming Homework Help
- Free Finance Homework Help
- Free Economics Homework Help
- Free Chemistry Homework Help
- Free Biology Homework Help
- Free Management Homework Help
- Free Engineering Homework Help
- Free Chemical Engineering Homework Help
- Free Mechanical Engineering Homework Help
- Free Computer Science Homework Help
- Free Bioinformatics Homework Help
- Free Calculus Homework Help
- Free College Homework Help
- Get One Month Coaching ($149)
- Math Curriculum(High Expectation)
- 1-On-1 Coaching
- Accounting Solutions
- Bioinformatics Solutions
- Biology Solutions
- Business Math Solutions
- Calculus Solutions
- Chemical Engineering Solutions
- Chemistry Solutions
- Computer Science Solutions
- Economics Solutions
- Engineering Solutions
- Finance Solutions
- Management Solutions
- Mechanical Engineering Solutions
- Programming Solutions
- Almost FREE Service
- Chat Core Dump
- WhiteBoard Sessions
- Submit Math Problems
- Checkout Math Solutions
- Sample Math Video
- College Textbooks
- College Courses
- Coursera Courses
- edX Courses
- Give Gift Certificates to Your Loved One
- Get a Scholarship
- Tell a Friend
- *Online Math Help ($16 per Hour)
- Vedic Maths
- Home Schooling
- Community College Math
- Online Degree Program
- Blog
- We are in News
- FAQ
- Contact Us
- Privacy Policy
- Terms & Condition * Restrictions Apply

Statistics Help

**Question: **Develop the following using Python*.

A (30/11/2018)

myConv2(A, B, ‘param’): This function has as input two 2D matrices and returns

the result of the convolution of matrix A and B. For example, myConv2(A, B) should

return a matrix containing the result of A*B. The output matrix should also be able to

have the same dimensions as A.

myImNoise(A, ‘param’): This function has as input a 2D matrix (image) and returns

the image distorted by some noise, also given as input. Design the function so that

the result of the function given the parameters ‘gaussian’ and ‘saltandpepper’ is the

initial image distorted accordingly. (gaussian -> white gaussian noise).

myImFilter(A, ‘param’): This function should take an image and a filter as input, and

apply the filter to the image. Develop the function so that given ‘mean’ and ‘median’

as input, the image should be filtered appropriately.

demo1.py : Python script that implements the following:

1. Reads an image from disk and converts it to grayscale (A). Libraries like

OpenCV can be used for image reading and conversion.

2. Distorts the initial image, B = myImNoise(A, ‘param’)

3. Filters the distorted image, C = myImFilter(B, ‘param’)

4. Displays images A, B, C and also saves B, C to disk. In this step you are

allowed to use library functions (e.g., OpenCV etc).

myCuConv2: Develop a version of myConv2 in C++/CUDA taking advantage of an

Nvidia GPU for parallel computation of the convolution between two 2D matrices.

Β (14/12/2018)

myHist(A, n): Function that takes a grayscale image A as input and returns image

histogram, consisting of n bins.

myHuffman: Function that encodes an image histogram using Huffman coding

algorithm.

demo2.py : Python script that implements the following:

* or C/C++

1. Reads an image from disk and converts it to grayscale (A). Libraries like

OpenCV can be used for image reading and conversion.

2. Calculates the histogram of A (e.g., n = 256 bins).

3. Calculates the Huffman vocabulary of image A histogram.

Edit

**TutorTeddy.com & Boston Predictive Analytics**

[ Email your Statistics or Math problems to **help@teddycan.com** (camera phone photos are OK) ]

Boston Office (Near MIT/Kendall 'T'):

Cambridge Innovation Center,

One Broadway, 14th Floor,

Cambridge, MA 02142,

Phone: 617-395-8864

Dallas Office (Near Galleria):

15950 Dallas Parkway,

Suite 400,

Dallas, TX 75248,

Phone: 866-930-6363