![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Namespace aggregating basic image tools components. More...
Classes | |
| class | IPSDKBaseImageToolsException |
| Exception class for library IPSDKBaseImageTools. More... | |
Typedefs | |
| typedef std::set< eFormulaImageId > | FormulaImageIdSet |
| collection of image identifiers | |
| typedef boost::shared_ptr< ImageFormulaManager > | ImageFormulaManagerPtr |
| typedef boost::shared_ptr< const ImageFormulaManager > | ImageFormulaManagerConstPtr |
Functions | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API const T * | extractBufferData (const CudaImage &cudaImg, const ipUInt64 deviceIdx) |
| Extracts a buffer data from a CudaImage as a const T* data. | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API T * | extractBufferData (CudaImage &cudaImg, ipUInt64 deviceIdx) |
| Extracts a buffer data from a CudaImage as a T* data. | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API const T * | extractBufferData (const CudaImage &cudaImg, const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx) |
| Extracts a buffer data from a CudaImage as a const T* data. | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API T * | extractBufferData (CudaImage &cudaImg, const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx) |
| Extracts a buffer data from a CudaImage as a T* data. | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API const std::vector< const T * > | extractBufferDataColl (const CudaImage &cudaImg) |
| Creates a std::vector containing the buffers of all the plan of an image. | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API const std::vector< T * > | extractBufferDataColl (CudaImage &cudaImg) |
| Creates a std::vector containing the buffers of all the plan of an image. | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API const T ** | extractBufferDataCollToGpu (const CudaImage &cudaImg) |
| Exports the std::vector created by extractBufferDataColl to gpu. | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API T ** | extractBufferDataCollToGpu (CudaImage &cudaImg) |
| Exports the std::vector created by extractBufferDataColl to gpu. | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API void | freeBufferDataColl (const T **pDeviceData) |
| Free the vector allocated by extractBufferDataColl. | |
| template<typename T > | |
| IPSDKBASEIMAGETOOLS_API void | freeBufferDataColl (T **pDeviceData) |
| IPSDKBASEIMAGETOOLS_API std::string | implementGetPixel2d (const eImageBufferType &bufType) |
| Function implementing in a std::string the access to a pixel in a buffer. The output contains the function that can be called inside a GPU kernel: T1 getPixel2d(__global const T1* in, const unsigned long sizeX, const unsigned long sizeY, const int x, const int y, const int z, const int borderPolicyType, const T1 outOfImageValue) "T1" is replaced by the standard type associated to bufType borderPolicyType describes the border policy and can equal: More... | |
| IPSDKBASEIMAGETOOLS_API std::string | implementCopyDataToLocalMemory2d (const eImageBufferType &bufTypeIn, const eImageBufferType &bufTypeOut, const int groupSizeX, const int groupSizeY, const int localSizeX, const int localSizeY) |
| Function implementing in a std::string the copy of a part of an input buffer into a local buffer. The output contains the function that can be called inside a GPU kernel: void copyDataToLocalMemory2d(__global const T1* in, const ulong sizeX, const ulong sizeY, const ulong localSizeX, const ulong localSizeY, const int paddingX, const int paddingY, const int borderPolicyType, const T1 outOfImageValue, __local T2* localImage) "T1" and "T2" are replaced by the standard type associated to bufType borderPolicyType describes the border policy and can equal: More... | |
| IPSDKBASEIMAGETOOLS_API std::string | implementConvert (const eImageBufferType &bufTypeIn, const eImageBufferType &bufTypeOut) |
| Function implementing in a std::string the type conversion of the input value. The output contains the function that can be called inside a GPU kernel: T2 cast_T1_to_T2(const T1 in) "T1" and "T2" are replaced by the standard type associated to bufType, e.g. uint cast_short_to_uint(const short in) | |
| IPSDKBASEIMAGETOOLS_API std::string | generateConvertType (const ipsdk::image::eImageBufferType &bufType) |
| According to an image buffer type, the functions returns a string of the standard type (e.g. eImageBufferType::eIBT_Int8 -> "char", eImageBufferType::eIBT_UInt32 -> "uint") | |
| IPSDKBASEIMAGETOOLS_API void | replaceAllOccurrences (const std::string &templateStr, const std::string &newStr, std::string &srcStr) |
| Replaces all occurrences of a template templateStr in srcStr by another string newStr. srcStr is overwritten. Example: srcStr = "T1 x;", templateStr = "T1", newStr = "int" -> srcStr becomes "int x;". | |
| IPSDKBASEIMAGETOOLS_API const std::string & | getIPSDKBaseImageToolsLoggerName () |
| Recovery of logger name associated to library. | |
| IPSDKBASEIMAGETOOLS_API log4cplus::Logger & | getIPSDKBaseImageToolsLogger () |
| Recovery of logger associated to library. | |
| IPSDKBASEIMAGETOOLS_API const ipsdk::LogMessageManager & | getIPSDKBaseImageToolsLogMessageManager () |
| Recovery of message manager associated to library. | |
Namespace aggregating basic image tools components.
| typedef boost::shared_ptr<ImageFormulaManager> ipsdk::image::tools::ImageFormulaManagerPtr |
shared pointer to ImageFormulaManager object
| typedef boost::shared_ptr<const ImageFormulaManager> ipsdk::image::tools::ImageFormulaManagerConstPtr |
shared pointer to ImageFormulaManager object
Enumerate describing messages.
| IPSDKBASEIMAGETOOLS_API std::string ipsdk::image::tools::implementGetPixel2d | ( | const eImageBufferType & | bufType | ) |
Function implementing in a std::string the access to a pixel in a buffer. The output contains the function that can be called inside a GPU kernel: T1 getPixel2d(__global const T1* in, const unsigned long sizeX, const unsigned long sizeY, const int x, const int y, const int z, const int borderPolicyType, const T1 outOfImageValue) "T1" is replaced by the standard type associated to bufType borderPolicyType describes the border policy and can equal:
| IPSDKBASEIMAGETOOLS_API std::string ipsdk::image::tools::implementCopyDataToLocalMemory2d | ( | const eImageBufferType & | bufTypeIn, |
| const eImageBufferType & | bufTypeOut, | ||
| const int | groupSizeX, | ||
| const int | groupSizeY, | ||
| const int | localSizeX, | ||
| const int | localSizeY | ||
| ) |
Function implementing in a std::string the copy of a part of an input buffer into a local buffer. The output contains the function that can be called inside a GPU kernel: void copyDataToLocalMemory2d(__global const T1* in, const ulong sizeX, const ulong sizeY, const ulong localSizeX, const ulong localSizeY, const int paddingX, const int paddingY, const int borderPolicyType, const T1 outOfImageValue, __local T2* localImage) "T1" and "T2" are replaced by the standard type associated to bufType borderPolicyType describes the border policy and can equal:
1.8.14