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

Pages: [1]
1
Python and Java API / Image channel for estimateImageQuality
« on: April 22, 2018, 01:09:33 PM »
Hello,
is it possible to specify the channel PhotoScan.Utils.estimateImageQuality(...) uses?

My script looks like this:
Code: [Select]
...
chunk.addPhotos(photos)

chunk.primary_channel = 4

for camera in chunk.cameras:
    quality = PhotoScan.Utils.estimateImageQuality(camera.photo.image())

    if quality < 0.7:
        camera.enabled = False
...

However estimateImageQuality seems to operate on channel 0 instead of channel 4.

My primary goal is to disable all photos with a quality lower than 0.7.

Best regards,
Torben

2
General / Orthomosaics from DEM are not correct
« on: March 16, 2018, 11:49:15 PM »
Hello,

I'm having a probem with the orthomosaics generated with dem as surface looking like the attached image.
When using the mesh as surface everything works fine...

The workflow is pretty standard:
Add Photos -> Align Photos -> Import markers -> Convert Reference to another EPSG system -> Place markers on images -> Optimize Cameras -> Build Dense Cloud -> Build DEM -> Build Orthomosaic.

Any idea what is going on here?

Best regards,
Torben

3
Python and Java API / Can't build DEM in python script
« on: February 20, 2018, 04:52:54 PM »
Hello,
whenever I try to call buildDem on chunk, a runtime error occures. I'm using Photoscan 1.4 btw

Here is the console output: https://pastebin.com/2yHgkVaY

And here is what my script does: https://pastebin.com/PQ4diYX7

I'm saving the project before calling buildDem as you can see. "RuntimeError: Empty frame path
" doesn't seem to be documented anywhere.

Am I missing something here? Or is this a bug?

---
Torben


Pages: [1]