sc_mark_leastCSeam: sc_mark_leastCSeam

Description Usage Arguments Value Examples

View source: R/sc_mark_leastCSeam.R

Description

Marks the least cost seam in vertical direction.

Usage

1

Arguments

imgPath

Path to a three channel image. (.PNG / .JPG / .TIF)

Value

SC-SImage <EnergyMap & Image with marked seam>

Examples

1
2
3
4
5
6
library(EBImage)
filePath <- system.file("images", "sample-color.png", package="EBImage")
seam_image <- sc_mark_leastCSeam(filePath)
display(seam_image$energy_map)
display(seam_image$seam_image)
class(seam_image)

vgorte/R-Seam-Carving documentation built on Aug. 5, 2019, 12:15 p.m.