Papers
Topics
Authors
Recent
Search
2000 character limit reached

Adaptive Color Grading

Published 18 Sep 2026 in eess.IV and cs.CV | (2609.21169v1)

Abstract: Independent control of tonescale regions (e.g., shadows, highlights) is essential for painters, photographers and cinematographers to bring 2D images to life. In image manipulation software this is most directly addressed by color grading modules, which use intensity thresholds to segment distinct illumination regions for local manipulation. In this work we develop an open source color grading tool and use it to annotate a large dataset of video frames with tonescale region thresholds. Using these thresholds we conduct modeling experiments with strategies based on both practitioners' conventional wisdom and machine learning. Results show that K-nearest neighbors is an effective prediction strategy, outperforming state-of-the-art end-to-end methods for image enhancement. This outcome demonstrates the benefit of focusing on a compact set of core parameters when modeling creative stylization processes. Our adaptive color grading interface and data are available at https://github.com/SamsungLabs/adaptive-color-grading.

Summary

  • The paper investigates the prediction of Tonescale Region Thresholds (TRTs) in color grading, showcasing the effectiveness of K-nearest neighbors (KNN) regression in outperforming both static and end-to-end models.
  • The open-source tool developed for this study uses CIELAB chroma offsets and 3D LUTs, transforming RGB data and blending offset values to produce spatially varied grading effects.
  • Evaluation across different datasets demonstrates KNN consistently performs better in ฮ”E00 and PSNR metrics, offering compelling evidence for application-specific, interpretable image processing systems.

Problem formulation and central thesis

โ€œAdaptive Color Gradingโ€ (2609.21169) studies the prediction of tonescale region thresholds (TRTs), the compact set of parameters that determines how color grading operations are spatially distributed over an imageโ€™s intensity range. The paper focuses on a specific but practically important grading workflow: chromatic offsets are applied independently to dark, darkest, light, and lightest regions, with overlapping soft masks defined by intensity thresholds. The central claim is that predicting these interpretable parameters is more effective than learning the complete input-to-output image transformation end-to-end.

The motivation is an observed failure mode of static color lookup tables. A LUT tuned for one image may correctly associate shadows with a blue offset and directly illuminated regions with a yellow offset, yet apply those offsets to semantically different regions when the intensity distribution changes in another image. Adaptive grading therefore requires estimating where meaningful illumination regions occur in the target image rather than reusing fixed intensity boundaries.

The paper makes a deliberately constrained comparison. It does not attempt to infer every decision made by a colorist. Instead, chroma offsets are fixed and only the four TRTs are predicted. This isolates the adaptive component of the grading process and permits direct analysis of parameter errors, image-level color differences, and the qualitative placement of chromatic regions.

Grading representation and open-source tool

The authors implement an open-source color grading tool with two principal controls: CIELAB chroma offsets and TRT adjustment. The intensity axis is defined using the mean of the RGB channels. Two overlapping supersets represent dark and light regions, with each containing a broader region and an inner extreme region. Piecewise-linear support functions with slopes of โˆ’5-5, โˆ’10-10, $5$, and $10$ produce soft transitions rather than binary masks.

The grading operation is implemented through four 17ร—17ร—1717 \times 17 \times 17 3D LUTs. Each LUT is transformed from the source RGB encoding into CIELAB, receives a user-specified aโˆ—bโˆ—a^*b^* offset, and is blended with an identity LUT according to its TRT-derived weight map. The regional LUTs are then composed in a nested manner before the resulting LUT is applied to the image.

Figure 1

Figure 1: Color grading interface featuring chroma offset, TRT controls, and grayscale visualization.

This representation has two methodological advantages. First, it makes the learned variables semantically inspectable: a prediction can be interpreted as moving the boundary between direct illumination, shadow, black regions, and highlights. Second, it permits efficient inference because the model predicts only four scalar values and delegates the actual image transformation to a known grading operator.

Figure 2

Figure 2: Nested application of regional LUTs to an identity LUT before application to the input image.

The representation also imposes a strong assumption. Illumination regions are identified solely through global intensity, even though reflectance, atmospheric attenuation, penumbrae, and object semantics can cause different physical regions to overlap in intensity. The proposed parameterization is therefore intentionally tractable rather than physically complete.

Dataset construction and annotation protocol

The authors annotate 1,564 DCI 2K frames extracted from 782 shots in the HDR Videographic Survey. The shots cover 44 scenes and six geographic regions, including outdoor daytime, sunset, night, urban, and indoor conditions. Frames are extracted from RAW video, represented in scene-linear form, and converted to P3D65 with a 2.4 gamma representation using a luminance-preserving tone-mapping procedure.

Figure 3

Figure 3: The HDR videographic survey dataset arranged by scene type and geographic subset.

The annotation objective is to create chromatic separation between indirectly illuminated or shadowed areas and directly illuminated regions while protecting black levels, visible light sources, specular highlights, and skies. The dark and light regions receive opposing chroma shifts, while the darkest and lightest regions receive inverse shifts that limit color contamination at the extremes.

The dataset is valuable because it records explicit grading parameters rather than only input/output image pairs. This enables the authors to study whether conventional rulesโ€”fixed thresholds and histogram percentilesโ€”actually approximate professional-style region selection. It also exposes the ambiguity of the task. In some frames, several threshold configurations produce nearly identical outputs because illumination regions are well separated. In others, highly reflective objects, haze, or gradual penumbras make global intensity an unreliable proxy for illumination.

Figure 4

Figure 4: Distribution of annotated tonescale region thresholds, showing substantial variation across images.

