IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit

Read an Im6 image using IPSDK. More...

IPSDKIMAGEFILE_API ImagePtr ipsdk::image::file::loadIm6ImageFile (const boost::filesystem::path &im6FilePath)
 function allowing to load a im6 image file More...
 
IPSDKIMAGEFILE_API void ipsdk::image::file::loadIm6ImageFile (const boost::filesystem::path &im6FilePath, const ImagePtr &pOutImg)
 function allowing to load a im6 image file More...
 

Detailed Description

Read an Im6 image using IPSDK.

This page briefly presents how to load an image from an IM6 file using IPSDK.

Read an image from an IM6 file in C++

First, the header to include to load and save an image from an IM6 file is :

The following instruction allows to load an image from an IM6 file :

ImagePtr pImg = loadIm6ImageFile(imageFilePath);

Since im6 files only known by Visilog, we don't need to write images to IM6 file with IPSDK. To save an image, please use RAW (see Raw image files) or TIFF format (see Tiff image files).

Read an image from an IM6 file in Python

In Python, the following command line shows how to read an image from an IM6 file :

# Load an image
img = PyIPSDK.loadIm6ImageFile(inputImgPath)

Function Documentation

◆ loadIm6ImageFile() [1/2]

IPSDKIMAGEFILE_API ImagePtr ipsdk::image::file::loadIm6ImageFile ( const boost::filesystem::path &  im6FilePath)

function allowing to load a im6 image file

Exceptions
ipsdk::image::file::IPSDKImageFileExceptionon failure

◆ loadIm6ImageFile() [2/2]

IPSDKIMAGEFILE_API void ipsdk::image::file::loadIm6ImageFile ( const boost::filesystem::path &  im6FilePath,
const ImagePtr pOutImg 
)

function allowing to load a im6 image file

Exceptions
ipsdk::image::file::IPSDKImageFileExceptionon failure