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