The operation measures all slices of the stack. It measures either each
slice as a whole, the content of the selection on each slice or the
pixels between min and max threshold on each slice, in case the limit
threshold option is checked and a threshold is set using the threshold
adjuster.