Company: Ubs_10march
Difficulty: medium
Texture Image Transformation Problem Description You are working with a model represented as a binary texture image. This texture is represented as an n x n grid where each 1 in the grid is a black pixel, and 0 is a white pixel. There are three transformations to apply to the model's texture in this order: Rotation: The texture image can be rotated by 90, 180, or 270 degrees clockwise specified in the variable rotation . Vertical Flip: If verticalFlip = 1 , flip the image along its horizontal axis. The pixels will appear in reverse order from top to bottom. Horizontal Flip: If horizontalFlip = 1 , flip the image along its vertical axis. The pixels will appear in reverse order from left to right. Implement a function that applies the transformations and returns the final image. The function getFinalImage will take the following inputs: int image[n][n] : the texture image to process int rotation : the rotation parameter int verticalFlip : the vertical flip parameter int horizontalFlip :