Back to Aurora Vision Library website
You are here: Start » Function Reference » Surface » Surface Interpolations » ResampleSurface
ResampleSurface
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DStandard |
Equalizes the scales format of the input surface.
Syntax
C++
C#
void avl::ResampleSurface ( const avl::Surface& inSurface, avl::ResampleSurfaceMode::Type inResampleSurfaceMode, atl::Optional<double> inXOffset, atl::Optional<double> inYOffset, avl::Surface& outSurface )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inSurface | const Surface& | |||
inResampleSurfaceMode | ResampleSurfaceMode::Type | |||
inXOffset | Optional<double> | NIL | Offset for the X axis of the output surface | |
inYOffset | Optional<double> | NIL | Offset 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 | Incorrect resample mode in ResampleSurface. |