image = | appendSeqImg (inImg1,inImg2) |
Algorithm allowing to concatenate two image sequences.
This algorithm allows to concatenate two image sequences.
Images must have same size in X, Y, Z, and C, and same color geometry type and volume geometry type.
Given two input images
and
, output image values are given by :
and number of elements in sequence of
equals to
, with sizeT1 the number of elements in sequence of
and sizeT2 the number of elements in sequence of 
Example of Python code :
Example imports
import PyIPSDK
import PyIPSDK.IPSDKIPLUtility as util
Code Example
inImg1 = PyIPSDK.loadTiffImageFile(inputImg1Path, PyIPSDK.eTiffDirectoryMode.eTDM_Temporal)
inImg2 = PyIPSDK.loadTiffImageFile(inputImg2Path, PyIPSDK.eTiffDirectoryMode.eTDM_Temporal)
outImg = util.appendSeqImg(inImg1, inImg2)
Example of C++ code :
Example informations
Header file
#include <IPSDKIPL/IPSDKIPLUtility/Processor/AppendSeqImg/AppendSeqImg.h>
Code Example
ImagePtr pInImg1 =
loadTiffImageFile(inputImg1Path, eTiffDirectoryMode::eTDM_Temporal);
if(inImageBufferType != pInImg1->getBufferType())
ImagePtr pInImg2 =
loadTiffImageFile(inputImg2Path, eTiffDirectoryMode::eTDM_Temporal);
if(inImageBufferType != pInImg2->getBufferType())
ImagePtr pAutoOutImg = appendSeqImg(pInImg1, pInImg2);