R/segmentoutside.R
segment.outside.Rd
Segmentation of the background of 3D images. Starting from the borders of the image, the algorithm tries to find the edges of an object in the middle of the image. From this, a threshold for the edge is defined automatically. The function then return the a logical array representing voxel inside the object.
segment.outside(img, blobsize = 1)
A binary 3D array: 1 outside the object, 0 inside the object.
# \donttest{
kringel <- readTIF(system.file("extdata","kringel.tif",package="bioimagetools"))
out <- segment.outside(kringel)
#> Threshold is 100%
#> Starting Segmentation.
img(out, z=1)
# }