Skip to contents

Internal regularise function. performs total variance regularisation

Usage

regularise(img, lambda = 1, niter = 100)

Arguments

img

image array - generally a matrix

lambda

lambda value for regularisation

niter

numeric number of rounds of regularisation