HistogramTransformInterpolation
HistogramTransformInterpolation[{x1,x2,…}]
finds a function so that the transformed values are distributed nearly uniformly.
HistogramTransformInterpolation[{x1,x2,…},ref]
finds so that are distributed with distribution ref.
HistogramTransformInterpolation[{x1,x2,…},ref,n]
finds a function with n equally spaced quantiles.
HistogramTransformInterpolation[image,…]
finds a function that reshapes the histogram of image.
Details
- HistogramTransformInterpolation returns a function to perform a histogram transformation by changing the shape of the image histogram, typically used for histogram equalization or matching.
- HistogramTransformInterpolation returns a function f or a list of functions for each channel, each represented with an InterpolatingFunction.
- Use HistogramTransform to perform histogram transformation using the corresponding functions.
- HistogramTransformInterpolation[image] is effectively the cumulative distribution (CDF) of the pixel values. When applied to pixel values, it creates an image with a nearly flat histogram.
- HistogramTransformInterpolation[image,ref] finds a function such that the transformed pixel values would have nearly the same distribution as ref.
- Reference ref can be another image, a dataset or a distribution.
- HistogramTransformInterpolation works with 2D and 3D images, and also with lists of arbitrary rank datasets.
- HistogramTransformInterpolation[{data1,data2,…},…] gives a list of functions that correspond to each dataset.
- With HistogramTransformInterpolation[image,ref], 256 quantiles are used.
- With HistogramTransformInterpolation[data,ref,Automatic], the number of quantiles is the same as the number of bins used in Histogram[data].
Examples
open allclose allBasic Examples (4)
Scope (3)
Applications (1)
Locally Adaptive Histogram Equalization (1)
Properties & Relations (2)
HistogramTransformInterpolation can be used to get the transformation function used in HistogramTransform:
The result of HistogramTransformInterpolation approximates the closed-form solution when it exists:
Text
Wolfram Research (2012), HistogramTransformInterpolation, Wolfram Language function, https://reference.wolfram.com/language/ref/HistogramTransformInterpolation.html (updated 2014).
CMS
Wolfram Language. 2012. "HistogramTransformInterpolation." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/HistogramTransformInterpolation.html.
APA
Wolfram Language. (2012). HistogramTransformInterpolation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HistogramTransformInterpolation.html