ASSIGNMENT HELP

Selesai Dipasang Oct 12, 2004 Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

Implement a sum-of-difference algorithm (SAD) for an arbitrary input

image* of type byte against macroblocks of fixed size 16x16. Edge

effects should be handled by duplication of the boundary values. Time

your routine and plot a simple graph of runtime vs. image size.

I will grade your code both on proper implementation of algorithm and

organization. You should use common OO practices that we have learned

to this point. Make clear abstractions, restrict data visibility where

appropriate, etc.

check+ target: code the algorithm in java and compare performance

*consider an image to be any byte array of width*height values

More detail: You SAD calculation will take two images as input,

representing frames at successive times (img1 and img2, say) in a

motion picture sequence. The images are just 2d arrays of bytes, with

each byte representing a luminosity value. For our purposes, you can

use real images, or you can just invent the arrays with whatever byte

values. The calculation then proceeds as follows: for each 16x16

macroblock in img1, find the "best match" in img2 around a

neighborhood of size search_range by summing the abs value of

point-by-point differences. For examples, if the sum of differences is

exactly zero for some region of img2, then the two macroblocks match

perfectly. Your routine will need to return the coordinates of the

best match for each macroblock in img1. I'll be very flexible about

how you organize your code. I just want to see some good practices and

creativity.

In pseudocode, you might do something like:

search_range = 16;

loop:

mb = getNextMacroblock(img1);

bestMatchCoord = SADSearch(img2, mb, search_range) //

bestMatches[i++] = bestMatchCoord

end loop

see, e.g. [url removed, login to view]

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Please follow exact directions as above and please do the code with comments on each line, along with final java doc, and do the code from a C student perspective not an A student--thanks

Pemrograman C Teknik Java MySQL PHP Perancangan Perangkat Lunak Pengujian Perangkat Lunak

ID Proyek: #3386248

Tentang proyek

3 proposal Proyek online Aktif Oct 14, 2004

Diberikan kepada:

sooska

See private message.

$25.5 USD dalam 3 hari
(6 Ulasan)
3.0

3 freelancer rata-rata menawar $20 untuk pekerjaan ini

senzaciosnegyes

See private message.

$17 USD dalam 3 hari
(104 Ulasan)
4.9
relysoft

See private message.

$17 USD dalam 3 hari
(27 Ulasan)
3.2