|
oevislib_net
0.14.3.0
|
Functions | |
| Region | oevislib_net.Region.Mirror (MirrorDirection inMirrorDirection=MirrorDirection.Horizontal) |
| Mirrors the region along the provided direction. | |
| Region | oevislib_net.Region.Translate (int inDeltaX, int inDeltaY, Optional< Size > inFrame=null, bool inInverse=false) |
| Translates the object. | |
| Region | oevislib_net.Region.EnlargeNTimes (int inN) |
| Increase the region by a given number of times. | |
| Region | oevislib_net.Region.Transpose () |
| Returns the transposed region. | |
| Region | oevislib_net.Region.Reflect (Point2Di inReflectionCenter) |
| Rotates the region by 180 degrees using the provided rotation center. | |
| Region | oevislib_net.Region.Rotate (Point2D inCenter, float inAngle, Optional< Size > inFrame=null, bool inInverse=false) |
| Performs a clockwise rotation of the region by a given angle using the provided rotation center. | |
| Region | oevislib_net.Region.Crop (Box inSelection) |
| Crops the region to the provided box. | |
| Region | oevislib_net.Region.Uncrop (Box inSelection, Size inUncroppedFrame) |
| Translates a cropped region in the original coordinates. | |
| Region | oevislib_net.Region.Crop (Rectangle2D inRectangle, Optional< UCS2D > inRectangleAlignment=null, Optional< Rectangle2D > outAlignedRectangle=null, Optional< UCS2D > outOutputAlignment=null) |
| Crops the region to the provided rectangle. | |
| Region | oevislib_net.Region.Trim (Rectangle2D inRectangle, Optional< UCS2D > inRectangleAlignment=null, Optional< Rectangle2D > outAlignedRectangle=null) |
| Trim the region points to the provided rectangle. | |
| Region | oevislib_net.Region.ResizeFrame (Size inNewFrame) |
| Resizes the region using the provided frame. | |
| Region | oevislib_net.Region.ResizeFrame (float inScaleX, float inScaleY) |
| Resizes the region using a scale factor. | |
| Region | oevislib_net.Region.Align (UCS2D inAlignment, Optional< Size > inFrame=null, bool inInverse=false) |
| Aligns the region using the provided coordinate system. | |
| Region | oevislib_net.Region.Downsample (DownsampleRegionMode inDownsampleRegionMode=DownsampleRegionMode.Any, int inScaleStep=1) |
| Downsamples the region using the provided downsample mode. | |
| Region | oevislib_net.Region.Shear (Axis inAxis, float inShear, float inCenter, ShearSize inShearSize=ShearSize.Preserve) |
| Shear the region along the given axis. | |
| Region | oevislib_net.Region.ShrinkNTimes (int inNX=2, Optional< int > inNY=null, float inThreshold=0.5f) |
| Shrinks the region by a given number of times. | |
|
inline |
Aligns the region using the provided coordinate system.
| inAlignment | Coordinate system used to align the region. |
| inFrame | Frame of the new region. If Null, the frame of the current object is used. |
| inInverse | If true, the opposite alignment is performed. |
Crops the region to the provided box.
| inSelection | Selection used to create the new region. |
|
inline |
Crops the region to the provided rectangle.
| inRectangle | Rectangle area used to create the new region. |
| inRectangleAlignment | Coordinate system used to align the rectangle. |
| outAlignedRectangle | Rectangle object aligned to the provided coordinate system. |
| outOutputAlignment | Coordinate system associated to the aligned rectangle. |
|
inline |
Downsamples the region using the provided downsample mode.
| inDownsampleRegionMode | Algorithm used to downsample the region. |
| inScaleStep | The number of times the region dimensions will be divided by 2. |
|
inline |
Increase the region by a given number of times.
| inN | Number of times the region is enlarged. Range: [1, +inf). |
|
inline |
Mirrors the region along the provided direction.
| inMirrorDirection | Mirror direction. |
Rotates the region by 180 degrees using the provided rotation center.
| inReflectionCenter | The point used to reflect the region. |
|
inline |
Resizes the region using the provided frame.
Every point of the region that fall outside the new frame will be discarded.
| inNewFrame | New frame. |
|
inline |
Performs a clockwise rotation of the region by a given angle using the provided rotation center.
| inCenter | Rotation center. |
| inAngle | Rotation angle. |
| inFrame | Frame of the new region. If Null, the frame of the current object is used. |
| inInverse | If true, the rotation is performed counterclockwise. |
|
inline |
Shear the region along the given axis.
| inAxis | Switches between X-shear or Y-shear |
| inShear | Shear coefficient. |
| inCenter | Center coordinate in the direction orthogonal to the shear direction. |
| inShearSize | Controls the shear post-processing mode. |
|
inline |
Shrinks the region by a given number of times.
| inNX | Number of times the region width is divided by 2. Range [1, +inf). |
| inNY | Number of times the region height is divided by 2. If Null, the same value as inNX will be used. Range: [1, +inf). |
| inThreshold | The fraction of pixels used to determine if a point is contained in the region while downsampling. Range [0, 1]. |
|
inline |
Translates the object.
| inDeltaX | Translation in the X direction. |
| inDeltaY | Translation in the Y direction. |
| inFrame | Frame of the new region. If Null, the frame of the current object is used. |
| inInverse | If true, the translation is done in the opposite direction. |
|
inline |
Returns the transposed region.
|
inline |
Trim the region points to the provided rectangle.
| inRectangle | Input rectangle used to trim the region. |
| inRectangleAlignment | Coordinate system used to align the rectangle. |
| outAlignedRectangle | Rectangle object aligned to the provided coordinate system. |