benchmarks.wiki / Public workspace

MMLU-Pro / 10474 / Digital images are often represented by the red, green, and blue values (an RGB…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

question

Digital images are often represented by the red, green, and blue values (an RGB triplet) of each individual pixel in the image. A photographer is manipulating a digital image and overwriting the original image. Which of the following describes a lossless transformation of the digital image?

category

computer science

options

  1. Compressing the image in a way that may lose information but will suffer only a small loss of image quality.
  2. Converting the image to black and white by assigning the maximum value of the RGB triplet to each pixel.
  3. Resizing the image by reducing the number of pixels, which may lose some detail.
  4. Enhancing the image by adjusting the contrast, brightness and saturation, which may alter the original pixel values.
  5. Creating the gray scale of an image by averaging the amounts of red, green, and blue in each pixel and assigning this new value to the corresponding pixel in the new image. The new value of each pixel represents a shade of gray, ranging from white to black.
  6. Adding a watermark on the image by overlaying a semi-transparent image on top of the original image.
  7. Applying a filter to the image that changes the color balance, resulting in a different color representation.
  8. Creating a sepia toned version of the image by applying a certain formula to the RGB values of each pixel.
  9. Creating the negative of an image by creating a new RGB triplet for each pixel in which each value is calculated by subtracting the original value from 255. The negative of an image is reversed from the original; light areas appear dark, and colors are reversed.
  10. Modifying part of the image by taking the pixels in one part of the picture and copying them to the pixels in another part of the picture.

src

ori_mmlu-high_school_computer_science

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import