arXiv Science⌕ Search

arXiv subjects

Nikola Banić

Publications and source records attributed to Nikola Banić.

At least 19 recordsLinked to original sources

Discrete total variation under the multinomial, Part 5: cyclic total variation

We study the cyclic discrete total variation obtained by adding the wrap-around edge to the usual open-chain statistic. Under the uniform multinomial law the cyclic symmetry recombines the same per-edge, adjacent, and disjoint covariance blocks used for the linear statistic, but with different multiplicities, and this simplifies the variance: the bin-independent leading coefficient \(2A+4B\) carries over, the constant-order correction collapses \emph{exactly} to \(β_c(n)=β_1 n\) (no \(n^0\) or \(1/n\) tail; obtained directly here, and already reached in Part~2 through the transfer identity), and a conditional second-order coefficient \(γ_c(n)\) is given. The exact finite-\(N\) cyclic--linear transfer identity of Part~2, read order by order, both delivers these and, as its main consequence for the \emph{linear} statistic, explains the traveling mode of the linear variance: comparison with the (first-order) mode-free symmetric cyclic profile shows that deleting one edge introduces a rising contribution whose balance against the falling cyclic bulk creates a ridge at \(n\asymp\sqrt{K_0N}\) with local optimizer \(K_0=C_1/β_1\). Uniform control of three ridge blocks proves this optimizer on every compact ridge window, upgrading the previously heuristic \(\sqrt N\) mode law to a theorem; the global localization of the exact maximizer remains open. We also record the corresponding cyclic reference-centered statistic under a fixed alternative and the leading Nabeya variance formula for the matched non-uniform cyclic statistic. Throughout, ``exact'' refers to the asymptotic coefficient in \(N\); the operative symmetry is cyclic stationarity (rotation invariance), not exchangeability.

math.ST↗

Discrete total variation under the multinomial, Part 4: variance under a general distribution

We study the variance of the reference-centered discrete total variation $d_{\mathbf p}=\sum_{j=1}^{n-1}|X_{j+1}-X_j-N(p_{j+1}-p_j)|$ of $X\sim\mathrm{Mult}(N;\mathbf p)$ for fixed $n\ge3$ and fixed $\mathbf p$ with all $p_i>0$, as $N\to\infty$. We prove $\mathrm{Var}(d_{\mathbf p})=N\,v(\mathbf p)+O(1)$, where $v(\mathbf p)$, the variance of the sum of absolute values of the limiting Gaussian edge vector, is expressed through the exact multinomial edge variances and correlations and Nabeya's covariance formula for folded bivariate normal variables. Unlike in the uniform case, non-adjacent edge pairs generally contribute to $v(\mathbf p)$. The $O(1)$ remainder is controlled by a lattice Edgeworth expansion and Poisson summation; it oscillates with the lattice phases $\{N(p_{j+1}-p_j)\}$, and for $n=3,4$, where a pair of edges exhausts the bins, the summation runs over a sublattice coset. The formula reduces to the known uniform result (the classical Hoel--Kamat variance), gives a closed form when the reference law is a symmetric comb, and has a shape-independent large-bin limit for positive $C^1$ profiles. For the statistic $d_{\mathbf r}$ centered at a reference law $\mathbf r\ne\mathbf p$ the absolute values linearize: when every edge is mismatched the variance is that of a linear form in the counts up to an exponentially small error, and in mixed (triangular-array) regimes it is given to $o(N)$ by bivariate folded-normal covariances. The two-bin formulas are recorded from the companion preprints, and exact finite-$N$ reductions for $n\le4$ are used for validation.

math.PR↗

Discrete total variation under the multinomial, Part 3: expectation under a general distribution

