Back to FabImage Library website

You are here: Start » Function Reference » Surface » Surface Interpolations » ResampleSurface

ResampleSurface


Header: FIL.h
Namespace: fil
Module: Vision3DStandard

Equalizes the scales format of the input surface.

Syntax

C++
C#
 
void fil::ResampleSurface
(
	const fil::Surface& inSurface,
	fil::ResampleSurfaceMode::Type inResampleSurfaceMode,
	ftl::Optional<double> inXOffset,
	ftl::Optional<double> inYOffset,
	fil::Surface& outSurface
)

Parameters

Name Type Default Description
Input value inSurface const Surface&
Input value inResampleSurfaceMode ResampleSurfaceMode::Type
Input value inXOffset Optional<double> NIL Offset for the X axis of the output surface
Input value inYOffset Optional<double> NIL Offset for the Y axis of the output surface
Output value 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.