def _mp_initializer(endmembers, im2classify):
    """Declare global variables needed for image classifiers.

    :param endmembers:
    :param im2classify:
    """
    global global_shared_endmembers, global_shared_im2classify
    global_shared_endmembers = endmembers
    global_shared_im2classify = im2classify