For multinomial counts $X\sim\operatorname{Mult}(N;\mathbf p)$ on $n$ ordered bins and a reference law $\mathbf r$ we study the expectation of the reference-centered discrete total variation $d_{\mathbf r}(X)=\sum_{j=1}^{n-1}|(X_{j+1}-Nr_{j+1})-(X_j-Nr_j)|$, the natural extension of the comb-test statistic to a non-uniform null. For a non-uniform null the raw total variation of the counts carries a deterministic staircase of order $N$ that no centering of the statistic removes; the counts are therefore centered at the reference law, and under the null ($\mathbf p=\mathbf r$) the statistic is the matched $d_{\mathbf p}$. Exact finite-sample expectations are obtained by conditioning on the total mass in each adjacent pair, which reduces every edge to a translated binomial absolute-deviation problem. For fixed $n\ge3$ and a sampling law bounded away from the boundary of the simplex, the matched statistic admits a three-term asymptotic expansion in powers of $1/N$ whose coefficients are explicit continuous periodic functions of $N(p_{j+1}-p_j)$ (a generalized, non-Poincaré asymptotic expansion), obtained by a weighted local Edgeworth estimate and a corner Euler--Maclaurin summation; all half-integer orders vanish by parity. Each correction separates into a smooth Edgeworth part and an oscillatory lattice part, the latter an Edgeworth perturbation of one formal Euler--Maclaurin series of a Gaussian lattice sum. Under a sampling law $\mathbf p\neq\mathbf r$ the leading expectation is the folded-normal profile implied by the central limit theorem; under local alternatives we identify the $O(1)$ correction (a skewness term, plus a variance-gradient term for Pitman alternatives), and fixed alternatives give a law-of-large-numbers limit, the $\ell_1$ distance between the adjacent-gradient profiles of $\mathbf p$ and $\mathbf r$, on which threshold tests are consistent.

math.ST↗

Comb Test Under a Non-Uniform Null: Centered Total Variation and Phase-Blindness

The comb test detects alternating histogram defects, every second bin raised. For a non-uniform null it is defined on counts centered on their expected values, keeping it blind to which bins are raised; uncentered counts would expose only one choice of raised bins. Its exact null is computed for any rational null, a first beyond the uniform null for the total variation of counts, and an index known before any data predicts how much uncentered counts would lose. It applies where the null is known: converter code densities, bit-source run lengths, image histograms. With real image histograms as nulls it has about twice the power of pooled chi-square at a 6% mismatch, and it detects a two-lane defect in simulated bit-source run lengths. Code and data are available at https://github.com/DiscreteTotalVariation/ResidualCombTest.

stat.AP↗

Discrete total variation under the multinomial, Part 2: variance under the uniform null

For the counts $(X_1,\dots,X_n)\sim\mathrm{Mult}(N;1/n,\dots,1/n)$ of $N$ observations in $n$ ordered bins we study the variance of the discrete total variation $d=\sum_{i=1}^{n-1}|X_{i+1}-X_i|$. An exact decomposition splits $\mathrm{Var}(d)$ into per-edge, adjacent-pair and disjoint-pair terms and yields, for fixed $n$ as $N\to\infty$, $\mathrm{Var}(d)/N=α(n)-β(n)/N+γ(n)/N^2+o(N^{-2})$. For every $n\ge 2$, $Nα(n)$ is the classical normal-theory variance (Hoel, Kamat) of the sum of absolute successive differences of $n$ independent $N(0,N/n)$ variables; the correction $β(n)$ is obtained in closed form for $n\ge 3$ (the case $n=2$ is treated separately). Two disjoint edge differences $D_1=X_2-X_1$ and $D_3=X_4-X_3$ are exactly uncorrelated and asymptotically independent, yet $\mathrm{Cov}(|D_1|,|D_3|)=-1/(πn)+O(1/N)$: a correlation of relative order $1/N$, invisible in the Gaussian limit and absent under Poissonized sampling, whose constant is proportional to the exact joint fourth cumulant $κ_{2,2}(D_1,D_3)=-4N/n^2$ and is proved here on the lattice. The adjacent pair contributes the lattice-Edgeworth constant $a_*=-2\sqrt{3}/(9π)$, of which one quarter is a smooth Edgeworth term and three quarters a lattice-corner term; the disjoint skeleton $h(m)$ is closed through a Bessel generating function; and $γ(n)$ ($n\ge 5$) is expressed through a single triangular-lattice constant whose closed form we conjecture. Together with the mean of Part 1, the variance supplies the two moments used by moment-matched approximations to the null law of $d$. This is Part 2 of a series; the cyclic statistic $d^{c}$ will be treated in Part 5.

math.PR↗

Comb Test: Histogram Uniformity Testing Based on Discrete Total Variation

Histogram uniformity testing is a common statistical task usually performed using Pearson's chi-square test. This paper proposes a complementary test based on the discrete total variation of the bin counts, which is trivial to compute and, unlike chi-square, exploits bin ordering. Its exact null distribution follows from dynamic programming, and a gamma approximation, verified up to $N=5\cdot10^4$, extends it to large samples. Matching alternatives in $\ell_1$ distance locates the test: it gains over chi-square only in the period-2 comb direction and is least sensitive to smooth, single-jump, and depleted-block departures, for which chi-square is preferable. Experiments on converter nonlinearity, rounding bias, and real images confirm the analysis. Code and data are available at https://github.com/DiscreteTotalVariation/CombTest.

