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 D3D12FisheyeDewarpSettingsInheritance
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
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
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
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
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
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
Projection
Gets or sets the output projection.
public D3D12FisheyeProjection Projection { get; set; }Property Value
RadiusX
Gets or sets the normalized horizontal radius of the fisheye circle in the input image.
public double RadiusX { get; set; }Property Value
RadiusY
Gets or sets the normalized vertical radius of the fisheye circle in the input image.
public double RadiusY { get; set; }Property Value
RoiHeight
Gets or sets the normalized height of the region of interest, in output image space.
public double RoiHeight { get; set; }Property Value
RoiWidth
Gets or sets the normalized width of the region of interest, in output image space.
public double RoiWidth { get; set; }Property Value
RoiX
Gets or sets the normalized left edge of the region of interest, in output image space.
public double RoiX { get; set; }Property Value
RoiY
Gets or sets the normalized top edge of the region of interest, in output image space.
public double RoiY { get; set; }Property Value
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
RotationSpace
Gets or sets whether the rotations are camera-relative or around fixed world axes.
public D3D12FisheyeRotationSpace RotationSpace { get; set; }Property Value
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
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
RotationZ
Gets or sets the roll (rotation around the Z axis), in degrees.
public double RotationZ { get; set; }Property Value
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
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
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
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
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; }