Cirrus Logic CS485 Especificaciones Pagina 113

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 319
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 112
Image Arithmetic and Logical Operations
5-3
5
Monadic Arithmetic Operations
The sections that follow describe the library functions that perform
monadic arithmetic operations (note that the
iplPreMultiplyAlpha
function is described in the “Image Compositing Based on Opacity
section of this chapter). All these functions use a single input image to
create an output image.
AddS, AddSFP
Adds a constant to pixel
values of the source
image.
void iplAddS(IplImage*
srcImage
, IplImage*
dstImage
, int
value
);
void iplAddSFP(IplImage*
srcImage
, IplImage*
dstImage
,
float
value
); /* images with IPL_DEPTH_32F only */
srcImage
Thesourceimage.
dstImage
The resultant image.
value
The value to be added to the pixel values.
Discussion
The functions change the image intensity by adding the
value
to pixel
values. A positive
value
brightens the image (increases the intensity); a
negative
value
darkens the image (decreases the intensity).
Vista de pagina 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 318 319

Comentarios a estos manuales

Sin comentarios