Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Paulo

Pages: [1] 2
1
General / Processing times version 1.5.2 vs 1.4
« on: March 24, 2019, 01:22:05 PM »
Hello all,

i am comparing processing a full body model using 120 photos in versions 1.5.2 and previous 1.4.5..... on same computer

2019-03-24 02:56:47 Platform: Windows
2019-03-24 02:56:47 CPU: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz (laptop)
2019-03-24 02:56:47 CPU family: 6 model: 58 signature: 306A9h
2019-03-24 02:56:47 RAM: 16.0 GB
2019-03-24 02:56:49 OpenGL Vendor: NVIDIA Corporation
2019-03-24 02:56:49 OpenGL Renderer: GeForce GTX 670MX/PCIe/SSE2
2019-03-24 02:56:49 OpenGL Version: 4.6.0 NVIDIA 417.01

I am generating a mesh from depth maps in high quality with strict volumetric masks on….

For version 1.4.5 the time to generate  mesh from depth maps is 49 min.

For version 1.5.2 the time to generate  mesh from depth maps  is  1 h 42 min.

I realize the mesh from depth maps algorithms have changed but the considerable increase in processing time is concerning….

Hoping to get your thoughts on this issue….

Attached are processing logs from both versions and screen shot of both models side by side….

Seems model 1.52 is a little better but substancial increase in processing time does not seem to justify such marginal quality improvements….

Note that in both cases following tweak was used in preferences/advanced :  main/dense_cloud_max_neighbors  60

2
Python Scripting / Script using strict volumetric masking
« on: March 23, 2019, 11:57:37 PM »
Hello,

in 1.4 version, I was using a script to generate model from depth maps with high quality and strict volumetric masking on…

The code line was:

chunk.buildModel(surface=PhotoScan.Arbitrary, interpolation=PhotoScan.EnabledInterpolation,  source=PhotoScan.DepthMapsData, quality=PhotoScan.HighQuality, volumetric_masks=True, reuse_depth = True, keep_depth = True, vertex_colors = False)

Now in 1.5.2, I get invalid keywords for quality and reuse_depth parameters….

Why are these parameters no longer available? These keywords were avalable in 1.5.0 API reference...

3
General / Planning Motion tool
« on: February 04, 2019, 04:22:34 PM »
Hello Agisoft support,

I am curious to know what exactly does the new tool Planning motion (replacing Optimize coverage) do in MS 1.51....


Im trying it on a 118 UAV 16 Mpix image set at 4.8 cm GSD with double grid coverage and it is taking an enormous time ( 17 hours and counting...)


Attached Screen captures....


More insight on this tool and its various input parameters (which I left at default value) will be appreciated!



4
Python Scripting / requests Module fails to import in Metashape 1.5
« on: February 02, 2019, 01:38:16 AM »
Hi all,

I am trying to run a python script that ran correctly on PS1.4...

the script contains following code:

import requests

and get following error in Metashape

2019-02-01 07:21:23   File "C:/Users/paul.pelletier/Documents/Pi3d/AutoProcess_v1/AutoProcess_v15_adapFit_Newmesh.py", line 14, in <module>
2019-02-01 07:21:23     import requests
2019-02-01 07:21:23 ImportError: No module named 'requests'
2019-02-01 07:21:23 Error: No module named 'requests'

How can I get request module to work in Metashape?

I found solution to this problem consulting the Agisoft solutions page https://agisoft.freshdesk.com/support/solutions

and using following system command:

"%programfiles%\Agisoft\Metashape Pro\python\python.exe" -m pip install requests

5
General / Importing dense cloud
« on: July 03, 2018, 12:36:03 AM »
Hello,

I am importing a LAZ dense cloud into PS 1.4.2 and the process imports the 360 Million points in about 25 min but then  it switches to Calculating normals ….  and this part has been running for an hour without much progress….

Why is it so time consuming?

I am running on a i7-3630QM CPU with 16 GB of Ram


Any help is appreciated...


Is is now running for more than 8 hours and Calculating normals… is stuck at 99%

