Question: Write c++ code for a function that takes an Image struct (see code reference on last page) and returns a new image with the mirror
Write c++ code for a function that takes an Image struct (see code reference on last page) and returns a new image with the mirror reflection. (Chart is criteria)

Original: New: Image horizontalReflect (const Image&source) make Image newlmage as local variable loop over loop over every col (call this j) calculate/use counter to get flipped column .5 .5 .5 .5 every roW -get correct value. For col j, partner should be: (IMG WIDTH-j-1) copy red, green, blue values from source to newlmage return newlmage .5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
