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

Before Change


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

            img = nib.load(fpath)
            volume = img.get_data()

            masked_volume, mask_volume = median_otsu(volume, median_radius,
                                                     numpass, autocrop, vol_idx,
                                                     dilate)

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,
                                                     dilate)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

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: nipy/dipy
Commit Name: c117a3f9b888196936a2e3ef2b78a619b169d60e
Time: 2018-12-10
Author: skab12@gmail.com
File Name: dipy/workflows/denoise.py
Class Name: NLMeansFlow
Method Name: run


Project Name: nipy/dipy
Commit Name: 61e34a1140510f6fe251011e97066e5974bc90f3
Time: 2020-01-03
Author: skab12@gmail.com
File Name: doc/examples/viz_slice.py
Class Name:
Method Name: