# Loading a Pixel Container File

## Loading images and depth maps

* Use the method [`EBaseROI::Load`](../../../doxygen_cpp/classeVision_1_1EBaseROI.html#a993f2416a63b523d6b1a89b1b4f9310d) [<sub>.NET</sub>](../../../doxygen_cs/classeVision_1_1EBaseROI.html#ab468012a82769c1902eaefde4a1a74b1) [<sub>Python</sub>](../../../doxygen_python/classeVision_1_1EBaseROI.html#a6203404de61357bdbae378e32144fe91) to load image data into an image object.
  * It has only the argument `path` that 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`](../../../doxygen_cpp/classeVision_1_1EBaseROI.html#a993f2416a63b523d6b1a89b1b4f9310d) [<sub>.NET</sub>](../../../doxygen_cs/classeVision_1_1EBaseROI.html#ab468012a82769c1902eaefde4a1a74b1) [<sub>Python</sub>](../../../doxygen_python/classeVision_1_1EBaseROI.html#a6203404de61357bdbae378e32144fe91) 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`](../../../doxygen_cpp/classeVision_1_1Easy3D_1_1EPointCloud.html#aa9ce04d856fb9cf599cee08da4589ff5) [<sub>.NET</sub>](../../../doxygen_cs/classeVision_1_1Easy3D_1_1EPointCloud.html#a1259d47af6c253ca750cc7baa763f0a1) [<sub>Python</sub>](../../../doxygen_python/classeVision_1_1Easy3D_1_1EPointCloud.html#ae7cfeb8b0e259e9c3d1663536dec18f3): **eVision** proprietary file format.
* [`EPointCloud::LoadCSV`](../../../doxygen_cpp/classeVision_1_1Easy3D_1_1EPointCloud.html#a6bf61bbbc552846faf3e1984ff14ec9b) [<sub>.NET</sub>](../../../doxygen_cs/classeVision_1_1Easy3D_1_1EPointCloud.html#ad6fd4b298df9fc5d340fc26f1ddb910b) [<sub>Python</sub>](../../../doxygen_python/classeVision_1_1Easy3D_1_1EPointCloud.html#a9540d3ba0dae9aa47a607738d12d862f): CSV file.
* [`EPointCloud::LoadOBJ`](../../../doxygen_cpp/classeVision_1_1Easy3D_1_1EPointCloud.html#a43eeee3d4999ae18e0412e2b8048b32b) [<sub>.NET</sub>](../../../doxygen_cs/classeVision_1_1Easy3D_1_1EPointCloud.html#a4e93114e82d5fb8e903101d8126d8925) [<sub>Python</sub>](../../../doxygen_python/classeVision_1_1Easy3D_1_1EPointCloud.html#a48512fe7389c3c64df0bd08b37d30d3a): OBJ file.
* [`EPointCloud::LoadPCD`](../../../doxygen_cpp/classeVision_1_1Easy3D_1_1EPointCloud.html#a93d3b000d4e162ff03ba096c6f91b728) [<sub>.NET</sub>](../../../doxygen_cs/classeVision_1_1Easy3D_1_1EPointCloud.html#af0216aaf6f36ffdc78b479f677d0c653) [<sub>Python</sub>](../../../doxygen_python/classeVision_1_1Easy3D_1_1EPointCloud.html#a57eb5c9e1c36024ec9423e88583ed19f): PCD file (supported in ASCII and binary modes).
* [`EPointCloud::LoadPLY`](../../../doxygen_cpp/classeVision_1_1Easy3D_1_1EPointCloud.html#a9a1c3437224d1a2ad29b7c2ed1b937a6) [<sub>.NET</sub>](../../../doxygen_cs/classeVision_1_1Easy3D_1_1EPointCloud.html#a4de87bee9ba6c5ca87603d0431ff78d1) [<sub>Python</sub>](../../../doxygen_python/classeVision_1_1Easy3D_1_1EPointCloud.html#aee71eec7d2a44242d9cc85c4e1425152): PLY file (supported only in ASCII mode).
* [`EPointCloud::LoadXYZ`](../../../doxygen_cpp/classeVision_1_1Easy3D_1_1EPointCloud.html#a9440a9556efaa291a2b914277551dad2) [<sub>.NET</sub>](../../../doxygen_cs/classeVision_1_1Easy3D_1_1EPointCloud.html#ad283b6df27486cc030788d1d4d0abab7) [<sub>Python</sub>](../../../doxygen_python/classeVision_1_1Easy3D_1_1EPointCloud.html#af0aa013860d2d665d3492b130f71e1bf): XYZ file.