stat.ME↗

NTIRE 2026 Low-light Enhancement: Twilight Cowboy Challenge

This paper presents a review of the NTIRE 2026 Low-light Enhancement: Twilight Cowboy Challenge. The objective of the competition was to merge a set of misaligned smartphone images in the raw domain, captured in low-light conditions, into a single, clean image. Introduced setup simultaneously addresses two problems of low-light photography: visual degradations such as high noise and mixed scene illuminants, and the geometric inconsistencies caused by hand movement during multi-frame capture. To advance research in low-light and nighttime computational photography, a challenging dataset was collected comprising 585 real-world scenes, spanning indoor low-light and outdoor nighttime conditions, for training and benchmarking participant solutions. The competition employed a three-stage evaluation protocol: automatic validation via the CodaBench platform in stages one and two, followed by blind assessment on a private test set for the final ranking. Ten teams surpassed the established baseline, achieving improvements of up to +6.49 dB in PSNR and +0.0101 in SSIM, thereby establishing new state-of-the-art performance for burst-based low-light image enhancement. These results demonstrate significant progress in handling real-world noise, motion, and illumination variability in the low-light setting. Comprehensive results, leaderboards, and additional information are publicly available at https://nightimaging.org.

cs.CV↗

DEAR: Dataset for Evaluating the Aesthetics of Rendering

Traditional Image Quality Assessment~(IQA) focuses on quantifying technical degradations such as noise, blur, or compression artifacts, using both full-reference and no-reference objective metrics. However, evaluation of rendering aesthetics, a growing domain relevant to photographic editing, content creation, and AI-generated imagery, remains underexplored due to the lack of datasets that reflect the inherently subjective nature of style preference. In this work, a novel benchmark dataset designed to model human aesthetic judgments of image rendering styles is introduced: the Dataset for Evaluating the Aesthetics of Rendering (DEAR). Built upon the MIT-Adobe FiveK dataset, DEAR incorporates pairwise human preference scores collected via large-scale crowdsourcing, with each image pair evaluated by 25 distinct human evaluators with a total of 13,648 of them participating overall. These annotations capture nuanced, context-sensitive aesthetic preferences, enabling the development and evaluation of models that go beyond traditional distortion-based IQA, focusing on a new task: Evaluation of Aesthetics of Rendering (EAR). The data collection pipeline is described, human voting patterns are analyzed, and multiple use cases are outlined, including style preference prediction, aesthetic benchmarking, and personalized aesthetic modeling. To the best of the authors' knowledge, DEAR is the first dataset to systematically address image aesthetics of rendering assessment grounded in subjective human preferences. A subset of 100 images with markup for them is published on HuggingFace (huggingface.co/datasets/vsevolodpl/DEAR).

cs.CV↗

Zero-disparity Distribution Synthesis: Fast Exact Calculation of Chi-Squared Statistic Distribution for Discrete Uniform Histograms

Pearson's chi-squared test is widely used to assess the uniformity of discrete histograms, typically relying on a continuous chi-squared distribution to approximate the test statistic, since computing the exact distribution is computationally too costly. While effective in many cases, this approximation allegedly fails when expected bin counts are low or tail probabilities are needed. Here, Zero-disparity Distribution Synthesis is presented, a fast dynamic programming approach for computing the exact distribution, enabling detailed analysis of approximation errors. The results dispel some existing misunderstandings and also reveal subtle, but significant pitfalls in approximation that are only apparent with exact values. The Python source code is available at https://github.com/DiscreteTotalVariation/ChiSquared.

stat.ME↗

NTIRE 2024 Challenge on Night Photography Rendering

This paper presents a review of the NTIRE 2024 challenge on night photography rendering. The goal of the challenge was to find solutions that process raw camera images taken in nighttime conditions, and thereby produce a photo-quality output images in the standard RGB (sRGB) space. Unlike the previous year's competition, the challenge images were collected with a mobile phone and the speed of algorithms was also measured alongside the quality of their output. To evaluate the results, a sufficient number of viewers were asked to assess the visual quality of the proposed solutions, considering the subjective nature of the task. There were 2 nominations: quality and efficiency. Top 5 solutions in terms of output quality were sorted by evaluation time (see Fig. 1). The top ranking participants' solutions effectively represent the state-of-the-art in nighttime photography rendering. More results can be found at https://nightimaging.org.

