Add function and test for enumerating all possible features in a WxH image