The annotation design nevertheless has a restricted scope. All labels come from one annotator pursuing one grading intent, namely blue shadows, yellow illuminated regions, and neutral extremes. Consequently, the dataset measures consistency with this particular stylistic and operational policy rather than the full distribution of colorist preferences.

Prediction strategies

The paper evaluates four application-specific strategies. The first is an idealized fixed-threshold baseline, in which one global TRT configuration is selected by minimizing training-set error. This baseline corresponds to a static LUT optimized for the dataset. The second uses fixed histogram percentiles, adapting thresholds to each imageโ€™s intensity distribution. Its design follows common assumptions in photographic and cinematographic workflows and relates to prior tonescale-transfer methods.

Figure 5

Figure 5: Optimization landscapes for fixed-threshold and percentile-based TRT strategies.

The percentile strategy embodies a particularly strong hypothesis: the semantic role of a region can be inferred from its rank in the image histogram. The experiments show why this is problematic. A shadow occupying 10% of an image and a shadow occupying 90% of an image need not have the same semantic boundary, so percentile adaptation can change the grading mask for reasons unrelated to illumination structure.

The first learned model is a two-layer MLP that predicts four TRTs from a 16-bin binary 3D color histogram. Ablations compare RGB samples, luminance histograms, and 3D histograms; the selected feature and a 16-neuron hidden layer provide the best observed configuration. Sigmoid outputs constrain the thresholds to [0,1][0,1], and training uses an L2L2 TRT loss with Adam for 2,000 epochs. Training takes approximately 10 minutes on an Intel i7-1360P CPU.

Figure 6

Figure 6: MLP architecture for predicting the four tonescale region thresholds.

The second learned model is K-nearest neighbors regression. It uses a 12-bit luminance histogram scaled to unit variance and predicts the thresholds as a weighted average of the 16 nearest training examples under Euclidean histogram distance. The model requires approximately $0.01$ seconds to fit and $0.1$ seconds to query on an Intel i7-1360P CPU.

Figure 7

Figure 7: KNN prediction of TRTs from nearest luminance-histogram neighbors.

KNN is particularly compatible with the datasetโ€™s structure. It does not impose a global parametric mapping from histogram statistics to thresholds. Instead, it preserves local relationships between intensity distributions and annotation decisions. This is important because the annotation process is partly subjective and may be multimodal: similar global statistics can support different grading decisions, while small histogram differences may identify different scene categories.

Experimental design and quantitative results

The application-specific models are evaluated using PSNR and โˆ’10-100 between predicted and ground-truth graded images. For all models, the chroma offsets are fixed to the same values; the only predicted variables are the TRTs. The evaluation includes cross-subset experiments involving NYC, Night, and the remainder of the dataset, as well as broader train/test combinations across the scene categories.

The strongest numerical result is the consistent advantage of KNN. Across the four reported train/test configurations, KNN obtains the lowest โˆ’10-101 and the highest PSNR:

Train/test configuration KNN โˆ’10-102 KNN PSNR
Remainder โˆ’10-103 NYC 2.40 36.77
NYC โˆ’10-104 remainder 2.55 37.53
Remainder โˆ’10-105 Night 1.47 42.94
Night โˆ’10-106 remainder 2.50 37.26

The fixed baseline reaches โˆ’10-107 values of 3.25, 3.56, 1.81, and 2.96 in the same configurations. Thus, KNN improves over the static baseline by 0.85, 1.01, 0.34, and 0.46 โˆ’10-108 units, respectively. Its largest PSNR advantage occurs when NYC is used for training and the remainder for testing, where KNN reaches 37.53 dB versus 34.39 dB for the fixed strategy.

The MLP and percentile strategies are less reliable. The MLP obtains โˆ’10-109 values of 3.41, 3.15, 2.10, and 3.68, while the percentile strategy obtains 3.43, 3.87, 2.93, and 3.20. Both therefore underperform the idealized static baseline in several settings. This is a significant result because the fixed baseline is itself an oracle selected using training data; nevertheless, KNN surpasses it while the ostensibly adaptive percentile rule does not.

Figure 8

Figure 8

Figure 8: Cross-subset $5$0 performance and correlations between ground-truth and predicted TRTs.

The TRT correlation plots clarify the numerical results. Fixed predictions form horizontal bands because all images receive the same threshold values. Percentile predictions vary substantially with histogram shape and therefore produce broad deviations from the ground-truth thresholds. MLP predictions form diffuse clusters, indicating that the low-capacity network captures some variance but does not recover the decision structure reliably. KNN produces more distinct threshold clusters and maintains more stable performance across training subsets.

The authors interpret these clusters as beneficial for the user experience because they preserve separation between neighboring tonescale regions. This is not equivalent to exact parameter recovery: KNN does not reproduce every ground-truth TRT continuously. Its advantage is that local, discrete decisions produce better image-level grading outcomes than smoother but less semantically aligned predictions.

Comparison with end-to-end enhancement

The paper compares the application-specific models with U-Net, NILUT, and NamedCurves. These baselines learn image-to-image transformations or general color mappings from paired images rather than predicting the four grading parameters. Training is conducted in the same cross-subset configurations used for the application-specific experiments.

KNN outperforms every end-to-end method in all four reported configurations according to both metrics. NILUT is the strongest end-to-end baseline, with $5$1 values of 2.65, 2.86, 1.62, and 2.56 and PSNR values of 35.46, 35.80, 40.84, and 36.87. U-Net performs less consistently, while NamedCurves is substantially weaker, particularly on Night images, where it reaches $5$2 and PSNR $5$3.

