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

Pages: [1] 2
1
Bug Reports / Align Photo in 1.2
« on: January 22, 2016, 04:10:32 AM »
Photo align in more than 1.2 version of the effect is not good, can solve this problem?
When I align photo use PS 1.1.6,the result of align is not bad,But I use PS version 1.2,the result is bad.and I use those same photos.

2
I want to classify ground point use python script
Code: [Select]
PhotoScan.DenseCloud.classifyGroundPoints(max_angle=10.0,max_distance=1.0,cell_size=50.0)
It prompt me 'TypeError:descriptor 'classifyGroundPoints' of  'PhotoScan.DenseCloud' object need an argument',
I want to know what's wrong with my script?
pls help!thanks a lot!

3
General / About tiles convert in photoscan 1.2
« on: March 31, 2015, 11:53:11 AM »
When I output tiles, I found the coorinate system is not available.
I convert TLS files in the Agisoft Viewer to obj obj format. And In the *.obj file, the coordinate of model looks like a relative coordinate, I want to know how to convert it to the geographic coordinates, such as UTM WGS84?
ths

4
Such as the title,Can I use the python script to export model(tiles)?

5
Feature Requests / Import matches
« on: January 23, 2015, 04:34:02 AM »
Recommended software support import matches. Because the matching in the processing of aerial images of adjacent route is not good.

6
General / How can I export modified model use export tiles
« on: January 15, 2015, 06:20:16 AM »
I modify the model and rebuild texture,And then I want to output the model tiles, photoscan does not consider my post edit models, but also to auto rebuild the model and output.How can I export model tiles use I modified model?

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

8
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?

9
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()
                    chunk.resetRegion()
    #rotate
                    T = chunk.transform.matrix
                    v = PhotoScan.Vector( [0,0,0,1] )
                    v_t = T * v
                    v_t.size = 3
                    if chunk.crs:
                        m = chunk.crs.localframe(v_t)
                    else:
                        m=PhotoScan.Matrix().diag([1,1,1,1])
                    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
                    C1=float(MapRegionVec[1])
                    C2=float(MapRegionVec[2])
                    C3=float(MapRegionVec[3])
                    C4=float(MapRegionVec[4])
                    centerUTM = PhotoScan.Vector([C1,C2,0])
                    centerGEO=chunk.crs.unproject(centerUTM)
                    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
                    newregion.center = PhotoScan.Vector([centerLocal[0], centerLocal[1], chunk.region.center[2]])
                    print ("newregion.center:",newregion.center)
 #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.

10
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?

11
General / How to improve the accuracy of models
« on: July 02, 2014, 06:15:25 AM »
I use oblique aerial photography to generate three dimensional model of building, specify the parameters of the camera and imported the POS data, without ground control points. Generate a model of the building as follows:

But it always felt good models that aren't GoogleEarth effect, the edges of the building not obvious enough.
I think Google has used a similar method to generate a three dimensional model of the following figure is  GoogleEarth models.
So I want to know how can improve the precision of the dense point in the PhotoScan and generated mesh better?

12
Python and Java API / About dense point classify
« on: June 24, 2014, 09:22:01 AM »
I would like to ask whether Python can support density point cloud classification.
Another question is how to get an accurate point cloud?

13
Python and Java API / Question About Python Export Dense PointCloud
« on: June 09, 2014, 04:23:40 AM »
When I use the Python script export density point clouds, I found that some points there is no export, see below, I do not know why?
Python Script:
Code: [Select]
chunk.exportPoints(path=f1+'\\'+MapRegionVec[0]+'.las',dense=True,binary=True, precision=6, normals=True, colors=True,format='las')

14
Python and Java API / About disable photos
« on: June 05, 2014, 05:10:34 AM »
In my project there are 100 images, I want to use the Python script to disable one of ten images. I have made a txt file to record these ten photos name.
Now I want to use Python scripting to achieve this functionality, including reading txt and disable photo, What should I use
Code: [Select]
class PhotoScan.Camera.enable

15
General / About Spherical panoramic photos model
« on: May 16, 2014, 03:59:11 AM »
I use 9 panoramic image to do modeling, Align photo have no problem.but the result of dense point and model there are always a lot of places lack, I do not know what is the reason? Can someone help me?

Pages: [1] 2