PARP Research Group Universidad de Murcia


src/qvip/qvimage.h File Reference

File from the QVision library. More...

#include <QMetaType>
#include <QVGenericImage>
#include <qvip/qvimagebuffer.h>
#include <QImage>
#include <qvmath/qvmath.h>
#include <opencv/cv.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>

Go to the source code of this file.

Classes

class  QVImage< Type, Channels >
 Image representation class for the QVision. More...

Defines

#define QVIMAGE_INIT_READ(TYPE, IMAGE)
 Initializes image to be read with macro QVIMAGE_PIXEL.
#define QVIMAGE_INIT_WRITE(TYPE, IMAGE)
 Initializes image to be written or read with macro QVIMAGE_PIXEL.
#define QVIMAGE_PTR_INIT_READ(TYPE, IMAGE)
 Initializes pointed image to be read with macro QVIMAGE_PIXEL.
#define QVIMAGE_PTR_INIT_WRITE(TYPE, IMAGE)
 Initializes pointed image to be written or read with macro QVIMAGE_PIXEL.
#define QVIMAGE_PIXEL(IMAGE, Col, Row, Channel)   (__qv_data_##IMAGE##__ [(Row)* __qv_step_##IMAGE##__ + __qv_planes_##IMAGE##__ *(Col)+(Channel)])
 Access an image pixel for inspection or modification.
#define QVIMAGE_PIXEL_PTR(IMAGE, Col, Row, Channel)   (& (__qv_data_##IMAGE##__ [(Row)* __qv_step_##IMAGE##__ + __qv_planes_##IMAGE##__ *(Col)+(Channel)]))
 Obtains a reference to the memory location of a pixel.
#define QVIMAGE_ROW_INCREMENT_PTR(IMAGE)   ( __qv_step_##IMAGE##__ )
 Obtains the increment for a row movement of a pixel.
#define QVIMAGE_COL_INCREMENT_PTR(IMAGE)   ( __qv_planes_##IMAGE##__ )
 Obtains the increment for a column movement of a pixel.
#define QVIMAGE_NEXT_LINE_INCREMENT_PTR(IMAGE)   ( __qv_next_line_inc_##IMAGE##__ )
 Obtains the location of the first pixel in a row, given the location of the last pixel in the upper row.

Detailed Description

File from the QVision library.

Author:
PARP Research Group. University of Murcia, Spain.

Definition in file qvimage.h.




QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010, 2011.