simulateSphereData: simulateSphereData

Description Usage Arguments Value Author(s) Examples

Description

simulate 2D or 3D image geometry and segmentation data. Return the single channel image, the multi-channel image, center of mass and ground truth labels.

Usage

1
2
simulateSphereData(referenceImage, radius = c(5, 6), noiseLevel = c(0, 0.1),
  positionNoiseLevel = c(0, 2), classByPosition = FALSE)

Arguments

referenceImage

a reference image defining the image space

radius

a two vector defining the radii of the inner and outer shells

noiseLevel

a two vector defining the noise level

positionNoiseLevel

a two vector defining the noise level controlling how much the image moves randomly away from the center.

classByPosition

boolean altering label by the sign of position change

Value

list containing the single channel image, the multi-channel image, the ground truth image and the ground truth labels and the center of mass stored in a data frame.

Author(s)

Avants BB

Examples

1
2
rimg = makeImage( c(25,25) )
sim = simulateSphereData( rimg, radius = c( 2, 3 )  )

stnava/ANTsRNpy documentation built on May 30, 2019, 7:20 p.m.