Method Remainder $5$4 NYC NYC $5$5 remainder Remainder $5$6 Night Night $5$7 remainder
U-Net $5$8 / PSNR 2.96 / 34.90 3.83 / 33.15 2.99 / 36.22 2.81 / 36.19
NamedCurves $5$9 / PSNR 3.44 / 32.86 4.02 / 32.44 4.85 / 30.99 3.83 / 32.68
NILUT $10$0 / PSNR 2.65 / 35.46 2.86 / 35.80 1.62 / 40.84 2.56 / 36.87
KNN $10$1 / PSNR 2.40 / 36.77 2.55 / 37.53 1.47 / 42.94 2.50 / 37.26

The result challenges the assumption that a more expressive end-to-end model is necessarily preferable for subjective stylization. The task is not merely to approximate an image-to-image function; it is to recover a small set of human-interpretable decisions whose downstream effects are known. The end-to-end methods must learn both the grading operator and the adaptive parameter-selection policy, whereas KNN only learns the latter.

The interpretation of NILUTโ€™s performance requires caution. The qualitative results indicate that NILUT often remains close to the input image, thereby avoiding large errors when the target grading is uncertain. Its lower error does not necessarily imply that it reproduces the intended regional chromatic separation. This distinction is important because pixel-level metrics reward conservative outputs when stylization occupies a limited portion of the image.

Figure 9

Figure 9: Qualitative comparison showing that KNN more closely follows the ground-truth yellow-blue regional separation than the competing methods.

The computational comparison also favors the application-specific formulation. KNN fitting and inference are orders of magnitude lighter than training the end-to-end models, which require tens of minutes on high-end GPUs. This makes KNN compatible with rapid personalization and potentially with on-device adaptation, although the latter is an engineering implication rather than a directly evaluated deployment result.

Limitations and open questions

The conclusions are bounded by the annotation protocol. A single annotator defines the target TRTs, and all annotations pursue one chromatic intent. The results therefore establish that KNN can reproduce this grading policy under the sampled conditions; they do not establish that it models inter-annotator variation or arbitrary cinematic styles.

The grading representation is also incomplete. TRTs are only one parameter group in a full color-grading workflow. Chroma offsets, tonal contrast, exposure, white balance, local masks, temporal consistency, and shot-to-shot matching are either fixed or excluded. The reported superiority of KNN consequently applies to adaptive TRT prediction under a fixed grading operator, not to general automatic color grading.

The use of global intensity masks creates an unavoidable ambiguity. Reflectance and illumination are confounded, and spatial context is not explicitly modeled. The paper acknowledges that haze, penumbrae, and mixed illumination can make the desired threshold subjective or underdetermined. A question left open is whether adding spatial, semantic, or temporal features would improve TRT prediction without sacrificing the interpretability and efficiency that motivate the compact formulation.

The evaluation also leaves unresolved how stable the method is under distribution shifts beyond the selected scene subsets, different cameras and transfer functions, additional annotators, or video sequences requiring temporal coherence. The authorsโ€™ evidence supports KNN within the constructed benchmark, but broader conclusions require expanded labels and evaluation protocols.

Conclusion

The paper presents adaptive color grading as a parameter-prediction problem rather than a generic image-to-image translation problem. Its open-source tool, explicit TRT representation, and 1,564-frame annotation set make the grading decisions measurable and interpretable. Across the reported cross-subset experiments, KNN is the most effective strategy, attaining $10$2 values from 1.47 to 2.55 and consistently outperforming fixed, percentile, MLP, U-Net, NamedCurves, and NILUT baselines.

The principal contribution is methodological: isolating a compact, perceptually meaningful parameter set can outperform substantially more expressive end-to-end models when the downstream image transformation is known and the target decisions are ambiguous. The evidence is constrained to one grading intent and one TRT-based operator, but within those limits it provides a strong empirical case for application-specific modeling of creative image-processing controls.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

Explain it Like I'm 14

1. What is this paper about?

This paper is about automatically improving the colors and lighting of images.

Photographers and movie colorists often divide an image into areas such as:

  • very dark areas, or deep shadows
  • ordinary shadows
  • bright areas
  • extremely bright areas, such as lamps or shiny reflections

They then give these areas different colors. For example, they might make shadows slightly blue and sunlight slightly yellow. This can make a flat-looking image seem more three-dimensional.

The researchers created a tool that learns where these brightness regions should begin and end in a new image. They call these boundaries tonescale region thresholds, or TRTs.

Their main discovery was that a simple machine-learning method called K-nearest neighbors (KNN) worked better than several larger, more complicated deep-learning systems.

2. What questions did the researchers ask?

The researchers wanted to find out:

  1. Can a computer learn how people divide an image into dark and bright regions?
  2. Can these learned divisions be used to apply color grading automatically to new images?
  3. Are simple rules, such as always using the same brightness levels, good enough?
  4. Is it better to predict a few important settings or to let a large neural network learn the entire editing process at once?

The paper especially tests the idea that it may be easier and more reliable to predict a small number of meaningful settings instead of trying to copy every editing decision directly.

3. How was the research done?

Creating a color-grading tool

The researchers built an open-source color-grading program. It allowed a user to:

  • choose the boundaries between dark and bright regions
  • add color changes to each region
  • see how those changes affected the image

For example, the user could make:

  • shadows more blue
  • normally lit areas more yellow
  • the darkest blacks remain neutral
  • bright light sources remain protected from strong color changes

The software used a tool called a 3D lookup table, or 3D-LUT. A LUT is like a giant color-conversion chart: it tells the computer, โ€œWhen you see this color, change it into that color.โ€

Building a dataset

The researchers selected 782 video shots from different locations and environments, including:

  • cities
  • forests and other natural areas
  • indoor scenes
  • sunsets
  • nighttime scenes

They took two still frames from each shot, creating 1,564 images.

