15 #ifndef __PYIPSDKBASE_PYTHONIMAGEUTILS_H__ 16 #define __PYIPSDKBASE_PYTHONIMAGEUTILS_H__ 20 #pragma warning (push) 21 #pragma warning (disable : 4244) 27 #include <boost/python/numpy.hpp> 91 fromArray(boost::python::numpy::ndarray& pythonArray);
98 fromRgbArray(boost::python::numpy::ndarray& pythonArray);
121 fromArray(boost::python::numpy::ndarray& pythonArray,
122 const image::BaseImageGeometry&
geometry);
141 const image::BaseImage& inputImage);
146 image::BaseImage& inputImage);
161 const image::BaseImage& inputImage);
164 image::BaseImage& inputImage);
178 const image::BaseImage& inputImage);
181 image::BaseImage& inputImage);
197 const image::BaseImage& inputImage);
201 image::BaseImage& inputImage);
217 const image::BaseImage& inputImage);
221 image::BaseImage& inputImage);
237 const image::BaseImage& inputImage);
241 image::BaseImage& inputImage);
256 const image::BaseImage& inputImage);
259 image::BaseImage& inputImage);
274 const image::BaseImage& inputImage);
277 image::BaseImage& inputImage);
292 const image::BaseImage& inputImage);
295 image::BaseImage& inputImage);
311 const image::BaseImage& inputImage);
315 image::BaseImage& inputImage);
331 const image::BaseImage& inputImage);
335 image::BaseImage& inputImage);
377 #pragma warning (pop) 379 #endif // __PYIPSDKBASE_PYTHONIMAGEUTILS_H__ PYIPSDKBASE_API image::ImageConstPtr extractColor(const ipUInt64 zPlanIdx, const ipUInt64 tPlanIdx, const image::BaseImage &inputImage)
extraction of a sub image composed of color plans from an other image
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
PYIPSDKBASE_API image::ImageConstPtr 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
PYIPSDKBASE_API image::ImageConstPtr extractTemporalVolume(const ipUInt64 cPlanIdx, const image::BaseImage &inputImage)
extraction of a sub image composed of a sequence 3d volume from an other image
PYIPSDKBASE_API PythonImagePtr createImageRgb(const image::eImageBufferType &imageBufferType, const ipUInt64 sizeX, const ipUInt64 sizeY)
function allowing to create a new python rgb 2d image
PYIPSDKBASE_API image::ImageConstPtr 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
PYIPSDKBASE_API image::ImageConstPtr extractTemporalColor(const ipUInt64 zPlanIdx, const image::BaseImage &inputImage)
extraction of a sub image composed of sequence color plans from an other image
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
PYIPSDKBASE_API image::ImageConstPtr 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
PYIPSDKBASE_API PythonImagePtr fromBinaryArray(boost::python::numpy::ndarray &pythonArray)
function allowing to create a python binary image view from an existing array
boost::shared_ptr< BaseImage > ImagePtr
Definition: ImageTypes.h:139
PYIPSDKBASE_API PythonImagePtr createImage(const image::eImageBufferType &imageBufferType, const ipUInt64 sizeX, const ipUInt64 sizeY)
function allowing to create a new python 2d image
Predefined types for python image management.
#define PYIPSDKBASE_API
Import/Export macro for library PyIPSDKBase.
Definition: PyIPSDKBaseExports.h:25
PYIPSDKBASE_API PythonImagePtr fromArray(boost::python::numpy::ndarray &pythonArray)
function allowing to create python image view from an existing array
PYIPSDKBASE_API image::ImageConstPtr extractColorVolume(const ipUInt64 tPlanIdx, const image::BaseImage &inputImage)
extraction of a sub image composed of a color 3d volume from an other image
boost::shared_ptr< PythonCudaImage > PythonCudaImagePtr
Definition: PythonImageTypes.h:44
PYIPSDKBASE_API python::PythonCudaImagePtr createGpuImage(const image::BaseImageGeometry &geometry)
function allowing to create a new gpu image from an existing geometry
PYIPSDKBASE_API image::DistributedImagePtr createDistributedImage(const image::BaseImageGeometry &geometry)
function allowing to create a new distributed image from an existing geometry
boost::shared_ptr< PythonImage > PythonImagePtr
Definition: PythonImageTypes.h:25
IPSDKIMAGE_API ImageGeometryPtr geometry(const eImageBufferType &imageBufferType, const ipUInt64 sizeX, const ipUInt64 sizeY, const VolumeGeometry &volumeGeometry, const ColorGeometry &colorGeometry, const TemporalGeometry &temporalGeometry)
create an image geometry
PYIPSDKBASE_API image::ImageConstPtr concatenateVolumes(const image::ImageConstPtr &pInputImage1, const image::ImageConstPtr &inputImage2)
generation of a sub image composed of the volume concatenation of two 3d images
PYIPSDKBASE_API image::ImageConstPtr 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
Utility functions for image management.
Predefined types for image geometry management.
PYIPSDKBASE_API PythonImagePtr fromRgbArray(boost::python::numpy::ndarray &pythonArray)
function allowing to create a rgb python 2d image view from an existing array
boost::shared_ptr< const BaseImage > ImageConstPtr
Definition: ImageTypes.h:140
PYIPSDKBASE_API PythonImagePtr fromLabelArray(boost::python::numpy::ndarray &pythonArray)
function allowing to create a python label image view from an existing array
boost::shared_ptr< DistributedImage > DistributedImagePtr
Definition: DistributedImageTypes.h:38
Definition of import/export macro for library.
PYIPSDKBASE_API image::ImageConstPtr extractTemporal(const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const image::BaseImage &inputImage)
extraction of a sub image composed of sequence plans from an other image
PYIPSDKBASE_API PythonImagePtr createImageSeq(const image::eImageBufferType &imageBufferType, const ipUInt64 sizeX, const ipUInt64 sizeY, const ipUInt64 sizeT)
function allowing to create a new python sequence 2d image
PYIPSDKBASE_API image::ImageConstPtr concatenateSequences(const image::ImageConstPtr &pInputImage1, const image::ImageConstPtr &pInputImage2)
generation of a sub image composed of the concatenation of two sequence images
eImageBufferType
types associated to image buffers
Definition: ImageTypes.h:78