Computing features from images