Which image processing or filtering is used in this image?

Hi,
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.

5 commentaires

@burcu bilgic, I checked, and my answer above is correct: the right hand image is obtained by imcomplement() of the left hand image.
It is the nature of imcomplement() that if you do it twice, you get back the original image. In other words, the left image is also the complement of the right image.
Thank you I also tried it, it worked like a charm. Again thank you for your effort :)
@burcu bilgic, You are welcome.
@burcu bilgic please accept @William Rose's answer below by clicking on the "Accept this answer" link to award him "reputation points" for figuring this out. 🙂

Connectez-vous pour commenter.

 Réponse acceptée

William Rose
William Rose le 8 Août 2022
@burcu bilgic, it looks like the image on the right is the complement of the image on the left.
J=imcomplement(I)
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..

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by