functionize analyze images