remap | R Documentation |
remap
transforms the source image using the specified
maps and interpolation methods.
remap(
image,
map1,
map2,
interpolation = "linear",
border_type = "constant",
border_color = "black",
target = "new"
)
image |
An |
map1 , map2 |
|
interpolation |
A character string representing the type of interpolation to use during transformation (default: "linear"). See notes for all accepted interpolation methods. It can be any of the following:
|
border_type |
A character string indicating the extrapolation method to use when filling empty pixels created during the transformation. It can be any of the following:
|
border_color |
A value or vector of any kind of R color specification
compatible with |
target |
The location where the results should be stored. It can take 3 values:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.