juxtapose {colorizer} | R Documentation |
juxtapose
compares the original image with the colorized version obtained with
colorize
.
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")
)
response |
a response object of a |
type |
defines the type of juxtaposition:
|
pane |
defines in which pane the image is displayed: |
The function adds the comparison to the response object and returns it invisibly.
## Not run:
# Compare images
res <- colorize(img = "https://upload.wikimedia.org/wikipedia/commons/9/9e/Breadfruit.jpg")
juxtapose(res)
## End(Not run)