xil_roi_unite(3)
NAME
xil_roi_unite − find the union of two ROIs
SYNOPSIS
#include <xil/xil.h>
XilRoi xil_roi_unite ( XilRoi roi1,
XilRoi roi2);
DESCRIPTION
This function returns a new ROI created by taking the union 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 union of the ROIs associated with two images:
XilImage src, dst;
XilRoi roi_src, roi_dst, roi_union;
roi_src = xil_get_roi (src);
roi_dst = xil_get_roi (dst);
roi_union = xil_roi_unite (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_intersect(3), xil_roi_subtract_rect(3), xil_roi_translate(3).
SunOS 5.6 — Last change: 16 June 1993