lowest_k_indices: lowest_k_indices

Description Usage Arguments Value

View source: R/lowest_k_indices.R

Description

Function returning the indices of the lowest k entries in the bottom row of the cost map.

Usage

1

Arguments

vec

vector of last entries of the cost map

k

number of entries to return

rev

boolean, true if image has been rotated

Value

vector with k lowest entries


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