Description Usage Arguments Value Examples
Increases the dimensions of an image by duplicating a given number of least cost seams
1 | sc_increase(imgPath, ncols = 0, nrows = 0)
|
imgPath |
Path to a RGB image. (.PNG / .JPG / .TIF) |
ncols |
Number by which the width has to be increased |
nrows |
Number by which the height has to be increased |
SC-Image <Resized Image>
1 2 3 4 5 | library(EBImage)
filePath <- system.file("images", "sample-color.png", package="EBImage")
increased_image <- sc_increase(filePath, 10, 10)
display(increased_image$increased_img)
class(increased_image)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.