Pre-calculate image stats and send to threads instead of having each thread calculate seperately.