Back to Aurora Vision Library website

You are here: Start » Function Reference » Surface » Surface Spatial Transforms » FlattenSurface_WithScalePreserving

FlattenSurface_WithScalePreserving


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

Flattens a curved surface preserving the scale on the axes.

Syntax

C++
C#
 
void avl::FlattenSurface_WithScalePreserving
(
	const avl::Surface& inSurface,
	const avl::Axis::Type inCurvatureAxis,
	const float inStdDev,
	avl::Point3DGrid& outFlattenedGrid,
	avl::Surface& diagSmoothedSurface
)

Parameters

Name Type Range Default Description
Input value inSurface const Surface& Input surface
Input value inCurvatureAxis const Axis::Type Axis along which the input surface is curved
Input value inStdDev const float 0.0 - Standard deviation for smoothing of the surface
Output value outFlattenedGrid Point3DGrid& Output point grid
Diagnostic input diagSmoothedSurface Surface& Surface smoothed with a Gaussian kernel

Errors

List of possible exceptions:

Error type Description
DomainError Unknown axis type in FlattenSurface_WithScalePreserving.