View source: R/icevision_albumentations.R
icevision_HistogramMatching | R Documentation |
Apply histogram matching. It manipulates the pixels of an input image so that its histogram matches
icevision_HistogramMatching(
reference_images,
blend_ratio = list(0.5, 1),
read_fn = icevision_read_rgb_image(),
always_apply = FALSE,
p = 0.5
)
reference_images |
reference_images |
blend_ratio |
blend_ratio |
read_fn |
read_fn |
always_apply |
always_apply |
p |
p |
the histogram of the reference image. If the images have multiple channels, the matching is done independently for each channel, as long as the number of channels is equal in the input image and the reference. Histogram matching can be used as a lightweight normalisation for image processing, such as feature matching, especially in circumstances where the images have been taken from different sources or in different conditions (i.e. lighting). See: https://scikit-image.org/docs/dev/auto_examples/color_exposure/plot_histogram_matching.html
None
https://scikit-image.org/docs/dev/auto_examples/color_exposure/plot_histogram_matching.html
image
uint8, uint16, float32
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.