Faster functions to apply a f over all pixels; reflection warnings

* grid-map seems to be more suitable to swap an image (no temporary
vector is needed to store the pixels values).
* get-pixel can get the value of just a specific channel.