Chromium VI
Member
Darktable has a builtin de-Bayering option. If activated (under the demosaic menu) a 4x larger image will result.
from PIL import Image
import os
def combine_channels():
# Define filenames
r_path = 'red.tif'
g_path = 'green.tif'
b_path = 'blue.tif'
output_path = 'rgb.tif'
# Check if all files exist to avoid errors
for file in [r_path, g_path, b_path]:
if not os.path.exists(file):
print(f"Error: Could not find {file} in the current folder.")
return
try:
# Open the source images and convert to grayscale (L mode)
# just in case they aren't already formatted correctly
r = Image.open(r_path).convert('L')
g = Image.open(g_path).convert('L')
b = Image.open(b_path).convert('L')
# Merge the three images into one RGB image
rgb_image = Image.merge('RGB', (r, g, b))
# Save the result
rgb_image.save(output_path)
print(f"Success! Saved combined image as {output_path}")
except Exception as e:
print(f"An error occurred: {e}")
if __name__ == "__main__":
combine_channels()
The big scanlight is actually quite deep compared to other lights I have seen. 5cm roughly. I believe it was designed this way specifically to eliminate poor light mixing. Jack said that it could maybe be caused by IR light reflecting off the lens or holder, but when taking these sample images I had the camera well away from the light source such that any reflection would be negligible.
Maybe it is a faulty device. One other user on the NLP forum told me they saw a similar effect which was reduced by lifting the film plane farther from the surface of the light. I purchased some NR glass to elevate the holder a bit, but it has yet to arrive.
I have the same issue with my Big Scanlight. Jack told me it is likely caused by internal IR reflections in the lens as well. In actual practice this isn’t an issue unless the neg is extremely underexposed, but it still bothers me. Otherwise, this light is the biggest upgrade in color image quality I have made to my system. My Ektar scans actually look like slide film now.
How are you creating the radial mask, and does it account for the color difference?
I have not had an issue with magenta shadows. Are you using NLP, or doing manual inversion in PS?
Nikon D810 w/ 60mm 2.8D microAlso, what camera and lens are you using?
I shot a blank frame of just the light surface and adjusted size, feathering, exposure and tint to compensate for the vignette as best as possible. I have found that adding the mask after NLP conversion looks a bit better.
NLP for almost everything. I am going to try some other automatic conversion tools and compare. Notably Capture One just released built in negative conversion.
Nikon D810 w/ 60mm 2.8D micro
I find that NLP requires quite a bit of manual white balance with the RGB light compared to flash. It does easily snap into place for me, though.
I have not fiddled too much with balancing the individual luminance on each channel, but I do find that skipping white balancing the mask in LR gives a better result. Specifically reducing the tendency for over saturation of greens and reds.Have you tried negating the orange mask using the RGB controls on the light and then manually inverting? This has worked well for me.
It varies by film, but for Ektar, I reduce red a little to 190, leave green all the way up, and blue goes way down to 95. This gives me a nearly perfectly gray base. I can simply invert and the color needs very little tweaking.Yes, there seems to always be an excessive magenta cast that is usually easily corrected with a few clicks on the tint slider. However, the shadows sometimes remain problematic in my case.
I have not fiddled too much with balancing the individual luminance on each channel, but I do find that skipping white balancing the mask in LR gives a better result. Specifically reducing the tendency for over saturation of greens and reds.
What adjustments work for you to get the mask balanced? Does this also benefit the conversion via NLP? I found that NLP basically overrides the individual adjustments and gives me the same result unless the luminance levels of a certain channel are heavily reduced. Then things get wonky.
| Photrio.com contains affiliate links to products. We may receive a commission for purchases made through these links. To read our full affiliate disclosure statement please click Here. |
PHOTRIO PARTNERS EQUALLY FUNDING OUR COMMUNITY: ![]() |
