ImageFolder.mean¶
- ImageFolder.mean(_box=False, _metadata='first')¶
Calculate the mean value of all the images in the stack.
- Keyword Arguments:
_box (crop box) – Specifies the region of the array to be averaged. Default - entire image
_metadata (str) – Specifies how to generate metadata for the averaged image. - “first”: Just ise the first image’s metadata - “common”: Find the common metadata across all images - “none’: no metadata from images.
Actually a synonym for self.average with not weights