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

Pages: [1]
1
Hello everybody !

I'm working on a multi-chunk project. Here's what I've already done.

By using the batch process, I've align, built dense cloud and built the mesh for my four chunks. Then I've merged all the chunks.
I've build the mesh for the merged chunks.
Now I'm trying to export an orthophoto out of it and always receive this message : "Not enough memory".

I've try to export it at different resolution. I've also try to change boundaries to decresae the size of the orthophoto but I always get the same message "Not enough memory" and in photoscan I'm getting a "bad allocation" message.

My project is compose like this :
Cameras : 4828,4730 aligned
Tie Points : 466,024 points
Dense cloud : 537,705,828 points
3D models : 35,631,307 faces

My computer has 64G RAM (intel Core i7). Graphical card : NVIDIA Quadro K600
Photoscan v1.1.5

Could someone help me ?

Thanks


 

2
Hello,

How can I write a function which returns the projection numbers camera and the projection error of each cameras?

I tryied to build this function based on the code from:
http://www.agisoft.com/forum/index.php?topic=3189.msg16800#msg16800

But It seems to not compute the right projection number and the projection error!

Code: [Select]
def calc_reprojection(chunk):
point_cloud = chunk.point_cloud
points = point_cloud.points
npoints = len(points)
projections = chunk.point_cloud.projections
err_sum = 0
num = 0
photo_avg = {}

photo_info=[[float('nan') for j in range(3)] for i in range(len(chunk.cameras))]#Ajout seb
i=-1
#print("total camera number: ",len(chunk.cameras))
for camera in chunk.cameras:
i+=1
if not camera.transform:
photo_info[i]=[camera,float('nan'),float('nan')]
continue
T = camera.transform.inv()
calib = camera.sensor.calibration
point_index = 0
photo_num = 0
photo_err = 0
for proj in projections[camera]:
track_id = proj.track_id
while point_index < npoints and points[point_index].track_id < track_id:
point_index += 1
if point_index < npoints and points[point_index].track_id == track_id:
if not points[point_index].valid:
continue
dist = calib.error(T.mulp(points[point_index].coord), proj.coord).norm() ** 2
err_sum += dist
num += 1
photo_num += 1
photo_err += dist
#Ajout seb
#print("i:",i)
if photo_num==0:
photo_info[i]=[camera,photo_num,float('nan')]
else:
photo_info[i]=[camera,photo_num,math.sqrt(photo_err / photo_num)]
return photo_info

3
Python Scripting / Export Markers
« on: May 16, 2015, 01:45:59 PM »
Hello,

How can I export the markers with python as what is done with Tools/Export/markers in the GUI? Same question for loading its.

chunk.saveReference() only export the coordinates of the markers in the project but not the location of markers in each images. This is doing the same as Saving in the Reference window!


4
Python Scripting / Remove 3D points
« on: April 07, 2015, 11:45:59 AM »
Hello,

How can I remove a 3d point?

What does the ".valid" in the class  PhotoScan.PointCloudPoint?

I use it to remove points, but I am not sure it is all right! The points wiht a False value for ".valid" disappear from my GUI but the total number of points is still the same than before to use the ".valid".

Does optimize will use the points with the valid = False?

Thanks,

Sebastien

5
Hello,

all is in the subject! When would it be interesting to use this method? What are the editings which might require a refineMatches? Does Keypoints descriptors can be edited?

Sebastien

6
Python Scripting / Remove marker from photo
« on: March 27, 2015, 03:07:45 PM »
Hello,

What is the script to remove the marker from 1 photo?

Thanks,

Sebastien

7
Python Scripting / when using refineMatches?
« on: March 25, 2015, 06:13:47 PM »
re hello!!!

When is it interesting to use this function : refineMatches? Does this function will process only the existing ties points or the matching is done to all the key points? If it is done to all the key points, what can we edit after a first match that will need te refine matches?

thanks,

Sebastien

8
Python Scripting / Total number of points in spare point cloud
« on: March 25, 2015, 05:30:36 PM »
Hello,

How I can comput the total number of points in the spare point cloud? I am a bit confused with pointCloud.point,, PointCloudPoints and PointCloudPoint!

Thanks

9
Bug Reports / buildPoints(), min_image argument does not work
« on: March 24, 2015, 12:53:33 PM »
Hello,

All is in the topic! The error argument work, but when I add the the min_image (eg: 3 or 10), I don't see any changement in my pointcloud!

Cheers,

10
Python Scripting / Getting projection error of markers
« on: March 24, 2015, 12:43:36 AM »
Hello,

How can we have the error (in pixel) of the markers after the aligning step?
Something like :
marker=chunk.markers[1]
marker.projections.error         ->wrong

11
Python Scripting / Align selected camera in python script
« on: March 22, 2015, 05:39:53 PM »
Hello,

This is not the smrartest question, but I am wondering how we can lauch camera alignement in python script without the point detection step as it is done with "Align selected cameras" in the GUI?

Sebastien

12
Hello,

How can I georeference 1 image in photoscan using Markers? My image is oriented (by bundle adjustement) but there is no 3d model in this image as the image is oblique. I have a 3D model with a part of the set of images which are perpendicular to the object. Nevertheless, I have Markers in the area of the oblique picture.
Thanks,




 

13
General / icon next to the pictures with the selected sparse points
« on: October 31, 2013, 01:29:54 PM »
Dears,

In previous version of photoscan, when i selected sparse points, I had an icon appearing next to the pictures containing selected points. The last released of photoscan (1.0) does not display the icon! Am I wrong? Do I need to disable something to get this option?

This icon was very useful to identify pictures with bad alignment!

Thank you,

Sebastien

Pages: [1]