Will it ever conclude?

6
Python Scripting / Reset Mask in Python API vers. 1.4
« on: November 28, 2017, 09:01:15 PM »
Hello ,

here is my problem... in version 1.4, there is a new mesh generation using strict volumetric masking.

I want to use this in my current workflow using script python.

In my current workflow, I mask all my 100 images from background images so as to expedite the alignment phase.

Now I want to use experimental mesh creation method with strict volumetric masking using

chunk.buildModel(surface=PhotoScan.Arbitrary, interpolation=PhotoScan.EnabledInterpolation,  source=PhotoScan.DepthMapsData, quality=PhotoScan.HighQuality, volumetric_masks=True, vertex_colors = False)

However from blog i see that for this I do not need all images masked, so I need to reset masks for most images and just keep maybe 3 images masked  before doing the new mesh method....

How can I do this with Python API?

7
Python Scripting / LoadReference error
« on: March 17, 2017, 11:59:19 AM »
Hello,

I am writing a script version 1.2.6 that would load reference from a text file (tab delimited) with nxyzabc information using following code

chunk.loadReference(file, 'csv' , 'nxyzabc',  '\t', group_delimiters=False, skip_rows=1)

I get following encoding error in console:

2017-03-17 02:52:52   File "C:/Users/paul.pelletier/Documents/Photoscan/Importeoypr_files_chunks.py", line 29
2017-03-17 02:52:52 SyntaxError: Non-UTF-8 code starting with '\xa0' in file C:/Users/paul.pelletier/Documents/Photoscan/Importeoypr_files_chunks.py on line 29, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Any help?

8
Bug Reports / GPU processing failed on Spherical image project
« on: February 15, 2017, 05:38:35 AM »
Hello,

I am processing a project consisting of 8 spherical images in PS 1.3.

In Image alignment using 0 key point limit and 0 tp limit, I get an error due to GPU.

So I deselect GPU in Preferences and redo Image Alignment with no problem.

Before doing Dense cloud, I reactivate GPU and get errors that is unable to use GPU processing and switching to CPU and final error at end.

Attached is log file ...

Hope you can help here,


9
General / Importing Precise camera intrinsics and extrinsics
« on: January 25, 2017, 07:13:08 AM »
Hello all,

I have a xml file containing calculated Exterior orientation (Extrinsic) and interior orientation (intrinsic) for a set of photos.

If I import this camera file to the chunk containing said photos, my idea was that we could then proceed to Dense cloud Generation as camera positions and camera parameters are known from imported xml.

Then, why is the program asking us to go over the sparse cloud generation (key point detection ,matching, etc...).?

Any insight will be appreciated!

10
General / Versionn 1.3 Added image based shape drawing support
« on: December 16, 2016, 05:39:04 AM »
Dear support,

The image based shape drawing support is great in version 1.3.

But I have a problem relating to productivity relating to capturing long line strings in an image.

For example I am capturing a wall. I place first 2 vertices in a photo but when I need to move in image to continue capturing following vertices of feature by pressing V or Space key, the shape is placed with just 2 first vertices. Thus I would need to place another line string to continue representing this wall. Would it be possible to switch between navigation mode and line placement mode without having line being terminated at each switch.


Thanks for your help,

11
General / No overlapping images error
« on: July 19, 2016, 10:23:27 PM »
Hello all,

I am trying to correct an Ortho I built from a DEM which inturn was generated from a Dense Cloud of high quality.

I draw a polygon around an area to correct and when I right click and select Assign Images, I get

No overlappings images found errror message.

See attached Screen Copy...

Any ideas why is this occuring?

Latest version of PS 1.2.5 2735 used....

12
Bug Reports / Error in Build OrthoMosaic
« on: July 01, 2016, 02:01:08 AM »
I am trying to Build Orthomosaic on 51 photo set and get Error: Can't open mask: 17

Build ortho parameters:
Surface : DEM
Blending mode : Mosaic

Here is copy of console contents:

