GTDepthImageGeneratorComponent
Generates depth images. Uses planar depth as default setting, perspective depth can be enabled via bUsePerspectiveDepth.
The depth is encoded in millimeters (mm) in the RGB channels of the image. This means the depth value is a 24bit with a maximum value of 16.777216 km. (TODO add nanometer option). The RGB values can be converted to mm using the following formula: R + G * 256 + B * 256 * 256
.
See https://github.com/unrealgt/unrealgt/blob/master/Examples/PythonDepthConvert/main.py for an example.
Note: Anti-Aliasing is disabled for depth generators by default!
Use perspective depth instead of planar depth.
Maximum depth(distance) to record.
If enabled will choose a random resolution between Resolution and ResolutionMax for each captured image. This is useful for generating Training data.
The maximum Resolution to use if bRandomResolution is enabled.
Perform anti aliasing when an image is rendered. Highly recommended for basic images, but might cause issues if used with segmentation or depth generators. Temporal Anti-Aliasing might cause “jittering” if the generator is not moving.
The format the image will have, currently only .bmp and .png are supported.
The resolution the generated images will have.
Camera field of view (in degrees).