6#ifndef iipr_CBitmapOperations_included
7#define iipr_CBitmapOperations_included
Common interface for describing the 2D-objects.
Definition of single plane bitmap.
Set of atmomic bitmap manipulations.
QVector< const iimg::IBitmap * > BitmapList
Definition of bitmap list.
JoinMode
Processing mode for join of more bitmaps.
@ JM_HORIZONTAL
Bitmaps are placed horizontally in the output image.
@ JM_VERTICAL
Bitmaps are placed vertically in the output image.
static bool ReduceBitmapToRegion(const iimg::IBitmap &inputBitmap, const i2d::IObject2d ®ion, iimg::IBitmap &outputBitmap)
Crop the bitmap to the bounding box of a given region.
CombineMode
Processing mode for calculation of more bitmaps into a single one.
@ CM_AVERAGE
Average value of all bitmaps will be used in the output.
@ CM_MIN
As result value of a bitmap pixel the minimum of all input bitmap values on the given position is tak...
@ CM_MAX
As result value of a bitmap pixel the maximum of all input bitmap values on the given position is tak...
static bool CombineBitmaps(const BitmapList &bitmapList, CombineMode combineMode, iimg::IBitmap &outputBitmap, imath::CVarVector *weghtsPtr=nullptr, istd::ILogger *operationLogPtr=nullptr)
Join more bitmaps into a single one by calculation of the pixel values from the input bitmap list.
static bool CaclulateBitmapDifference(const iimg::IBitmap &inputBitmap1, const iimg::IBitmap &inputBitmap2, iimg::IBitmap &outputBitmap, double offset=0, ilog::IMessageConsumer *messageConsumerPtr=nullptr)
Calculate the difference of two bitmaps.
static bool JoinBitmaps(const BitmapList &bitmapList, JoinMode joinMode, iimg::IBitmap &outputBitmap, istd::ILogger *operationLogPtr=nullptr)
Join more bitmaps into a single one by placing of the input bitmaps into the output.
Common interface for a message container consuming information objects (messages).
Simple implementation of variable-size vector.
Common interface for classes sending some log info.
Contains the image processing classes.