seam_carving: Seam Carving

Description Usage Arguments Examples

View source: R/seam_carving.R

Description

A function that returns an image after resizing

Usage

1
seam_carving(image, algorithm, number)

Arguments

image

a given image

algorithm

Dijkstra or BellmanFord

number

Remove a number of paths

Examples

1
2
3
 In this function we use Dijkstra algorithm to remove the 100 shortest path 
 seam_carving(image, Dijkstra, 100)
 

Faheemah-p/ShortPath documentation built on Feb. 3, 2022, 7:20 p.m.