Forum

Author Topic: Checker grid like lines in depth map generation.  (Read 5714 times)

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Checker grid like lines in depth map generation.
« on: January 18, 2020, 12:32:46 PM »
In the latest 1.6 version I've noticed for some of my models when generating mesh using depth maps on high, it tends to produce small vertical and horizontal line in the mesh. They can be smoothed out somewhat.

If you imagine an actual checker board, the white and black pairs of squares are slightly different heights, so for a given square, the one diagonally opposite has the same height.

+ What is a good way to attach the project files here?
« Last Edit: January 18, 2020, 12:41:57 PM by BinaryEclipse »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14004
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #1 on: January 18, 2020, 05:26:02 PM »
Hello BinaryEclipse,

Can you please send the related project files as a download link to support@agisoft.com?
Best regards,
Alexey Pasumansky,
Agisoft LLC

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #2 on: January 19, 2020, 03:12:00 AM »
Thanks Alexey, I'll try to put upload it to google drive or something. Fortunately this example has only 52 photos, but it happens with larger sets as well.

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #3 on: January 19, 2020, 01:17:49 PM »
Sent the email. It's different each time I regenerate the depth maps, sometimes it's just 1 square in a corner, sometimes it's 16 smaller ones, sometimes they appear off axis. They're not always on the subject if I mask out everything, but will almost always be on the turntable if I mask out the subject/background(maybe because it's larger). I forgot to include in the email, I'm using an 1800x, 48 GB ram, 5700 XT + Fury X.

https://drive.google.com/drive/folders/1ahCOzZnAF4kNqzTnQnkqLzqNIw2FcClQ
« Last Edit: January 19, 2020, 02:08:13 PM by BinaryEclipse »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14004
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #4 on: January 19, 2020, 02:44:48 PM »
Hello BinaryEclipse,

Thank you for sharing the data, we will check that.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Vlad

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #5 on: January 20, 2020, 04:44:23 AM »
can confirm bug.
looks like depth map used for mesh are 8bit.
and this bug from beta versions.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14004
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #6 on: January 20, 2020, 12:40:24 PM »
Hello BinaryEclipse, hello Vlad,

Can you please confirm that the issue is still observed in the version 1.6.1 build 10009?

If the issue is still there, please provide the processing logs.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Mak11

  • Sr. Member
  • ****
  • Posts: 371
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #7 on: January 20, 2020, 09:13:34 PM »
Alexey,

1.6.1 did fix my issues reported last month (https://www.agisoft.com/forum/index.php?topic=11331.msg52331#msg52331) 👍🏼 not sure if they are related to the one reported here but make sure to regenerate the depth maps and not re-use them after installing v1.6.1.

cheers

Mak

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #8 on: January 21, 2020, 05:20:49 AM »
Still happening for me, the major ones on the turntable stopped(for this image set at least) but they still show up on the model. I've encountered the bug mentioned by Vlad and Mak one time(with a different model) where it looks like low bit depth, but I think this is a different issue.

I've attached the log after rerunning alignment, optimize and mesh.
« Last Edit: January 21, 2020, 08:22:25 AM by BinaryEclipse »

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #9 on: January 21, 2020, 08:29:43 AM »
Just for fun, here are the logs for another model. As a zip because it's from a much larger image set.
« Last Edit: January 21, 2020, 10:30:03 AM by BinaryEclipse »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14004
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #10 on: January 23, 2020, 06:30:21 PM »
Hello BinaryEclipse,

We are not observing this issue on our side.

I can suggest to run Build Mesh operation (you can re-use the depth maps) with only GPUs enabled and if the issue is reproduced, try to use only one of them at a time and check, if the results are difference for each run (with a single GPU utilized). If GPU run is fine, then try to use CPU only and also check the result.
Best regards,
Alexey Pasumansky,
Agisoft LLC

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #11 on: January 24, 2020, 02:30:26 AM »
Alexey, I think the issue is related to using 5700 XT in combination. The lines go away only if the XT is used on it's own or disabled. They come back if XT is used in combination with the Fury X, CPU, or Fury X + CPU.

In one case I ran build mesh on a different image set that had a bad alignment, one section was raised by about 3x more than I usually see. Maybe the values for alignment aren't always the same for XT?
« Last Edit: January 24, 2020, 08:20:52 AM by BinaryEclipse »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14004
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #12 on: January 24, 2020, 12:50:21 PM »
Hello BinaryEclipse,

Thanks for additional input, we'll try to reproduce it using 5700XT in combination with other cards.

Which AMD driver version you have installed and which OS version is used?
Best regards,
Alexey Pasumansky,
Agisoft LLC

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #13 on: January 25, 2020, 02:00:10 AM »
Radeon 20.1.1, and Windows 10 Pro Version 10.0.18362 Build 18362

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #14 on: February 11, 2020, 04:32:33 AM »
Any progress on reproducing this Alexey?