add.margins: Function used to add whitespace to image

add.marginsR Documentation

Function used to add whitespace to image

Description

This function adds whitespace to a raster image and forces the height/width to be equal to the image diagonal. This way you can ensure that no part of the tissue is cropped after a rotation transformation

Usage

add.margins(rst)

Arguments

rst

Raster image


jbergenstrahle/STUtility documentation built on March 14, 2023, 7:15 a.m.