and added overloaded versions of a few image processing functions to make doing in-place operations slightly more convenient.