A person manually adjusted the images using the new tool. These adjustments recorded the best locations for the four brightness boundaries. The resulting information became the โ€œcorrect answersโ€ that the computer models tried to predict.

Testing different prediction methods

The researchers compared several approaches.

Fixed settings always used the same brightness boundaries, no matter what the image looked like. This is like using the same pair of scissors to cut every piece of paper, even when the papers are different sizes.

Percentile settings based the boundaries on the brightness distribution of each image. For example, a method might define the darkest 20% of pixels as shadows.

MLP, or multilayer perceptron, was a small neural network. It looked at information about the image and tried to predict the four thresholds.

K-nearest neighbors, or KNN, compared a new image with images it had already seen. It found the 16 most similar images and averaged their threshold settings. This is similar to asking, โ€œWhich previously graded pictures look most like this one, and what settings did they use?โ€

The researchers also compared these methods with larger end-to-end image-editing systems. These systems try to learn the entire transformation from an original image to a finished image, rather than predicting only the region boundaries.

Measuring success

The researchers compared each computer-generated result with the manually graded version.

They used two measures:

  • PSNR, which checks how closely two images match in their pixel values
  • ฮ”E00\Delta E_{00}, which measures how different two colors look to human vision

In general, a higher PSNR and a lower ฮ”E00\Delta E_{00} mean better results.

4. What did the researchers find?

KNN was the strongest method

KNN consistently performed best among the methods tested. It predicted the brightness boundaries well and created images whose shadows and highlights were colored in ways similar to the manually graded examples.

For example, when the intended style made shadows blue and directly lit areas yellow, KNN usually placed the boundaries correctly. Other methods often made too much of the image blue or yellow.

Simple fixed rules were not reliable enough

Using the same boundaries for every image sometimes worked reasonably well. However, brightness levels change from scene to scene.

A nighttime picture, a sunny outdoor picture, and an indoor picture do not have the same distribution of dark and bright pixels. Therefore, one fixed setting cannot work perfectly for all of them.

Percentile rules performed poorly

The percentile method seemed reasonable because it adapted to each imageโ€™s brightness distribution. However, it often made mistakes.

For example, a shadow may cover a large part of one image and a small part of another. Simply calling the darkest 20% โ€œshadowsโ€ does not guarantee that those pixels actually represent shadows.

This shows that brightness alone does not always reveal what caused a region to look dark or bright.

The small neural network was not very effective

The MLP did not learn the relationship between image brightness patterns and the correct thresholds as well as KNN did.

The researchers suggest that the problem is difficult because color grading is partly subjective. Different artists may make different reasonable choices for the same picture.

Large end-to-end systems were not always better

The larger deep-learning systems, including U-Net, NamedCurves, and NILUT, tried to learn the entire image-editing task. Most did not beat the simpler methods.

Only NILUT performed better than the fixed method in the numerical tests. However, its results often stayed very close to the original image, which helped it avoid making large mistakes but also meant that it did not always apply the desired color style strongly.

Important numerical result

In the main tests, KNN achieved better results than the other approaches. For example, when tested on images from the larger collection after training on a special subset, KNN reached a PSNR of 37.53, compared with:

  • 35.80 for NILUT
  • 35.24 for the MLP
  • 34.39 for the fixed method
  • 34.17 for the percentile method

These numbers show that predicting the four meaningful thresholds was more effective than trying to learn every color change at once.

5. Why are the findings important?

The paper suggests that smaller, understandable problems can sometimes be easier for computers to solve than one huge problem.

Instead of asking a computer to learn all parts of color grading at once, the researchers asked it to predict only four important settings. This made the system:

  • easier to understand
  • faster to train
  • faster to run
  • easier to adapt to different users
  • better suited to phones, cameras, and other devices with limited computing power

The method could also be useful for video. Since it focuses on brightness regions rather than tracking every object, it may be able to work efficiently across many video frames.

Limitations

The study has some important limits.

The dataset was graded by one person and followed one particular style: blue-ish shadows and yellow-ish bright areas. Other colorists might choose different thresholds or colors.

Also, the four thresholds are only one part of professional color grading. Real colorists may also adjust exposure, contrast, saturation, individual objects, and many other details.

Finally, the method can still struggle when brightness is confusing. For example:

  • a shiny object in shadow may look brighter than a dull object in sunlight
  • haze can make distant shadows look bright
  • the transition between light and shadow may be gradual rather than sharp

Conclusion

The paper presents a way to make image color grading adaptive, meaning that it changes its settings depending on the image.

Its main lesson is that predicting a few meaningful controlsโ€”especially the boundaries between dark and bright regionsโ€”can work better than using a large system that tries to learn the entire editing process at once.

The KNN method was the best performer in the experiments. In the future, this idea could help cameras, photo-editing apps, movie-production tools, and mobile devices automatically create more attractive and consistent images while still giving artists understandable controls.

Knowledge Gaps

Knowledge Gaps, Limitations, and Open Questions

