(image, save_dir, name, mean=None)
Save image by unprocessing if mean given else just save
    :param mean:
    :param image:
    :param save_dir:
    :param name:
    :return:
Save image by unprocessing if mean given else just save
    :param mean:
    :param image:
    :param save_dir:
    :param name:
    :return:
Save image by unprocessing if mean given else just save : param mean : : param image : : param save_dir : : param name : : return :
def save_image(image, save_dir, name, mean=None):
    """
    Save image by unprocessing if mean given else just save
    :param mean:
    :param image:
    :param save_dir:
    :param name:
    :return:
    """
    if mean:
        image = unprocess_image(image, mean)
    misc.imsave(os.path.join(save_dir, name + ".png"), image)
def save_image ( image , save_dir , name , mean = None ) : if mean : image = unprocess_image ( image , mean ) misc . imsave ( os . path . join ( save_dir , name + ".png" ) , image )