logo Use SA10RAM to get 10%* Discount.
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Rick PCriminology
(5/5)

687 Answers

Hire Me
expert
Steven HughesEducation
(5/5)

544 Answers

Hire Me
expert
Jim TavareLaw
(5/5)

950 Answers

Hire Me
expert
Mehak ChaudharyFinance
(5/5)

777 Answers

Hire Me
Python Programming

Write a program to generate a correlation coefficient map for a template matching example as illustrated in slide 25

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Test data: Image files can be found on Canvas (Files -> ImageData). For this assignment, you need flowers.raw (400x300, 8-bit), flowers-template.raw (42x45, 8-bit) and lena.raw (512x512, 8-bit). Use these images as inputs to your programs as needed.

Note that these files don’t include any header information (e.g., image dimension and number of intensity levels). Thus, the simple image viewer in Windows system may not work. For displaying them, use Photoshop or some free software for image display (e.g., ImageJ, MRICro).

 

  1. Similarity measure – correlation coefficient (50 points)

Write a program to generate a correlation coefficient map for a template matching example as illustrated in slide 25 of Lecture Note #9. Use flowers.raw as an original image and flowers-template.raw as a template (reference) image. Specifically, you can shift the template image over the original image, then calculate the correlation coefficient for each overlap case between the reference image and original image patch. Export an output file named flowers_correlation_coefficient.raw.

 

  1. Image downsampling and upsampling (50 points)

Write a program for performing image downsampling and upsampling. For downsampling, apply the naïve method to lena.raw illustrated in slide 3 of Lecture Note #11 by a factor of 2 (512x512->256x256). Then, upsample the 256x256 downsamped image to 512x512 by using nearest neighbor interpolation. Export an output file named lena_resampling.raw.

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

303 Experts Online