Module test_threshold
source code
|
|
__package__ = 'image.test'
|
Imports:
TimeExpired,
assert_almost_equal,
assert_almost_equals,
assert_dict_contains_subset,
assert_dict_equal,
assert_equal,
assert_equals,
assert_false,
assert_greater,
assert_greater_equal,
assert_in,
assert_is,
assert_is_instance,
assert_is_none,
assert_is_not,
assert_is_not_none,
assert_items_equal,
assert_less,
assert_less_equal,
assert_list_equal,
assert_multi_line_equal,
assert_not_almost_equal,
assert_not_almost_equals,
assert_not_equal,
assert_not_equals,
assert_not_in,
assert_not_is_instance,
assert_not_regexp_matches,
assert_raises,
assert_raises_regexp,
assert_regexp_matches,
assert_sequence_equal,
assert_set_equal,
assert_true,
assert_tuple_equal,
combine,
eq_,
istest,
make_decorator,
nose,
nottest,
np,
ok_,
raises,
set_trace,
timed,
with_setup
|
threshhold() computes a boolean array 'outputs' with corresponding
elements for each element of arrays. The boolean value is true where
each of the arrays values is < the low or >= the high
threshholds.
|