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

Pages: [1]
1
Hi,
I am working on a project with no initial marker locations. Markers are only tagged on several images.
I let the alignment creating the coordinate system and estimating relative positions.
 
This works well the first time you do the alignment.
Then I cleared my marker locations (not sure why I did that) and then save the project.

Now after reopening the project I am unable to reset the marker location in the gcp panel.
however, the markers have apparently location as they are shown in the model view tab.

a problem that seems to be correlated is that with such set up (all my marker location cleared) I cannot work on single image realignment, as any single image realignment will make my sparse point cloud disappearing.   

Is there a way to reset the marker locations as it seems to be calculated somewhere when plotted on the model view tab in the sparse point cloud?

Thanks

2
General / uploading mask generated outside photoscan
« on: January 03, 2019, 03:53:14 PM »
Hi,
I have masks (one mask per image) that were generated independently from photoscan.
is there a way to upload them to be used in photoscan?
 
I tried "import mask" in the File menu but could not get the 'from file' option to work.
my mask are black and white png images.

Thanks for any help
   

3
Python and Java API / how to use split_in_chunks.py in the python API
« on: November 26, 2018, 06:36:07 PM »
Hi,
I like to buid the cloud and the model of my project using the python script split_in_chunk.py

This the is code of my single chunck config:

#########

doc = PhotoScan.Document()
doc.open(project_path)

chunk = doc.chunk
doc.save() # to check license

chunk.buildDenseCloud(quality=PhotoScan.UltraQuality, filter=PhotoScan.MildFiltering)
doc.save()

chunk.buildModel(surface       = PhotoScan.Arbitrary,
                 source        = PhotoScan.DenseCloudData,
                 face_count    = PhotoScan.HighFaceCount,
                 interpolation = PhotoScan.EnabledInterpolation)
chunk.model.closeHoles()
doc.save()

################

how can I do the same thing and use split_in_chunck.py ?

4
Python and Java API / copy chunck between document
« on: July 28, 2017, 08:06:14 PM »
Hi,
I like to copy a chunk from a previous document and run a new script with it.
I have been trying the following but nothing is  saved in my new document.
Code: [Select]
app = PhotoScan.Application()
init_project_path = 'xxx'
project_path         = 'yyy'
doc_init = PhotoScan.Document()
doc_init.open(init_project_path)
chunk_init = doc_init.chunk

doc = PhotoScan.Document()
doc.save(project_path, chunks=[chunk_init])
doc.open(project_path)

chunk = doc.chunk
doc.save()

any advices?

Thanks
Ronan

5
Python and Java API / filtering photo for high qualitty run
« on: July 24, 2017, 01:53:56 AM »
Hi,

When running in batch, i want to run a first low quality dem,
and then before running a high quality run I like to remove all photo which are not fully inside a selected polygon define from a shapefile.

using photoscan module, I found the way to get the foot print of the camera on my low quality DEM.
now I like to disable for my high quality run all photo where the foot print does not intersect my predefined shapefile polygon.
 
I understand you can import shapefile with  chunk.importShapes
but then I do not know how to create a polygon from my 4 foot print corners, and test its intersection with the polygon of my shapefile.
Is there any photoscan module which has the same function as the shapely module?

Thanks for your help
Ronan

Pages: [1]