Table of Contents

Class D3D12FisheyeDewarpSettings

Namespace
VisioForge.Core.Types.X.VideoEffects
Assembly
VisioForge.Core.dll

Settings of the Direct3D 12 fisheye dewarper. The defaults are the native element's defaults. Normalized values are fractions of the image size, from 0 to 1, and sizes (radius, ROI and viewport width and height) must be at least 1e-6; angles are in degrees and are reduced modulo 360 by the element. The ROI is not clamped: past the frame vertically a panorama shows black rows and an equirectangular frame folds over the pole.

public class D3D12FisheyeDewarpSettings

Inheritance

Inherited Members

Properties

AdapterIndex

Gets or sets the index of the GPU adapter to use. -1 selects the default adapter. It is applied when the block is built and cannot be changed afterwards.

public int AdapterIndex { get; set; }

Property Value

int

CenterX

Gets or sets the normalized horizontal position of the fisheye circle's centre in the input image.

public double CenterX { get; set; }

Property Value

double

CenterY

Gets or sets the normalized vertical position of the fisheye circle's centre in the input image.

public double CenterY { get; set; }

Property Value

double

FisheyeFOV

Gets or sets the field-of-view angle of the fisheye lens, in degrees. Reduced modulo 360, as the element does, it must be from 0.001 to 359.999.

public double FisheyeFOV { get; set; }

Property Value

double

HorizontalFOV

Gets or sets the horizontal field-of-view angle of the output, in degrees. Reduced modulo 360, as the element does, it must be from 0.001 to 359.999, and up to 179.999 for VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Perspective. Not used by VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Panorama and VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Passthrough, but checked for them too: Update can switch the projection.

public double HorizontalFOV { get; set; }

Property Value

double

InnerRadius

Gets or sets the normalized inner radius cropped out of the centre (0 keeps the centre; at 1 every row samples the edge of the circle). Used only by VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Panorama.

public double InnerRadius { get; set; }

Property Value

double

Projection

Gets or sets the output projection.

public D3D12FisheyeProjection Projection { get; set; }

Property Value

D3D12FisheyeProjection

RadiusX

Gets or sets the normalized horizontal radius of the fisheye circle in the input image.

public double RadiusX { get; set; }

Property Value

double

RadiusY

Gets or sets the normalized vertical radius of the fisheye circle in the input image.

public double RadiusY { get; set; }

Property Value

double

RoiHeight

Gets or sets the normalized height of the region of interest, in output image space.

public double RoiHeight { get; set; }

Property Value

double

RoiWidth

Gets or sets the normalized width of the region of interest, in output image space.

public double RoiWidth { get; set; }

Property Value

double

RoiX

Gets or sets the normalized left edge of the region of interest, in output image space.

public double RoiX { get; set; }

Property Value

double

RoiY

Gets or sets the normalized top edge of the region of interest, in output image space.

public double RoiY { get; set; }

Property Value

double

RotationOrder

Gets or sets the order of the X, Y and Z rotations. Ignored by VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Panorama.

public D3D12FisheyeRotationOrder RotationOrder { get; set; }

Property Value

D3D12FisheyeRotationOrder

RotationSpace

Gets or sets whether the rotations are camera-relative or around fixed world axes.

public D3D12FisheyeRotationSpace RotationSpace { get; set; }

Property Value

D3D12FisheyeRotationSpace

RotationX

Gets or sets the pitch (rotation around the X axis), in degrees. Ignored by VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Panorama.

public double RotationX { get; set; }

Property Value

double

RotationY

Gets or sets the yaw (rotation around the Y axis), in degrees. Ignored by VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Panorama.

public double RotationY { get; set; }

Property Value

double

RotationZ

Gets or sets the roll (rotation around the Z axis), in degrees.

public double RotationZ { get; set; }

Property Value

double

VerticalFOV

Gets or sets the vertical field-of-view angle of the output, in degrees. Reduced modulo 360, as the element does, it must be from 0.001 to 359.999, and up to 179.999 for VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Perspective. Not used by VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Panorama and VisioForge.Core.Types.X.VideoEffects.D3D12FisheyeProjection.Passthrough, but checked for them too: Update can switch the projection.

public double VerticalFOV { get; set; }

Property Value

double

ViewportHeight

Gets or sets the normalized height of the viewport the result is drawn into, in the output frame.

public double ViewportHeight { get; set; }

Property Value

double

ViewportWidth

Gets or sets the normalized width of the viewport the result is drawn into, in the output frame.

public double ViewportWidth { get; set; }

Property Value

double

ViewportX

Gets or sets the normalized left edge of the viewport the result is drawn into, in the output frame.

public double ViewportX { get; set; }

Property Value

double

ViewportY

Gets or sets the normalized top edge of the viewport the result is drawn into, in the output frame.

public double ViewportY { get; set; }

Property Value

double