Back to FabImage Library website

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

ReduceSurface


Header: FIL.h
Namespace: fil
Module: Vision3DStandard

Reduces surface dimensions as much as possible.

Syntax

C++
C#
 
void fil::ReduceSurface
(
	const fil::Surface& inSurface,
	ftl::Optional<const fil::Region&> inRoi,
	fil::Surface& outSurface
)

Parameters

Name Type Default Description
Input value inSurface const Surface& Input surface
Input value inRoi Optional<const Region&> NIL Region of interest
Output value outSurface Surface& Reduced surface

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

List of possible exceptions:

Error type Description
DomainError Region of interest exceeds an input surface in ReduceSurface.