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

Static Public Member Functions

template<typename ImageType >
static BoolResult extractPlan (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed of a single plan from an other image More...
 
template<typename ImageType >
static BoolResult extractVolume (const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed of a 3d volume from an other image More...
 
template<typename ImageType >
static BoolResult extractColor (const ipUInt64 zPlanIdx, const ipUInt64 tPlanIdx, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed of color plans from an other image More...
 
template<typename ImageType >
static BoolResult extractTemporal (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed of sequence plans from an other image More...
 
template<typename ImageType >
static BoolResult extractColorVolume (const ipUInt64 tPlanIdx, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed of a color 3d volume from an other image More...
 
template<typename ImageType >
static BoolResult extractTemporalVolume (const ipUInt64 cPlanIdx, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed of a sequence 3d volume from an other image More...
 
template<typename ImageType >
static BoolResult extractTemporalColor (const ipUInt64 zPlanIdx, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed of sequence color plans from an other image More...
 
template<typename ImageType >
static BoolResult extractSubSequence (const ipUInt64 temporalStartOffset, const ipUInt64 temporalSize, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed of a sub sequence from an other image More...
 
template<typename ImageType >
static BoolResult extractSubVolume (const ipUInt64 volStartOffset, const ipUInt64 volSize, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed of a sub volume from an other image More...
 
template<typename ImageType >
static BoolResult extractCudaSubImage (const ipUInt64 deviceIdx, ImageType &inputImage, boost::shared_ptr< ImageType > &pSubImage)
 extraction of a sub image composed located on Cuda devices / A Cuda image can be splitted and dispatched on several devices / This function returns the buffer of a specific device / More...
 
template<typename ImageType >
static boost::shared_ptr< BaseImageGeometrygetGeometryResultingFromSeqConcatenation (const std::vector< boost::shared_ptr< ImageType > > &vImages)
 return the geometry resulting from the concatenation of 2 image sequences More...
 
static BoolResult concatenateDiskSequences (const std::vector< boost::shared_ptr< BaseImage > > &inputImages, boost::shared_ptr< DiskImage > &pSubImage)
 generation of a sub image composed of the concatenation of 2 or more sequence disk images More...
 
template<typename ImageType >
static BoolResult concatenateSequences (const std::vector< boost::shared_ptr< ImageType > > &inputImages, boost::shared_ptr< ImageType > &pSubImage)
 generation of a sub image composed of the concatenation of 2 or more sequence images More...
 
template<typename ImageType >
static boost::shared_ptr< BaseImageGeometrygetGeometryResultingFromVolConcatenation (const std::vector< boost::shared_ptr< ImageType > > &inputImages)
 return the geometry resulting from the volume concatenation of 2 3d images More...
 
static BoolResult concatenateDiskVolumes (const std::vector< boost::shared_ptr< BaseImage > > &inputImages, boost::shared_ptr< DiskImage > &pSubImage)
 generation of a sub image composed of the volume concatenation of 2 or more 3d disk images More...
 
template<typename ImageType >
static BoolResult concatenateVolumes (const std::vector< boost::shared_ptr< ImageType > > &inputImages, boost::shared_ptr< ImageType > &pSubImage)
 generation of a sub image composed of the volume concatenation of 2 or more 3d images More...
 
template<typename ImageType >
static BoolResult reInterpretImageData (ImageType &originalImage, const BaseImageGeometry &targetGeometry, boost::shared_ptr< ImageType > &pSubImage)
 reinterpretation of data of an image for a different image geometry More...
 

Member Function Documentation

◆ getGeometryResultingFromSeqConcatenation()

template<typename ImageType >
static boost::shared_ptr<BaseImageGeometry> ipsdk::image::SubImageExtractor::getGeometryResultingFromSeqConcatenation ( const std::vector< boost::shared_ptr< ImageType > > &  vImages)
static

return the geometry resulting from the concatenation of 2 image sequences

Exceptions
ipsdk::image::IPSDKImageExceptionif
ipsdk::image::IPSDKImageExceptionif all input images have not the same size along x-axis
ipsdk::image::IPSDKImageExceptionif all input images have not the same size along y-axis
ipsdk::image::IPSDKImageExceptionif all input images have not the same size along z-axis
ipsdk::image::IPSDKImageExceptionif all input images have not the same number of color channels
ipsdk::image::IPSDKImageExceptionif all input images have not the same color geometry type
ipsdk::image::IPSDKImageExceptionif all input images have not the same volume geometry type

◆ concatenateDiskSequences()

static BoolResult ipsdk::image::SubImageExtractor::concatenateDiskSequences ( const std::vector< boost::shared_ptr< BaseImage > > &  inputImages,
boost::shared_ptr< DiskImage > &  pSubImage 
)
static

generation of a sub image composed of the concatenation of 2 or more sequence disk images

Exceptions
ipsdk::image::IPSDKImageExceptionif all input images have not the same size along x-axis
ipsdk::image::IPSDKImageExceptionif all input images have not the same size along y-axis
ipsdk::image::IPSDKImageExceptionif all input images have not the same size along z-axis
ipsdk::image::IPSDKImageExceptionif all input images have not the same number of color channels
ipsdk::image::IPSDKImageExceptionif all input images have not the same color geometry type
ipsdk::image::IPSDKImageExceptionif all input images have not the same volume geometry type
Returns
false in case of failure

◆ getGeometryResultingFromVolConcatenation()

template<typename ImageType >
static boost::shared_ptr<BaseImageGeometry> ipsdk::image::SubImageExtractor::getGeometryResultingFromVolConcatenation ( const std::vector< boost::shared_ptr< ImageType > > &  inputImages)
static

return the geometry resulting from the volume concatenation of 2 3d images

Exceptions
ipsdk::image::IPSDKImageExceptionif all input images have not the same size along x-axis
ipsdk::image::IPSDKImageExceptionif all input images have not the same size along y-axis
ipsdk::image::IPSDKImageExceptionif all images have not the same sequence size
ipsdk::image::IPSDKImageExceptionif all images have not the same temporal geometry type
ipsdk::image::IPSDKImageExceptionif all input images have not the same number of color channels
ipsdk::image::IPSDKImageExceptionif all input images have not the same color geometry type

◆ concatenateDiskVolumes()

static BoolResult ipsdk::image::SubImageExtractor::concatenateDiskVolumes ( const std::vector< boost::shared_ptr< BaseImage > > &  inputImages,
boost::shared_ptr< DiskImage > &  pSubImage 
)
static

generation of a sub image composed of the volume concatenation of 2 or more 3d disk images

Exceptions
ipsdk::image::IPSDKImageExceptionif all images have not the same size along x-axis
ipsdk::image::IPSDKImageExceptionif all images have not the same size along y-axis
ipsdk::image::IPSDKImageExceptionif all images have not the same sequence size
ipsdk::image::IPSDKImageExceptionif all images have not the same temporal geometry type
ipsdk::image::IPSDKImageExceptionif all images have not the same number of color channels
ipsdk::image::IPSDKImageExceptionif all images have not the same color geometry type
Returns
false in case of failure

◆ reInterpretImageData()

template<typename ImageType >
static BoolResult ipsdk::image::SubImageExtractor::reInterpretImageData ( ImageType &  originalImage,
const BaseImageGeometry targetGeometry,
boost::shared_ptr< ImageType > &  pSubImage 
)
static

reinterpretation of data of an image for a different image geometry

Exceptions
ipsdk::image::IPSDKImageExceptionif canBeReInterpreted(originalImage, targetGeometry) == false

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