• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Setting Exposure

Community Beginner ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Hi, I'm a dentistry student and I'm doing a project where I need to use photoshop. I have made a pic of a mouth with near a grey/white balance card which I know exactly be 79.0.0. (CIE LAB Values). I need to set the pic's exposure based on this value. How can I make it without trying many times until I've reached the correct value? Like a command or specific function

P.S. I'm attaching also the pic so you understand what I'm talking about 

Screenshot 2024-04-17 alle 17.03.15.png

TOPICS
Actions and scripting , Experiment , macOS

Views

240

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

If I understand correctly, you're asking to go to Image > Mode > Lab Color, place a Color Sampler point on the card, then create a Curves adjustment layer and correct the Lab values to the exact numbers, right?

lab color co5rrection.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Thanks a lot! Even for the fast reply💪💪💪

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Add a color fill layer set to L*A*B values of 79, 0, 0. Set it to Difference mode.

Then add a curves adjustment layer. Use the black point eyedropper and click on an area of the card. This will set the card to black, which is what Difference give you if two layers are identical. Now turn off the color fill layer.

Please note that illumination on your image is not even! So the grey card has different values depending on where sampled. You'll have to decide which is accurate.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Thanks. Do you think it's more accurate than the other solution? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Its exact. But as I said, your card is not lit evenly.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Thanks. However this is just a test. The real pics will be taken with a polarized filter so that I'll take down the reflection problems and the sample has to be down within the two circles. Thanks very much 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Medical photos are often shot with a ring light, which helps give even illumination.

You can automate this with a Colorchecker and calibration of your display and a camera/lighting profile.

https://calibrite.com/us/product/colorchecker-passport-photo-2/

https://calibrite.com/us/product-category/photographers/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 20, 2024 Apr 20, 2024

Copy link to clipboard

Copied

Hi @Lumigraphics,

I have tried out of curiosity, but what you suggested (if I haven't misinterpreted it) doesn't seem to work; the readings are way off, so it's not rounding errors or a misplaced reading—see the attached screencast.

 

I think the Curve should be added below the Solid Color layer (not above), and tweaked until the reading of the composite (with the Solid color layer on top, Difference mode) is 0,0,0. But then, I don't see how to automate the process with a single eyedropper click... Am I missing something?

 

Davide Barranca - PS developer and author
www.ps-scripting.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 20, 2024 Apr 20, 2024

Copy link to clipboard

Copied

I haven't done any testing. Maybe if you invert the curve? or reorder the layers. But the principle should work. The composite should be black.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 22, 2024 Apr 22, 2024

Copy link to clipboard

Copied

The principle works if you keep the Curves below the Solid Color; then, by definition of the Difference mode, the reading is black. The theory checks.

 

Davide_Barranca_0-1713779482200.png

 

And when you remove the Solid Color, you hit the Lab target.

 

Davide_Barranca_1-1713779537214.png

 

But there is no way to automate the curves with a single Shadow/Highlights eyedropper click. One can do it manually, though, channel by channel. It took me like half a minute.

 

Davide_Barranca_2-1713779625938.png

 

Alternatively (and this is even faster) @Fedevan10 can just operate this way:

 

  • disregard the solid color thing: just add a Curves adjustment layer.
  • select the gray point eyedropper in the Curves (the middle one) and click on the target in the image; this neutralizes the white balance card moving each R, G, B channels curves middle point.
  • Set the readings in the Info palette as Lab. The a,b channels will be zeroed, but the L value will likely be off. 
  • Add one point to the composite curve, and move it until the L is right.

 

The attached screencast shows the whole thing; when you get the hang of it, it's really fast. If you have a thousand pictures to correct, maybe annoying, but... 😅

 

Davide Barranca - PS developer and author
www.ps-scripting.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 23, 2024 Apr 23, 2024

Copy link to clipboard

Copied

LATEST

Ciao Davide, immagino tu sia italiano. Ma secondo te la prima soluzione non andava bene? Ossia quella di prendere il LAB prima di fare qualsiasi modifica nel punto di interesse (che io considero tra i due cerchietti), poi creare una curva di aggiustamento e inserire i valori sotto la curva i valori vecchi e quelli nuovi per L, a e b. Secondo te? Mi sembrava piuttosto veloce come sistema.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines