Start » Filter Reference » Region » Region Basics » CreateCrossRegion
Module: | FoundationLite |
---|
Creates a cross-shaped region with given parameters.
Name | Type | Range | Description | |
---|---|---|---|---|
inCrossBoundingBox | Box | |||
inFrameWidth | Integer | 0 - 65535 | Width of the created region's frame | |
inFrameHeight | Integer | 0 - 65535 | Height of the created region's frame | |
outRegion | Region | Output region |
Description
The operation creates a region in a shape of a one-pixel-wide cross. Cross is described by its width, height and coordinates of upper-left corner of its bounding box.
The inFrameWidth and inFrameHeight parameters most often should be set equal to the dimensions of the image this region will be used with. If the input cross exceeds these dimensions, the output region will be cropped.
Hints
- Remember to set inFrameWidth and inFrameHeight inputs to specify the region frame.
Examples
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- CreateBoxRegion – Creates a rectangular region corresponding to a given box.
- CreatePolygonRegion – Creates a polygonal region corresponding to a given closed path.