![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Algorithm allowing to copy a 3d ROI of an image. More...
| IPSDKIPLUTILITY_API image::ImagePtr | ipsdk::imaproc::util::getROI3dImg (const image::ImageConstPtr &pInImg, ipUInt64 xOffset, ipUInt64 yOffset, ipUInt64 zOffset, ipUInt64 xSz, ipUInt64 ySz, ipUInt64 zSz) |
| wrapper function for 3d ROI extraction algorithm More... | |
| IPSDKIPLUTILITY_API void | ipsdk::imaproc::util::getROI3dImg (const image::ImageConstPtr &pInImg, ipUInt64 xOffset, ipUInt64 yOffset, ipUInt64 zOffset, ipUInt64 xSz, ipUInt64 ySz, ipUInt64 zSz, const image::ImagePtr &pOutImg) |
| wrapper function for 3d ROI extraction algorithm More... | |
Algorithm allowing to copy a 3d ROI of an image.
This algorithm allows to copy the region of interest, delimited by a 3d box, of an image.
The box is defined by the 2 attributes InInputImg3dOffset and InOutputImg3dSize.
Output image type is the same as input.
Size of output image is given by the InOutputImg3dSize attribute.
On output image, values are given by :
,
with:
[
..
]
[
..
]
[
..
]Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg3d | [Input] 3d image for operation | X |
| ipsdk::imaproc::attr::InInputImg3dOffset | [Input] input image 3d offset | X |
| ipsdk::imaproc::attr::InOutputImg3dSize | [Input] output image 3d size | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | customOutput (_pOutImg, outputROI3d(_pInImg3d,_pInOutputImg3dSize)) |
Global rule description for algorithm :
ipsdk::imaproc::matchBufferType (_pInImg3d,_pOutImg) &&
ipsdk::imaproc::noInSitu (_pInImg3d,_pOutImg) &&
ipsdk::imaproc::customImageProperty (_pInImg3d,
ipsdk::imaproc::util::containsROI3d (_pInImg3d,_pInInputImg3dOffset,_pInOutputImg3dSize)) &&
ipsdk::imaproc::customImageProperty (_pOutImg,
ipsdk::imaproc::util::matchROI3d (_pInOutputImg3dSize)) &&
ipsdk::imaproc::matchSize (eMatchImageSizeType::eMIST_CT,_pInImg3d,_pOutImg)
| IPSDKIPLUTILITY_API image::ImagePtr ipsdk::imaproc::util::getROI3dImg | ( | const image::ImageConstPtr & | pInImg, |
| ipUInt64 | xOffset, | ||
| ipUInt64 | yOffset, | ||
| ipUInt64 | zOffset, | ||
| ipUInt64 | xSz, | ||
| ipUInt64 | ySz, | ||
| ipUInt64 | zSz | ||
| ) |
wrapper function for 3d ROI extraction algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLUTILITY_API void ipsdk::imaproc::util::getROI3dImg | ( | const image::ImageConstPtr & | pInImg, |
| ipUInt64 | xOffset, | ||
| ipUInt64 | yOffset, | ||
| ipUInt64 | zOffset, | ||
| ipUInt64 | xSz, | ||
| ipUInt64 | ySz, | ||
| ipUInt64 | zSz, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for 3d ROI extraction algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14