org.eclipse.january.dataset

## Class CollectionStats

- java.lang.Object
- - org.eclipse.january.dataset.CollectionStats

-     public class CollectionStats
      extends Object

  Statistics of data set lists. Used for image processing.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CollectionStats()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Dataset` | `mean(List<IDataset> sets)` Used to get a mean image from a set of images for instance.
    `static Dataset` | `median(List<IDataset> sets)` Used to get a median image from a set of images for instance.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CollectionStats

          public CollectionStats()

  - ### Method Detail

    - #### mean

          public static Dataset mean(List<IDataset> sets)
                              throws Exception

      Used to get a mean image from a set of images for instance.
      Parameters:
        `sets` -
      Returns:
        mean data set of the same shape as those passed in.
      Throws:
        `Exception`

    - #### median

          public static Dataset median(List<IDataset> sets)
                                throws Exception

      Used to get a median image from a set of images for instance.
      Parameters:
        `sets` -
      Returns:
        median data set of the same shape as those passed in.
      Throws:
        `Exception`

Copyright © 2014–2018 Eclipse Foundation. All rights reserved.