ImageGear for .NET
Intersect Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearROI Class : Intersect Method




region1
First ROI to merge.
imageRect1
First image rectangle.
region2
Second ROI to merge.
imageRect2
Second image rectangle.
offsetX
Horisontal offset of the second ROI and image rectangle.
offsetY
Vertical offset of the second ROI and image rectangle.

Glossary Item Box

Creates a new ImGearROI instance that is calculated as an intersection of specified ROI and image rectangles.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

region1
First ROI to merge.
imageRect1
First image rectangle.
region2
Second ROI to merge.
imageRect2
Second image rectangle.
offsetX
Horisontal offset of the second ROI and image rectangle.
offsetY
Vertical offset of the second ROI and image rectangle.

Return Value

ImGearROI class object.

Remarks

This method calculate an intersection of regions of interest from two images. Images can have different dimensions, and second image may be positioned at a specified offset relative to the first one. Coordinates of result ROI are relative to the left top corner of the first image.

See Also

©2013. Accusoft Corporation. All Rights Reserved.