5769051e69929a4a0517b97cd41c8b260c489881,dipy/segment/tests/test_mrf.py,,test_greyscale_iter,#,104

Before Change


//    image_gauss = add_noise(image, 1000, 1, noise_type="gaussian")

    plt.figure()
    plt.imshow(image_gauss[..., 1])
    plt.colorbar()

    final_segmentation = np.empty_like(image)
    seg_init = initial_segmentation.copy()

After Change



        diff = np.abs(final_segmentation[..., 1] - initial_segmentation[..., 1])

        print("Difference points")
        print(np.sum(diff > 0))

        initial_segmentation = final_segmentation.copy()
        mu = mu_upd.copy()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: nipy/dipy
Commit Name: 5769051e69929a4a0517b97cd41c8b260c489881
Time: 2016-08-03
Author: garyfallidis@gmail.com
File Name: dipy/segment/tests/test_mrf.py
Class Name:
Method Name: test_greyscale_iter


Project Name: AllenCellModeling/pytorch_fnet
Commit Name: 1fb8c70fd6ecd0195c0b2b3702833ad84452cbb9
Time: 2017-06-20
Author: chek.o@outlook.com
File Name: gen_util.py
Class Name:
Method Name: display_batch


Project Name: nipy/dipy
Commit Name: b125873cb6e0fa9f99137b256ac5fc602e4b72f1
Time: 2014-01-17
Author: Samuel.St-Jean@usherbrooke.ca
File Name: dipy/denoise/tests/test_nlmeans.py
Class Name:
Method Name: test_nlmeans


Project Name: khaotik/DaNet-Tensorflow
Commit Name: f391751e1c6cf648a9cf6b75149bc7686541404b
Time: 2017-08-10
Author: junkkhaotik@gmail.com
File Name: main.py
Class Name:
Method Name: main