Creates a renderer that renders a volume where the voxel alpha is based on the difference between the voxel color and the color of the corresponding pixel of a reference frame. The difference metrics are: - YDIF: absolute luminance difference - YMSE: squared luminance difference - UVDIF: color difference (angle between UV vectors)

Namespace: VideoDVR
Assembly: VideoDVR (in VideoDVR.exe) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static DVRRenderer RenderDifferenceToReference(
	Texture volume,
	Texture reference,
	DVRRenderer..::..DifferenceMetric diffMetric
)
Visual Basic
Public Shared Function RenderDifferenceToReference ( _
	volume As Texture, _
	reference As Texture, _
	diffMetric As DVRRenderer..::..DifferenceMetric _
) As DVRRenderer
Visual C++
public:
static DVRRenderer^ RenderDifferenceToReference(
	Texture^ volume, 
	Texture^ reference, 
	DVRRenderer..::..DifferenceMetric diffMetric
)

Parameters

volume
Type: Texture
A 3D texture representing the volume. Must not be null.
reference
Type: Texture
A 2D texture representing the reference frame. Must not be null.
diffMetric
Type: VideoDVR..::..DVRRenderer..::..DifferenceMetric
The difference metric to use.

Return Value

The renderer.

Exceptions

See Also