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

Pages: 1 [2]
16
Python and Java API / Import photos from a file list
« on: May 20, 2016, 07:10:06 PM »
Okay I admit I am new to python.

I have a 200,000 photo project (yes) and need to subdivide it. Many overlapping survey tracks and runs, file structure by time not by coordinate. I will choose portions of it using GIS software and it gives me a file list with lines like this:

Z:\some\path\000000_000999\20160322_212257_IMG_000001.JPG   20160322_212257_IMG_000001.JPG   -15.00275855   -173.0095973   -455.4

How can I import photos from this list into photoscan? Everyone else on this forum lists the contents of a folder, which does not help me as they are spread across hundreds of folders.

This is what I tried but it terminates with a "cant load photos". I suspect I am parsing a line feed wrong.

import os
import PhotoScan
global doc
doc = PhotoScan.app.document

doc.addChunk()
chunk = doc.chunks[-1]
chunk.label = "toms chunk"

sourcepath = r"C:\Users\Arena\Desktop\test\list.txt"
sourcefile = open(sourcepath, 'r')
print (sourcefile)
files = sourcefile.readlines()
print (files)
chunk.addPhotos(files)

-end of code-
Many thanks!
Tom

17
General / Ground Control inhibits alignment?
« on: May 19, 2015, 08:54:33 PM »
I have a set of images taken on the deep seafloor with a fisheye lens. The seafloor is essentially flat and as you can see it is not ideally lit.

Alignment only works if I constrain the features by a circular mask to the center, OR disable pair preselection completely, although the mismatch to the GC file is below 10m (2m).

--> How does constraining points with a mask influence the preselection based on GC points or the generic process??
Please clarify!


I am attaching a picture of what I get, what it should look like and a screenshot of one of the images, and the GC file.
Many thanks!

18
Bug Reports / Failures hang up my batch queue...
« on: March 19, 2015, 06:04:36 PM »
I get a lot of failures in cluster mode but it is really hard to track them down.
It would be nice to
- have a log of actions the batch process carried out or failed at. (Or, give me the ability to look at finished jobs in the queue window.
- Have the batch process jump forward in the batch list once it encounters an issue.
- Every project has its queue list, but only projects land in the cluster queue list. I would like to see the individual tasks per project.

Thanks!
Tom

19
Feature Requests / (Re-) Import dense point cloud
« on: January 29, 2015, 11:37:57 PM »
The Photoscan edit tool has limitations since you can not choose to edit a sub-portion of the point cloud if it is a complicated, self-obstructing object. Others (Darko, Patribus) on this forum have noted this before me. Apparently there is no documentation on the oc3 file format available. Lets just do this in external programs for the time being, but:

While we already can export the dense point cloud, it would be extremely helpful to reimport it as ascii table or ply format.

I would rather not use meshlab  an import a mesh back into photoscan.

20
General / Edit OC3 dense point cloud
« on: January 22, 2015, 09:57:16 PM »
Hi,
where do I find documentation of the oc3 format that stores dense point clouds? I want to open, edit and save it for further use in PS. Editing would be done in Fledermaus so conversion to an xyz file format and back would be necessary. Can anyone recommend software?
Thanks

21
General / dense point cloud format
« on: May 22, 2014, 01:43:06 PM »
Hi,
unzipping the project file exposes the dense point cloud as an .oct file. What software can I use to open and externally edit this file with?
My goal is to edit in slices in order to delete clusters which are self-obstructed by other parts of the model, a feature common to bathymetry data editors.
Many thanks
Tom

22
General / Stereoscopic viewport using hardware 3D?
« on: February 19, 2014, 07:15:27 PM »
I would like to use the stereoscopic viewing option to edit dense point clouds, using the hardware stereo option.
 
I use a Geforce GTX690 card and the Nvidia 3D vision kit (IR transmitter and 120Hz projector). before updating the driver to the latest version the hardware option was displayed as not available, now it is available but stays mono. Changing the disparity alters the perspective but that's it.

What am I doing wrong?
What hardware do I need?
Couldn't find a reference in the manual...

Tom

23
General / Location of Cameras represented in the viewer
« on: April 04, 2013, 12:45:02 PM »
Hi,
Is the position of a camera indicated by the center of the blue sprite or by the adjacent tip of the black stick / normal?
Many thanks!
Tom Kwasnitschka

24
Feature Requests / Clusters of reconstruction in case of poor data
« on: July 20, 2012, 06:14:00 PM »
Hi Agisoft team,
Working with deep sea video footage, the vehicles often jerk to one side or imagery quality is very poor. If I load a long sequence, Photoscan will only create one cluster of aligned images and will not look beyond for other clusters of match within the chunk. That I have to do myself by copying the remaining images to a new chunk.
Since I have ground control data for most of my imagery, it would not be a problem to continue, though.

Either: provide a feature to force continuation of alignment if ground control data is available
or: provide means to automatically copy failed batches of images to a new chunk and align them, too.

Thank you so much for this great piece of software!
Tom

25
Feature Requests / Ground Control Quality check
« on: October 26, 2011, 12:30:34 PM »
I am building georeferenced models according to known camera paths on a meter scale and sometimes it is very hard to judge the fit from Ground Control Statistics alone.

Three suggestions for Ground control:
1. Could you implement an option to permanently display the originally imported GC positions even after Photo alignment? This way, it would be easier to get a gut feeling of the fit and it would allow to quickly identify the reason for outliers and remove them.
2. It would help to have highlighted selected cameras in Ground Control the way "Photos" and the workspace tab are highlighted upon selection.
3. Please keep the navigation gizmo active while the Ground Control window is open so I can examine adjustments without having to close Ground Control.

Many thanks for your great software, and especially for the latest two releases!
Tom

26
Python and Java API / Python scripting
« on: October 18, 2011, 11:23:38 AM »
Hi all!
I admit I am illiterate when it comes to scripting, let alone programming.
Could someone post a working example for a python script doing the following, so that I can run batch processing over a numer of separate files that I do not have to append before:

- Work my way through a number of psz files, in which I have already set masks and GC,
- align photos in each chunk using masks and GC,
- optimize each chunk (doable already?),
- build geometry in each chunk with settings generic, high and smooth.
At this point I guess my intervention will be necessary.
Thank you very much!
Tom

27
Bug Reports / Incomplete export of ground control statistics
« on: July 04, 2011, 11:03:00 AM »
Hi all,
when exporting the statistics of Ground Control I essenially get the values I stuck in, just in a slightly mingled order (Why that? Is that the order of the alignment algorithm?). It does NOT export the estimated coordinates or the errors. The only way to get the estimated coordinates is to copypaste each single line to excel... cumbersome. Could you please provide an output of these statistics (maybe just append the existing outputs) since this data is not saved otherwise?

My motivation is to visualize the errors in 3DSmax.
Thanks a lot!
Tom

Pages: 1 [2]