Posted: August 12th, 2015

Programming and Software Tools in Mechanical Engineering

Programming and Software Tools in Mechanical Engineering

Project #2
Given a series of silent high-speed images, write a program to extract audio from the
images.

Example
(1) An example written in C++ has been given in Lecture #7.
(2) Solution LoadBitmap has two useful functions:
GetImageDataFromBmpFile
writeWAVData
Instead of copying the relevant code of Solution LoadBitmap into your program, you can
directly use the following three files in your project:
LoadBmp.h
LoadBitmap.lib
LoadBitmap.dll
The first two files are necessary for using functions GetImageDataFromBmpFile and
writeWAVData, and they should be included in your solution. The last file is necessary
for running your program, and you need to put it in the same folder of your executable
file.
(3) The sample code, OnToolsRuntest() in Lecture_7_1.cpp, uses hard code and a very
simple method to extract audio. You should write a program that can get audio
information from the silent images with higher quality and faster speed.
(4) Loading a large number of images can takes long time, so the time spent on image
loading is not considered when we calculate the processing speed.

Image Sets
There are three image sets for testing.  They can be downloaded at
https://www.dropbox.com/sh/jr6tkptpapo4c48/AABiGAcrx7AgoZ733KG7YuEya?dl=0
Please note that you can download the files from Dropbox without creating an account
and/or signing in.

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Live Chat+1-631-333-0101EmailWhatsApp