vispy.visuals.tests.test_image module#

vispy.visuals.tests.test_image.test_bad_init_gamma(gamma)#

Test creating an Image with a bad gamma value.

vispy.visuals.tests.test_image.test_change_clim_float(dtype, init_clim)#

Test that with an image of floats, clim is correctly set from the first try.

See https://github.com/vispy/vispy/pull/2245.

vispy.visuals.tests.test_image.test_image(is_3d)#

Test image visual

vispy.visuals.tests.test_image.test_image_clims_and_gamma(input_dtype, texture_format, num_channels, clim_on_init, data_on_init)#

Test image visual with clims and gamma on shader.

vispy.visuals.tests.test_image.test_image_equal_clims(texture_format, num_channels)#

Test image visual with equal clims.

vispy.visuals.tests.test_image.test_image_interpolation()#

Test different interpolations

vispy.visuals.tests.test_image.test_image_nan_rgb(texture_format, num_bands)#
vispy.visuals.tests.test_image.test_image_nan_single_band(texture_format)#
vispy.visuals.tests.test_image.test_image_vertex_updates()#

Test image visual coordinates are only built when needed.