struct P1::ImageSdk::StackingOutput

Overview

Struct used for two purposes. the three boolean variables. hasRgbBitmap, hasIrgBitmap, hasNdviBitmap is used to order what type of output to be produced by the stacker. The produced bitmaps are returned in the correcponding: RgbiBitmap, IrgBitmap and NdviBitmap. It is only possible to produce either an RgbiBitmap or an IrgBitmap (and not both in same run). The NdviBitmap can be selected if wanted. More…

#include <P1ImageStacking.hpp>

struct StackingOutput
{
    // fields

    bool hasRgbiBitmap =false;
    bool hasIrgBitmap =false;
    bool hasNdviBitmap =false;
    P1::ImageSdk::BitmapImage RgbiBitmap;
    P1::ImageSdk::BitmapImage IrgBitmap;
    P1::ImageSdk::BitmapImage NdviBitmap;
};

Detailed Documentation

Struct used for two purposes. the three boolean variables. hasRgbBitmap, hasIrgBitmap, hasNdviBitmap is used to order what type of output to be produced by the stacker. The produced bitmaps are returned in the correcponding: RgbiBitmap, IrgBitmap and NdviBitmap. It is only possible to produce either an RgbiBitmap or an IrgBitmap (and not both in same run). The NdviBitmap can be selected if wanted.

Fields

bool hasRgbiBitmap =false

If set to true. The stacker will produce an RGBI Bitmap (in member: RgbiBitmap)

bool hasIrgBitmap =false

If set to true. The stacker will produce an IRG Bitmap (in member: IrgBitmap)

bool hasNdviBitmap =false

If set to true. The stacker will produce an NDVI Bitmap (in member: NdviBitmap). Ndvi is a single channel bitmap calculated based on the equation: (R-I)/(R+I)

P1::ImageSdk::BitmapImage RgbiBitmap

This will contain a 4 channel bitmap after stacking if hasRgbiBitmap was set to true.

P1::ImageSdk::BitmapImage IrgBitmap

This will contain a 3 channel bitmap after stacking if hasIrgBitmap was set to true.

P1::ImageSdk::BitmapImage NdviBitmap

This will contain a 1 channel bitmap after stacking if hasNdviBitmap was set to true.