1 | initial version |
It means that all the pixels having a value, will be added with their pixel value to the histogram you create. All the others will get ignored. Exactly like stated. For example if you have a squared image of 45x45 pixels, and a mask of 45x45 pixels with a white circle of 20 pixels diameter starting from the center point, then only the pixels inside the circle will be used for calculating your histogram.