FlipImage3d
Flips a three-dimensional image along the X, Y, or Z axis.
Access to parameter description
This algorithm generates an output image according to the selected axis of symmetry, as explained in the axis parameter description.
See also
Access to parameter description
This algorithm generates an output image according to the selected axis of symmetry, as explained in the axis parameter description.
See also
Function Syntax
This function returns outputImage.
// Function prototype
std::shared_ptr< iolink::ImageView > flipImage3d( std::shared_ptr< iolink::ImageView > inputImage, FlipImage3d::Axis axis, std::shared_ptr< iolink::ImageView > outputImage = NULL );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
inputImage |
The input image. | Image | Binary, Label, Grayscale or Multispectral | nullptr | ||||||
![]() |
axis |
The symmetry axis.
|
Enumeration | Z_AXIS | |||||||
![]() |
outputImage |
The output image. Its dimensions and type are forced to the same values as the input. | Image | nullptr |
Object Examples
auto foam = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam.vip" ); FlipImage3d flipImage3dAlgo; flipImage3dAlgo.setInputImage( foam ); flipImage3dAlgo.setAxis( FlipImage3d::Axis::X_AXIS ); flipImage3dAlgo.execute(); std::cout << "outputImage:" << flipImage3dAlgo.outputImage()->toString();
Function Examples
auto foam = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam.vip" ); auto result = flipImage3d( foam, FlipImage3d::Axis::X_AXIS ); std::cout << "outputImage:" << result->toString();