Hi!
I started scanning old slides and negatives recently. The scanner can do
an additional infrared scan to detect scratches. The result of the
infrared scan ends up in the alpha channel of the resulting TIFF file.
Since I want to process the images in darktable and not in the scanner
software, I needed some plan what to do with the infrared channel, and I
found help on pixls.us
(https://discuss.pixls.us/t/scanned-image-scrach-removal-with-ice/2350),
using an inpainting algorithm from G'MIC to fill the scratches. There
was consent that it would be best to do this as a last processing step,
which causes a problem since the alpha channel is lost during
processing. That would mean, that I could not do any processing steps
that spatially move pixels, e.g. cropping, perspective correction, etc.,
if I wanted to use the original alpha layer.
Is there any chance that the alpha layer (if it is present at input) can
be processed along the RGB channels of the image and that the result can
optionally be added as alpha channel to the output?
Test image can be found here: https://filebin.net/gehwnhsxwi48qjb8 (150 MB).
Thanks & best regards
Chris
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]