gui_utils_images#

get_current_res(app)[source]#
get_pseudo_random_color(format='rgb')[source]#

Return a pseudo random colour. The hue is random but The saturation and the value are kept in the upper half interval

Returns

get_random_color()[source]#
is_dark(color)[source]#
Parameters:

QColor (color)

Returns

np_to_qpixmap(img_array, alpha)[source]#
project(img, axis, invalid_val=nan)[source]#
pseudo_random_rgb_array(n_samples)[source]#
surface_project(img)[source]#