Forum

Author Topic: Build texture crash  (Read 7459 times)

JulienC

  • Newbie
  • *
  • Posts: 1
    • View Profile
Build texture crash
« on: August 27, 2013, 05:58:12 AM »
Hi,

I am currently testing Photoscan Pro 0.9.1 ability to reconstruct large outdoor scene from multiple spherical panoramas(Photoscan Pro presales tests).

I've configured the camera type for my picture :
  • Spherical

Aligned Photos :
  • Accuracy -> High
  • Pair preselection -> Disabled

Built geometry :
  • Object type -> Arbitrary
  • Geometry type -> Sharp
  • Target quality -> Ultra High
  • Face count -> 1 000 000
  • Filter threshold -> 0.5
  • Hole threshold -> 0.1 (can't edit)

Built Texture :
  • Mapping mode -> Spherical
  • Blending mode -> Average
  • Target quality -> Ultra High
  • Fill holes -> checked or not
  • Atlas width & height -> 2048
  • Color depth -> Standard 24bit

And troubles come from this step ... the software crash.
As i am pretty new to Photoscan, am i doing something wrong?
Can such reconstruction can be really achieved with Photoscan?(sample spherical photos are available at http://www.synergie-it.nc/Images.zip ).

Thanks in advance

Regards,

Julien

ps : Here is the detail of the crash:

ARB_texture_non_power_of_two: Yes
ARB_vertex_buffer_object: Yes
Email: julien.collet@synergie-it.nc
OpenGLMaxTextureSize: 16384
OpenGLRenderer: GeForce GTX 460/PCIe/SSE2
OpenGLStereo: No
OpenGLVendor: NVIDIA Corporation
OpenGLVersion: 4.3.0
ProductName: PhotoScan Professional Edition
System: Windows 64bit
SystemMemory: 6.00 GB
Throttleable: 1
URL:
Vendor: Agisoft
Version: 0.9.1.1714
XLog: npair 3 and 5: 210 robust from 5147
pair 3 and 1: 464 robust from 5131
pair 4 and 2: 456 robust from 5056
pair 3 and 6: 334 robust from 5047
pair 4 and 1: 129 robust from 4924
pair 0 and 3: 56 robust from 4804
pair 2 and 5: 126 robust from 4626
pair 0 and 4: 279 robust from 4604
pair 2 and 6: 69 robust from 4558
pair 1 and 5: 72 robust from 4534
pair 1 and 6: 177 robust from 4443
pair 0 and 5: 46 robust from 4228
pair 0 and 6: 82 robust from 4189
adding photos 5 and 6 (1500 robust)
adding 3817 points, 4 far (5.25 threshold), 1221 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.865743 -> 0.628055
adding 1142 points, 2 far (5.25 threshold), 2292 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.694239 -> 0.573049
adding 2273 points, 1 far (5.25 threshold), 2829 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.714434 -> 0.681923
adding 2822 points, 0 far (5.25 threshold), 2549 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.698519 -> 0.641344
adding 2565 points, 1 far (5.25 threshold), 2753 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.68286 -> 0.656235
adding 2710 points, 0 far (5.25 threshold), 2810 inaccurate, 0 invisible
optimized in 3.456 seconds
adding photo 0 (3 of 7), 510 of 540 used
adding photo 3 (4 of 7), 549 of 564 used
adding photo 4 (5 of 7), 605 of 625 used
adding photo 1 (6 of 7), 489 of 541 used
adding photo 2 (7 of 7), 547 of 573 used
adding 9135 points, 455 far (5.25 threshold), 4903 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 1.56739 -> 1.17939
adding 4850 points, 285 far (5.25 threshold), 5955 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 1.53634 -> 1.41581
adding 6027 points, 313 far (5.25 threshold), 4262 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 1.30205 -> 1.20673
adding 4650 points, 273 far (5.25 threshold), 5159 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 1.3018 -> 1.2828
adding 5498 points, 265 far (5.25 threshold), 4626 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 1.22282 -> 1.20182
adding 4901 points, 264 far (5.25 threshold), 5128 inaccurate, 0 invisible
optimized in 3.805 seconds
3 sigma filtering...
bundle_adjust: xxxxxxxxxxxx 1.2721 -> 1.25202
point variance: 1.25197
adding 5202 points, 466 far (3.7559 threshold), 4642 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxx 0.986321 -> 0.954294
point variance: 0.954255
adding 4785 points, 497 far (2.86277 threshold), 5448 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxxxxxxxxxx 0.85157 -> 0.840629
point variance: 0.840572
adding 5658 points, 441 far (2.52172 threshold), 5371 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxxxxxxx 0.778286 -> 0.767781
point variance: 0.767724
adding 5285 points, 416 far (2.30317 threshold), 5207 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxxxx 0.723769 -> 0.716412
point variance: 0.716347
adding 5540 points, 425 far (2.14904 threshold), 5043 inaccurate, 0 invisible
optimized in 0.811 seconds
fx 557.042, fy 557.042, cx 1750, cy 875, k1 0, k2 0, k3 0
fx 557.042, fy 557.042, cx 1750, cy 875, k1 0, k2 0, k3 0
finished sfm in 10.201 seconds
Finished processing in 40.707 sec (exit code 1)
Using device: GeForce GTX 460, 7 compute units, 1024 MB global memory
  max work group size 1024
  max work item sizes [1024, 1024, 64]
  max mem alloc size 256 MB
initializing...
selected 3 cameras from 7 in 0.002 sec
Loading photos...
Reconstructing depth...
[GPU] estimating 1750x3500x224 disparity using 584x584x8u tiles, offset 0
[CPU] estimating 1750x3500x352 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 0.921 disparity: 14.199 borders: 0.544 filter: 0.695 fill: 0
[GPU] estimating 1750x3500x224 disparity using 584x584x8u tiles, offset 0
timings: rectify: 1.016 disparity: 29.764 borders: 0.287 filter: 0.504 fill: 0
timings: rectify: 0.89 disparity: 11.792 borders: 0.451 filter: 0.514 fill: 0
[GPU] estimating 1750x3500x352 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.47 disparity: 7.708 borders: 0.348 filter: 0.476 fill: 0
finished depth reconstruction in 44.35 seconds
Device 1 performance: 81.52 million samples/sec (CPU)
Device 2 performance: 190.744 million samples/sec (GeForce GTX 460)
Total performance: 272.264 million samples/sec
Generating mesh...
resolution: 0.00193935
grid size: 109991x59807x60818
Error: bad allocation
Finished processing in 61.532 sec (exit code -1)
Generating mesh...
resolution: 0.00193935
grid size: 109991x59807x60818
Error: bad allocation
Finished processing in 35.605 sec (exit code -1)
Detecting points...
photo 1: 29454 points
photo 2: 29953 points
photo 3: 29556 points
photo 4: 29474 points
photo 5: 29915 points
photo 6: 29947 points
photo 7: 30064 points
Matching points...
setting point indices... 21018 done in 0.003 sec
removed 2671 multiple projections
removed 29 points
generated 20989 tie points, 3.31955 average projections
finished matching: detect points 11.381, select points 0, select matches 0, match points 11.559
Estimating scene structure...
group size: 7 photos
pair 1 and 2: 1093 robust from 7174
pair 3 and 4: 1441 robust from 6789
pair 5 and 6: 1443 robust from 6761
pair 0 and 1: 891 robust from 6226
pair 4 and 5: 917 robust from 6108
pair 0 and 2: 646 robust from 5586
pair 3 and 2: 616 robust from 5580
pair 4 and 6: 503 robust from 5344
pair 3 and 5: 579 robust from 5144
pair 3 and 1: 486 robust from 5131
pair 4 and 2: 160 robust from 5059
pair 3 and 6: 501 robust from 5045
pair 4 and 1: 165 robust from 4931
pair 0 and 3: 165 robust from 4807
pair 2 and 5: 240 robust from 4621
pair 0 and 4: 203 robust from 4608
pair 2 and 6: 183 robust from 4561
pair 1 and 5: 161 robust from 4532
pair 1 and 6: 104 robust from 4443
pair 0 and 5: 77 robust from 4224
pair 0 and 6: 76 robust from 4190
adding photos 5 and 6 (1443 robust)
adding 5751 points, 5 far (5.25 threshold), 719 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 1.02646 -> 0.625756
adding 558 points, 6 far (5.25 threshold), 1551 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.580329 -> 0.461391
adding 710 points, 4 far (5.25 threshold), 2227 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.492431 -> 0.483954
adding 1702 points, 4 far (5.25 threshold), 1725 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.495693 -> 0.486372
adding 1595 points, 5 far (5.25 threshold), 1603 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.490669 -> 0.486895
adding 1716 points, 5 far (5.25 threshold), 1696 inaccurate, 0 invisible
optimized in 0.34 seconds
adding photo 3 (3 of 7), 579 of 739 used
adding photo 4 (4 of 7), 937 of 983 used
adding 7934 points, 330 far (5.25 threshold), 3724 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 1.01371 -> 0.755065
adding 3613 points, 54 far (5.25 threshold), 4734 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.856187 -> 0.776211
adding 3937 points, 48 far (5.25 threshold), 3993 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.78196 -> 0.767982
adding 3771 points, 48 far (5.25 threshold), 3718 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.78324 -> 0.771546
adding 3486 points, 47 far (5.25 threshold), 3489 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.755931 -> 0.75031
adding 3639 points, 49 far (5.25 threshold), 3555 inaccurate, 0 invisible
optimized in 0.718 seconds
adding photo 0 (5 of 7), 586 of 733 used
adding photo 1 (6 of 7), 764 of 909 used
adding photo 2 (7 of 7), 965 of 1053 used
adding 9200 points, 659 far (5.25 threshold), 4242 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 1.04406 -> 0.870162
adding 4287 points, 207 far (5.25 threshold), 5057 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.93186 -> 0.877266
adding 4838 points, 217 far (5.25 threshold), 4881 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.888768 -> 0.872936
adding 5060 points, 232 far (5.25 threshold), 4735 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.901278 -> 0.881822
adding 4783 points, 232 far (5.25 threshold), 4715 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxx 0.880632 -> 0.871246
adding 4979 points, 236 far (5.25 threshold), 4551 inaccurate, 0 invisible
optimized in 1.282 seconds
3 sigma filtering...
bundle_adjust: xxxxxxxxxxxx 0.899818 -> 0.880778
point variance: 0.880758
adding 4288 points, 537 far (2.64227 threshold), 4247 inaccurate, 0 invisible
bundle_adjust: xxxxxxxxxxxx 0.613875 -> 0.595768
point variance: 0.595754
adding 4331 points, 551 far (1.78726 threshold), 4320 inaccurate, 0 invisible
bundle_adjust: xxxxxx 0.467302 -> 0.459042
point variance: 0.459029
adding 4230 points, 581 far (1.37709 threshold), 3934 inaccurate, 0 invisible
bundle_adjust: xxxxxxxx 0.390848 -> 0.38726
point variance: 0.387249
adding 4328 points, 684 far (1.16175 threshold), 3813 inaccurate, 0 invisible
bundle_adjust: xxxxxx 0.347507 -> 0.34559
point variance: 0.34558
adding 4105 points, 721 far (1.03674 threshold), 3521 inaccurate, 0 invisible
optimized in 0.902 seconds
fx 557.042, fy 557.042, cx 1750, cy 875, k1 0, k2 0, k3 0
fx 557.042, fy 557.042, cx 1750, cy 875, k1 0, k2 0, k3 0
finished sfm in 5.219 seconds
Finished processing in 28.248 sec (exit code 1)
Using device: GeForce GTX 460, 7 compute units, 1024 MB global memory
  max work group size 1024
  max work item sizes [1024, 1024, 64]
  max mem alloc size 256 MB
initializing...
selected 7 cameras from 7 in 0.004 sec
Loading photos...
Reconstructing depth...
[CPU] estimating 1750x3500x288 disparity using 875x1167x8u tiles, offset 0
[GPU] estimating 1750x3500x288 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.938 disparity: 27.244 borders: 0.438 filter: 0.547 fill: 0
[GPU] estimating 1750x3500x224 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.919 disparity: 28.167 borders: 0.301 filter: 0.987 fill: 0
[CPU] estimating 1750x3500x480 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 0.84 disparity: 16.445 borders: 0.591 filter: 0.767 fill: 0
[GPU] estimating 1750x3500x576 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.769 disparity: 44.776 borders: 0.223 filter: 0.434 fill: 0
[CPU] estimating 1750x3500x640 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 1.197 disparity: 45.69 borders: 0.287 filter: 0.617 fill: 0
[GPU] estimating 1750x3500x768 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.637 disparity: 58.666 borders: 0.203 filter: 0.47 fill: 0
[CPU] estimating 1750x3500x608 disparity using 875x1167x8u tiles, offset 31
timings: rectify: 1.136 disparity: 65.821 borders: 0.246 filter: 0.683 fill: 0
[GPU] estimating 1750x3500x1024 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.679 disparity: 54.945 borders: 0.043 filter: 0.38 fill: 0
[CPU] estimating 1750x3500x128 disparity using 875x1167x8u tiles, offset 417
timings: rectify: 0.792 disparity: 11.424 borders: 0.025 filter: 0.244 fill: 0
[CPU] estimating 1750x3500x128 disparity using 875x1167x8u tiles, offset 482
timings: rectify: 0.59 disparity: 11.002 borders: 0.022 filter: 0.238 fill: 0
[CPU] estimating 1750x3500x480 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 0.997 disparity: 63.569 borders: 0.33 filter: 0.677 fill: 0
[GPU] estimating 1750x3500x1024 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.653 disparity: 45.323 borders: 0.261 filter: 0.444 fill: 0
[CPU] estimating 1750x3500x224 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 0.637 disparity: 19.56 borders: 0.341 filter: 0.414 fill: 0
[CPU] estimating 1750x3500x416 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 1.171 disparity: 63.984 borders: 0.372 filter: 1.149 fill: 0
[GPU] estimating 1750x3500x864 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.602 disparity: 39.369 borders: 0.205 filter: 0.412 fill: 0
[CPU] estimating 1750x3500x576 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 1.088 disparity: 63.611 borders: 0.347 filter: 0.71 fill: 0
[GPU] estimating 1750x3500x512 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.61 disparity: 53.241 borders: 0.18 filter: 0.496 fill: 0
[CPU] estimating 1750x3500x864 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 1.178 disparity: 48.179 borders: 0.403 filter: 0.724 fill: 0
[GPU] estimating 1750x3500x320 disparity using 584x584x8u tiles, offset 0
timings: rectify: 1.251 disparity: 38.285 borders: 0.661 filter: 1.031 fill: 0
[GPU] estimating 1750x3500x224 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.643 disparity: 78.433 borders: 0.174 filter: 0.449 fill: 0
[CPU] estimating 1750x3500x640 disparity using 875x1167x8u tiles, offset 20
timings: rectify: 1.149 disparity: 13.135 borders: 0.678 filter: 0.886 fill: 0
[GPU] estimating 1750x3500x640 disparity using 584x584x8u tiles, offset 20
timings: rectify: 0.72 disparity: 59.757 borders: 0.055 filter: 0.469 fill: 0
[CPU] estimating 1750x3500x640 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 0.988 disparity: 47.924 borders: 0.102 filter: 0.595 fill: 0
[GPU] estimating 1750x3500x736 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.64 disparity: 56.074 borders: 0.229 filter: 0.467 fill: 0
[CPU] estimating 1750x3500x576 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 1.011 disparity: 64.631 borders: 0.369 filter: 1.085 fill: 0
[GPU] estimating 1750x3500x512 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.484 disparity: 53.056 borders: 0.222 filter: 0.454 fill: 0
[CPU] estimating 1750x3500x416 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 1.016 disparity: 51.38 borders: 0.339 filter: 0.698 fill: 0
[GPU] estimating 1750x3500x224 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.918 disparity: 18.324 borders: 0.579 filter: 0.656 fill: 0
[GPU] estimating 1750x3500x608 disparity using 584x584x8u tiles, offset 31
timings: rectify: 0.604 disparity: 40.723 borders: 0.224 filter: 0.466 fill: 0
[CPU] estimating 1750x3500x224 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 0.607 disparity: 19.018 borders: 0.385 filter: 0.477 fill: 0
[CPU] estimating 1750x3500x512 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 1.153 disparity: 51.836 borders: 0.115 filter: 1.078 fill: 0
[GPU] estimating 1750x3500x768 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.462 disparity: 48.299 borders: 0.173 filter: 0.444 fill: 0
[CPU] estimating 1750x3500x736 disparity using 875x1167x8u tiles, offset 0
timings: rectify: 0.631 disparity: 62.042 borders: 0.195 filter: 0.449 fill: 0
timings: rectify: 1.136 disparity: 84.237 borders: 0.18 filter: 0.613 fill: 0
[GPU] estimating 1750x3500x576 disparity using 584x584x8u tiles, offset 0
timings: rectify: 1.09 disparity: 12.989 borders: 0.174 filter: 0.471 fill: 0
[GPU] estimating 1750x3500x224 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.472 disparity: 5.45 borders: 0.366 filter: 0.434 fill: 0
[GPU] estimating 1750x3500x320 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.461 disparity: 7.697 borders: 0.34 filter: 0.472 fill: 0
[GPU] estimating 1750x3500x512 disparity using 584x584x8u tiles, offset 0
timings: rectify: 0.462 disparity: 11.872 borders: 0.184 filter: 0.517 fill: 0
finished depth reconstruction in 864.54 seconds
Device 1 performance: 75.3555 million samples/sec (CPU)
Device 2 performance: 112.166 million samples/sec (GeForce GTX 460)
Total performance: 187.521 million samples/sec
Generating mesh...
resolution: 0.00997192
grid size: 3526x3337x7956
integrating depth maps... ******* done in 52.85 sec
extracted 15059560 faces, 7908961 vertices in 115.652 sec
filtering mesh (15057345 -> 14982065)
decimating mesh (14982065 -> 1000000)
Decimating mesh...
heap cleanup: 25100233 -> 21502296
heap cleanup: 25100231 -> 19596463
heap cleanup: 25100233 -> 16481989
Calculating vertex colors...
blending textures... ******* done in 0.467 sec
Finished processing in 1186.31 sec (exit code 1)
Parameterizing texture atlas...
heap cleanup: 1672426 -> 1405679
heap cleanup: 1672426 -> 1240475
heap cleanup: 1672431 -> 922037
failed to fill a hole
failed to fill a hole
failed to fill a hole
failed to fill a hole
failed to fill a hole

Dmitry Semyonov

  • Agisoft Technical Support
  • Full Member
  • *****
  • Posts: 200
    • View Profile
Re: Build texture crash
« Reply #1 on: August 29, 2013, 07:30:54 PM »
Hello JulienC,

Thank you for reporting the problem.

The fix was included in PhotoScan version 1.0.0 build 1736:
http://www.agisoft.ru/forum/index.php?topic=1476.0

Please note that Spherical mapping mode is related to UV layout only, and is not a requirement when processing spherical panoramas. Generic mapping mode can be a better alternative in many cases.
With best regards,
Dmitry Semyonov
Agisoft