2016-06-30 17:49:26 Agisoft PhotoScan Version: 1.2.5 build 2614 (64 bit)
2016-06-30 17:49:26 OpenGL Vendor: NVIDIA Corporation
2016-06-30 17:49:26 OpenGL Renderer: GeForce GTX 670MX/PCIe/SSE2
2016-06-30 17:49:26 OpenGL Version: 4.5.0 NVIDIA 365.10
2016-06-30 17:49:26 Maximum Texture Size: 16384
2016-06-30 17:49:26 Quad Buffered Stereo: not enabled
2016-06-30 17:49:26 ARB_vertex_buffer_object: supported
2016-06-30 17:49:26 ARB_texture_non_power_of_two: supported
2016-06-30 17:49:26 Menu Usuario agregado
2016-06-30 17:49:27 Loading project...
2016-06-30 17:49:27 loaded project in 0.108 sec
2016-06-30 17:49:27 Finished processing in 0.108 sec (exit code 1)
2016-06-30 17:49:52 Estimating resolution...
2016-06-30 17:49:52 Finished processing in 0 sec (exit code 1)
2016-06-30 17:50:28 Analyzing DEM...
2016-06-30 17:50:28 estimating tile boundaries... done in 4.302 sec
2016-06-30 17:50:32 generating 10696x10628 orthophoto (8 levels, 0 resolution)
2016-06-30 17:50:32 selected 51 cameras
2016-06-30 17:50:32 Orthorectifying images...
2016-06-30 17:50:32 Orthorectifying 51 images
2016-06-30 17:50:36 IMG_1400.JPG: 4915x4023 -> 4395x3492
2016-06-30 17:50:36 IMG_1399.JPG: 4468x4470 -> 4219x4140
2016-06-30 17:50:36 IMG_1397.JPG: 4468x4470 -> 4051x3920
2016-06-30 17:50:37 IMG_1404.JPG: 4919x3924 -> 4612x3488
2016-06-30 17:50:37 IMG_1398.JPG: 4468x4470 -> 4232x3742
2016-06-30 17:50:37 IMG_1403.JPG: 5031x3924 -> 4695x3552
2016-06-30 17:50:37 IMG_1401.JPG: 4917x4470 -> 4610x3784
2016-06-30 17:50:37 IMG_1402.JPG: 5364x4470 -> 4699x3812
2016-06-30 17:50:40 IMG_1406.JPG: 3576x3476 -> 3168x3395
2016-06-30 17:50:41 IMG_1405.JPG: 4470x4371 -> 4015x3958
2016-06-30 17:50:41 IMG_1408.JPG: 4917x4023 -> 4328x3452
2016-06-30 17:50:43 IMG_1410.JPG: 5364x4470 -> 4705x4057
2016-06-30 17:50:43 IMG_1409.JPG: 5811x4917 -> 4713x3964
2016-06-30 17:50:43 IMG_1411.JPG: 5364x4917 -> 4995x4154
2016-06-30 17:50:43 IMG_1407.JPG: 5811x5364 -> 4944x4592
2016-06-30 17:50:44 IMG_1412.JPG: 5427x5811 -> 5091x4799
2016-06-30 17:50:45 IMG_1413.JPG: 4856x4470 -> 4568x3836
2016-06-30 17:50:46 IMG_1415.JPG: 4856x4021 -> 4653x3491
2016-06-30 17:50:47 IMG_1414.JPG: 4917x4915 -> 4496x4489
2016-06-30 17:50:47 IMG_1416.JPG: 3576x4468 -> 3350x4016
2016-06-30 17:50:48 IMG_1417.JPG: 4023x4021 -> 3529x3842
2016-06-30 17:50:49 IMG_1418.JPG: 4917x4470 -> 4588x3706
2016-06-30 17:50:50 IMG_1419.JPG: 5364x4917 -> 4790x4071
2016-06-30 17:50:51 IMG_1420.JPG: 5364x4470 -> 4701x4002
2016-06-30 17:50:52 IMG_1422.JPG: 5364x4470 -> 4466x3803
2016-06-30 17:50:52 IMG_1421.JPG: 5811x4917 -> 4696x4058
2016-06-30 17:50:52 IMG_1423.JPG: 4917x4023 -> 4236x3471
2016-06-30 17:50:54 IMG_1425.JPG: 5364x4470 -> 4597x3907
2016-06-30 17:50:54 IMG_1424.JPG: 5811x5364 -> 5063x4512
2016-06-30 17:50:55 IMG_1426.JPG: 5364x4370 -> 4573x3803
2016-06-30 17:50:55 IMG_1427.JPG: 4917x3922 -> 4497x3508
2016-06-30 17:50:56 IMG_1428.JPG: 4470x4369 -> 3772x4111
2016-06-30 17:50:56 IMG_1429.JPG: 3576x3922 -> 3364x3854
2016-06-30 17:50:58 IMG_1431.JPG: 4917x4023 -> 4435x3696
2016-06-30 17:50:58 IMG_1430.JPG: 5811x4917 -> 4776x4282
2016-06-30 17:51:01 IMG_1432.JPG: 5811x5364 -> 4996x4705
2016-06-30 17:51:01 IMG_1433.JPG: 5811x4917 -> 4737x4232
2016-06-30 17:51:02 IMG_1434.JPG: 5811x5364 -> 5134x4726
2016-06-30 17:51:02 IMG_1437.JPG: 5811x4022 -> 4974x3604
2016-06-30 17:51:02 IMG_1435.JPG: 5811x5364 -> 5090x4810
2016-06-30 17:51:03 IMG_1436.JPG: 5811x4916 -> 5316x4606
2016-06-30 17:51:04 IMG_1438.JPG: 4917x5363 -> 4416x4905
2016-06-30 17:51:05 IMG_1439.JPG: 4637x5810 -> 4234x5312
2016-06-30 17:51:06 IMG_1440.JPG: 4885x4023 -> 4601x3432
2016-06-30 17:51:08 IMG_1441.JPG: 4885x5364 -> 4713x4370
2016-06-30 17:51:08 IMG_1442.JPG: 4885x4023 -> 4368x3435
2016-06-30 17:51:08 IMG_1443.JPG: 4438x4917 -> 4286x3937
2016-06-30 17:51:08 IMG_1445.JPG: 4440x4470 -> 4058x3907
2016-06-30 17:51:09 IMG_1446.JPG: 3993x4023 -> 3929x3400
2016-06-30 17:51:09 IMG_1444.JPG: 4885x5364 -> 4342x4426
2016-06-30 17:51:09 IMG_1447.JPG: 3993x4023 -> 3677x3632
2016-06-30 17:51:12 Finished orthorectification in 39.532 sec
2016-06-30 17:51:12 selected 9 tiles
2016-06-30 17:51:12 selected 9 tiles
2016-06-30 17:51:12 Updating partition...
2016-06-30 17:51:12 Finished processing in 47.582 sec (exit code 0)
2016-06-30 17:51:12 Error: Can't open mask: 17

