IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Static Public Member Functions | List of all members
ipsdk::image::ImageStripExtractor Struct Reference

Structure used to extract image strips from an image. More...

#include <ImageStripExtractor.h>

Static Public Member Functions

template<typename FragmentType >
static void extractXStrip2d (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 stripStartOffsetX, const ipUInt64 stripSizeX, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageXStrip2d)
 extraction of an image 2d strip with splitting along X axis from an image More...
 
template<typename FragmentType >
static void extractXStrip2dWithKernel (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 startingKernelSizeX, const ipUInt64 endingKernelSizeX, const ipUInt64 startingKernelSizeY, const ipUInt64 endingKernelSizeY, const typename FragmentType::BorderStorageType &pPreviousImageXStrip2d, const typename FragmentType::BorderStorageType &pNextImageXStrip2d, const ipUInt64 mainStripStartOffsetX, const ipUInt64 mainStripSizeX, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageXStrip2dWithKernel)
 extraction of an image 2d strip with splitting along X axis associated to a kernel from an image More...
 
template<typename FragmentType >
static void extractYStrip2dWithKernel (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 startingKernelSizeX, const ipUInt64 endingKernelSizeX, const ipUInt64 startingKernelSizeY, const ipUInt64 endingKernelSizeY, const typename FragmentType::BorderStorageType &pPreviousImageYStrip2d, const typename FragmentType::BorderStorageType &pNextImageYStrip2d, const ipUInt64 mainStripStartOffsetY, const ipUInt64 mainStripSizeY, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageYStrip2dWithKernel)
 extraction of an image 2d strip with splitting along Y axis associated to a kernel from an image More...
 
template<typename FragmentType >
static void extractYStrip3d (const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 stripStartOffsetY, const ipUInt64 stripSizeY, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageYStrip3d)
 extraction of an image 3d strip with splitting along Y axis More...
 
template<typename FragmentType >
static void extractYStripColor2d (const ipUInt64 zPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 stripStartOffsetY, const ipUInt64 stripSizeY, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, const bool bAllowGreyColorGeometry, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageYStripColor2d)
 extraction of a color image 2d strip with splitting along Y axis More...
 
template<typename FragmentType >
static void extractYStripSeq2d (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 stripStartOffsetY, const ipUInt64 stripSizeY, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageYStripSeq2d)
 extraction of a sequence image 2d strip with splitting along Y axis More...
 
template<typename FragmentType >
static void extractZStrip3dWithKernel (const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 startingKernelSizeX, const ipUInt64 endingKernelSizeX, const ipUInt64 startingKernelSizeY, const ipUInt64 endingKernelSizeY, const ipUInt64 startingKernelSizeZ, const ipUInt64 endingKernelSizeZ, const typename FragmentType::BorderStorageType &pPreviousImageZStrip3d, const typename FragmentType::BorderStorageType &pNextImageZStrip3d, const ipUInt64 mainStripStartOffsetZ, const ipUInt64 mainStripSizeZ, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageZStrip3dWithKernel)
 extraction of an image 3d strip with splitting along Z axis associated to a kernel from an image More...
 
template<typename FragmentType >
static void extractZStripColor3d (const ipUInt64 tPlanIdx, const ipUInt64 stripStartOffsetZ, const ipUInt64 stripSizeZ, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, const bool bAllowGreyColorGeometry, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageZStripColor3d)
 extraction of a color image 3d strip with splitting along Z axis More...
 
template<typename FragmentType >
static void extractYStrip2d (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 stripStartOffsetY, const ipUInt64 stripSizeY, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageYStrip2d)
 extraction of an image 2d strip with splitting along Y axis from an image More...
 
template<typename FragmentType >
static void extractYStrip2d (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 stripStartOffsetY, const ipUInt64 stripSizeY, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, const typename FragmentType::InputStorageType &pPlanStorage, const DataIdentifierConstPtr &pImageIdentifier, const DataItemMapConstPtr &pImageHeader, boost::shared_ptr< FragmentType > &pImageYStrip2d)
 extraction of an image 2d strip with splitting along Y axis from an image More...
 
template<typename FragmentType >
static void extractZStrip3d (const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 stripStartOffsetZ, const ipUInt64 stripSizeZ, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, typename FragmentType::ImageType &inputImage, boost::shared_ptr< FragmentType > &pImageZStrip3d)
 extraction of an image 3d strip with splitting along Z axis More...
 
template<typename FragmentType >
static void extractZStrip3d (const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 stripStartOffsetZ, const ipUInt64 stripSizeZ, const ipUInt64 imageSizeZ, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, const typename FragmentType::InputStorageType &pPlansCollStorage, const DataIdentifierConstPtr &pImageIdentifier, const DataItemMapConstPtr &pImageHeader, boost::shared_ptr< FragmentType > &pImageZStrip3d)
 extraction of an image 3d strip with splitting along Z axis More...
 

