Papers
Topics
Authors
Recent
Search
2000 character limit reached

K-nearest Neighbors Bilateral Interpolation (KBI)

Updated 5 July 2026
  • The paper introduces KBI as a local color correction component within a hybrid framework, utilizing bilateral weighting to adjust RGB channels based on geometric and color similarity.
  • It computes a normalized weighted average per channel after filtering neighbors by CIELAB color differences, integrating spatial proximity and color similarity via Gaussian weights.
  • Empirical ablation studies show improved color consistency with CMD of 8.095 and CPSNR of 29.413, demonstrating KBI’s effectiveness over standard KNN and global correction methods.

K-nearest Neighbors Based Bilateral Interpolation (KBI) is the local color-correction component of the grouping-based hybrid algorithm introduced in "A Novel Grouping-Based Hybrid Color Correction Algorithm for Color Point Clouds" for color consistency correction of aligned color point clouds (Chung et al., 4 Nov 2025). It is applied after registration, when a source point cloud and a target point cloud are already aligned but may still exhibit luminance/chrominance inconsistency due to exposure, white balance, lighting, angle, and related acquisition differences. KBI is designed for target points in the close proximity group GclG^{cl}, where local aligned source points are considered sufficiently trustworthy to support local correction. Its defining characteristic is a bilateral weighting rule in which each source neighbor is weighted jointly by geometric proximity and color similarity rather than by plain nearest-neighbor replacement or uniform KK-neighbor averaging.

1. Placement in the hybrid correction framework

In the parent framework, the source and target point clouds are first aligned, after which the algorithm estimates the overlap rate between the aligned source cloud Ps,aliP^{s,ali} and the target cloud PtP^t, partitions target points into proximity-based groups, and applies different correction mechanisms by group (Chung et al., 4 Nov 2025). Algorithm 1 assigns KBI to GclG^{cl}, JKHE (joint KBI + histogram equalization) to GmodG^{mod}, and HE to GdistG^{dist}.

The framework uses the estimated overlap rate RR to decide between a bi-group and a tri-group partition. A target point votes as overlapping if the distance to the aligned source cloud is below TdT_d, and after accumulating votes VV, the overlap rate is

KK0

The paper sets the overlap threshold KK1 and the distance threshold KK2 meter. If KK3, the target cloud is partitioned into two groups, KK4 and KK5. If KK6, it is partitioned into three groups, KK7, KK8, and KK9. These groups are defined by the distance between each target point and its nearest aligned source point.

KBI is specifically assigned to Ps,aliP^{s,ali}0 because each target point Ps,aliP^{s,ali}1 in that group is relatively close to its nearest aligned source point, so local aligned source points can provide trustworthy local color-difference information. The same local mechanism is reused inside JKHE for Ps,aliP^{s,ali}2, where it is combined with a global histogram equalization term. By contrast, Ps,aliP^{s,ali}3 is corrected by HE only, reflecting the framework’s assumption that local source support becomes unreliable as proximity decreases.

2. Formal definition and notation

For a target point Ps,aliP^{s,ali}4, KBI first defines a geometry-based neighborhood

Ps,aliP^{s,ali}5

the set of the Ps,aliP^{s,ali}6-nearest aligned source points of Ps,aliP^{s,ali}7 in Ps,aliP^{s,ali}8 (Chung et al., 4 Nov 2025). The method does not use all Ps,aliP^{s,ali}9 neighbors blindly. It removes invalid aligned source points using a CIELAB color difference constraint: if the LAB color difference between PtP^t0 and a reference aligned source point PtP^t1 is larger than a specified threshold, that aligned source point is deleted. The surviving set is denoted

PtP^t2

For each color channel PtP^t3, the paper defines the channel-wise color difference

PtP^t4

where PtP^t5, PtP^t6 is the PtP^t7-channel value of the aligned source neighbor, and PtP^t8 is the PtP^t9-channel value of the target point.

The corrected GclG^{cl}0-channel is expressed as an additive update,

GclG^{cl}1

with

GclG^{cl}2

