API reference
API reference
Select your platform
No SDKs available
No versions available

CompositeMaskMax Class

Extends Mask2D
A mask that combines multiple other masks and returns the maximum value of all.

Member Functions

This method applies the mask to the given candidate.
It first generates an affine transformation based on the provided parameters, and then applies this transformation to the local position of the candidate. The resulting position is used to sample each layer in the mask, and the maximum value of all layers is returned. If there are no mask layers, it returns 0.
Parameters
c
The candidate to apply the mask to.
Returns
The maximum mask value for the given candidate.
Not used on this mask.
Parameters
c
The candidate
Returns
true