Flips input image along x-axis.
This algorithm flips the input image along its x-axis.
On output image values are given by:
An example of x-flipping is shown below:
Example of Python code :
Example imports
import PyIPSDK
import PyIPSDK.IPSDKIPLGeometricTransform as gtrans
Code Example
utImagesCommonPath = unitTestMonitor.getUTImagesCommonPath()
inImg = PyIPSDK.loadTiffImageFile(os.path.join(utImagesCommonPath, "Lena_510x509_UInt8.tif"))
outImg = gtrans.flipXImg(inImg)
Example of C++ code :
Example informations
Header file
#include <IPSDKIPL/IPSDKIPLGeometricTransform/Processor/FlipXImg/FlipXImg.h>
Code Example
ImagePtr pOutImg = gtrans::flipXImg(pInImg);