Cirrus Logic CS485 Specifiche Pagina 74

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 319
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 73
Intel
®
Image Processing Library Reference Manual
4-20
4
Setting Regions of Interest
To set a region of interest, the function iplSetROI() uses a ROI structure
IplROI presented below. The IplROI member of the image header must
point to this
IplROI structure to be effective. This can be done by a simple
assignment. The application may choose to construct the ROI structure
explicitly without the use of the function.
IplROI Structure Definition
typedef struct _IplROI {
unsigned int coi;
int xOffset;
int yOffset;
int width;
int height;
} IplROI;
The members in the IplROI structure define:
coi
The channel of interest number. This parameter
indicates which channel in the original image will
be affected by processing taking place in the
region of interest;
coi
equal to 0 indicates that all
channels will be affected.
xOffset
and
yOffset
The offset from the origin of the rectangular ROI.
(See section “Image Regions” in Chapter 2 for
the description of image regions.)
width
and
height
The size of the rectangular ROI.
Vedere la pagina 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 318 319

Commenti su questo manuale

Nessun commento