Table of Contents

Class Orientation

Namespace
TCSystem.MetaData
Assembly
TCSystem.MetaData.dll

Transforms normalized rectangles and faces according to image orientation.

public static class Orientation
Inheritance
Orientation
Inherited Members

Methods

Orientate(Face, OrientationMode)

Returns a face whose rectangle is transformed into the displayed orientation.

public static Face Orientate(Face face, OrientationMode mode)

Parameters

face Face
mode OrientationMode

Returns

Face

Orientate(Rectangle, OrientationMode)

Transforms a normalized rectangle into the displayed orientation.

public static Rectangle Orientate(Rectangle rectangle, OrientationMode mode)

Parameters

rectangle Rectangle
mode OrientationMode

Returns

Rectangle

OrientateBack(Face, OrientationMode)

Returns a face whose rectangle is transformed back to stored coordinates.

public static Face OrientateBack(Face face, OrientationMode mode)

Parameters

face Face
mode OrientationMode

Returns

Face

OrientateBack(Rectangle, OrientationMode)

Transforms a normalized rectangle from the displayed orientation back to stored coordinates.

public static Rectangle OrientateBack(Rectangle rectangle, OrientationMode mode)

Parameters

rectangle Rectangle
mode OrientationMode

Returns

Rectangle

Orientation2Degree(OrientationMode)

Gets the rotation angle represented by an orientation mode.

public static double Orientation2Degree(OrientationMode mode)

Parameters

mode OrientationMode

Returns

double

The rotation in degrees.