The paper leaves the following issues unresolved:

  • Single-annotator bias: All threshold annotations were produced by one user pursuing one specific blue-shadow/yellow-highlight grading intent, so the results do not establish whether the learned TRT patterns generalize across colorists, users, or stylistic goals.
  • No measurement of inter-annotator agreement: The paper does not quantify how consistently different practitioners choose TRTs for the same image or how much of the observed variation reflects genuine ambiguity versus individual preference.
  • Limited creative scope: Only tonescale thresholds were modeled, while real color grading also involves chroma choices, exposure, contrast, white balance, saturation, local masks, spatial adjustments, and temporal decisions.
  • Fixed chroma offsets during evaluation: The application-specific models predict only TRTs, whereas chroma offsets are fixed manually for every image. It remains unclear whether the approach would remain superior when chroma shifts must also be predicted adaptively.
  • Potentially narrow grading objective: The annotations were designed specifically to separate directly and indirectly illuminated regions and protect extreme tones. Other common grading objectivesโ€”skin-tone preservation, subject emphasis, mood creation, color harmony, and stylistic emulationโ€”were not evaluated.
  • Restricted dataset diversity: The dataset contains 1,564 frames from 782 shots, 44 scenes, and six geographic regions, but its coverage of camera systems, lenses, genres, production styles, indoor environments, artificial lighting, skin tones, and extreme HDR conditions is not established.
  • Unclear independence of samples: Two frames were extracted from each shot, yet the experimental protocol does not clarify whether frames from the same shot or scene can occur across training and test sets. Such overlap could inflate generalization performance.
  • Limited external validation: The models were evaluated only on the HVS dataset and were not tested on unrelated photographic, cinematic, animation, rendered, mobile-camera, or consumer-image datasets.
  • Dependence on a specific preprocessing pipeline: All images were converted from RAW to P3D65 with a Resolve luminance-preserving tone map. The robustness of the learned thresholds to different RAW renderers, transfer functions, color spaces, tone-mapping operators, and display-referred pipelines remains unknown.
  • Simplified tonescale representation: TRTs are defined from mean(R,G,B) intensity, which ignores hue, chroma, spatial context, material identity, and semantic illumination cues. The paper does not determine when a one-dimensional intensity segmentation is fundamentally insufficient.
  • Fixed support-function design: The regions use predetermined linear falloff slopes and a fixed arrangement of four overlapping bands. Alternative numbers of regions, nonlinear falloffs, asymmetric regions, or learned mask functions are not investigated.
  • No systematic comparison of color spaces or intensity measures: The study does not compare RGB mean against luminance standards, logarithmic luminance, perceptual lightness, scene-linear intensity, or learned representations.
  • Ambiguity is not explicitly modeled: The paper recognizes that multiple TRT settings can produce nearly equivalent or acceptable results, but models are trained against a single ground-truth setting using L2L2 loss. Probabilistic, set-valued, or preference-based formulations could better represent this ambiguity.
  • Threshold error may not reflect perceptual or creative quality: Evaluation emphasizes PSNR and ฮ”E00\Delta E_{00} relative to the annotated output. These metrics do not establish whether predicted grades preserve the intended illumination separation, visual quality, or professional acceptability.
  • No human perceptual study: Colorists, photographers, or general viewers were not asked to compare outputs, judge stylistic fidelity, or assess whether KNN predictions are preferable to competing methods.
  • No temporal consistency evaluation: Although the method is motivated in part by motion-picture workflows, experiments use still frames. Stability across adjacent frames, resistance to flicker, shot cuts, camera motion, and changing illumination is unresolved.
  • No analysis of online or real-time video adaptation: The paper does not evaluate update frequency, latency over continuous streams, temporal smoothing, or behavior when a video gradually transitions between lighting conditions.
  • KNN scalability is untested: KNN performs well on the reported dataset, but memory use, query cost, and performance as the training corpus grows substantially are not analyzed.
  • Sensitivity to KNN design choices is unclear: The effects of the number of neighbors, distance metric, histogram binning, normalization, feature weighting, and retrieval strategy are not fully reported.
  • Generalization to out-of-distribution scenes remains uncertain: The subset experiments reveal strong dependence on training subsets, but the paper does not characterize which visual or illumination properties cause failure or provide an explicit out-of-distribution detector.
  • Insufficient statistical reporting: The results do not include confidence intervals, repeated train/test splits, significance tests, or per-scene variance, making it difficult to assess the stability of the reported rankings.
  • Baseline comparability is incomplete: The end-to-end methods may not have been optimized specifically for this dataset or task, and the paper does not provide systematic hyperparameter tuning, architecture matching, parameter-count comparisons, or ablations isolating the effects of training procedure.
  • Possible conservative behavior of end-to-end baselines: The claim that NILUT succeeds by staying close to the input is based mainly on qualitative inspection; this behavior is not quantified through input-output change magnitudes or task-specific fidelity measures.
  • No comparison with stronger application-specific alternatives: The study does not evaluate decision trees, random forests, Gaussian-process regression, attention-based histogram models, differentiable retrieval, or hybrid KNN/neural approaches.
  • No personalization experiment: The paper argues that lightweight models enable on-device personalization, but it does not test adaptation to a new userโ€™s preferences, few-shot annotation requirements, or performance under user-specific styles.
  • No assessment of annotation effort: The time required to select TRTs, the usability of the proposed interface, and the extent to which annotation difficulty varies across image types are not measured.
  • Limited examination of threshold ordering and region validity: The paper does not explain whether predicted TRTs are constrained to remain ordered or non-overlapping in meaningful ways, nor how invalid or visually redundant region configurations are handled.
  • No causal interpretation of learned image statistics: KNN uses luminance histograms successfully, but the paper does not establish which histogram structures correspond to shadows, direct illumination, haze, penumbrae, or reflective-object ambiguities.
  • Local and semantic extensions are only proposed, not demonstrated: The conclusion suggests applying the method to local image regions and motion pictures, but no experiments test spatially localized grading, object-aware masks, or semantic segmentation.
  • Display and viewing-condition effects are unexamined: The perceptual consequences of the grades under different HDR/SDR displays, brightness levels, surround conditions, and viewing environments are not evaluated.
  • Reproducibility details are incomplete: The paper does not fully specify data splits, random seeds, grid-search ranges, implementation details for all baselines, or the complete annotation protocol needed to reproduce every reported result.

Practical Applications

