Forum

Author Topic: How to solve strange images aligment  (Read 2135 times)

Daniele

  • Newbie
  • *
  • Posts: 17
    • View Profile
How to solve strange images aligment
« on: October 22, 2022, 12:42:17 AM »
Dear all,
I would like to hear if someone can help in understanding this strange photo alignment and maybe find a workaround to solve the problem.
During ROV monitoring, I am acquiring many underwater images along a pipeline with a GoPro action camera (Hero 7 in wide FOV). The images have a good overlap because they are acquired every second.
However, after the alignment process, the images are correctly aligned, but the shape of the sparse point cloud seems a spiral (screen in the attachment). Of course the pipeline is a straight line.
Do you have any idea about this strange behaviour?

Many thanks
Daniele

JMR

  • Hero Member
  • *****
  • Posts: 504
    • View Profile
Re: How to solve strange images aligment
« Reply #1 on: October 23, 2022, 11:08:12 AM »
Precalibrate your camera could be the best solution.

Daniele

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: How to solve strange images aligment
« Reply #2 on: October 24, 2022, 09:56:20 AM »
Precalibrate your camera could be the best solution.
Thanks, JMR,
for calibration, do you mean acquiring photos of the using checkboard and then estimating camera parameters in Agisoft lens?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14890
    • View Profile
Re: How to solve strange images aligment
« Reply #3 on: October 27, 2022, 04:42:20 PM »
Hello Daniele,

Can you please also share the screenshots of Initial and Adjusted tabs from the Camera Calibration dialog and also specify the parameters used for Align Photos operation.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Daniele

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: How to solve strange images aligment
« Reply #4 on: October 27, 2022, 08:27:58 PM »
Hello Daniele,

Can you please also share the screenshots of the Initial and Adjusted tabs from the Camera Calibration dialogue and also specify the parameters used for Align Photos operation.


Hi Alexey,
thank you for taking the time to read this post and helping me again. Your request has unlocked my mind to look probably towards the right direction.

 In fact, on the camera calibration tab, if I set  "auto" in the initial parameters tab, the focus length seems a very odd number (1733.43811), and after image alignment, the adjusted tab remains greyed out. Of course, I get my spirally sparse point cloud :-\ (figure 1)

However, if I chose the precalibrated option and manually set the focal length to 3 mm, the process led to better results because, after image alignment, I can see my images correctly aligned in a straight point cloud representing my pipeline. However, the adjusted tab still remains greyed out and also the elevation seems disappeared because the sparse point cloud is without the z component (Figure 2).

Do you have some suggestions to solve this situation?





Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14890
    • View Profile
Re: How to solve strange images aligment
« Reply #5 on: October 27, 2022, 10:05:27 PM »
Hello Daniele,

Setting "3" as focal length value in Initial tab is not correct, as the value should be in pixels, not in mm, so I suggest to switch it back to Auto option.

However, which value do you get in the Adjusted tab after alignment? Also you may try switching the camera type from Frame to Fisheye, if the images have obvious fisheye distortions.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Daniele

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: How to solve strange images aligment
« Reply #6 on: October 28, 2022, 10:00:06 AM »
Hi Alexey,
I switched to auto and set camera type to fisheye, but the generated point cloud with this setting is more strange than before, without any definable shape.
I am attaching the images with the adjusted parameters after both the alignment (fisheye and frame).

« Last Edit: October 28, 2022, 02:14:11 PM by Daniele »

Paulo

  • Hero Member
  • *****
  • Posts: 1338
    • View Profile
Re: How to solve strange images aligment
« Reply #7 on: October 28, 2022, 07:22:06 PM »
hello Daniele,

i am wondering at what speed is your ROV moving? and what is the exposure time on your pictures? It is possible that the GoPro has a rolling shutter and maybe such compensation could help?
Best Regards,
Paul Pelletier,
Surveyor

Daniele

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: How to solve strange images aligment
« Reply #8 on: October 29, 2022, 08:08:29 PM »
hello Daniele,

i am wondering at what speed is your ROV moving? and what is the exposure time on your pictures? It is possible that the GoPro has a rolling shutter and maybe such compensation could help?




Hello Paulo,
thanks for your suggestion and for sure the GoPro as a rolling shutter but the speed of the rov was very slow less than 1 m/sec. I tried with that option but that compensation the results remain the same.