PARP Research Group Universidad de Murcia


src/qvipp/macros.h File Reference

File from the QVision library. More...

#include <iostream>
#include <qvipp.h>
#include <QVMatrix>

Go to the source code of this file.

Defines

#define COMPOSE_ROI(DestImage, SrcImage, DestROIOffset, incW, incH)

Detailed Description

File from the QVision library.

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

Definition in file macros.h.


Define Documentation

#define COMPOSE_ROI ( DestImage,
SrcImage,
DestROIOffset,
incW,
incH   ) 
Value:
{                                                                       \
        const int       roiX = DestROIOffset.x(),                               \
                        roiY = DestROIOffset.y(),                               \
                        roiWidth = SrcImage.getROI().width() - (incW),          \
                        roiHeight = SrcImage.getROI().height() - (incH);                \
        if( roiX + roiWidth < 0 ||  roiY + roiHeight < 0) return;               \
        DestImage.resize(roiX + roiWidth, roiY + roiHeight);                    \
        DestImage.setROI(roiX, roiY, roiWidth, roiHeight);                      \
        }
Todo:
quitar esa comprobación. La función IPP debería devolver error, caso de que no funcione correctamente.

Definition at line 40 of file macros.h.

Referenced by Abs(), AbsDiff(), Add(), AddC(), And(), AndC(), Compare(), CompareC(), Convert(), Copy(), Dilate(), DistanceTransform_5x5(), Div(), DivC(), Erode(), FastMarching(), FilterBox(), FilterGauss(), FilterHipass(), FilterLaplace(), FilterLowpass(), FilterMax(), FilterMedian(), FilterMedianColor(), FilterMedianCross(), FilterMedianHoriz(), FilterMedianVert(), FilterMedianWeightedCenter3x3(), FilterMin(), FilterSobelHorizMask(), FilterSobelVertMask(), Inpaint(), Integral(), Ln(), LShiftC(), MaxEvery(), MinEigenVal(), MinEvery(), Mul(), MulC(), MulScale(), Not(), Or(), OrC(), RGBToGray(), RShiftC(), Scale(), Sqr(), Sub(), SubC(), Threshold(), Threshold_LTValGTVal(), Threshold_Val(), Xor(), and XorC().




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