bbx_list: Convert bbx to row/column list and back

Description Usage Arguments Value Examples

Description

Convert bbx to row/column list and back

Usage

1
2
3
4
5
6
7

Arguments

bbx

character vector of bbxes

l

list of numeric vectors, representing bbxes or bbx coordinates (for 'bbx_to_rlst()' and 'bbx_to_clst()', respectively)

Value

list numeric vectors representing bbxes

list numeric vectors representing bbx coordinates

character vector of bbxes

character vector of bbxes

Examples

1
2
3
4
5
6
l <- c("0 0 5 5", "5,5,10,10")
bbx_to_rlst(l)
bbx_to_clst(l)
l <- list(c(0,0,5,5), c(5,0,10,5), c(0,5,5,10), c(5,5,10,10))
rlst_to_bbx(l)
clst_to_bbx(l)

dmi3kno/bbx documentation built on May 14, 2020, 9:08 p.m.