SequenceToVolume
Converts a sequence input into a volume.
Access to parameter description
This algorithm converts an input image of type IMAGE_SEQUENCE to an image of type or VOLUME.
The output volume number of slices is equal to the input sequence number of frames.
Access to parameter description
This algorithm converts an input image of type IMAGE_SEQUENCE to an image of type or VOLUME.
The output volume number of slices is equal to the input sequence number of frames.
Function Syntax
This function returns outputVolume.
// Function prototype
std::shared_ptr< iolink::ImageView > sequenceToVolume( std::shared_ptr< iolink::ImageView > inputSequence, std::shared_ptr< iolink::ImageView > outputVolume = NULL );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
![]() |
inputSequence |
The input 2d sequence. | Image | Binary, Label, Grayscale or Multispectral | nullptr |
![]() |
outputVolume |
The output 3d volume. Its X, Y dimensions and type are forced to the same values as the input. Its number of slices is equal to the sequence dimension of the input. | Image | nullptr |
Object Examples
auto polystyrene_seq = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_seq.vip" ); SequenceToVolume sequenceToVolumeAlgo; sequenceToVolumeAlgo.setInputSequence( polystyrene_seq ); sequenceToVolumeAlgo.execute(); std::cout << "outputVolume:" << sequenceToVolumeAlgo.outputVolume()->toString();
Function Examples
auto polystyrene_seq = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_seq.vip" ); auto result = sequenceToVolume( polystyrene_seq ); std::cout << "outputVolume:" << result->toString();