Detailed Description

Structure used to extract image strips from an image.

Author
E.Noirfalise
Date
2015/01/14

Member Function Documentation

◆ extractXStrip2d()

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractXStrip2d ( const ipUInt64  zPlanIdx,
const ipUInt64  cPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  stripStartOffsetX,
const ipUInt64  stripSizeX,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageXStrip2d 
)
static

extraction of an image 2d strip with splitting along X axis from an image

Exceptions
ipsdk::image::IPSDKImageExceptionif zPlanIdx >= inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif stripSizeX == 0
ipsdk::image::IPSDKImageExceptionif stripStartOffsetX + stripSizeX > inputImage.getSizeX()

◆ extractYStrip2d() [1/2]

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractYStrip2d ( const ipUInt64  zPlanIdx,
const ipUInt64  cPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  stripStartOffsetY,
const ipUInt64  stripSizeY,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageYStrip2d 
)
static

extraction of an image 2d strip with splitting along Y axis from an image

Exceptions
ipsdk::image::IPSDKImageExceptionif zPlanIdx >= inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif stripSizeY == 0
ipsdk::image::IPSDKImageExceptionif stripStartOffsetY + stripSizeY > inputImage.getSizeY()

◆ extractYStrip2d() [2/2]

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractYStrip2d ( const ipUInt64  zPlanIdx,
const ipUInt64  cPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  stripStartOffsetY,
const ipUInt64  stripSizeY,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
const typename FragmentType::InputStorageType &  pPlanStorage,
const DataIdentifierConstPtr pImageIdentifier,
const DataItemMapConstPtr pImageHeader,
boost::shared_ptr< FragmentType > &  pImageYStrip2d 
)
static

extraction of an image 2d strip with splitting along Y axis from an image

Exceptions
ipsdk::image::IPSDKImageExceptionif zPlanIdx >= inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif stripSizeY == 0
ipsdk::image::IPSDKImageExceptionif stripStartOffsetY + stripSizeY > inputImage.getSizeY()

◆ extractXStrip2dWithKernel()

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractXStrip2dWithKernel ( const ipUInt64  zPlanIdx,
const ipUInt64  cPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  startingKernelSizeX,
const ipUInt64  endingKernelSizeX,
const ipUInt64  startingKernelSizeY,
const ipUInt64  endingKernelSizeY,
const typename FragmentType::BorderStorageType &  pPreviousImageXStrip2d,
const typename FragmentType::BorderStorageType &  pNextImageXStrip2d,
const ipUInt64  mainStripStartOffsetX,
const ipUInt64  mainStripSizeX,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageXStrip2dWithKernel 
)
static

extraction of an image 2d strip with splitting along X axis associated to a kernel from an image

