afdojo Posted January 22, 2022 Posted January 22, 2022 KUDOS: First and foremost, huge kudos to the Affinity Photo team for HDR Merge. Long story short but I recently scanned 1,200 35mm negatives using an $89 Jumbl scanner. As you can see in the first "Screen Shot" below, the scanner's default settings create a JPG file that is WAY TOO dark. I then scanned the negative three times using the EV={-1.0, 0.0, +1.0} options and opened the three files with HDR Merge. With minor tweaks to the Tone Map sliders, I got the second "Screen Shot" below. WAY BETTER! Thanks! You saved me a ton of money by not having to paying a scanning service! QUESTION: I exported HDR image to a JPG file and then opened it in Photo -- see third "Screen Shot" below. Although the images look identical, the histograms are WAY different. For example, the mean is like 68 in the HDR version but 129 in the exported version. So, the question is, why are the histograms so different? Thanks, Doug Quote Affinity Designer 2.4.2 Affinity Photo 2.4.2 Affinity Publisher 2.4.2 MacBook Air (M1, 2020) running macOS Sonoma v14.4.1 Nikon D7100 with 18-135mm zoom http://www.dojopico.org
thomaso Posted January 22, 2022 Posted January 22, 2022 The different histogram appearance results from the comparison of the initial RGB/32 (HDR, linear sRGB) with the exported RGB/8 bit. Linear profiles use different gamma than non-linear profiles. The 32-bit-Preview panel might interest, though it doesn't alter the image but previews only and its settings appear not to affect the histogram view. https://affinity.help/photo/English.lproj/index.html?page=pages/Panels/32bitPanel.html?title=32-bit Preview Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1
NotMyFault Posted January 22, 2022 Posted January 22, 2022 Using HDR for scanned images is kind of total overkill. Film Rolls have a limited dynamic range. Gray/16 is enough with still plenty of headroom. Using HDR and RGB/32 introduces the additional complexity you are just observing and reporting here. You can save much of your time by using a single scan of correct brightness (normally adjustable within the scanning app). A simple brightness/ contrast, levels or curves adjustment should be sufficient to get a perfect result. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted January 22, 2022 Posted January 22, 2022 There are excellent (long) tutorials videos explaining the background of dynamic range and need for gamma encoding https://en.wikipedia.org/wiki/Gamma_correction Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Old Bruce Posted January 22, 2022 Posted January 22, 2022 If all you can get out of the scanner is an 8 bit jpeg then I would definitely want at least a +/- 1 stop exposure for B&W negatives. Then I would probably convert them to 16 bits and do a Stack of the three or five images to get the full detail from the original negative. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
thomaso Posted January 22, 2022 Posted January 22, 2022 57 minutes ago, NotMyFault said: There are excellent (long) tutorials videos explaining the background of dynamic range and need for gamma encoding Nice video 😎. But sooo complicated 🧐. Aside all this tricky "real" eye, "real" camera, "real" science, "real" reality... … if only it weren't for the inability of the human brain to imagine a logarithmic amount... 😷 Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1
afdojo Posted January 23, 2022 Author Posted January 23, 2022 Thanks to all for your comments and suggestions. A button allowing AF Photo users to switch histograms (between the Preview Panel and the HDR encoded image) would be useful. I have a little python program that plots frequency distribution for JPG files so I can export the image, run my python program, look at the histogram and then tweak the sliders (Levels, Curves, Contrast, etc). Lather, rinse, repeat. That works but it's pretty tedious. For my work, a histogram that does not correspond to the viewed image is pretty useless. Quote Affinity Designer 2.4.2 Affinity Photo 2.4.2 Affinity Publisher 2.4.2 MacBook Air (M1, 2020) running macOS Sonoma v14.4.1 Nikon D7100 with 18-135mm zoom http://www.dojopico.org
Lisbon Posted January 23, 2022 Posted January 23, 2022 2 hours ago, afdojo said: A button allowing AF Photo users to switch histograms (between the Preview Panel and the HDR encoded image) would be useful. I agree. Really useful. 2 hours ago, afdojo said: For my work, a histogram that does not correspond to the viewed image is pretty useless. See if this helps. Add a Live Procedural texture (Layer > New Live Filter Layer > Colours > Procedural Texture). You can save the Procedural texture as a preset. Open 32-bit Preview (View > Studio > 32-bit Preview) and set "Display Transform" to Unmanaged. This should make the histogram match what you see. Very important. When editing, the Live Procedural Texture should always be on top, above all other adjustments. When finished editing, delete the procedural texture and change "Display Transform" to "ICC Display Tranform". Quote
afdojo Posted January 24, 2022 Author Posted January 24, 2022 Thanks @Lisbon -- very interesting but not quite what I'm looking for. Your steps changed the Preview image to match the histogram but now both are way darker than the exported image. What I need is shown in the third Screen Shot above where the histogram matches the image I'm seeing and that will be exported. Here's what the Procedural Texture and Unmanaged "Display Transform" produces. Quote Affinity Designer 2.4.2 Affinity Photo 2.4.2 Affinity Publisher 2.4.2 MacBook Air (M1, 2020) running macOS Sonoma v14.4.1 Nikon D7100 with 18-135mm zoom http://www.dojopico.org
Lisbon Posted January 24, 2022 Posted January 24, 2022 3 hours ago, afdojo said: Thanks @Lisbon -- very interesting but not quite what I'm looking for. Sorry to hear that @afdojo 3 hours ago, afdojo said: ...now both are way darker than the exported image... Hmmmm... this is strange. There must be some difference between the 32-bit version and the exported one. But the difference has to be almost imperceptible. Let me show what i did. 1) I start with a 32-bit HDR - Display transform: ICC Display Transform 2) I make the histogram match what i see. Image remains the same. - Add a procedural texture - Display transform: Unmanaged 3) I make my adjustments. Image becomes darker. 4) Go back to 32-bit default. Image remains the same. Histogram changes. - Delete procedural texture - Display transform: ICC Display Transform 5) Now i will export my image. The image must be the same as in step 4 and the histogram as in step 3. The histogram is not exactly the same as in step 3, but we have to take into account that we were in 32 bit and now in 8 bit. Hope it helps. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.