Back to Aurora Vision Library website
You are here: Start » Function Reference » Surface » Surface Interpolations » ResampleSurface_AnyScales
ResampleSurface_AnyScales
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DStandard |
Changes the coordinates format of the input surface.
Syntax
C++
C#
void avl::ResampleSurface_AnyScales ( const avl::Surface& inSurface, atl::Optional<double> inXOffset, atl::Optional<double> inXScale, atl::Optional<double> inYOffset, atl::Optional<double> inYScale, avl::Surface& outSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | const Surface& | ||||
inXOffset | Optional<double> | NIL | Offset for the X axis of the output surface | ||
inXScale | Optional<double> | 0.000001 - | NIL | Scale for the X axis of the output surface | |
inYOffset | Optional<double> | NIL | Offset for the Y axis of the output surface | ||
inYScale | Optional<double> | 0.000001 - | NIL | Scale for the Y axis of the output surface | |
outSurface | Surface& |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Non-positive scale on input in ResampleSurface_AnyScales. |