Real Time Image processing timing problem

I know it's software problem but I was thinking if there's a way to store the commands given to arduino and execute them at the desired timing later while simultaneously I can read sensor input and start further processing.
I am using Arduino Uno.