imagery embeded into E57 files
Posted: Thu Jun 20, 2024 4:45 am
Hello CC community
this is an issue initialy posted here https://github.com/CloudCompare/CloudComPy/issues/161
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
this is an issue initialy posted here https://github.com/CloudCompare/CloudComPy/issues/161
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