Lines Matching refs:Bc
9 Bc = np.ones((4,4), dtype=np.bool)
10 Bc[0,2] = 0
17 assert np.all(get_structuring_elem(A, Bc) == Bc)
18 assert np.all(get_structuring_elem(A, Bc.T) == Bc.T)
19 assert get_structuring_elem(A, Bc.T).flags['C_CONTIGUOUS']
20 assert np.all(get_structuring_elem(A, Bc.astype(np.float).T).flags['C_CONTIGUOUS'])
21 assert np.all(get_structuring_elem(A, Bc.astype(np.float).T) == Bc.T)
24 Bc = np.ones((3,3,3), dtype=np.bool)
25 get_structuring_elem(A, Bc)
193 Bc = np.ones((3,3), bool)
194 mahotas._morph.distance_multi(f, binim, Bc)