Is it possible to use CC in command line mode to extract images from E57 files?
(I'm able to do this successfully within the CC GUI, but I am looking for a command line solution?)
I can't seem to find a way to do it in the documentation..
Thank you!!
Extract images from E57 with command line?
Re: Extract images from E57 with command line?
Indeed I don't think this is possible currently.
Daniel, CloudCompare admin
Re: Extract images from E57 with command line?
Hi Daniel,
I also found myself needing to extract a lot of panorama images from e57. I was thrilled CC's UI allowed me to do it, so thanks much for that!
But indeed it was one at a time. And I will be doing much more of this in the future. So a -SAVE_IMAGES command would be useful. Any chance this is on the TODO list?
I code in an obscure language so can't be much help on that request. And I'd be willing to extract the files myself if I understood what I'm looking at.
The e57's XML gives all the info needed to extract the image's blob data (name, format, offset, length, etc). And I verified the head and tail bytes of the e57 blobs conform to jpeg files.
But when I extracted the bytes to a file and gave it a .jpg extension, I got a file that was about 3X the size of CC's and it displayed nothing but a green bar at the top.
I clearly know more about 3D things than 2D image files. :/ Any advice would be welcomed.
I also found myself needing to extract a lot of panorama images from e57. I was thrilled CC's UI allowed me to do it, so thanks much for that!
But indeed it was one at a time. And I will be doing much more of this in the future. So a -SAVE_IMAGES command would be useful. Any chance this is on the TODO list?
I code in an obscure language so can't be much help on that request. And I'd be willing to extract the files myself if I understood what I'm looking at.
The e57's XML gives all the info needed to extract the image's blob data (name, format, offset, length, etc). And I verified the head and tail bytes of the e57 blobs conform to jpeg files.
But when I extracted the bytes to a file and gave it a .jpg extension, I got a file that was about 3X the size of CC's and it displayed nothing but a green bar at the top.
I clearly know more about 3D things than 2D image files. :/ Any advice would be welcomed.
Re: Extract images from E57 with command line?
I guess we can add it to the TODO list of course (https://github.com/CloudCompare/CloudCo ... C/TODO.txt).
But as you can see, it's already pretty crowded!
But as you can see, it's already pretty crowded!
Daniel, CloudCompare admin
Re: Extract images from E57 with command line?
Thanks for adding it, Daniel. Yes, I can see the list is quite long, and includes requests I'd also like to see.
Near-term, I'll either extract them manually or endeavor to learn enough about how CC is doing it to duplicate the process in a small utility program.
Cheers!
Near-term, I'll either extract them manually or endeavor to learn enough about how CC is doing it to duplicate the process in a small utility program.
Cheers!
Re: Extract images from E57 with command line?
Hi Rapper,
can you tell me how you extract panorama from e57 by GUI?
thanks
can you tell me how you extract panorama from e57 by GUI?
thanks
Re: Extract images from E57 with command line?
Hello all,
A bit late I know, but there's a nice little program at http://libe57.org/download.html called e57unpack.exe which can extract the pictures in a breeze alongside orientation parameters (translations and rotations). Make sure you use the --no-points option otherwise it will extract the point cloud data in a csv file which takes forever.
Thomas
A bit late I know, but there's a nice little program at http://libe57.org/download.html called e57unpack.exe which can extract the pictures in a breeze alongside orientation parameters (translations and rotations). Make sure you use the --no-points option otherwise it will extract the point cloud data in a csv file which takes forever.
Thomas
-
- Posts: 1
- Joined: Wed Sep 20, 2023 11:39 am
Re: Extract images from E57 with command line?
Can you give me a sample of how exactly to write a command to convert a panorama to a JPG?Thomas L. wrote: ↑Thu Jun 08, 2023 5:40 pm Hello all,
A bit late I know, but there's a nice little program at http://libe57.org/download.html called e57unpack.exe which can extract the pictures in a breeze alongside orientation parameters (translations and rotations). Make sure you use the --no-points option otherwise it will extract the point cloud data in a csv file which takes forever.
Thomas
Thanks.
Re: Extract images from E57 with command line?
.
It might be a bit late, but for anyone who stumbles upon this thread the way is to download the libe57 software, and inside the "bin" folder one can find the e57unpack.exe. Then is just a matter of running via the command line the following command:
This will create a folder of the same name as the source file and inside there will be the cube faces images of all scans inside the E57. This will only work if the E57 itself has images as panoramas, like it happens with pointclouds created with Leica scanners.
It might be a bit late, but for anyone who stumbles upon this thread the way is to download the libe57 software, and inside the "bin" folder one can find the e57unpack.exe. Then is just a matter of running via the command line the following command:
Code: Select all
e57unpack.exe source-file-name.e57 --no-points
This will create a folder of the same name as the source file and inside there will be the cube faces images of all scans inside the E57. This will only work if the E57 itself has images as panoramas, like it happens with pointclouds created with Leica scanners.
Re: Extract images from E57 with command line?
Thanks, Darius_bd!
Just want to note, that libe57 V1.1.312 from the http://www.libe57.org/ website seems to not have extracting images feature.
I've successfully used later 332 build from sourceforge https://sourceforge.net/projects/e57-3d ... n/1.1.332/
Regards, Egor
Just want to note, that libe57 V1.1.312 from the http://www.libe57.org/ website seems to not have extracting images feature.
I've successfully used later 332 build from sourceforge https://sourceforge.net/projects/e57-3d ... n/1.1.332/
Regards, Egor