I'm counting objects in an image. I wish to perform a linear interpolation where I know the pixel sizes of my objects at near and far perspectives and the positions of these two objects in the image. The images at the bottom of the image are larger as they are near the camera which took them.
The image to be analysed is the same from this question here... link text
I realise that linear interpolation will only work on one plane, here from top to bottom, so ideas on how to do it properly would be good. It is for a masters dissertation, I've done the 'hard' bits - image classification, data collection, however I've just hit a mental brick wall, between Java (currently using) and R (now just for stats), any help would be greatly appreciated!