Image processing using NumPy and SciPy
script
little script written in python that sort an image array by column:
image_processing.py
import numpy as np
import scipy.misc
image = "/Users/username/image.jpg"
image_array = scipy.misc.imread(image)
a = np.sort(image_array, axis=0)
scipy.misc.imsave('outimage.jpg', a)