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 - ppkong

Pages: 1 [2] 3 4
General / Re: Agisoft PhotoScan 1.1.0 pre-release
« on: December 24, 2014, 08:51:38 AM »
Can I export model tiles use Python API?

General / Re: Agisoft PhotoScan 1.1.0 pre-release
« on: December 22, 2014, 09:21:43 AM »
Build 2001 has been just published.
I had download and found the version is 2002 ;)

Bug Reports / Question about Optimize Cameras
« on: December 18, 2014, 04:10:19 AM »
When I use ground control points to optimize the alignment, the ground point to display  the error value is 0.01m.
But when I generate DSM(Build dense cloud quality is low), I found that the elevation error with control points have some difference, The error of nearly two meters.I want to know how to solve this problem.Thanks very much!

General / Re: Agisoft PhotoScan 1.1.0 pre-release
« on: December 08, 2014, 04:28:32 AM »
Hello ppkong,

Maybe you can provide the project file for the further problem studying?
I think this problem is caused because I used the distortion corrected image with black edges, by the way the black edge because when I distortion correction chose "Center principal point" caused.

General / Re: Agisoft PhotoScan 1.1.0 pre-release
« on: December 02, 2014, 11:27:17 AM »
There are some problems in version 1995, the texture looks like it has some errors.
Another question about AgiSoft Viewer,When I save a playlist and reload playlist(Open Playlist),I can't see anything untill I press F5.

Bug Reports / question about export matches
« on: November 21, 2014, 09:59:15 AM »
When I export the matches , the output format is ORIMA, I found the output point there are a lot of mistakes. For example: ID=0 will be output in different images, but into the INPHO will find a lot of wrong match, don't know other people have not encountered this problem?

Python and Java API / Re: About Set Map Region python
« on: November 21, 2014, 04:05:36 AM »
As shown in the following image that I think about parameters of region , I don't know if my understanding is correct?

Python and Java API / Re: About Set Map Region python
« on: November 21, 2014, 01:01:27 AM »
my problem is the region center.I want set Z coordinate of the with the newregion seems lower than the orgin Z coordinate of the chunk.I print this two values but they are equal.

Python and Java API / About Set Map Region python
« on: November 20, 2014, 10:30:25 AM »
I used 1000 UAV images generation model, and the image without distortion correction.Align photo has finished.
I use Python script 1.1 for set map region.But the position is always wrong.
Code: [Select]
# Define: Region [Name,CenterX, CenterY, SizeX, SizeY]
                    MapRegionVec = [C_4,744300,3074400, 300, 300]
                    newregion = PhotoScan.Region()
                    T = chunk.transform.matrix
                    v = PhotoScan.Vector( [0,0,0,1] )
                    v_t = T * v
                    v_t.size = 3
                        m =
                    m = m * T
                    s = math.sqrt(m[0,0]**2 + m[0,1]**2 + m[0,2]**2) #scale factor
                    R = PhotoScan.Matrix( [[m[0,0],m[0,1],m[0,2]], [m[1,0],m[1,1],m[1,2]], [m[2,0],m[2,1],m[2,2]]])
                    R = R * (1. / s)
                    newregion.rot = R.t()
    #set grid center:
    #define float
                    centerUTM = PhotoScan.Vector([C1,C2,0])
                    print ("centerGEO:",centerGEO)
                    centerGEO.size = 4
                    centerGEO.w = 1
                    centerLocal = chunk.transform.matrix.inv() * centerGEO
                    centerLocal.size = 3
                    print ("centerUTM=",centerUTM,"centerLocal=",centerLocal)
    #define newcenter
           = PhotoScan.Vector([centerLocal[0], centerLocal[1],[2]])
                    print ("",
 #define newsize
                     newregion.size = PhotoScan.Vector([xsize,ysize,chunk.region.size[2]])
                     chunk.region = newregion
I don't know what is my code error or 1.1 script error,But I'd use this script is run on the UC camera images have no problem.

General / About tiles export
« on: November 13, 2014, 10:48:57 AM »
It's very useful that add export tiles function in photoscan 1.1.But I think there are several points to continuous improvement.
1.Python Scripting should be support output tiles;
2.Output tiles in ps1.1 version speed significantly slower than the ps1.0;
3.After output tiles must be use Agisoft Viewer to open it and convert to other formats,and every time you can convert only one *.TLS file,and the number of tiles mesh cannot be based on actual model number of the output;
So I think it should support output data different format;

I wrote a python script to set map region and generate the densepoint and model, but by the time I run on a network(distributed), photoscan can only be run on this computer, and cannot use the network processing,and my network is already configured to process tasks. I wanted to know how can I modify Python script to do this?

General / Re: Agisoft PhotoScan 1.1.0 pre-release
« on: October 22, 2014, 04:08:53 AM »
Can I export model tiles in python script 1.1?

Python and Java API / Re: Setting mapping region
« on: October 20, 2014, 11:22:10 AM »
 ;D Ha-ha,you're right.
I use this function for aero images process,And I think it is useful for process aero images.
When build Depth maps of area 1(Blue boundary of area), The program is generated for every entire image(Selected red boundary of images) that contain area 1.Then I think it can be reuse for process area 2,3,4.

Python and Java API / Re: Setting mapping region
« on: October 20, 2014, 09:56:33 AM »
Hello ppkong,

Reuse depth maps option is only available if depth maps have been estimated earlier and were kept in the project (corresponding option in Advanced tab of PhotoScan Preferences window should be selected).

But this option could not be used properly if the camera positions have changed relatively to the moment when the depth maps have been calculated.
Your means is if I modify the region range, the position of the camera will change?I don't know much about depth map, but I also want to improve efficiency in this step.

Python and Java API / Re: Setting mapping region
« on: October 20, 2014, 09:45:38 AM »
Thanks Alexey!
Another question is about GPU&CPU,Before “buildDenseCloud” I switch GPU on and switch of all CPU core.
Code: [Select]
When the buildDenseCloud is completed do I need to switch back to CPU in the python script for "chunk.buildModel"?

Pages: 1 [2] 3 4