SequenceConcatenation
Concatenates two image sequences into a single one.
Access to parameter description
This algorithm creates a new image sequence by joining two sequences that have the same spatial dimensions and data type.
Access to parameter description
This algorithm creates a new image sequence by joining two sequences that have the same spatial dimensions and data type.
Function Syntax
This function returns outputSequence.
// Function prototype
std::shared_ptr< iolink::ImageView > sequenceConcatenation( std::shared_ptr< iolink::ImageView > inputSequence1, std::shared_ptr< iolink::ImageView > inputSequence2, std::shared_ptr< iolink::ImageView > outputSequence = NULL );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
![]() |
inputSequence1 |
The first sequence to concatenate. The ImageType must be IMAGE_SEQUENCE or VOLUME_SEQUENCE. | Image | Binary, Label, Grayscale or Multispectral | nullptr |
![]() |
inputSequence2 |
The second sequence to concatenate. The ImageType must be IMAGE_SEQUENCE or VOLUME_SEQUENCE. Its data type and spatial dimensions must be the same as the first input sequence. Its number of frames (sequence dimension) can be different. | Image | Binary, Label, Grayscale or Multispectral | nullptr |
![]() |
outputSequence |
The output sequence. Its spatial dimensions and type are forced to the same values as the inputs. Its sequence dimension is the sum of both inputs. | Image | nullptr |
Object Examples
auto polystyrene_seq = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_seq.vip" ); SequenceConcatenation sequenceConcatenationAlgo; sequenceConcatenationAlgo.setInputSequence1( polystyrene_seq ); sequenceConcatenationAlgo.setInputSequence2( polystyrene_seq ); sequenceConcatenationAlgo.execute(); std::cout << "outputSequence:" << sequenceConcatenationAlgo.outputSequence()->toString();
Function Examples
auto polystyrene_seq = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_seq.vip" ); auto result = sequenceConcatenation( polystyrene_seq, polystyrene_seq ); std::cout << "outputSequence:" << result->toString();