Immediate Applications

  • Adaptive photo-editing and color-grading software (software, photography, content creation) Integrate the open-source grading interface and its four-threshold KNN predictor into desktop or web-based editors. Given an input imageโ€™s luminance histogram, the system can automatically estimate darkest, dark, light, and lightest tonescale-region thresholds, then apply region-specific chroma shifts through compact 3D LUTs. Potential workflow: import image โ†’ predict tonescale thresholds โ†’ preview blue-shadow/yellow-light grading โ†’ allow artist refinement โ†’ export a LUT or final image. Dependencies: the current model reflects one annotatorโ€™s specific creative intent and requires compatible color management, such as P3D65 or a calibrated display.
  • Assisted color grading for photographers and cinematographers (film, television, streaming, advertising) Use KNN-based threshold prediction as an initial grade or โ€œsmart gradingโ€ suggestion rather than a fully autonomous replacement for a colorist. It can accelerate repetitive footage preparation while preserving artist control over chroma offsets and threshold positions. The method is particularly useful when a static LUT fails because shadows and highlights occupy different intensity ranges across shots. Dependencies: the reported results are based on still frames and a limited grading style; shot continuity, temporal consistency, and inter-frame flicker must be checked in production.
  • Adaptive LUT generation for image and video pipelines (camera software, post-production, mobile imaging) Build lightweight image-adaptive LUT modules that dynamically modify a base color grade according to the input luminance distribution. Because the grading function is explicit and uses only four predicted parameters, it is more interpretable and potentially easier to integrate than a large end-to-end enhancement network. Potential products: camera-app filters, video-editor presets, adaptive cinema LUTs, and real-time preview effects. Dependencies: LUT resolution, interpolation quality, input transfer function, HDR range, and display calibration affect the visual result.
  • On-device personalization of creative styles (smartphones, tablets, consumer cameras) A user or professional could annotate a small set of preferred images, after which a local KNN model could retrieve similar examples and predict personalized tonescale thresholds. The low computational cost and approximately $0.1$-second inference time reported for KNN make CPU-based deployment plausible. Dependencies: sufficient representative examples are needed; nearest-neighbor retrieval may perform poorly on scenes outside the userโ€™s training distribution. Storage and privacy constraints must also be considered if image histograms or reference data are retained locally.
  • Open-source educational and research tooling (academia, photography education, color science) The released interface and dataset can support laboratory exercises and reproducible experiments on tone mapping, CIELAB color manipulation, LUT construction, histogram features, and interpretable machine learning. Students can compare fixed thresholds, percentile rules, MLPs, KNN, and end-to-end enhancement models under a common grading task. Dependencies: dataset licensing, availability, annotation quality, and the incomplete paper repository or implementation details may affect exact reproducibility.
  • Human-in-the-loop grading assistance (professional post-production workflows) Present predicted thresholds as editable handles with visual masks showing which pixels belong to each tonescale region. This makes the modelโ€™s decisions inspectable and enables artists to correct errors caused by reflective objects, haze, or gradual penumbras. Dependencies: global intensity segmentation cannot reliably distinguish semantic illumination regions in every image, so manual correction remains necessary.
  • Benchmarking compact versus end-to-end image enhancement models (computer vision research) Researchers can use the released annotations and evaluation protocol to test whether a model predicts meaningful intermediate parameters rather than merely producing visually plausible outputs. Metrics such as ฮ”E00\Delta E_{00} and PSNR can be combined with threshold correlation and user studies. Dependencies: the current ground truth represents one annotator, one intended style, and only four threshold parameters; broader conclusions require multi-user and multi-style annotations.
  • Practical guidance for automated color correction policy and product design (industry R&D, standards, workflow engineering) The results support designing adaptive image-processing systems around a small set of perceptually meaningful controls rather than assuming that generic end-to-end enhancement is always preferable. Product teams can use this principle when specifying explainability, latency, memory, and user-editability requirements for imaging features. Dependencies: the advantage over end-to-end methods was demonstrated on this specific grading task and dataset, not universally across all enhancement operations.

