addbord: Add borders to matrix

View source: R/Borders.R

addbordR Documentation

Add borders to matrix

Description

Add borders to matrix

Usage

addbord(mat, int = 1, size = 1, outside = T)

Arguments

mat

An input (image) matrix

int

The intger to fill the matrix with

size

Border thickness

outside

Shall borders be drawn outside or inside the matrix ?

Value

A matrix with added borders

Author(s)

Allan Sauvat, allan.sauvat@gustaveroussy.fr


kroemerlab/MorphR documentation built on Oct. 9, 2022, 3:19 a.m.