default_phi: Return the initial phi surface for active contour

Description Usage Arguments Value

View source: R/active_contour_utils.R

Description

The function returns the initialize contour surface phi, 5px from the image border. Values outside the curve are set to 1, inside the curve to -1.

Usage

1

Arguments

x

a matrix containing the values of the image

Value

a matrix of the same dimensions


MartinHinz/shapAAR documentation built on July 12, 2020, 7:41 p.m.