All Implemented Interfaces:
Provider<Mask>, ProviderAsStack

public class FromChannel extends FromChannelBase
Creates a mask from an existing channel, reusing the channel's buffer and considering all 0 values as off, and 255 values as on.

No check occurs to see if the channel contains voxels that are neither 0 nor 255 but the user should not pass such a channel, as behaviour is undefined.

Author:
Owen Feehan