1
Welcome to SO!
First of all, it is better if you use the term methods rather than functions because these are class members, and you will find most people calling these methods out there. Namely, these are members of your Image class.
You can use a member variable for it inside the Image class ...