Redistributor: Transforming Empirical Data Distributions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Harar, Pavol, Elbrächter, Dennis, Dörfler, Monika, Johnson, Kory D.
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910515352043520
author Harar, Pavol
Elbrächter, Dennis
Dörfler, Monika
Johnson, Kory D.
author_facet Harar, Pavol
Elbrächter, Dennis
Dörfler, Monika
Johnson, Kory D.
contents We present an algorithm and package, Redistributor, which forces a collection of scalar samples to follow a desired distribution. When given independent and identically distributed samples of some random variable $S$ and the continuous cumulative distribution function of some desired target $T$, it provably produces a consistent estimator of the transformation $R$ which satisfies $R(S)=T$ in distribution. As the distribution of $S$ or $T$ may be unknown, we also include algorithms for efficiently estimating these distributions from samples. This allows for various interesting use cases in image processing, where Redistributor serves as a remarkably simple and easy-to-use tool that is capable of producing visually appealing results. For color correction it outperforms other model-based methods and excels in achieving photorealistic style transfer, surpassing deep learning methods in content preservation. The package is implemented in Python and is optimized to efficiently handle large datasets, making it also suitable as a preprocessing step in machine learning. The source code is available at https://github.com/paloha/redistributor.
format Preprint
id arxiv_https___arxiv_org_abs_2210_14219
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Redistributor: Transforming Empirical Data Distributions
Harar, Pavol
Elbrächter, Dennis
Dörfler, Monika
Johnson, Kory D.
Computer Vision and Pattern Recognition
Mathematical Software
We present an algorithm and package, Redistributor, which forces a collection of scalar samples to follow a desired distribution. When given independent and identically distributed samples of some random variable $S$ and the continuous cumulative distribution function of some desired target $T$, it provably produces a consistent estimator of the transformation $R$ which satisfies $R(S)=T$ in distribution. As the distribution of $S$ or $T$ may be unknown, we also include algorithms for efficiently estimating these distributions from samples. This allows for various interesting use cases in image processing, where Redistributor serves as a remarkably simple and easy-to-use tool that is capable of producing visually appealing results. For color correction it outperforms other model-based methods and excels in achieving photorealistic style transfer, surpassing deep learning methods in content preservation. The package is implemented in Python and is optimized to efficiently handle large datasets, making it also suitable as a preprocessing step in machine learning. The source code is available at https://github.com/paloha/redistributor.
title Redistributor: Transforming Empirical Data Distributions
topic Computer Vision and Pattern Recognition
Mathematical Software
url https://arxiv.org/abs/2210.14219