MultispectralToSequence
Converts a multispectral image input into a sequence.
Access to parameter description
This algorithm converts an input image of type MULTISPECTRAL_IMAGE or MULTISPECTRAL_VOLUME to an image of type or IMAGE_SEQUENCE or VOLUME_SEQUENCE.
The output number of spectral frames is equal to the number of channels of the input.
Access to parameter description
This algorithm converts an input image of type MULTISPECTRAL_IMAGE or MULTISPECTRAL_VOLUME to an image of type or IMAGE_SEQUENCE or VOLUME_SEQUENCE.
The output number of spectral frames is equal to the number of channels of the input.
Function Syntax
This function returns outputSequence.
// Function prototype
std::shared_ptr< iolink::ImageView > multispectralToSequence( std::shared_ptr< iolink::ImageView > inputColorImage, std::shared_ptr< iolink::ImageView > outputSequence = nullptr );
This function returns outputSequence.
// Function prototype. multispectral_to_sequence(input_color_image: idt.ImageType, output_sequence: idt.ImageType = None) -> idt.ImageType
This function returns outputSequence.
// Function prototype. public static IOLink.ImageView MultispectralToSequence( IOLink.ImageView inputColorImage, IOLink.ImageView outputSequence = null );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
inputColorImage |
The input multispectral image of type MULTISPECTRAL_IMAGE or MULTISPECTRAL_VOLUME. | Image | Multispectral | nullptr | |
outputSequence |
The output image of type IMAGE_SEQUENCE or VOLUME_SEQUENCE. Its spatial dimensions and type are forced to the same values as the input. Its number of frames is equal to the number of channels of the input. | Image | nullptr |
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
input_color_image |
The input multispectral image of type MULTISPECTRAL_IMAGE or MULTISPECTRAL_VOLUME. | image | Multispectral | None | |
output_sequence |
The output image of type IMAGE_SEQUENCE or VOLUME_SEQUENCE. Its spatial dimensions and type are forced to the same values as the input. Its number of frames is equal to the number of channels of the input. | image | None |
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
inputColorImage |
The input multispectral image of type MULTISPECTRAL_IMAGE or MULTISPECTRAL_VOLUME. | Image | Multispectral | null | |
outputSequence |
The output image of type IMAGE_SEQUENCE or VOLUME_SEQUENCE. Its spatial dimensions and type are forced to the same values as the input. Its number of frames is equal to the number of channels of the input. | Image | null |
Object Examples
auto ateneub = ioformat::readImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "ateneub.jpg" ); MultispectralToSequence multispectralToSequenceAlgo; multispectralToSequenceAlgo.setInputColorImage( ateneub ); multispectralToSequenceAlgo.execute(); std::cout << "outputSequence:" << multispectralToSequenceAlgo.outputSequence()->toString();
ateneub = ioformat.read_image(imagedev_data.get_image_path("ateneub.jpg")) multispectral_to_sequence_algo = imagedev.MultispectralToSequence() multispectral_to_sequence_algo.input_color_image = ateneub multispectral_to_sequence_algo.execute() print("output_sequence:", str(multispectral_to_sequence_algo.output_sequence))
ImageView ateneub = ViewIO.ReadImage( @"Data/images/ateneub.jpg" ); MultispectralToSequence multispectralToSequenceAlgo = new MultispectralToSequence { inputColorImage = ateneub }; multispectralToSequenceAlgo.Execute(); Console.WriteLine( "outputSequence:" + multispectralToSequenceAlgo.outputSequence.ToString() );
Function Examples
auto ateneub = ioformat::readImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "ateneub.jpg" ); auto result = multispectralToSequence( ateneub ); std::cout << "outputSequence:" << result->toString();
ateneub = ioformat.read_image(imagedev_data.get_image_path("ateneub.jpg")) result = imagedev.multispectral_to_sequence(ateneub) print("output_sequence:", str(result))
ImageView ateneub = ViewIO.ReadImage( @"Data/images/ateneub.jpg" ); IOLink.ImageView result = Processing.MultispectralToSequence( ateneub ); Console.WriteLine( "outputSequence:" + result.ToString() );