Skip to contents

Internal wrapper function for applying any of several imager morphological operations for cleaning pixsets.

Usage

apply_imager_operation(pixset, imager_function, ...)

Arguments

pixset

An object of class pixset. Usually a layer from splitByColor() that has been converted to a pixset object.

imager_function

The name of an imager morphological operation that can be performed on a pixset, passed as a string. See details.

...

Further arguments passed to the imager function being used.

Value

The resulting pixset after applying the specified morphological operation.

Details

Current imager operations are: