PolarizationConvertToPlanes Method

CVB.Net Documentation
Extracts the four polarization angles from a raw image to a four plane image.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static Image ConvertToPlanes(
	Image rawImage,
	PolarizationPattern pattern,
	PolarizationImageResolution resolution
)

Parameters

rawImage
Type: Stemmer.CvbImage
Input image with raw polarization data.
pattern
Type: Stemmer.Cvb.FoundationPolarizationPattern
Indicates in which pattern the polarization angles are ordered in \a rawImage.
resolution
Type: Stemmer.Cvb.FoundationPolarizationImageResolution
Resolution of outImage. If set to CVPOL_RESOLUTION_FULL the image is interpolated and will equal the size of rawImage, otherwise it will be half the size.

Return Value

Type: Image
The resulting image with 4 planes.
Remarks

From a raw polarization image this function extracts the polarization angles to outImage. The returned image holds the polarization data as 4 planes sorted by increasing angle: 0°, 45°, 90°, 135°

The expected pattern of the raw image with Square_90_45_135_0 for example is a 2x2 pattern with: Top-left: 90°, Top-right: 45°, Bottom-left: 135°, Bottom-right: 0°.

If resolution is set to CVPOL_RESOLUTION_FULL the image is interpolated and has the same size as rawImage, otherwise it will be half the size.

See Also

Reference