histmatch | R Documentation |
histmatch
transforms an Image
object so
that its histogram matches (approximately) that of another
Image
object.
histmatch(image, reference, target = "new")
image |
An 8-bit (8U) |
reference |
An 8-bit (8U) |
target |
The location where the results should be stored. It can take 3 values:
|
If target="new"
, the function returns an Image
object. If target="self"
, the function returns nothing and modifies
image
in place. If target
is an Image
object,
the function returns nothing and modifies that Image
object in
place.
Simon Garnier, garnier@njit.edu
Image
, histmatch
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
dots <- image(system.file("sample_img/dots.jpg", package = "Rvision"))
dots_matched <- histmatch(dots, balloon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.