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.


Messages - StevenShi

Pages: [1]
1
Python and Java API / Agisoft Lens batch process
« on: November 04, 2017, 12:25:53 PM »
Can I use Agisoft Lens to calibrate the large numbers of cameras by python script in one process.For example,we take the different group of pictures by different cameras but the same type camera.How can we do batch process in Agisoft Lens? We want get the cameras calibration file separately.

Thanks,
Steven

2
Python and Java API / “pairs” parameter in matchPhotos() function
« on: November 03, 2017, 04:19:34 PM »
When I use "pairs" argument in the matchPhotos() function and I define the pairs as list of camera pairs tuple which I want to match.
for example:

Code: [Select]
cameras = chunk.cameras
c_pairs = [(cameras[0],cameras[1]),(cameras[1],cameras[2]),(cameras[2],cameras[3])...]
chunk.matchPhotos(accuracy = PhotoScan.HighAccuracy,generic_preselection = True,reference_preselection = True,keypoint_limit=40000,tiepoint_limit = 4000,pairs=c_pairs)

But the result is that no any photos are aligned,why does it happen? Anything wrong about my operation?

3
Python and Java API / Re: What is the Refine Markers?
« on: October 09, 2017, 12:53:26 PM »
1、We confused about refineMarkers function.What does the refineMarkers do in PhotoScan,please give me more explanation about that?

2、We also want to know whether it will affect the calibration of cameras?

Thanks,

Steven

4
Python and Java API / What is the Refine Markers?
« on: September 21, 2017, 06:42:18 AM »
1、We confused about refineMarkers function.What does the refineMarkers do in PhotoScan,please give me more explanation about that?

2、We also want to know whether it will affect the calibration of cameras?

Thanks,

Steven

5
Python and Java API / Refine Markers function
« on: September 14, 2017, 10:50:51 AM »
1、Where to find refineMarkers function in photoscan 1.3.2,which menu can I find it? We only find refineMarkers in photoscan scripting API.

2、We presume that there will be small errors in cameras' position after Align Photos procedure in PhotoScan.We do as the following steps in order to get more accurate data:

    First,we add some more photos with coded markers,then do the Align Photos procedure

    Second,using the Detect Markers to find out the coded markers as many as possible,then we use Optimize Camera Alignment and we export the cameras xml fie(e.g. named opt_camera.xml)

    Third,we use the refineMarkers API by python scripting for all the detected markers and export the cameras xml file(e.g. named re_camera.xml)

    We found there are no any differences between the opt_camera.xml and re_camera.xml,it proved that refineMarkers have no effects on internal and external camera parameters.Should we have refineMarkers after the Detect Markers,then do the Optimize Cameras Alignment? In order to get our target,what we should have to do rightly.What does the refineMarkers do,please give me more explanation about that?

Thanks

StevenShi

6
Python and Java API / Re: buildUV method mapping parameter
« on: August 02, 2017, 02:03:09 PM »
Hello Alexey Pasumansky,

You remind me,we alread have the UV mapping for the mesh,just doing buildTexture step is Ok.

7
Python and Java API / Re: Creating Markers by using python script
« on: August 02, 2017, 01:57:57 PM »
Hello,Alexey Pasumansky,

We tried your python script,it works well,thanks very much.

8
Python and Java API / buildUV method mapping parameter
« on: August 02, 2017, 12:25:57 PM »
We found that the mapping parameter of chunk.buildUV() method has no keep UV mode(UV mapping mode in [GenericMapping,OrthophotoMapping,AdaptiveOrthophotoMapping,SphericalMapping,CameraMapping])
We want to know how to achieve buildUV by python using keepUV mapping mode to build model's texture?

Thanks

StevenShi

9
Python and Java API / Creating Markers by using python script
« on: July 25, 2017, 02:24:47 PM »
We are working on a project that import some 2D points on capture image as markers in PhotoScan,then got the 3D coordinates of these 2D points on processed model.All the process was done by using python script.

Now,we got some troubles.If we import markers via an txt file,the txt file includes the 2D coordinates on image.We use this way(marker.projection[camera] = (imgX,imgY)) to add marker on image,but it can't estimated the marker's position on other image unless you use the Right+Click>Create Marker on one image.Right click way can estimate the marker's position on other image automatically.

How to use python script to achieve the same effect in using the Right+Click>Create Marker. Just add marker on one image,then estimate the marker's position on other image automatically.

By the way,I confuse about the new python script API Utils.createMarkers(chunk,projections) method,the document show that projections parameter is the list of(camera,x,y,r)tuple,what's the r mean? 

Thanks

StevenShi

Pages: [1]