IPSDK 0.2
IPSDK : Image Processing Software Development Kit
imagecopyImg (inImg)

Detailed Description

Algorithm allowing to copy an image.

This algorithm allows to copy an image.
Output image type and size is the same as input.
On output image value are given by :

\[ OutImg[i] = InImg[i] \]

Example of Python code :

Example imports

import PyIPSDK
import PyIPSDK.IPSDKIPLUtility as util

Code Example

# opening of input image
inImg = PyIPSDK.loadTiffImageFile(inputImgPath)
# image copy
outImg = util.copyImg(inImg)

Example of C++ code :

Example informations

Header file

#include <IPSDKIPL/IPSDKIPLUtility/Processor/CopyImg/CopyImg.h>

Code Example

// opening input image
ImageGeometryPtr pImageGeometry = geometry2d(imageBufferType, sizeX, sizeY);
ImagePtr pInImg = loadRawImageFile(inputImgPath, *pImageGeometry);
// copy of image
ImagePtr pOutImg = copyImg(pInImg);