d39e177b2f24f7aed0d8bc2da8c93e0f4e632681,tests/test_utils.py,TestModule_denoise_image,test_denoise_image_example,#TestModule_denoise_image#,134
Before Change
image = ants.image_read(ants.get_ants_data("r16"))
// add fairly large salt and pepper noise
imagenoise = image + np.random.randn(*image.shape).astype("float32")*5
imagedenoise = ants.denoise_image(imagenoise, ants.get_mask(image))
class TestModule_get_ants_data(unittest.TestCase):
After Change
image = ants.image_read(ants.get_ants_data("r16"))
// add fairly large salt and pepper noise
imagenoise = image + np.random.randn(*image.shape).astype("float32")*5
imagedenoise = ants.denoise_image(imagenoise, image>image.mean())
class TestModule_get_ants_data(unittest.TestCase):
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances
Project Name: ANTsX/ANTsPy
Commit Name: d39e177b2f24f7aed0d8bc2da8c93e0f4e632681
Time: 2017-09-28
Author: ncullen.th@dartmouth.edu
File Name: tests/test_utils.py
Class Name: TestModule_denoise_image
Method Name: test_denoise_image_example
Project Name: ANTsX/ANTsPy
Commit Name: d39e177b2f24f7aed0d8bc2da8c93e0f4e632681
Time: 2017-09-28
Author: ncullen.th@dartmouth.edu
File Name: tests/test_utils.py
Class Name: TestModule_label_stats
Method Name: test_label_stats_example
Project Name: ANTsX/ANTsPy
Commit Name: d39e177b2f24f7aed0d8bc2da8c93e0f4e632681
Time: 2017-09-28
Author: ncullen.th@dartmouth.edu
File Name: tests/test_utils.py
Class Name: TestModule_mask_image
Method Name: test_mask_image_example
Project Name: ANTsX/ANTsPy
Commit Name: d39e177b2f24f7aed0d8bc2da8c93e0f4e632681
Time: 2017-09-28
Author: ncullen.th@dartmouth.edu
File Name: tests/test_utils.py
Class Name: TestModule_morphology
Method Name: test_morphology_example
Project Name: ANTsX/ANTsPy
Commit Name: d39e177b2f24f7aed0d8bc2da8c93e0f4e632681
Time: 2017-09-28
Author: ncullen.th@dartmouth.edu
File Name: tests/test_utils.py
Class Name: TestModule_get_neighborhood
Method Name: test_get_neighborhood_in_mask_example
Project Name: ANTsX/ANTsPy
Commit Name: d39e177b2f24f7aed0d8bc2da8c93e0f4e632681
Time: 2017-09-28
Author: ncullen.th@dartmouth.edu
File Name: tests/test_utils.py
Class Name: TestModule_labels_to_matrix
Method Name: test_labels_to_matrix_example