Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fillHull

Fill holes in objects


Description

Fill holes in objects.

Usage

fillHull(x)

Arguments

x

An Image object or an array.

Details

fillHull fills holes in the objects defined in x, where objects are sets of pixels with the same unique integer value.

Value

An Image object or an array, containing the transformed version of x.

Author(s)

Gregoire Pau, Oleg Sklyar; 2007

See Also

Examples

x = readImage(system.file('images', 'nuclei.tif', package='EBImage'))
  display(x)

  y = thresh(x, 10, 10, 0.05)
  display(y, title='Cell nuclei')

  y = fillHull(y)
  display(y, title='Cell nuclei without holes')

EBImage

Image processing and analysis toolbox for R

v4.32.0
LGPL
Authors
Andrzej Oleś, Gregoire Pau, Mike Smith, Oleg Sklyar, Wolfgang Huber, with contributions from Joseph Barry and Philip A. Marais
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.