Back to FabImage Library website
You are here: Start » Function Reference » Surface » Surface Spatial Transforms » FlattenSurface_WithScalePreserving

FlattenSurface_WithScalePreserving
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DStandard |
Flattens a curved surface preserving the scale on the axes.
Syntax
C++
C#
void fil::FlattenSurface_WithScalePreserving ( const fil::Surface& inSurface, const fil::Axis::Type inCurvatureAxis, const float inStdDev, fil::Point3DGrid& outFlattenedGrid, fil::Surface& diagSmoothedSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inSurface | const Surface& | Input surface | ||
![]() |
inCurvatureAxis | const Axis::Type | Axis along which the input surface is curved | ||
![]() |
inStdDev | const float | 0.0 - ![]() |
Standard deviation for smoothing of the surface | |
![]() |
outFlattenedGrid | Point3DGrid& | Output point grid | ||
![]() |
diagSmoothedSurface | Surface& | Surface smoothed with a Gaussian kernel |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unknown axis type in FlattenSurface_WithScalePreserving. |