Long-Term Applications

  • Real-time adaptive color grading for motion pictures (cinema, broadcast, virtual production) Extend threshold prediction from independent frames to temporally coherent video. A production system could estimate thresholds per shot, smooth them over time, and preserve consistent grades across camera motion, exposure changes, and cuts. This could assist automatic shot matching and reduce manual keyframing. Required development: temporal filtering, shot-boundary detection, exposure normalization, and evaluation of flicker and color continuity. Dependencies: luminance histograms alone may change substantially because of object motion or framing, even when the intended grade should remain stable.
  • Local-region and object-aware adaptive grading (visual effects, robotics, computational photography) Apply the compact threshold-prediction approach separately to spatial regions or semantically identified objects. For example, skies, faces, foreground objects, and backgrounds could receive independent tonescale segmentation and chroma treatment. Required development: reliable segmentation, region tracking, and safeguards against seams or inconsistent color relationships. The paper explicitly notes that local extension is promising but does not evaluate it.
  • Adaptive HDR tone mapping and display rendering (consumer displays, HDR television, imaging hardware) Use learned tonescale boundaries to identify perceptually meaningful dark and bright regions before mapping HDR content to a target display. Region-specific transformations could preserve highlight sources, shadow detail, and midtone contrast more effectively than fixed global curves. Dependencies: HDR scene metadata, display peak luminance, ambient viewing conditions, and perceptual validation are required. Thresholds learned from the P3D65/gamma representation may not transfer directly across HDR standards.
  • General adaptive exposure and white-balance systems (camera systems, autonomous vehicles, mobile imaging) The paperโ€™s broader design principleโ€”predict compact, interpretable parameters instead of a complete output imageโ€”could be applied to automatic exposure, tone curves, white balance, and color-constancy correction. A camera could infer meaningful illumination partitions and adjust controls independently for shadows, midtones, and highlights. Dependencies: these applications require new datasets and parameter definitions; tonescale thresholds alone do not solve sensor saturation, mixed illuminants, motion, or object-specific exposure requirements.
  • Style-transfer systems with interpretable controls (generative media, games, animation, virtual reality) Future systems could represent a visual style as a small collection of region-specific transformationsโ€”thresholds, chroma offsets, contrast parameters, and falloff functionsโ€”rather than as an opaque image-to-image network. This would enable interpolation between styles and explicit controls such as โ€œcooler shadowsโ€ or โ€œwarmer illumination.โ€ Dependencies: stylistic similarity is subjective, and the current study does not establish that four thresholds are sufficient for complex artistic styles.
  • Hybrid models that constrain end-to-end enhancement networks (machine learning, computational photography) KNN or similar parameter predictors could provide structured intermediate outputs to a neural model, constrain its tone-region boundaries, or serve as an interpretable fallback when confidence is low. This could combine the flexibility of neural enhancement with the stability and inspectability of explicit grading functions. Dependencies: the hybrid architecture would need uncertainty estimation, differentiable LUT operations, and experiments showing improved perceptual quality without restricting legitimate creative variation.
  • Personalized professional grading assistants (media production platforms) Collect multiple coloristsโ€™ annotations to learn distinct style profiles, then recommend thresholds based on both image content and the selected artistโ€™s preferences. A system could offer ranked alternativesโ€”for example, conservative, high-contrast, warm, or cool gradesโ€”while retaining editable parameters. Dependencies: substantial multi-annotator data are needed to model disagreement and style diversity. Privacy, copyright, and ownership of professional grading decisions must also be addressed.
  • Policy and standards for transparent AI-assisted image manipulation (media governance, digital provenance) Because the method exposes explicit threshold and chroma parameters, it could support audit logs describing how an image was altered. Such records may be useful for professional provenance, newsroom workflows, advertising disclosures, or archival preservation. Dependencies: parameter logs do not prove artistic intent or image authenticity by themselves; interoperability standards and provenance infrastructure would be required.
  • Perceptually adaptive visualization in scientific and engineering systems (medical imaging, remote sensing, geospatial analysis) Region-aware tone mapping could improve visualization of low-contrast structures while protecting saturated highlights. Potential uses include satellite imagery, microscopy, industrial inspection, and medical image presentation. Dependencies: these are high-stakes domains where color changes can mislead interpretation. Any deployment would require domain-specific validation, calibrated displays, preservation of quantitative values, and clear separation between visualization and diagnostic data.
  • Adaptive illumination-aware rendering for robotics and simulation (robotics, autonomous systems, game engines) A renderer or robot perception system could use illumination-region thresholds to produce more stable visual representations across changing environments, or to generate training data with controlled shadow and highlight variation. Dependencies: global histograms do not encode scene geometry or semantics, and grading changes that improve human aesthetics may harm machine perception. Joint evaluation for both visual quality and task accuracy would be necessary.

