Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AlignCoordinateSystem
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Moves a nested coordinate system from its local coordinate system to the absolute one.
Applications: This filter is required e.g. when we first locate an object and then we locate its parts within it.
Syntax
C++
C#
void fil::AlignCoordinateSystem ( const fil::CoordinateSystem2D& inCoordinateSystem, const fil::CoordinateSystem2D& inAlignment, bool inInverse, fil::CoordinateSystem2D& outAlignedCoordinateSystem )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inCoordinateSystem | const CoordinateSystem2D& | ||
![]() |
inAlignment | const CoordinateSystem2D& | ||
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outAlignedCoordinateSystem | CoordinateSystem2D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inCoordinateSystem and outAlignedCoordinateSystem, inAlignment and outAlignedCoordinateSystem
Read more about In-place Computation.
Remarks
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.