The paper’s printed equation has formatting corruption, but the normalized weighted-average interpretation is clearly intended and consistent with the notation.

The bilateral weight for each valid neighbor GclG^{cl}3 is

GclG^{cl}4

where GclG^{cl}5 denotes the Euclidean distance between target point GclG^{cl}6 and source reference point GclG^{cl}7, GclG^{cl}8 is the distance deviation, and GclG^{cl}9 is the color-difference deviation. KBI is therefore channel-wise: the correction is defined independently for GmodG^{mod}0, GmodG^{mod}1, and GmodG^{mod}2, rather than via a single vector-valued formula.

3. Operational procedure and implementation details

For a target point GmodG^{mod}3, the KBI procedure requires the aligned source point cloud GmodG^{mod}4, the target cloud GmodG^{mod}5, point coordinates for Euclidean nearest-neighbor search, RGB colors for source and target, the group assignment indicating GmodG^{mod}6, the parameter GmodG^{mod}7, the LAB color-difference threshold for valid-neighbor screening, and the Gaussian bandwidths GmodG^{mod}8 and GmodG^{mod}9 (Chung et al., 4 Nov 2025).

The workflow is explicit. First, the algorithm finds the GdistG^{dist}0-nearest aligned source points of GdistG^{dist}1 in geometry space, producing GdistG^{dist}2. Second, it filters this set by CIELAB color difference, removing neighbors whose LAB difference from GdistG^{dist}3 exceeds the specified threshold; the remaining valid set is GdistG^{dist}4. Third, for each valid neighbor and each channel GdistG^{dist}5, it computes GdistG^{dist}6. Fourth, it computes the bilateral weight GdistG^{dist}7 for each valid neighbor. Fifth, it evaluates the normalized weighted average GdistG^{dist}8. Sixth, it updates the target color by adding that correction to the original target value. The process is repeated for all target points in GdistG^{dist}9.

Several implementation constraints are explicit. Nearest neighbors are searched in the aligned source cloud and are defined as RR0-nearest aligned source points after registration. The color-based restriction is not part of the neighbor search; it is a subsequent filtering step. Correction is performed per RGB channel, while the validity screening is performed in CIELAB space. The KBI term is normalized by RR1, so the method is inherently a normalized weighted average rather than an unnormalized accumulation.

For KBI specifically, the provided text names but does not numerically specify the following parameters: RR2, the LAB color-difference threshold, RR3, and RR4. The text also does not state how an empty valid-neighbor set RR5 is handled if all RR6 neighbors are rejected, or how extremely small denominators are stabilized. A plausible implication is that any implementation must provide a fallback for such cases, but that handling is not explicit in the provided material. The paper provides C++ source code for the full algorithm through the authors’ repository (Chung et al., 4 Nov 2025).

4. Bilateral character and methodological distinctions

KBI is termed bilateral interpolation because its interpolation weights combine two forms of similarity (Chung et al., 4 Nov 2025). The first factor,

RR7

is a spatial Gaussian that favors source points geometrically close to the target point. The second factor,

RR8

is a range or color Gaussian that favors source points whose color is already similar to the target color in the corresponding channel. This structure is directly analogous in spirit to bilateral filtering, with one kernel acting in the domain and the other in the range.

The paper distinguishes KBI from ordinary RR9-nearest-neighbor averaging in several ways. KBI does not use uniform weights, does not average source colors directly, and does not trust all TdT_d0 neighbors equally. Instead, it computes a normalized weighted average of source-target color differences, and it removes invalid neighbors using a CIELAB threshold before interpolation. Relative to inverse-distance interpolation, KBI adds a color-similarity term, so a geometrically close but color-inconsistent source point receives lower influence. Relative to standard bilateral filtering, KBI operates in an irregular point-cloud correspondence setting: source and target are different point sets, the neighborhood is formed from aligned source points around a target point, and the output is a cross-cloud color correction estimate rather than a same-signal smoothing result.

The method’s role is therefore more specific than generic smoothing. It is a local transfer mechanism that estimates an additive color offset from valid local aligned source points and applies that offset only where local source support is considered reliable.

