Functions | |
cvbres_t | CVPolCalculateMinReflectionImage (IMG PolarizationImage, IMG &OutImage) |
Calculates and outputs an one plane minimum reflection image from a four plane image. More... | |
cvbres_t | CVPolCalculateStokes0 (IMG PolarizationImage, IMG &OutImage) |
Calculates Stokes parameter 0 from a 4 plane polariziation image. More... | |
cvbres_t | CVPolCalculateStokes1 (IMG PolarizationImage, IMG &OutImage) |
Calculates Stokes parameter 1 from a 4 plane polariziation image. More... | |
cvbres_t | CVPolCalculateStokes2 (IMG PolarizationImage, IMG &OutImage) |
Calculates Stokes parameter 2 from a 4 plane polariziation image. More... | |
cvbres_t | CVPolCalculateStokesImage (IMG PolarizationImage, IMG &OutImage) |
For a four plane image a new three plane image is returned in OutImage with the Stokes parameters 0 to 2 as planes. More... | |
cvbres_t | CVPolColorizePolarization (IMG StokesImage, CVPOL_PSEUDO_COLOR_MODE ColorMode, IMG &OutImage) |
Generate a result image that visualizes the polarization depending on the ColorMode. More... | |
cvbres_t | CVPolConvertPatternImageToPlanes (IMG RawImage, cvbval_t Pattern, CVPOL_RESOLUTION Resolution, IMG &OutImage) |
Creates a more plane image from an interleaved polarization image (de-mosaicing). More... | |
cvbres_t CVPolCalculateMinReflectionImage | ( | IMG | PolarizationImage, |
IMG & | OutImage | ||
) |
Calculates and outputs an one plane minimum reflection image from a four plane image.
[in] | PolarizationImage | A four plane image where each plane represents one polarization angle. Usually created by CVPolConvertPatternImageToPlanes |
[out] | OutImage | An one plane image containing the minimum value of all polarization planes. |
cvbres_t CVPolCalculateStokes0 | ( | IMG | PolarizationImage, |
IMG & | OutImage | ||
) |
Calculates Stokes parameter 0 from a 4 plane polariziation image.
[in] | PolarizationImage | A four plane image where each plane represents one polarization angle. Usually created by CVPolConvertPatternImageToPlanes. |
[out] | OutImage | A one plane image with the result of the Stokes 0 parameter. |
cvbres_t CVPolCalculateStokes1 | ( | IMG | PolarizationImage, |
IMG & | OutImage | ||
) |
Calculates Stokes parameter 1 from a 4 plane polariziation image.
[in] | PolarizationImage | A four plane image where each plane represents one polarization angle. Usually created by CVPolConvertPatternImageToPlanes. |
[out] | OutImage | A one plane image with the result of the Stokes 1 parameter. |
cvbres_t CVPolCalculateStokes2 | ( | IMG | PolarizationImage, |
IMG & | OutImage | ||
) |
Calculates Stokes parameter 2 from a 4 plane polariziation image.
[in] | PolarizationImage | A four plane image where each plane represents one polarization angle. Usually created by CVPolConvertPatternImageToPlanes. |
[out] | OutImage | A one plane image with the result of the Stokes 2 parameter. |
cvbres_t CVPolCalculateStokesImage | ( | IMG | PolarizationImage, |
IMG & | OutImage | ||
) |
For a four plane image a new three plane image is returned in OutImage with the Stokes parameters 0 to 2 as planes.
[in] | PolarizationImage | A four plane image where each plane represents one polarization angle in rising order. Usually created by CVPolConvertPatternImageToPlanes |
[out] | OutImage | A three plane image, where each plane represents the corresponding Stokes parameter result. |
cvbres_t CVPolColorizePolarization | ( | IMG | StokesImage, |
CVPOL_PSEUDO_COLOR_MODE | ColorMode, | ||
IMG & | OutImage | ||
) |
Generate a result image that visualizes the polarization depending on the ColorMode.
[in] | StokesImage | A image containing the three Stokes parameters as planes. Usually created by CVPolCalculateStokesImage. |
[in] | ColorMode | A value from CVPOL_PSEUDO_COLOR_MODE. |
[out] | OutImage | Depending on the ColorMode this will be the handle to a mono (if ColorMode is CVPOL_PCM_DEGREE_POL or CVPOL_PCM_ANGLE_POL_MONO) or else a RGB image. |
cvbres_t CVPolConvertPatternImageToPlanes | ( | IMG | RawImage, |
cvbval_t | Pattern, | ||
CVPOL_RESOLUTION | Resolution, | ||
IMG & | OutImage | ||
) |
Creates a more plane image from an interleaved polarization image (de-mosaicing).
The usage is as follows:
[in] | RawImage | A raw image from a polarization camera. |
[in] | Pattern | Indicates in which pattern the polarization angles are ordered in RawImage. |
[in] | Resolution | Indicates whether OutImage is of the same size as RawImage or only half of the size (not upsampled). |
[out] | OutImage | A four plane image if no color flag was set, 12 otherwise. Each plane represents one polarization angle. The size of the OutImage equals the size of the RawImage if Resolution is set to CVPOL_RES_FULL, half of the size of RawImage if Resolution was CVPOL_RES_HALF. |