Name
mirror_regionmirror_regionMirrorRegionmirror_regionMirrorRegionMirrorRegion — Reflect a region about an axis.
mirror_regionmirror_regionMirrorRegionmirror_regionMirrorRegionMirrorRegion reflects a region about one of three possible
axes. If ModeModeModeModeModemode is set to 'row'"row""row""row""row""row", it is reflected
about the horizontal axis, if ModeModeModeModeModemode is set to
'column'"column""column""column""column""column", about the vertical axis, and if ModeModeModeModeModemode is
set to 'diagonal'"diagonal""diagonal""diagonal""diagonal""diagonal", about the main diagonal x=y.
For ModeModeModeModeModemode = 'row'"row""row""row""row""row" or 'column'"column""column""column""column""column" the
parameter WidthHeightWidthHeightWidthHeightWidthHeightWidthHeightwidthHeight specifies two times the coordinate
of the axis of symmetry. Hence, if RegionRegionRegionRegionRegionregion has been
extracted from an image and should be mirrored in a way such as if
it had been extracted from a mirrored version of this image,
WidthHeightWidthHeightWidthHeightWidthHeightWidthHeightwidthHeight corresponds to one of the dimensions of this
image (according to ModeModeModeModeModemode). If ModeModeModeModeModemode =
'diagonal'"diagonal""diagonal""diagonal""diagonal""diagonal", the parameter WidthHeightWidthHeightWidthHeightWidthHeightWidthHeightwidthHeight is not
used.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Automatically parallelized on tuple level.
Region(s) to be reflected.
Reflected region(s).
Number of elements: RegionMirror == Region
Axis of symmetry.
Default value:
'row'
"row"
"row"
"row"
"row"
"row"
List of values: 'column'"column""column""column""column""column", 'diagonal'"diagonal""diagonal""diagonal""diagonal""diagonal", 'row'"row""row""row""row""row"
Twice the coordinate of the axis of symmetry.
Default value: 512
Suggested values: 128, 256, 512, 525, 768, 1024
Typical range of values: 1
≤
WidthHeight
WidthHeight
WidthHeight
WidthHeight
WidthHeight
widthHeight
≤
1024 (lin)
Minimum increment: 1
Recommended increment: 1
Restriction: WidthHeight > 0
read_image(&Image,"monkey");
threshold(Image,&Seg,128.0,255.0);
mirror_region(Seg,&Mirror,"row",512);
disp_region(Mirror,WindowHandle);
thresholdthresholdThresholdthresholdThresholdThreshold,
connectionconnectionConnectionconnectionConnectionConnection,
regiongrowingregiongrowingRegiongrowingregiongrowingRegiongrowingRegiongrowing,
pouringpouringPouringpouringPouringPouring
select_shapeselect_shapeSelectShapeselect_shapeSelectShapeSelectShape,
disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion
hom_mat2d_reflecthom_mat2d_reflectHomMat2dReflecthom_mat2d_reflectHomMat2dReflectHomMat2dReflect,
affine_trans_regionaffine_trans_regionAffineTransRegionaffine_trans_regionAffineTransRegionAffineTransRegion
zoom_regionzoom_regionZoomRegionzoom_regionZoomRegionZoomRegion
Foundation