IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
PythonImageUtils.h File Reference

Utility functions for python image management. More...

#include <Python/PyIPSDKBase/PyIPSDKBaseExports.h>
#include <Python/PyIPSDKBase/PythonImageTypes.h>
#include <IPSDKImage/Geometry/ImageGeometryTypes.h>
#include <IPSDKImage/Image/ImageUtils.h>
#include <boost/python/numpy.hpp>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::python
 Namespace aggregating IPSDK to python base wrappers.
 

Functions

PYIPSDKBASE_API PythonImagePtr ipsdk::python::createImage (const image::eImageBufferType &imageBufferType, const ipUInt64 sizeX, const ipUInt64 sizeY)
 function allowing to create a new python 2d image More...
 
PYIPSDKBASE_API PythonImagePtr ipsdk::python::createImageRgb (const image::eImageBufferType &imageBufferType, const ipUInt64 sizeX, const ipUInt64 sizeY)
 function allowing to create a new python rgb 2d image More...
 
PYIPSDKBASE_API PythonImagePtr ipsdk::python::createImageSeq (const image::eImageBufferType &imageBufferType, const ipUInt64 sizeX, const ipUInt64 sizeY, const ipUInt64 sizeT)
 function allowing to create a new python sequence 2d image More...
 
PYIPSDKBASE_API PythonImagePtr ipsdk::python::createImage (const image::eImageBufferType &imageBufferType, const ipUInt64 sizeX, const ipUInt64 sizeY, const ipUInt64 sizeZ)
 function allowing to create a new python 3d image More...
 
PYIPSDKBASE_API PythonImagePtr ipsdk::python::createImage (const image::BaseImageGeometry &geometry)
 function allowing to create a new python image from an existing geometry More...
 
PYIPSDKBASE_API image::DistributedImagePtr ipsdk::python::createDistributedImage (const image::BaseImageGeometry &geometry)
 function allowing to create a new distributed image from an existing geometry More...
 
PYIPSDKBASE_API python::PythonCudaImagePtr ipsdk::python::createGpuImage (const image::BaseImageGeometry &geometry)
 function allowing to create a new gpu image from an existing geometry More...
 
PYIPSDKBASE_API PythonImagePtr ipsdk::python::fromArray (boost::python::numpy::ndarray &pythonArray)
 function allowing to create python image view from an existing array More...
 
PYIPSDKBASE_API PythonImagePtr ipsdk::python::fromRgbArray (boost::python::numpy::ndarray &pythonArray)
 function allowing to create a rgb python 2d image view from an existing array More...
 
PYIPSDKBASE_API PythonImagePtr ipsdk::python::fromBinaryArray (boost::python::numpy::ndarray &pythonArray)
 function allowing to create a python binary image view from an existing array More...
 
PYIPSDKBASE_API PythonImagePtr ipsdk::python::fromLabelArray (boost::python::numpy::ndarray &pythonArray)
 function allowing to create a python label image view from an existing array More...
 
PYIPSDKBASE_API PythonImagePtr ipsdk::python::fromArray (boost::python::numpy::ndarray &pythonArray, const image::BaseImageGeometry &geometry)
 function allowing to create a python image view from an existing array and a given geometry More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractPlan (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const image::BaseImage &inputImage)
 extraction of a sub image composed of a single plan from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractPlan (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, image::BaseImage &inputImage)
 extraction of a sub image composed of a single plan from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractPlan (const PlanIndex &planIdx, const image::BaseImage &inputImage)
 extraction of a sub image composed of a single plan from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractPlan (const PlanIndex &planIdx, image::BaseImage &inputImage)
 extraction of a sub image composed of a single plan from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractPlan (const ipUInt64 &planIdx, const image::BaseImage &inputImage)
 extraction of a sub image composed of a single plan from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractPlan (const ipUInt64 &planIdx, image::BaseImage &inputImage)
 extraction of a sub image composed of a single plan from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractVolume (const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const image::BaseImage &inputImage)
 extraction of a sub image composed of a 3d volume from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractVolume (const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, image::BaseImage &inputImage)
 extraction of a sub image composed of a 3d volume from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractColor (const ipUInt64 zPlanIdx, const ipUInt64 tPlanIdx, const image::BaseImage &inputImage)
 extraction of a sub image composed of color plans from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractColor (const ipUInt64 zPlanIdx, const ipUInt64 tPlanIdx, image::BaseImage &inputImage)
 extraction of a sub image composed of color plans from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractTemporal (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const image::BaseImage &inputImage)
 extraction of a sub image composed of sequence plans from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractTemporal (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, image::BaseImage &inputImage)
 extraction of a sub image composed of sequence plans from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractColorVolume (const ipUInt64 tPlanIdx, const image::BaseImage &inputImage)
 extraction of a sub image composed of a color 3d volume from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractColorVolume (const ipUInt64 tPlanIdx, image::BaseImage &inputImage)
 extraction of a sub image composed of a color 3d volume from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractTemporalVolume (const ipUInt64 cPlanIdx, const image::BaseImage &inputImage)
 extraction of a sub image composed of a sequence 3d volume from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractTemporalVolume (const ipUInt64 cPlanIdx, image::BaseImage &inputImage)
 extraction of a sub image composed of a sequence 3d volume from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractTemporalColor (const ipUInt64 zPlanIdx, const image::BaseImage &inputImage)
 extraction of a sub image composed of sequence color plans from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractTemporalColor (const ipUInt64 zPlanIdx, image::BaseImage &inputImage)
 extraction of a sub image composed of sequence color plans from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractSubSequence (const ipUInt64 temporalStartOffset, const ipUInt64 temporalSize, const image::BaseImage &inputImage)
 extraction of a sub image composed of a sub sequence from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractSubSequence (const ipUInt64 temporalStartOffset, const ipUInt64 temporalSize, image::BaseImage &inputImage)
 extraction of a sub image composed of a sub sequence from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::extractSubVolume (const ipUInt64 volStartOffset, const ipUInt64 volSize, const image::BaseImage &inputImage)
 extraction of a sub image composed of a sub volume from an other image More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::extractSubVolume (const ipUInt64 volStartOffset, const ipUInt64 volSize, image::BaseImage &inputImage)
 extraction of a sub image composed of a sub volume from an other image More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::concatenateSequences (const image::ImageConstPtr &pInputImage1, const image::ImageConstPtr &pInputImage2)
 generation of a sub image composed of the concatenation of two sequence images More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::concatenateSequences (const image::ImagePtr &pInputImage1, const image::ImagePtr &pInputImage2)
 generation of a sub image composed of the concatenation of two sequence images More...
 
PYIPSDKBASE_API image::ImageConstPtr ipsdk::python::concatenateVolumes (const image::ImageConstPtr &pInputImage1, const image::ImageConstPtr &inputImage2)
 generation of a sub image composed of the volume concatenation of two 3d images More...
 
PYIPSDKBASE_API image::ImagePtr ipsdk::python::concatenateVolumes (const image::ImagePtr &pInputImage1, const image::ImagePtr &pInputImage2)
 generation of a sub image composed of the volume concatenation of two 3d images More...
 

Detailed Description

Utility functions for python image management.

Author
E.Noirfalise
Date
2016/06/27