Hi,
I made new CTL Script, As usual, its main purpose is restoration of scanned images of defective films or photographic prints. This script, named “Specific Luminosity Area Correction”, is luminosity area version of “Relative Color Area Correction”. Instead of relative color area, it adjusts the color or luminosity value of specific luminosity value area.
The image below is the dialog for this script.
The first two sliders set two thresholds to determine the brightness region. The next dropdown list is for determining editing area. “Inside the range” means that the editing range will be the range that takes values between the two thresholds. “Outside the range” means that the area other than the area between the two thresholds becomes the editing range.
Show Target Area check box is for preview of editing area.
Invert value check box is for inverting strength value of editing area. The strength value is determined by pixel luminosity value – lower threshold value (Inside the range) or absolute value of pixel luminosity value – nearer threshold value (Outside the range). If you check this check box, the value will be inverted.
Luminosity adjustment is for adjusting the pixel luminosity value. In default pixel luminosity will be adjusted with relative value. Minus value means adjusting darker, and plus value means lighter. However, if you check “Apply absolute value”, the specified value will be applied to pixel as luminosity value, and if the value is minus, it will be changed to 0.0 (black point). If you check “Apply absolute value”, it is recommended to check also “Apply uniform strength”.
Other parameters are basically same as “Relative Color Area Correction”.
[Basic operation example]
The image below shows the original sample image loaded into ART and this script selected.
Specifying the threshold as 1.00 to 0.072 and “Target area” as “Inside the range”, editing area preview will be as shown below.
Almost all of the sky of this image is selected.
In this setting, increasing red value makes following image.
Instead increasing red value, increasing Luminosity adjustment value will lead to the below result.
Changing “Target area” as “Outside the range” will lead to the editing area preview as below.
Almost all of the shadow area of this image is selected. We can see negative image of shadow area as editing area preview.
If you check “Invert value”, editing area preview will become as shown below.
We can see positive image of the shadow area as editing area preview.
Checking “Apply uniform strength” will lead to the editing area preview as below.
As you can see, this script is basically similar with parametric mask of Lightness in ART. However this script allows you much more precise control over the editing area and strength, which is definitively important for repairing scanned images of defective films or photographic prints, I think.