Stacking.DoPasPanaStacking Method#
Definition#
Namespace: P1.ImageSdk
A class to stack an rgb image and a nir images from the Pas Pana 4-band solution. The rgb image is regarded as the master image. The stacker will scale and merge the two images on to of each other into upto 2 of the 3 different formats that are supported by the stacker. What outputs to generated is setup in the StackingOutput struct. This function enable some configuration environmental compensation of the calibration of the nir image.
public void DoPasPanaStacking( RawImage masterImage, IBitmapImage rgbBitmap, ConvertConfig rgbConfig, RawImage nirImage, IBitmapImage nirBitmap, ConvertConfig nirConfig, PasPanaCamera camera, StackingOutput stackingOutput, ref double outputFocalLength );
Parameters:
masterImage |
is a reference to the rgb image used as master image for the stacking operation |
rgbBitmap |
is a reference to the rgb image (this image will normally for a PAS system be a stitched image). This bitmap is expected to be an undistorted image. |
rgbConfig |
is a reference to a convert config for the rgb image, where control of environmental compensation and calibration can be setup. |
nirImage |
is a reference to the nir image used for the stacking operation |
nirBitmap |
is a reference to the nir image. This bitmap is expected to be still an distorted image. The stacker will undistort the image using the geometric calibration for the nir camera. |
nirConfig |
is a reference to a convert config for the nir image, where control of environmental compensation and calibration can be setup. |
camera |
is a value that defines which camera in a Pas Pana group that is being stacked |
stackingOutput |
is a struct that is used to setup the types of out puts the stacker should produce. It can produce either an Rgbi or a Irg bitmap. Aisde this it can in the same process alsoe produce an ndvi bitmap if it is selected. The selected bitmaps are returned in this stract after a successful stacking |
outputFocalLength |
is a reference to a double value, where the used output focallength will be returned. |
Returns: