getleslabels: Lesion Labelling

Description Usage Arguments Value

View source: R/getleslabels.R

Description

This function is a helper function for lesion_identification(). It takes in a lesion segmentation mask and a NIfTI image with identified lesion centers and returns a lesion label map.

Usage

1
getleslabels(lesmask, centers)

Arguments

lesmask

Lesion segmentation mask. Given a probability threshold, automatically binarizes lesion probability map into a segmentation mask.

centers

Lesion center map. Provided by lesiontools::lesioncenters().

Value

A NIfTI with labels for each identified lesion.


carolynlou/prlr documentation built on Oct. 2, 2020, 10:28 a.m.