Channel Reconstructor CTL Script

I made another CTL script, “Channel Reconstructor”. As usual its purpose is restoring damaged film scanned color images. The basic idea of film restoration in this script is diversion or mixing of channel information. In general, the correlation between channel images is very high. Its correlation coefficient is around 0.95. Therefore, the images in each channel are very similar. Our color perception is based on very subtle difference in each channel images. Therefore, with just a little value level adjustment, we may be able to restore damaged images with substituting or mixing discolored or faded color channel image with less discolored and faded color channel images. So this script is essentially channel mixer with supplemental parameter settings.

The UI of this script has three parts. First part is parameter setting for channel mixing. Second part is parameter setting to adjust reconstructed (mixed or substituted) channel image. Third part is relative color filter same as my previous scripts. You can also use ART’s built-in mask.
Ch_reconstructor_menu

$ First Part: Channel Mixer

Restoring Channel: You can select restoring target channel.

Red, Green, Blue: This parameter decide channel mixing rate or substituting channel. If you assign a non-zero value to only one channel, the image of restoring target channel will be simply substituted with the image of non-zero value channel without channel mixing. The total value of the values ​​set here is always adjusted to 1, and the RGB mixing ratio is determined by the relative value of the values ​​set here.

Gamma for R, G, B: Before mixing, you can adjust value level of each mixing channel with gamma correction. There is no need to adjust this parameter unless you are mixing channels.

Mixing channel view: You can select channel view to confirm value level of each mixing channel before channel mixing. There is no need to view channel image unless you are mixing channels.

$ Second Part: Adjustment of mixed or substituted channel image

Lightness: You can allocate multiplying value to adjust lightness of restored image.

Gamma correction: You can apply gamma correction to restored image.

$ Third Part: Relative color filter

This is same as my previous scripts. Please refer to following articles.

You can download this script from following link.

3 Likes

Film image restoration editing example

As a sample, I use the image previously presented. This is original image.


[Original image]

This image contains the following channel images.


[Channel B]


[Channel G]


[Channel R]

In this image, channel B is deeply damaged and G is slightly damaged. Channel R is less damaged. Therefore, I use channel R to restore damaged channel images.

(1) Remove uneven cyan cast with “Relative Color Correction” CTL script.


[Editing target areas]


[Cyan cast correction]
Increase the value of R to correct cyan cast.

(2) Add editing instance and select “Channel Reconstructor” to restore B channel.

Fig_last-6.1

(3) Set parametric mask L to select sky.

(4) The B channel is deeply damaged, therefore substitute B channel image with R image. To do so, first in “Mixing Channel”, move Red channel slider to 1.0 and move other channel sliders to 0.0. Next, adjust Lightness and Gamma correction sliders to get appropriate image.

(5) The next step is to correct and edit G channel image. In this time we mix R image to G image, because G image is not such damaged. As above step, we add new editing instance and select “Channel Reconstructor”, and select G as restoring channel. Set parametric mask L to select sky just like previous step.

(6) After confirming G and R image with “Mixing Channel View”, mix R channel to G channel. If value level difference of two images is not negligible, you may adjust the channel level with Gamma.

(7) After channel mixing completed, adjust the white balance.

(8) Finally adjusting tone using tone equalizer and tone curve.

(9) Output the restored image.

You can download this sample file from following link.

3 Likes

Hello @yasuo, again a very specialized script and certainly useful to restore damaged images.

Only problem for me: although I have quite some scans of older photos, none of them are as damaged as your example! :wink:

1 Like