API: globally unifying niimg/img in functions/variables