06a3d0890b11544375040024326f69f252e30601,dipy/workflows/segment.py,MedianOtsuFlow,run,#MedianOtsuFlow#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,18

Before Change


            logging.info("Mask saved as {0}".format(mask_out_path))

            if save_masked:
                masked_img = nib.Nifti1Image(masked_volume, img.get_affine(),
                                             img.get_header())

                masked_img.to_filename(masked_out_path)
                logging.info("Masked volume saved as {0}".
                             format(masked_out_path))

After Change


            logging.info("Applying median_otsu segmentation on {0}".
                         format(fpath))

            data, affine, img = load_nifti(fpath, return_img=True)

            masked_volume, mask_volume = median_otsu(data, median_radius,
                                                     numpass, autocrop, vol_idx,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: nipy/dipy
Commit Name: 06a3d0890b11544375040024326f69f252e30601
Time: 2016-08-29
Author: matthieu.dumont@usherbrooke.ca
File Name: dipy/workflows/segment.py
Class Name: MedianOtsuFlow
Method Name: run


Project Name: nilearn/nilearn
Commit Name: 755780e1780497b31d1e2e30a634b34800f2b137
Time: 2015-11-29
Author: dkamalakarreddy@gmail.com
File Name: examples/connectivity/plot_extract_regions_smith_atlas_networks.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 1adf6bb44e1897757464394bcf7502de30278b16
Time: 2015-04-20
Author: abraham.alexandre@gmail.com
File Name: nilearn/_utils/niimg_conversions.py
Class Name:
Method Name: _iter_check_niimg


Project Name: nilearn/nilearn
Commit Name: f418fee7173c2af12ae30f9014f18dbca3c36b90
Time: 2014-06-17
Author: chris.gorgolewski@gmail.com
File Name: plot_visualization.py
Class Name:
Method Name: