juxtapose {colorizer} | R Documentation |
Compare Images
Description
juxtapose
compares the original image with the colorized version obtained with
colorize
.
Usage
juxtapose(
response,
type = c("side-by-side", "stacked", "c-focus", "h-focus", "v-focus", "h-split",
"v-split", "d-split", "u-animate", "s-animate"),
pane = c("plot", "view", "none")
)
Arguments
response |
a response object of a |
type |
defines the type of juxtaposition:
|
pane |
defines in which pane the image is displayed: |
Value
The function adds the comparison to the response object and returns it invisibly.
Examples
## Not run:
# Compare images
res <- colorize(img = "https://upload.wikimedia.org/wikipedia/commons/9/9e/Breadfruit.jpg")
juxtapose(res)
## End(Not run)
[Package colorizer version 0.1.0 Index]