Original Post
Lets say that I took the picture from a camera on the robot and stored the pixels in an array. For ease of processing, I could probably eliminate some pixels, possibly even every other pixel and still get a rough picture. Then, having this, I could probably take those RGB values and simply set default colors to them, for example if it was within a certain RGB range, it might be just labelled "gray" or "yellow". So now we have an array of color values not using more than 16 colors. Assuming I know that there are certain objects I want to look for as landmarks, in my case, a large yellow ball, and a gray vertical pipe, any ideas on how to treat those groupings of pixels as one entity and get its position within the picture? One problem is that because the distance between the robot and the object would enhance or minimize the size of the object in the picture, and the other is there is limited processing power available, so I''m looking for a simple solution. Perhaps some kind of a "template" for the objects? i.e. treat groups of adjacent same colored pixels as an entity, and then determine what it is based on preset characteristics? (kind of like a pattern recognition neural net, except less computationally intense?)