Add image calculations