Forum

Author Topic: [2.0.1] : Cannot perform structured scan alignement with externals images  (Read 3369 times)

Je3D

  • Newbie
  • *
  • Posts: 14
    • View Profile
Hello,

I try to merge phtogrammetry with laser scans with Metashape Pro 2.0.1 following this tutorial : https://agisoft.freshdesk.com/support/solutions/articles/31000168474-terrestrial-laser-scans-processing-in-metashape-2-0-0

It seems Metashape doesn't detect any point in "point detection" step for terrestrial laserscan spherical photos.

Is someone have a solution ?

Best regards.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14968
    • View Profile
Hello Je3D,

Can you provide the processing log related to the point detection phase of a few laser scans with the task starting line also displayed in the log?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Je3D

  • Newbie
  • *
  • Posts: 14
    • View Profile
Thanks for your answer.

Here is the log :

Quote
2023-03-09 10:54:49 Finished processing in 0 sec (exit code 1)
2023-03-09 10:54:56 checking for missing images...Checking for missing images...
2023-03-09 10:54:56  done in 0.007 sec
2023-03-09 10:54:56 Finished processing in 0.007 sec (exit code 1)
2023-03-09 10:54:57 AlignPhotos: accuracy = Medium, preselection = generic, keypoint limit = 40000, keypoint limit per mpx = 40000, tiepoint limit = 25000, apply masks = 0, filter tie points = 0, filter stationary points = 0, guided matching = 0, adaptive fitting = 0
2023-03-09 10:54:57 Matching photos...
2023-03-09 10:54:57 saved matching data in 0.002 sec
2023-03-09 10:54:57 scheduled 9 keypoint detection groups
2023-03-09 10:54:57 saved keypoint partition in 0.002 sec
2023-03-09 10:54:57 groups: 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1998 1980
2023-03-09 10:54:57 82504 of 1045 used (7895.12%)
2023-03-09 10:54:57 scheduled 86 keypoint matching groups
2023-03-09 10:54:57 saved matching partition in 0.003 sec
2023-03-09 10:54:57 loaded keypoint partition in 0 sec
2023-03-09 10:54:57 loaded matching data in 0 sec
2023-03-09 10:54:57 Detecting points...
2023-03-09 10:54:57 Found 1 GPUs in 0.049 sec (CUDA: 0.025 sec, OpenCL: 0.024 sec)
2023-03-09 10:54:57 Using device: NVIDIA GeForce RTX 3070, 46 compute units, free memory: 6456/8191 MB, compute capability 8.6
2023-03-09 10:54:57   driver/runtime CUDA: 11070/10010
2023-03-09 10:54:57   max work group size 1024
2023-03-09 10:54:57   max work item sizes [1024, 1024, 64]
2023-03-09 10:55:04 [GPU] photo 0: 0 points
2023-03-09 10:55:12 [GPU] photo 9: 0 points
2023-03-09 10:55:20 [GPU] photo 18: 3 points
2023-03-09 10:55:27 [GPU] photo 27: 1 points
2023-03-09 10:55:35 [GPU] photo 36: 0 points
2023-03-09 10:55:43 [GPU] photo 45: 0 points
2023-03-09 10:55:43 loaded keypoint partition in 0 sec
2023-03-09 10:55:43 loaded matching partition in 0.001 sec

I compared with v 1.7.6 who works fine with spherical photos alignement, it seems spherical images from scan are not recognized as spherical in camera calibration panel.

e57 cloud with included spherical images was exported with Register 360 and scan was performed with Leica RTC 360.

When importing in Metashape 2.0.1, spherical images had same name : "Panorama"
« Last Edit: March 09, 2023, 01:36:27 PM by Je3D »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14968
    • View Profile
Hello Je3D,

How many enabled images and enabled panormas, included to the laser scans, were there in the project? Please also specify, if laser scans have "lock transform" option enabled (via the context menu of the Worksapce pane).

And what is the resolution of the photos in chunk? As it seems strange that so few points are detected.

Spherical panoramas related to the laser scans are not displayed in Camera Calibration - it has been done by a purpose.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Je3D

  • Newbie
  • *
  • Posts: 14
    • View Profile
Hello Alexey,

I tried with different enabled images and panoramas enabled :

- only 68 panoramas
- 68 panoramas and 50 images
- 68 panoramas and 5000 images

panoramas resolution : 20480x10240 px
images (DSLR Nikon D7200) : 6000x4000 px

I looks like Metashape have to tile panoramas before processing. When I import panoramas with v 1.7.6 (perfectly works),spherical images resolution is : 2496x1248 (so resolution could be the problem)

I also tried with and without transformation lock : same result...

Best regards.

Je3D

  • Newbie
  • *
  • Posts: 14
    • View Profile
Hello Alexey,

I also tried with cubemap photos (5000x5000 px x 6 by station) instead of spherical photos. Same result : most of the time detects 0 points, sometimes 1, 2...

I guess it is not a resolution problem.

Maybe should I send you a sample of scan and photos ?
« Last Edit: March 14, 2023, 02:07:25 PM by Je3D »

Je3D

  • Newbie
  • *
  • Posts: 14
    • View Profile
Hello Alexey,

I made a try with another workflow to check if problem comes from spherical photos or exported e57 format.

1) open the e57 in a third party software (CloudCompare)
2) export panoramas in jpg format ( 20480x10240 px)
3) Import panoramas in metashape
4) Set them as spherical in calibration panel
5) Align photos

Perfectly works.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14968
    • View Profile
Hello Je3D,

Sure, please send a couple of problematic examples (for example, as spherical image and cubemap) to support@agisoft.com, we will check, what is wrong and whether it can be fixed on Metashape side.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Je3D

  • Newbie
  • *
  • Posts: 14
    • View Profile
Hello, seems fixed in 2.0.2 pre-release.

Thanks