Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imagery embeded into E57 files #161

Open
antoinebio opened this issue Apr 21, 2024 · 4 comments
Open

imagery embeded into E57 files #161

antoinebio opened this issue Apr 21, 2024 · 4 comments

Comments

@antoinebio
Copy link

hello @dgirardeau

Is it possible to get the pose of imageries stored into E57 files (along with laserscan point) after E57 import ?
The idea is to import photo & external orientation to map a 3D mesh model created on the pointcloud.

Here is an example of a E57 file well being read by CLOUD COMPARE (with Imagery)

image

many thanks
antoine

@prascle
Copy link
Collaborator

prascle commented May 7, 2024

Hello,
Have you tried asking your question on the CloudCompare issues? It looks like a question on CloudCompare. I'm not very familiar with the E57 format and I'm not sure I understand the question...
Best regards,
Paul

@dgirardeau
Copy link
Member

@antoinebio This information is not extracted unless it's a simple pinhole camera (that CC can handle as a 'CameraSensor'). Currently, if it's another projection (fisheye, etc.), then it's ignored.

@antoinebio
Copy link
Author

@dgirardeau , @prascle hello and thank you for the reply.
actually the issue is the following.
I've received a E57 file, containing several TLS stations embeeded in that single E57 file.
please note that each of TLS also contains cubic map imageries. https://en.wikipedia.org/wiki/Cube_mapping
when I load that E57 file into CC, spatial information (or pose) of cubic map image is well being read. No issue;
(The idea is to import photo & external orientation to map a 3D mesh model created on the pointcloud)

now I want to break down those TLS stations and split that single E57 into several E57 files, one per station.
so I pre-process the E57 file in order to break it down into several E57 files per scan station.
I use that script command :
CloudCompare -O <my_single_E57_file>.e57 -C_EXPORT_FMT E57 -SAVE_CLOUDS

but we noticed the resulting E57 files lost spatial information and drop metadata of cubic map image, even though images are well being stored...
when We check the XML structure of the resulting files (using e57xmldump.exe), The images are described by the visualReferenceRepresentation structure. This structure can be used for viewing, but is not suitable for evaluating the position of the scanner in space, so apparently CC skips such images metadata...

does it come from CC library ? Am I understanding well ?
antoine

@dgirardeau
Copy link
Member

Ah sorry, I missed this message, as I don't deal with CloudCompy!

See my answer here: https://www.cloudcompare.org/forum/viewtopic.php?p=29762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants