Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_roi_add_image(3) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_get_roi(3)

xil_set_roi(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)

xil_roi_unite(3)

xil_roi_add_image(3)

NAME

xil_roi_add_image − add a binary image to an ROI

SYNOPSIS

#include <xil/xil.h>

void xil_roi_add_image ( XilRoi roi,

XilImage image);

DESCRIPTION

This function adds the specified XIL_BIT image to the specified region of interest (ROI).  Bits that are set in the image are added to the region of interest.  The image’s origin is used to position the image pixels with respect to the ROI.  The origin of the ROI is always (0.0, 0.0), corresponding to the upper left corner.  The image must be of type XIL_BIT and consist of only one band. 

ERRORS

For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide. 

EXAMPLES

Do a logical AND of two binary images, and add the result to ae region of interest:

XilRoi roi;
XilImage  image1, image2, image3;
xil_and (image1, image2, image3);
xil_roi_add_image (roi, image3);

SEE ALSO

xil_get_roi(3), xil_set_roi(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), xil_roi_unite(3). 

SunOS 5.6  —  Last change: 16 June 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026