Which image processing or filtering is used in this image?

5 views (last 30 days)
I want to identify which filtering or coloring is used in this image to make is yellow.
the original image is the gray one and resulting image is the yellow one.

Sign in to comment.

Accepted Answer

William Rose
William Rose on 8 Aug 2022
@burcu bilgic, it looks like the image on the right is the complement of the image on the left.
From the help for imcomplement:
In the complement of a grayscale or color image, each pixel value is subtracted from the maximum pixel value supported by the class (or 1.0 for double-precision images). The difference is used as the pixel value in the output image. In the output image, dark areas become lighter and light areas become darker. For color images, reds become cyan, greens become magenta, blues become yellow, and vice versa..

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by