outside: Segmentation of the background of 3D images based on classes

View source: R/outside.R

outsideR Documentation

Segmentation of the background of 3D images based on classes

Description

Segmentation of the background of 3D images based on classes

Usage

outside(img, what, blobsize = 1)

Arguments

img

is a 3d array representing an image.

what

is an integer of the class of the background.

blobsize

is an integer, representing the minimal diameter for bridges from the outside. E.g., a blobsize=3 allows for holes of size 2*(blobsize-1)=4 in the edge of the object.

Value

A binary 3d array: 1 outside the object, 0 inside the object


bioimaginggroup/bioimagetools documentation built on June 2, 2022, 3:49 p.m.