Gray Matter Ball Python : Isn't this a common operation in image processing?