cs.CV↗

Reply to Comment on "TVOR: Finding Discrete Total Variation Outliers among Histograms"

In this paper, we respond to a critique of one of our papers previously published in this journal, entitled "TVOR: Finding Discrete Total Variation Outliers among Histograms". Our paper proposes a method for smoothness outliers detection among histograms by using the relation between their discrete total variations (DTV) and their respective sample sizes. In this response, we demonstrate point by point that, contrary to its claims, the critique has not found any mistakes or problems in our paper, either in the used datasets, methodology, or in the obtained top outlier candidates. On the contrary, the critique's claims can easily be shown to be mathematically unfounded, to directly contradict the common statistical theorems, and to go against well established demographic terms. Exactly this is done in the reply here by providing both theoretical and experimental evidence. Additionally, due to critique's complaint, a more extensive research on top outlier candidate, i.e. the Jasenovac list is conducted and in order to clear any of the critique's doubts, new evidence of its problematic nature unseen in other lists are presented. This reply is accompanied by additional theoretical explanations, simulations, and experimental results that not only confirm the earlier findings, but also present new data. The source code is at https://github.com/DiscreteTotalVariation/TVOR.

cs.DM↗

Illumination Estimation Challenge: experience of past two years

Illumination estimation is the essential step of computational color constancy, one of the core parts of various image processing pipelines of modern digital cameras. Having an accurate and reliable illumination estimation is important for reducing the illumination influence on the image colors. To motivate the generation of new ideas and the development of new algorithms in this field, the 2nd Illumination estimation challenge~(IEC\#2) was conducted. The main advantage of testing a method on a challenge over testing in on some of the known datasets is the fact that the ground-truth illuminations for the challenge test images are unknown up until the results have been submitted, which prevents any potential hyperparameter tuning that may be biased. The challenge had several tracks: general, indoor, and two-illuminant with each of them focusing on different parameters of the scenes. Other main features of it are a new large dataset of images (about 5000) taken with the same camera sensor model, a manual markup accompanying each image, diverse content with scenes taken in numerous countries under a huge variety of illuminations extracted by using the SpyderCube calibration object, and a contest-like markup for the images from the Cube+ dataset that was used in IEC\#1. This paper focuses on the description of the past two challenges, algorithms which won in each track, and the conclusions that were drawn based on the results obtained during the 1st and 2nd challenge that can be useful for similar future developments.

cs.CV↗

TVOR: Finding Discrete Total Variation Outliers among Histograms

Pearson's chi-squared test can detect outliers in the data distribution of a given set of histograms. However, in fields such as demographics (for e.g. birth years), outliers may be more easily found in terms of the histogram smoothness where techniques such as Whipple's or Myers' indices handle successfully only specific anomalies. This paper proposes smoothness outliers detection among histograms by using the relation between their discrete total variations (DTV) and their respective sample sizes. This relation is mathematically derived to be applicable in all cases and simplified by an accurate linear model. The deviation of the histogram's DTV from the value predicted by the model is used as the outlier score and the proposed method is named Total Variation Outlier Recognizer (TVOR). TVOR requires no prior assumptions about the histograms' samples' distribution, it has no hyperparameters that require tuning, it is not limited to only specific patterns, and it is applicable to histograms with the same bins. Each bin can have an arbitrary interval that can also be unbounded. TVOR finds DTV outliers easier than Pearson's chi-squared test. In case of distribution outliers, the opposite holds. TVOR is tested on real census data and it successfully finds suspicious histograms. The source code is given at https://github.com/DiscreteTotalVariation/TVOR.

stat.ME↗

The Cube++ Illumination Estimation Dataset

Computational color constancy has the important task of reducing the influence of the scene illumination on the object colors. As such, it is an essential part of the image processing pipelines of most digital cameras. One of the important parts of the computational color constancy is illumination estimation, i.e. estimating the illumination color. When an illumination estimation method is proposed, its accuracy is usually reported by providing the values of error metrics obtained on the images of publicly available datasets. However, over time it has been shown that many of these datasets have problems such as too few images, inappropriate image quality, lack of scene diversity, absence of version tracking, violation of various assumptions, GDPR regulation violation, lack of additional shooting procedure info, etc. In this paper, a new illumination estimation dataset is proposed that aims to alleviate many of the mentioned problems and to help the illumination estimation research. It consists of 4890 images with known illumination colors as well as with additional semantic data that can further make the learning process more accurate. Due to the usage of the SpyderCube color target, for every image there are two ground-truth illumination records covering different directions. Because of that, the dataset can be used for training and testing of methods that perform single or two-illuminant estimation. This makes it superior to many similar existing datasets. The datasets, it's smaller version SimpleCube++, and the accompanying code are available at https://github.com/Visillect/CubePlusPlus/.

cs.CV↗

CroP: Color Constancy Benchmark Dataset Generator

Implementing color constancy as a pre-processing step in contemporary digital cameras is of significant importance as it removes the influence of scene illumination on object colors. Several benchmark color constancy datasets have been created for the purpose of developing and testing new color constancy methods. However, they all have numerous drawbacks including a small number of images, erroneously extracted ground-truth illuminations, long histories of misuses, violations of their stated assumptions, etc. To overcome such and similar problems, in this paper a color constancy benchmark dataset generator is proposed. For a given camera sensor it enables generation of any number of realistic raw images taken in a subset of the real world, namely images of printed photographs. Datasets with such images share many positive features with other existing real-world datasets, while some of the negative features are completely eliminated. The generated images can be successfully used to train methods that afterward achieve high accuracy on real-world datasets. This opens the way for creating large enough datasets for advanced deep learning techniques. Experimental results are presented and discussed. The source code is available at http://www.fer.unizg.hr/ipg/resources/color_constancy/.

cs.CV↗

Unsupervised Learning for Color Constancy

Most digital camera pipelines use color constancy methods to reduce the influence of illumination and camera sensor on the colors of scene objects. The highest accuracy of color correction is obtained with learning-based color constancy methods, but they require a significant amount of calibrated training images with known ground-truth illumination. Such calibration is time consuming, preferably done for each sensor individually, and therefore a major bottleneck in acquiring high color constancy accuracy. Statistics-based methods do not require calibrated training images, but they are less accurate. In this paper an unsupervised learning-based method is proposed that learns its parameter values after approximating the unknown ground-truth illumination of the training images, thus avoiding calibration. In terms of accuracy the proposed method outperforms all statistics-based and many learning-based methods. An extension of the method is also proposed, which learns the needed parameters from non-calibrated images taken with one sensor and which can then be successfully applied to images taken with another sensor. This effectively enables inter-camera unsupervised learning for color constancy. Additionally, a new high quality color constancy benchmark dataset with 1707 calibrated images is created, used for testing, and made publicly available. The results are presented and discussed. The source code and the dataset are available at http://www.fer.unizg.hr/ipg/resources/color_constancy/.

cs.CV↗

The Past and the Present of the Color Checker Dataset Misuse

The pipelines of digital cameras contain a part for computational color constancy, which aims to remove the influence of the illumination on the scene colors. One of the best known and most widely used benchmark datasets for this problem is the Color Checker dataset. However, due to the improper handling of the black level in its images, this dataset has been widely misused and while some recent publications tried to alleviate the problem, they nevertheless erred and created additional wrong data. This paper gives a history of the Color Checker dataset usage, it describes the origins and reasons for its misuses, and it explains the old and new mistakes introduced in the most recent publications that tried to handle the issue. This should, hopefully, help to prevent similar future misuses.

cs.CV↗

Green Stability Assumption: Unsupervised Learning for Statistics-Based Illumination Estimation

In the image processing pipeline of almost every digital camera there is a part dedicated to computational color constancy i.e. to removing the influence of illumination on the colors of the image scene. Some of the best known illumination estimation methods are the so called statistics-based methods. They are less accurate than the learning-based illumination estimation methods, but they are faster and simpler to implement in embedded systems, which is one of the reasons for their widespread usage. Although in the relevant literature it often appears as if they require no training, this is not true because they have parameter values that need to be fine-tuned in order to be more accurate. In this paper it is first shown that the accuracy of statistics-based methods reported in most papers was not obtained by means of the necessary cross-validation, but by using the whole benchmark datasets for both training and testing. After that the corrected results are given for the best known benchmark datasets. Finally, the so called green stability assumption is proposed that can be used to fine-tune the values of the parameters of the statistics-based methods by using only non-calibrated images without known ground-truth illumination. The obtained accuracy is practically the same as when using calibrated training images, but the whole process is much faster. The experimental results are presented and discussed. The source code is available at http://www.fer.unizg.hr/ipg/resources/color_constancy/.

cs.CV↗