def compute_mean_dic_image(self, im_data_set):
        mean = np.sum(im_data_set, axis=0)

        mean /= float(len(im_data_set))

        return mean

    # ------------------------------------------------------------------------------------------------------------------
Compute the mean image of the dictionary
dataset/ETHPy150Open neuropoly/spinalcordtoolbox/dev/sct_segment_gray_matter_asman/2015-08-17-full_scripts_before_cleaning/sct_asman.py/ModelDictionary.compute_mean_dic_image