-
formula to calculate from real distances to pixels
Hello
We have a real image (a street in the foreground and then stairs in the background, we see it in perspective). In that case we would like to draw a line moving in the z axe climbing the stairs.
The point is that we like to know:
how does the relationship between the pixels and real distances change when moving in the y and z axe? (we’d like to know the formula)
PixelsX=PixelsX(x,y,z)
PixelsY=PixelsY(x,y,z)
PixelsZ=PixelsZ(x,y,z)
That means that the value of pixels to represent the same distance changes with x, y and z.