Please help,


13
Bug Reports / Select points by Color error
« on: March 22, 2016, 10:49:13 AM »
Hello,

i am trying to use the select points by color command on my Dense cloud, using parameters shown in screen copy...

The command runs and then gives following error: Can't append selection

Anyone encountered this error?

Using latest 1.2.4 release of PS.


14
General / Defining Projected coordinate system with EGM2008 geoid
« on: March 09, 2016, 06:08:37 PM »
Hello.

I am trying to define a projected coordinate sytem (UTM 14 on WGS84 datum) combined with EGM2008 geoid so as to correct  altitude with geoid height. See attaced prj file wgs84 UTM14N+EGM2008.prj. When I try to load this prj in Photoscan Coordinate System. I get : 'Can't load coordinate system' error.

However, i can load a combined geographic coordinate system with EGM2008 geoid without any error. See attaced prj file WGS84+EGM2008.prj.

There seems to be a problem in defining custom projected coordinate systems with geoid files.

Note that I have a geoid file egm2008-2.5.tif present in geoids folder of PhotoScan pro installation directory.

Any help on this?

15
General / CameraCalibration Export parameters
« on: January 31, 2016, 01:45:30 AM »
Dear Support,

I am noticing that when I export a Camera Calibration, the sign of radial and decentering distorsion parameters are inversed when I chose Inpho versus Australis format.

