![]() |
PFTrack Documentation | Node Reference |
The Z-Depth Filter Node can be used to apply various image processing filters to the depth map. The incoming depth map is modified by the node and passed down-stream.
Various filter modes are available:
- Median: This applies a media filter that can be used to remove isolated pixels and reduce noise in the depth map.
- Blur: This applies a gaussian blur filter that can be used to smooth the depth map.
- Bilateral: This applies a bilateral filter that can be used to smooth the depth map without blurring across significant edges in the image.
- Dilate: This applies a dilate operation, replacing depth values with nearby values that are closer to the camera.
- Erode: This applies an erode operation, replacing depth values with nearby values that are further away from the camera.
By default, the filter is only applied to pixels which already have a depth value. Enabling the Fill Holes option will apply the filter to all pixels whether they have a depth value or not.
Mode: The filter mode used to modify the depth map.
Size: The size of the filter (in pixels) which is applied. Note that larger filters may take more time to render than smaller filters.
Similarity %: The colour similarity used when the filter mode is set to Bilateral.
In-Frame: The first frame at which the filter will be applied. If the edit box is empty, the filter will be applied to all frames in the clip.
Out-Frame: The last frame at which the filter will be applied. If the edit box is empty, the filter will be applied to all frames in the clip.
Fill Holes: The filter will be applied to all pixels in the image instead of only those pixel that already have a depth value.
Viewer proxy: The resolution used to display the triangular mesh in 3D viewer windows. For high resolution images, selecting Half, Third or Quarter will increase rendering performance.
Transparency: he amount of transparency that is used to display a grey-scale depth map in the Cinema window.
Grey-scale gamma: The amount of gamma correction that is used to display a grey-scale depth map in the Cinema window.
Depth cut %: The difference in depth values (as a percentage of the distance between the near and far camera planes) at which triangular mesh edges will be cut when displaying the depth map in 3D viewer windows. Note that this option is for display purposes only and does not affect the depth map being passed down-stream from the node.
Show depth map: When enabled, a grey-scale depth map will be displayed in the Cinema window if one is available for the current frame.