Glossary

  • Achromatic: Lacking color; represented only by intensity or lightness. โ€œThe TRT control interface features an achromatic gradientโ€
  • Adaptive image processing: Image processing that changes its behavior according to the input imageโ€™s characteristics. โ€œMore recent works have expanded adaptive image processingโ€
  • Bilateral grid: A data structure that jointly represents spatial and intensity information for efficient edge-aware image operations. โ€œor bilateral gridsโ€
  • CIELAB: A perceptual color space with lightness and two opponent-color dimensions, commonly denoted Lโˆ—L^*, aโˆ—a^*, and bโˆ—b^*. โ€œa CIELAB \cite{CIELAB} chroma offset controlโ€
  • Chroma offset: An additive adjustment to a colorโ€™s chromatic components. โ€œThe interface consists of two primary components: a CIELAB \cite{CIELAB} chroma offset control and a TRT control.โ€
  • Chromatic affine transform: A color transformation that applies linear scaling and translation to chromatic coordinates. โ€œchromatic affine transforms applied to three separate tonescale regionsโ€
  • Color constancy: The perceptual or computational ability to maintain consistent perceived colors under changing illumination. โ€œThis challenge has most notably been addressed in camera pipelines in the form of automatic exposureโ€
  • Color grading: The deliberate adjustment of an imageโ€™s tonal and color characteristics, especially in photographic or cinematic post-production. โ€œThese operations constitute the core of the cinema post-production process known as color gradingโ€
  • Color lookup table (3D-LUT): A table that maps input color triplets to output colors. โ€œThe tool applies user-defined additive aโˆ—bโˆ—a^*b^* channel offsets to four separate ID 3D-LUTsโ€
  • Color segmentation: Partitioning an image into regions according to color or intensity properties. โ€œthe inherent ambiguity of masking semantic regions with global color segmentationโ€
  • Cubic falloff: A smooth weighting decrease governed by a cubic function, used to blend neighboring regions. โ€œThe tonescale regions are defined as three bands containing an equal number of pixels with cubic falloff and 10\% overlap.โ€
  • End-to-end learning: Learning a complete transformation directly from inputs to desired outputs rather than modeling intermediate parameters. โ€œCommon to these works is the goal of learning many editing operations simultaneously from input/output pairs (end-to-end)โ€
  • Exposure: The amount of light captured or represented in an image, affecting its overall brightness. โ€œThis challenge has most notably been addressed in camera pipelines in the form of automatic exposureโ€
  • Falloff slope: The rate at which a regionโ€™s weighting decreases away from its threshold. โ€œand falloff slope mm.โ€
  • Gamut: The range of colors that a device, color space, or representation can encode or reproduce. โ€œThe chroma offset interface shows a limited range of aโˆ—bโˆ—a^*b^* values at an Lโˆ—L^* value of 60.โ€
  • High dynamic range (HDR): An imaging technology or representation that accommodates a broad range of luminance levels. โ€œRecent advances in high dynamic range camera and display technologyโ€
  • Ill-posed problem: A problem lacking a unique, stable, or sufficiently determined solution. โ€œThese observations demonstrate why predicting creative stylization is an ill-posed problem.โ€
  • Illumination region: An image area characterized by a particular lighting condition or intensity range. โ€œThe intention of color grading was to introduce chroma shifts to directly illuminated and shadowed regionsโ€
  • Identity 3D-LUT: A lookup table whose output is the same as its input, serving as an unchanged baseline transformation. โ€œThe support functions take the mean(R,G,B)mean(R,G,B) of an identity (ID) 3D-LUT as inputโ€
  • Image-to-image translation: Learning a mapping that converts images from one visual domain or style into another. โ€œLater, more general solutions for learning image-to-image translation were introduced.โ€
  • Intensity histogram: A distribution showing how frequently different image intensity values occur. โ€œvia the luminance histogram of each training image in the percentile caseโ€
  • K-nearest neighbors (KNN) regression: A nonparametric regression method that predicts an output from a weighted combination of nearby training examples. โ€œAt inference time, the predicted TRTs are computed as a weighted average over the 16 training-set neighbors closest to the test histogram by Euclidean distance.โ€
  • Luminance: The perceived or measured brightness of a color or image region. โ€œWe used 12-bit luminance histograms scaled to unit variance.โ€
  • Multilayer perceptron (MLP): A feed-forward neural network composed of interconnected layers of weighted neurons. โ€œThe first was a small multilayer perceptron (MLP) for modeling the TRTs.โ€
  • Non-linear function: A function whose output does not change proportionally with its input. โ€œlearning independent non-linear functions for separate color name categoriesโ€
  • Out-of-distribution: Describing data that differs substantially from the distribution used to train a model. โ€œimplying that its context extraction block may make it particularly sensitive to out-of-distribution images.โ€
  • Penumยญbra: A partially shaded region, especially the gradual boundary between illuminated and unilluminated areas. โ€œAlso, certain images featured smooth, extensive penumbras (partially shaded regions)โ€
  • Percentile: A value below which a specified percentage of observations in a distribution falls. โ€œThese materials suggest that properly exposed images on a calibrated camera system can be separated into shadow, midtone and highlight tonescale regions with fixed intensity thresholds or percentilesโ€
  • Perceptual color space: A color representation designed so that numerical distances approximately correspond to perceived color differences. โ€œThe interface consists of two primary components: a CIELAB \cite{CIELAB} chroma offset control and a TRT control.โ€
  • Photometric tone mapping: Transforming luminance values to fit a target display or representation while preserving perceptual appearance. โ€œThis can be accomplished through tonemapping and chromatic shiftsโ€
  • PSNR: Peak signal-to-noise ratio, a logarithmic measure of reconstructed-image fidelity based on mean squared error. โ€œerrors are computed between ground truth and predicted graded images in terms of PSNR and ฮ”E00\Delta E_{00}โ€
  • Regularization: A technique that constrains a model or representation to improve generalization or reduce unwanted dependence on data. โ€œOther TRTs may require some form of input regularization to reduce dependence on the specific pixel-area proportionsโ€
  • Scene-linear representation: An image representation in which numerical values are proportional to scene light rather than perceptually encoded brightness. โ€œFrames were extracted from the RAW video files in a scene-linear representationโ€
  • Sigmoid function: An S-shaped function that maps arbitrary real values, commonly into the interval [0,1][0,1]. โ€œOutputs were passed through a sigmoid function to constrain results to the [0,1][0,1] range.โ€
  • Specular highlight: A bright image region caused by direct reflection from a surface. โ€œthe darkest and lightest TRTs were used to protect the blackest regions, visible illumination sources, specular highlights, and the skyโ€
  • Tone mapping: The transformation of an imageโ€™s intensity or luminance range to another range while attempting to preserve visual detail. โ€œThe adjacent examples extend the effect with chromatic shifts applied to intensity threshold masks.โ€
  • Tonescale region threshold (TRT): An intensity value defining the boundary of a region used for localized color or tonal manipulation. โ€œIn this work we demonstrate that by focusing on the compact parameter set of tonescale region thresholds (TRTs)โ€
  • Trilinear interpolation: Interpolation within a three-dimensional grid using linear interpolation along each of three coordinate axes. โ€œIn all of the following experiments we apply 3D-LUTs with 17ร—17ร—1717 \times 17 \times 17 nodes using trilinear interpolation.โ€
  • Unit variance: A normalization in which a variableโ€™s variance is scaled to equal one. โ€œWe used 12-bit luminance histograms scaled to unit variance.โ€
  • White balance: Adjustment of an imageโ€™s color response to compensate for the color of the illumination. โ€œThis challenge has most notably been addressed in camera pipelines in the form of automatic exposure \cite{onzon21, sampat99, yang08}, white balance \cite{afifi19, funt96, liu95} and tone mappingโ€
  • Weighted average: An average in which some values contribute more strongly than others according to assigned weights. โ€œA weighted average is then taken between the ID 3D-LUT and the chroma-adjusted lookup tables according to the weight maps.โ€

Open Problems

We found no open problems mentioned in this paper.

Tweets

Sign up for free to view the 3 tweets with 262 likes about this paper.