Package image :: Package test :: Module test_minimum
[hide private]
[frames] | no frames]

Module test_minimum

source code

Functions [hide private]
 
test_minimum1()
minimum() nominally computes the minimum pixel value for a stack of identically shaped images.
source code
 
test_minimum2() source code
 
test_minimum3() source code
 
test_minimum4() source code
 
test_minimum5() source code
 
test_minimum6() source code
Variables [hide private]
  __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


Function Details [hide private]

test_minimum1()

source code 

minimum() nominally computes the minimum pixel value for a stack of
identically shaped images.

arrays     specifies a sequence of inputs arrays, which are nominally a
           stack of identically shaped images.

output     may be used to specify the output array.  If none is specified,
           either arrays[0] is copied or a new array of type 'outtype'
           is created.

outtype    specifies the type of the output array when no 'output' is
           specified.

nlow       specifies the number of pixels to be excluded from minimum
           on the low end of the pixel stack.

nhigh      specifies the number of pixels to be excluded from minimum
           on the high end of the pixel stack.

badmasks   specifies boolean arrays corresponding to 'arrays', where true
           indicates that a particular pixel is not to be included in the
           minimum calculation.