5. Empirical evidence, ablation, and boundary behavior

The parent paper reports that the desired color consistency correction benefit of the full algorithm is justified through 1086 testing color point cloud pairs against state-of-the-art methods (Chung et al., 4 Nov 2025). KBI is not presented in isolation with a standalone results table, but the ablation studies identify its contribution within the grouped design.

The key evidence is Table 6, which compares different assignments of KBI, JKHE, and HE across the proximity groups. The proposed assignment—KBI for TdT_d1, JKHE for TdT_d2, and HE for TdT_d3—achieves the best reported combination among the listed variants, with CMD TdT_d4 and CPSNR TdT_d5. This supports the framework’s design claim that KBI is most effective where local geometry support is strongest, while JKHE is preferable for moderate proximity and HE is reserved for distant points.

Configuration CMD CPSNR
Bi-group: KBI for TdT_d6 and TdT_d7; Tri-group: KBI for TdT_d8, TdT_d9, HE for VV0 12.201 28.488
Bi-group: JKHE for VV1 and VV2; Tri-group: JKHE for VV3, VV4, HE for VV5 11.997 23.074
Proposed algorithm: KBI for VV6, JKHE for VV7, HE for VV8 8.095 29.413

The qualitative discussion in the paper further attributes improved local behavior to KBI in VV9 and to the KBI term inside JKHE for KK00. The paper states that NN and KNN fail in occluded or global-shift regions because they lack global correction, whereas HM, AGL, and HHM fail in locally detailed or noisy regions because they lack local reference consideration. The proposed method is described as performing well in both kinds of areas, including noisy local portions, shadows, gloves, brick textures, wall corners, and plant regions. This suggests that KBI is intended as the detail-preserving local engine within the hybrid framework, rather than as a universal correction rule for all target points.

KBI also enters the paper’s grouping-effect free argument. At the KK01/KK02 boundary, for the leftmost point KK03 in KK04, the JKHE weights become

KK05

so that

KK06

The first point in KK07 is therefore corrected purely by KBI, matching the method used for the last point in KK08, which prevents a correction discontinuity across that boundary. The framework also implicitly identifies a limitation of KBI: when local source support becomes only moderate or distant, KBI alone is insufficient, motivating JKHE and HE.

6. Relation to neighboring nearest-neighbor interpolation research

KBI is a specific point-cloud color-correction method rather than a general theory of nearest-neighbor interpolation, but two adjacent lines of work help situate its design. "Benefit of Interpolation in Nearest Neighbor Algorithms" studies interpolated nearest-neighbor weighting schemes in classification and regression, not bilateral interpolation in the image-processing sense (Xing et al., 2022). Its central result is that a mild degree of interpolation via distance-dependent weights can strictly improve prediction performance and statistical stability over ordinary KK09-NN, while extreme interpolation trends toward 1-NN behavior and produces a U-shaped performance curve. This suggests a useful conceptual backdrop for KBI’s nonuniform local weighting: emphasizing nearby neighbors can be beneficial, but the paper does not address bilateral weights that jointly depend on geometric distance and color similarity.

A different structural comparison is provided by "Spherical k-Nearest Neighbors Interpolation," which introduces SkNNI and the NDDNISD interpolation rule for scalar geospatial interpolation on the sphere (Trempe, 2019). That method combines query-neighbor proximity with a second factor derived from neighborhood distribution, yielding a dual-factor weighting rule that is KNN-based and interpolation-oriented, but not bilateral in the classical sense because it does not use feature or value similarity. Relative to that design, KBI is closer to the classical bilateral paradigm because its second factor is explicitly a color-similarity term.

Taken together, these neighboring works indicate that KBI belongs to a broader family of weighted nearest-neighbor interpolators while remaining methodologically distinct. Its defining specialization is the use of aligned source-target geometry, CIELAB-based validity screening, and bilateral weights over Euclidean proximity and channel-wise color difference for local color consistency correction of point clouds (Chung et al., 4 Nov 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (3)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to K-nearest Neighbors Based Bilateral Interpolation (KBI).