0
\$\begingroup\$

I want to know if there's a way to equalize the brightness of all the colors of an image. Like, I have a color image, I want to make its all colors' brightnesses the same value.

Ex -

  • H-43 S-73 B-101 → H-43 S-73 B-101

  • H-122 S-81 B-201 → H-122 S-81 B-101

  • H-122 S-91 B-192 → H-122 S-91 B-101

  • H-131 S-73 B-85 → H-131 S-73 B-101

    Thanks in advance

\$\endgroup\$
5
  • 1
    \$\begingroup\$ This is a graphic design question. Not a photography-related one. \$\endgroup\$
    – Rafael
    Oct 20, 2020 at 14:45
  • 1
    \$\begingroup\$ @Rafael It's also applicable to processing photos. \$\endgroup\$
    – Michael C
    Oct 20, 2020 at 17:45
  • \$\begingroup\$ Yes. Almost every graphic design process can be applied to photos. But this is not a photography question. \$\endgroup\$
    – Rafael
    Oct 20, 2020 at 18:37
  • \$\begingroup\$ One need not use a graphic design application at all to do this. Any raw image processing application with an HSL/HSV/HSB tool should suffice. \$\endgroup\$
    – Michael C
    Oct 20, 2020 at 21:05
  • 1
    \$\begingroup\$ What is the photographic purpose for you to "want to make its all colors' brightnesses the same value"? Many photo editing tools separate luminance and color as a means to an end, not the end in itself. \$\endgroup\$
    – xiota
    Oct 21, 2020 at 6:39

1 Answer 1

3
\$\begingroup\$

You need a program that can handle HSB channels.

Separate the image into HSB channels

enter image description here

Fill the B channel with the value you need and recombine.

enter image description here

You will get a weird image.

This process is very destructive, mainly because the H channel needs more than 255 levels, let's say 360 at least.

And by flattening the B channel you are destroying the main source of information.

I did this on PhotoPaint, PhotoShop does not use HSB channels, so you could try using Lab channels.

https://pixabay.com/es/photos/azul-gafas-de-sol-mujer-piscina-2705642/

\$\endgroup\$
6
  • \$\begingroup\$ HSB (Hue + Saturation + Brightness) is alternatively known as HSL (L for Luminance) or HSV (V for Value) in some image processing applications. \$\endgroup\$
    – Michael C
    Oct 20, 2020 at 21:03
  • \$\begingroup\$ HSL is a different color mode. But if your application has not HSB, probably will not have HSL either. \$\endgroup\$
    – Rafael
    Oct 21, 2020 at 9:15
  • \$\begingroup\$ Value is max(R,G,B), while Luminance is a weighted combination of the three. \$\endgroup\$
    – xenoid
    Oct 21, 2020 at 11:49
  • \$\begingroup\$ I use several applications with (only) HSL that do the exact same thing as other applications with (only) HSV or (only) HSB. \$\endgroup\$
    – Michael C
    Oct 21, 2020 at 16:47
  • 1
    \$\begingroup\$ @Rafael this can be achieved in Photoshop by changing the image mode to "Lab" and applying the luminosity value to the "Lightness" channel. Works very similar to HSL. \$\endgroup\$
    – AutoBaker
    Oct 28, 2020 at 13:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.