Loading a Pixel Container File¶
Loading images and depth maps¶
Use the method
EBaseROI::Load.NET Python to load image data into an image object.It has only the argument
paththat includes the path, filename and file name extension.The file type is determined by the file format.
The destination image is automatically resized according to the size of the image on disk.
EBaseROI::Load.NET Python throws an exception when:The file type identification fails.
The file type is incompatible with the pixel type of the image object.
Note
When loading a BW16 image (with integer values) in a depth map, the fixed point precision set in the depth map (0 by default) is left unchanged and used.
Note
Some image file types may contain EXIF metadata indicating the orientation or cropping of the image. These metadata are not taken into consideration when opening an image.
Loading point clouds¶
Use the following methods to load a point cloud saved in a specific format:
EPointCloud::Load.NET Python: eVision proprietary file format.EPointCloud::LoadCSV.NET Python: CSV file.EPointCloud::LoadOBJ.NET Python: OBJ file.EPointCloud::LoadPCD.NET Python: PCD file (supported in ASCII and binary modes).EPointCloud::LoadPLY.NET Python: PLY file (supported only in ASCII mode).EPointCloud::LoadXYZ.NET Python: XYZ file.