Filling

Filling

Parallel binary filling on arbitraily sized images.

border_indices(source)[source]

Returns the flat indices of the border pixels in source

fill(source, sink=None, seeds=None, processes=None, verbose=False)[source]

Fill binary holes.

Arguments

sourcearray

Input source.

sinkarray or None

If None, a new array is allocated.

Returns

sinkarray

Binary image with filled holes.

new_get_distutils_extension(modname, pyxfilename, language_level=None)[source]