d39e177b2f24f7aed0d8bc2da8c93e0f4e632681,tests/test_utils.py,TestModule_get_neighborhood,test_get_neighborhood_in_mask_example,#TestModule_get_neighborhood#,195
Before Change
def test_get_neighborhood_in_mask_example(self):
r16 = ants.image_read(ants.get_ants_data("r16"))
mask = ants.get_mask(r16)
mat = ants.get_neighborhood_in_mask(r16, mask, radius=(2,2))
def test_get_neighborhood_at_voxel_example(self):
img = ants.image_read(ants.get_ants_data("r16"))
After Change
// image not ANTsImage
with self.assertRaises(Exception):
ants.get_neighborhood_in_mask(2, mask, radius=(2,2) )
// mask not ANTsImage
with self.assertRaises(Exception):
ants.get_neighborhood_in_mask(img, 2, radius=(2,2))
In pattern: SUPERPATTERN
Frequency: 3
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_get_neighborhood
Method Name: test_get_neighborhood_in_mask_example
Project Name: tensorlayer/openpose-plus
Commit Name: 903c90d8644460c268fe22ed8fc0b28273ecfddf
Time: 2018-08-28
Author: dhsig552@163.com
File Name: train.py
Class Name:
Method Name:
Project Name: tensorlayer/openpose-plus
Commit Name: 0e3dc773bfe1cc74e3c72192c5dc6fbf63864d08
Time: 2018-08-28
Author: dhsig552@163.com
File Name: train.py
Class Name:
Method Name: