![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Copies a 2D image in a 3D image as a slice in the input slice index along x, y or z. More...
| IPSDKIPLUTILITY_API ipsdk::image::ImagePtr | ipsdk::imaproc::util::putSlice3dImg (const image::ImageConstPtr &pInImg3d, const image::ImageConstPtr &pInImg2d, const ipsdk::imaproc::attr::eAxis &axis, const ipUInt64 sliceIndex) |
| wrapper function for Copies a 2D image in a 3D image as a slice in the input slice index along x, y or z More... | |
| IPSDKIPLUTILITY_API void | ipsdk::imaproc::util::putSlice3dImg (const image::ImageConstPtr &pInImg3d, const image::ImageConstPtr &pInImg2d, const ipsdk::imaproc::attr::eAxis &axis, const ipUInt64 sliceIndex, const image::ImagePtr &pOutImg) |
| wrapper function for Copies a 2D image in a 3D image as a slice in the input slice index along x, y or z More... | |
Copies a 2D image in a 3D image as a slice in the input slice index along x, y or z.
The result of this algorithm is the 3D input image, but with the 2D input image copied in the slice InSliceIndex of the 3D output image.
The InAxis parameter indicates the direction of the copy:
Please, remember that the 2D image size must fit the 3D image size in the appropriate direction.
Here is an example of a 3d image is copied in a 3D volume containing geometric objects on each axis:
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg3d | [Input] 3d image for operation | X |
| ipsdk::imaproc::attr::InImg2d | [Input] 2d image for operation | X |
| ipsdk::imaproc::attr::InAxis | [Input] Indicates the axis to process | X |
| ipsdk::imaproc::attr::InSliceIndex | [Input] Index of the slice to process | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutImg, _pInImg3d) |
Global rule description for algorithm :
ipsdk::imaproc::matchSizeAndType (_pInImg3d,_pOutImg) &&
ipsdk::imaproc::customImageProperty (_pInImg2d,
ipsdk::imaproc::util::matchSlice (_pInImg2d,_pInImg3d,_pInAxis))
| IPSDKIPLUTILITY_API ipsdk::image::ImagePtr ipsdk::imaproc::util::putSlice3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const image::ImageConstPtr & | pInImg2d, | ||
| const ipsdk::imaproc::attr::eAxis & | axis, | ||
| const ipUInt64 | sliceIndex | ||
| ) |
wrapper function for Copies a 2D image in a 3D image as a slice in the input slice index along x, y or z
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLUTILITY_API void ipsdk::imaproc::util::putSlice3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const image::ImageConstPtr & | pInImg2d, | ||
| const ipsdk::imaproc::attr::eAxis & | axis, | ||
| const ipUInt64 | sliceIndex, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Copies a 2D image in a 3D image as a slice in the input slice index along x, y or z
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14