Count the number of pixels in a given mask plane.
MaskedImage
Masked image to examine.
str
Name of the mask plane to examine.
int
Number of pixels in the requested mask plane.
countMaskedPixels()