Simple coarse graining and sampling strategies for image recognition