In the example I have Camera0_SN102146 whose PhotoScan Adjusted parameters are given in attached screen copy.

Now if I save the Camera parameters as Inpho calibration, I get following file:

$CAMERA
  $TYPE : Camera0_SN102146
  $DATE : 16:33:36 30/01/2016
  $BRAND : Custom
  $KIND : CCDFrame
  $CCD_INTERIOR_ORIENTATION :
     135.135       -0    2449.09
       0.0000000000    -135.135    1642.23
  $CCD_COLUMNS : 4872
  $CCD_ROWS : 3248
  $PIXEL_REFERENCE : TopLeftTopLeft
  $FOCAL_LENGTH :    65.0375
  $PRINCIPAL_POINT_PPA :     0.000000     0.000000
  $DISTORTION_TYPE :  Polynomial
  $RADIAL_COEFFS :
                      0            -7.22631e-006                  1.5452e-008                  -4.18738e-012
                      -6.84534e-017                  0                  0                  0
  $DECENTRE_COEFFS :
                     3.45261e-006                  -6.56677e-006                 0                  0
  $GPS_ANTENNA_OFFSET :     0.000000     0.000000     0.000000
  $CAMERA_MOUNT_ROTATION :     0.000000

and If I save camera parameters in Australis format, I get:

Adjustment: Free-Network
Number of Points: 1000
Number of Images: 10
RMS of Image coords:    1.00 (um)

Results for Camera 1    Camera0_SN102146      Lens

Sensor Size        Pixel Size (mm)
  H    4872           0.0074
  V    3248           0.0074

  Camera    Initial      Total          Final        Initial         Final
 Variable    Value     Adjustment       Value       Std. Error     Std. Error
    C       65.0375      0.00000       65.0375       1.0e+003     1.000e-003 (mm)
   XP        0.0968      0.00000        0.0968       1.0e+003     1.000e-003 (mm)
   YP       -0.1349      0.00000       -0.1349       1.0e+003     1.000e-003 (mm)
   K1  7.22873e-006   0.000e-000  7.22873e-006       1.0e+003     1.000e-003
   K2 -1.54725e-008   0.000e-000 -1.54725e-008       1.0e+003     1.000e-003
   K3  4.25211e-012   0.000e-000  4.25211e-012       1.0e+003     1.000e-003

   P1 -3.45260e-006   0.000e-000 -3.45260e-006       1.0e+003     1.000e-003
   P2  6.56677e-006   0.000e-000  6.56677e-006       1.0e+003     1.000e-003

   B1 -6.91731e-008   0.000e-000 -6.91731e-008       1.0e+003     1.000e-003
   B2 -6.69269e-008   0.000e-000 -6.69269e-008       1.0e+003     1.000e-003

Maximum Observational Radial Distance Encountered:      1.000 mm

As you can see, the radial parameters are basically the same but inversed in sign between Inpho and Australis format as well as decentering parameters (green).

Could you explain this, please?

There is also a new format fot cmaera calibration, USGS. In this case it produces a file with additional K0 parameter but with Focal set to 50 while real focal is around 65 mm. Why is this so?

here is USGS format calibration saved from same camera:

Camera: Camera0_SN102146
Date: 15:37:41 30/01/2016
Width: 4872
Height: 3248
PW: 0.0074
PH: 0.0074
F: 50
XP: 0.0968388
YP: -0.134938
K0: -0.231213
K1: 5.55418e-006
K2: -1.18667e-008
K3: 3.17056e-012
K4: 1.15687e-016
P1: -2.65083e-006
P2: 5.04159e-006
P3: 2.82698e-005
P4: -7.25204e-008

Thanks for any input on this...

Pages: [1] 2