Gets the approximate number of meters covered by a pixel that is
1 meter away from the camera. This is commonly multiplied by the distance from the camera to an object to compute the approximate number of meters covered by a pixel of the object.Read-only property
| [Visual Basic .NET] |
|---|
Public Property PixelSizePerDistance() As Double |
| [C#] |
|---|
|
| [Managed C++] |
|---|
public: __property double get_PixelSizePerDistance(); |
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
public double getPixelSizePerDistance(); |
Example 1:
Assume PixelSizePerDistance is 0.001. This means at 1 meter away, the size of a pixel is 0.001 meters. Therefore, the size of 1 pixel at 2,000 meters away is:
2,000 meters * 0.001 (meters / pixel / meters) = 2 meters/pixel
Example 2:
Assume PixelSizePerDistance is 0.001. This means at 1 meter away, the size of a pixel is 0.001 meters. The diameter, in pixels, of a sphere 2,000 meters away that has a diameter of 10 meters is:
10 meters / (2,000 meters * 0.001 (meters / pixel / meters)) = 5 pixels
PixelSizePerDistance is accurate for a pixel in the center of the window. Accuracy decreases slightly the farther off center a pixel is and the wider the camera's field of view is.






