imageShow: display an image

Description Usage Arguments Details Value Examples

View source: R/shiny_rscript.R

Description

This function displays an image

Usage

1
imageShow(file_path)

Arguments

file_path

if file_path is a character string, then a shiny application is utilized. If file_path is a matrix, data.frame OR a 3-dimensional array then the grid.raster function of the base grid package is used.

Details

This function displays an image using either a character path, a 2- or a 3-dimensional object.

Value

displays an image

Examples

1
2
3
# path = system.file("tmp_images", "1.png", package = "OpenImageR")

# imageShow(path)

OpenImageR documentation built on Sept. 10, 2021, 5:08 p.m.