xil_roi_intersect(3)
NAME
xil_roi_intersect − find the intersection of two ROIs
SYNOPSIS
#include <xil/xil.h>
XilRoi xil_roi_intersect ( XilRoi roi1,
XilRoi roi2);
DESCRIPTION
This function returns a ROI by taking the intersection of two existing ROIs.
ERRORS
For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide.
EXAMPLES
Get the intersection of the ROIs associated with two images:
XilImage src, dst;
XilRoi roi_src, roi_dst, roi_intersected;
roi_src = xil_get_roi (src);
roi_dst = xil_get_roi (dst);
roi_intersected = xil_roi_intersect (roi_src, roi_dst);
SEE ALSO
xil_get_roi(3), xil_set_roi(3), xil_roi_add_image(3), xil_roi_add_rect(3), xil_roi_add_region(3), xil_roi_create(3), xil_roi_create_copy(3), xil_roi_destroy(3), xil_roi_get_as_image(3), xil_roi_get_as_region(3), xil_roi_subtract_rect(3), xil_roi_translate(3), xil_roi_unite(3).
SunOS 5.6 — Last change: 16 June 1993