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 Image::rotateImageImagerotateImage(int theta, Image& oldImage)/*based on users input and rotates it around the center of the image.*/
{
int r0, c0;