Exceptions
ipsdk::image::IPSDKImageExceptionif zPlanIdx >= inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif startingKernelSizeX >= inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif endingKernelSizeX >= inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif startingKernelSizeY >= inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif endingKernelSizeY >= inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif mainStripSizeX == 0
ipsdk::image::IPSDKImageExceptionif mainStripStartOffsetX + mainStripSizeX > inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif pPreviousImageXStrip2d->getSizeY() != inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif ((pPreviousImageXStrip2d->getSizeX() > startingKernelSizeX) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((pPreviousImageXStrip2d->getSizeX() > endingKernelSizeX) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
ipsdk::image::IPSDKImageExceptionif ((mainStripStartOffsetX != pPreviousImageXStrip2d->getStripStartOffsetX() + pPreviousImageXStrip2d->getSizeX()) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((mainStripStartOffsetX + mainStripSizeX != pPreviousImageXStrip2d->getStripStartOffsetX()) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
Note
if no data are available, pPreviousImageXStrip2d may be null. In this case main strip start offset is set to 0
Exceptions
ipsdk::image::IPSDKImageExceptionif pNextImageXStrip2d->getSizeY() != inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif ((pNextImageXStrip2d->getSizeX() > endingKernelSizeX) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((pNextImageXStrip2d->getSizeX() > startingKernelSizeX) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
ipsdk::image::IPSDKImageExceptionif ((mainStripStartOffsetX + mainStripSizeX != pNextImageXStrip2d->getStripStartOffsetX()) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((mainStripStartOffsetX != pNextImageXStrip2d->getStripStartOffsetX() + pNextImageXStrip2d->getSizeX()) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
Note
if no data are available, pNextImageXStrip2d may be null. In this case main strip start offset is set to 0

◆ extractYStrip2dWithKernel()

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractYStrip2dWithKernel ( const ipUInt64  zPlanIdx,
const ipUInt64  cPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  startingKernelSizeX,
const ipUInt64  endingKernelSizeX,
const ipUInt64  startingKernelSizeY,
const ipUInt64  endingKernelSizeY,
const typename FragmentType::BorderStorageType &  pPreviousImageYStrip2d,
const typename FragmentType::BorderStorageType &  pNextImageYStrip2d,
const ipUInt64  mainStripStartOffsetY,
const ipUInt64  mainStripSizeY,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageYStrip2dWithKernel 
)
static

extraction of an image 2d strip with splitting along Y axis associated to a kernel from an image

Exceptions
ipsdk::image::IPSDKImageExceptionif zPlanIdx >= inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif startingKernelSizeX >= inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif endingKernelSizeX >= inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif startingKernelSizeY >= inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif endingKernelSizeY >= inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif mainStripSizeY == 0
ipsdk::image::IPSDKImageExceptionif mainStripStartOffsetY + mainStripSizeY > inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif pPreviousImageYStrip2d->getSizeX() != inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif ((pPreviousImageYStrip2d->getSizeY() > startingKernelSizeY) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((pPreviousImageYStrip2d->getSizeY() > endingKernelSizeY) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
ipsdk::image::IPSDKImageExceptionif ((mainStripStartOffsetY != pPreviousImageYStrip2d->getStripStartOffsetY() + pPreviousImageYStrip2d->getSizeY()) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((mainStripStartOffsetY + mainStripSizeY != pPreviousImageYStrip2d->getStripStartOffsetY()) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
Note
if no data are available, pPreviousImageYStrip2d may be null. In this case main strip start offset is set to 0
Exceptions
ipsdk::image::IPSDKImageExceptionif pNextImageYStrip2d->getSizeX() != inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif ((pNextImageYStrip2d->getSizeY() > endingKernelSizeY) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((pNextImageYStrip2d->getSizeY() > startingKernelSizeY) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
ipsdk::image::IPSDKImageExceptionif ((mainStripStartOffsetY + mainStripSizeY != pNextImageYStrip2d->getStripStartOffsetY()) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((mainStripStartOffsetY != pNextImageYStrip2d->getStripStartOffsetY() + pNextImageYStrip2d->getSizeY()) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
Note
if no data are available, pNextImageYStrip2d may be null. In this case main strip start offset is set to 0

◆ extractYStrip3d()

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractYStrip3d ( const ipUInt64  cPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  stripStartOffsetY,
const ipUInt64  stripSizeY,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageYStrip3d 
)
static

extraction of an image 3d strip with splitting along Y axis

Exceptions
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif stripSizeY == 0
ipsdk::image::IPSDKImageExceptionif stripStartOffsetY + stripSizeY > inputImage.getSizeY()

◆ extractYStripColor2d()

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractYStripColor2d ( const ipUInt64  zPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  stripStartOffsetY,
const ipUInt64  stripSizeY,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
const bool  bAllowGreyColorGeometry,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageYStripColor2d 
)
static

extraction of a color image 2d strip with splitting along Y axis

Exceptions
ipsdk::image::IPSDKImageExceptionif zPlanIdx >= inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif stripSizeY == 0
ipsdk::image::IPSDKImageExceptionif stripStartOffsetY + stripSizeY > inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif inputImage.getColorGeometryType() == eColorGeometryType::eCGT_Grey

◆ extractYStripSeq2d()

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractYStripSeq2d ( const ipUInt64  zPlanIdx,
const ipUInt64  cPlanIdx,
const ipUInt64  stripStartOffsetY,
const ipUInt64  stripSizeY,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageYStripSeq2d 
)
static

extraction of a sequence image 2d strip with splitting along Y axis

Exceptions
ipsdk::image::IPSDKImageExceptionif zPlanIdx >= inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif stripSizeY == 0
ipsdk::image::IPSDKImageExceptionif stripStartOffsetY + stripSizeY > inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif inputImage.getTemporalGeometryType() == eTemporalGeometryType::eTGT_Single

◆ extractZStrip3d() [1/2]

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractZStrip3d ( const ipUInt64  cPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  stripStartOffsetZ,
const ipUInt64  stripSizeZ,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageZStrip3d 
)
static

extraction of an image 3d strip with splitting along Z axis

Exceptions
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif stripSizeZ == 0
ipsdk::image::IPSDKImageExceptionif stripStartOffsetZ + stripSizeZ > inputImage.getSizeZ()

◆ extractZStrip3d() [2/2]

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractZStrip3d ( const ipUInt64  cPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  stripStartOffsetZ,
const ipUInt64  stripSizeZ,
const ipUInt64  imageSizeZ,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
const typename FragmentType::InputStorageType &  pPlansCollStorage,
const DataIdentifierConstPtr pImageIdentifier,
const DataItemMapConstPtr pImageHeader,
boost::shared_ptr< FragmentType > &  pImageZStrip3d 
)
static

extraction of an image 3d strip with splitting along Z axis

Exceptions
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif stripSizeZ == 0
ipsdk::image::IPSDKImageExceptionif stripStartOffsetZ + stripSizeZ > inputImage.getSizeZ()

◆ extractZStrip3dWithKernel()

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractZStrip3dWithKernel ( const ipUInt64  cPlanIdx,
const ipUInt64  tPlanIdx,
const ipUInt64  startingKernelSizeX,
const ipUInt64  endingKernelSizeX,
const ipUInt64  startingKernelSizeY,
const ipUInt64  endingKernelSizeY,
const ipUInt64  startingKernelSizeZ,
const ipUInt64  endingKernelSizeZ,
const typename FragmentType::BorderStorageType &  pPreviousImageZStrip3d,
const typename FragmentType::BorderStorageType &  pNextImageZStrip3d,
const ipUInt64  mainStripStartOffsetZ,
const ipUInt64  mainStripSizeZ,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageZStrip3dWithKernel 
)
static

extraction of an image 3d strip with splitting along Z axis associated to a kernel from an image

Exceptions
ipsdk::image::IPSDKImageExceptionif cPlanIdx >= inputImage.getSizeC()
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif startingKernelSizeX >= inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif endingKernelSizeX >= inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif startingKernelSizeY >= inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif endingKernelSizeY >= inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif startingKernelSizeZ >= inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif endingKernelSizeZ >= inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif mainStripSizeZ == 0
ipsdk::image::IPSDKImageExceptionif mainStripStartOffsetZ + mainStripSizeZ > inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif pPreviousImageZStrip2d->getSizeX() != inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif pPreviousImageZStrip2d->getSizeY() != inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif ((pPreviousImageZStrip2d->getSizeZ() > startingKernelSizeZ) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((pPreviousImageZStrip2d->getSizeZ() > endingKernelSizeZ) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
ipsdk::image::IPSDKImageExceptionif ((mainStripStartOffsetZ != pPreviousImageZStrip2d->getStripStartOffsetZ() + pPreviousImageZStrip2d->getSizeZ()) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((mainStripStartOffsetZ + mainStripSizeZ != pPreviousImageZStrip2d->getStripStartOffsetZ()) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
Note
if no data are available, pPreviousImageZStrip2d may be null. In this case main strip start offset is set to 0
Exceptions
ipsdk::image::IPSDKImageExceptionif pNextImageZStrip2d->getSizeX() != inputImage.getSizeX()
ipsdk::image::IPSDKImageExceptionif pNextImageZStrip2d->getSizeY() != inputImage.getSizeY()
ipsdk::image::IPSDKImageExceptionif ((pNextImageZStrip2d->getSizeZ() > endingKernelSizeZ) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((pNextImageZStrip2d->getSizeZ() > startingKernelSizeZ) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
ipsdk::image::IPSDKImageExceptionif ((mainStripStartOffsetZ + mainStripSizeZ != pNextImageZStrip2d->getStripStartOffsetZ()) && (stripParsingDirection == eStripParsingDirection::eSPD_Direct)) || ((mainStripStartOffsetZ != pNextImageZStrip2d->getStripStartOffsetZ() + pNextImageZStrip2d->getSizeZ()) && (stripParsingDirection == eStripParsingDirection::eSPD_Reverse))
Note
if no data are available, pNextImageZStrip2d may be null. In this case main strip start offset is set to 0

◆ extractZStripColor3d()

template<typename FragmentType >
static void ipsdk::image::ImageStripExtractor::extractZStripColor3d ( const ipUInt64  tPlanIdx,
const ipUInt64  stripStartOffsetZ,
const ipUInt64  stripSizeZ,
const eStripAllocationType stripAllocationType,
const eStripParsingDirection stripParsingDirection,
const bool  bAllowGreyColorGeometry,
typename FragmentType::ImageType &  inputImage,
boost::shared_ptr< FragmentType > &  pImageZStripColor3d 
)
static

extraction of a color image 3d strip with splitting along Z axis

Exceptions
ipsdk::image::IPSDKImageExceptionif tPlanIdx >= inputImage.getSizeT()
ipsdk::image::IPSDKImageExceptionif stripSizeZ == 0
ipsdk::image::IPSDKImageExceptionif stripStartOffsetZ + stripSizeZ > inputImage.getSizeZ()
ipsdk::image::IPSDKImageExceptionif inputImage.getColorGeometryType() == eColorGeometryType::eCGT_Grey
Returns
false in case of failure

The documentation for this struct was generated from the following file: