122
edits
Changes
→Image Profiling
Out of all the functions tested, rotateImage takes up the largest amount of time. Below is the code for rotateImage:
void ImagerotateImageImage::rotateImage(int theta, Image& oldImage)
{
int r0, c0;
}
oldImage = tempImage;}
Big O = O(n^2);
Given that the growth rate based on problem size is pretty big for O(n^2) it is worth attempting to parallelize.
==== LZW Data Compression Algorithm ====