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.


Messages - jslyder

Pages: 1 [2]
16
General / Capture distance in reference settings.
« on: January 15, 2020, 06:16:23 PM »
I recently noticed that "Ground altitude (m)" has disappeared from the reference settings and appears to be replaced by "Capture distance (m)."  Does this serve the same purpose as ground altitude did, i.e. to allow proper preselection with oblique imagery? 

Thank hyou

17
Bug Reports / Issue viewing Photos, Orthos, and DEMs
« on: October 04, 2019, 05:38:43 PM »
I'm having an issue within Metashape, the cause of which may actually be outside the software.  Whenever I try to view any images, either the input photos or orthos/DEMs,  the row of icons disappears and the loading image does not move from 0%.  Interestingly, the icons still respond even though they disappear.  Also, if the aspect ratio of the Metashape window is changed, the window will appear squished or stretched.  Screenshots attached.  When the model pane is active, the program works fine.

I don't think the problem is with the software, because I uninstalled version 1.5.3 and replaced it with 1.5.5 and the problem persists.  Any thoughts on other system settings or drivers that may be causing this? 

18
Hello,

We have a number of users distributed across offices with often poor internet connection, and these users are using Photoscan/Metashape by accessing a floating license server.  One user messaged me today saying that their connection must have cut out momentarily during processing, and it required the user to click OK on a prompt to resume.  This is problematic because the job was run on the weekend specifically because it would take a long time. 

So would it be possible to have Metashape automatically search for a license over the server a few times so that if the connection is restored it would resume processing?  I've seen this behavoir with the ArcMap license server where it'll look five times or so over the series of several minutes.  Anyway, I think this would be helpful instead of having users check in/check out licenses. 

Thank you

19
I thought it might be something like that.  Thank you for your help. 

20
Working in 1.4.2 build 6205, though I believe I've also seen in in 1.3.2 and 1.3.4. 

The line I used is below.  I've tried this with and without \n to format some the text onto different lines. 
PhotoScan.app.messageBox("This script is designed to automate the alignment and processing steps up to entering ground control.  It requires input form a series of popups before proceeding.")

What's interesting is that the messageBox pops up towards the left side of the application window, while a series of getInt and getBool calls work totally fine and each input box appears in the center of the application window. 

21
I've used PhotoScan.app.messageBox on a number of scripts in order to provide some user feedback, but about half the time the message boxes that appear are small and cutoff some of the text (example image attached).  Even within a single script, some message boxes are fine while others are small and cutoff, and there is no clear pattern to me.  Has anyone else experience this? 

Thank you

22
Python and Java API / Re: Basic skripting problems
« on: January 24, 2018, 06:59:28 PM »
If you're new to python, I might recommend using the the "Batch Process" option under "Workflow" within Photoscan.  You can save the steps as an XML file and then apply that to a new project.  Page 5 of the python documentation has an example script with some of the basic steps laid out. 

23
Hi Alexey,

On the same project, the gradual selection appears nearly instantly through the GUI, maybe a second or so.  Also, the gradual selection through the python script completes very quickly in earlier iterations. 

As far as the size of the cloud, I've tried it across a few datasets from ~60,000 points to 2 million points, and it seems to occur on both.  I would say that the best predictor is when the reprojection error is set too low.  With our materials, it is typical to get the project to a point where all points >0.3 reprojection error are removed.  The problem seems to occur if you try get to a level below what is reasonable for the dataset.  If I share the script, perhaps I'll just set the lower limit as a fixed variable instead of one that takes user input. 

Thanks!

24
Hi all,

Has anyone had Photoscan freeze up while performing gradual selection in a python script run within Photoscan? I work with an organization that uses an error reduction workflow where, among other things, they use gradual selection to select up to 10% of the sparse point cloud based on reprojection error, remove those points, optimize cameras, then repeat until a target value is reached. 

I was trying to implement this process as a python script run within Photoscan, and it usually works well.  With certain values, however, Photoscan passes through the iterative loop a few times then freezes.  This usually occurs when the value used for gradual selection is small.  The process freezes at a weird spot as well.  I set up the filter with the code below.

f = PhotoScan.PointCloud.Filter()
f.init(chunk, criterion = PhotoScan.PointCloud.Filter.ReprojectionError)

In most cases, this prints to the console the following message
Analyzing point cloud...
Finished processing in 0.141 sec (exit code 1)

However, in some cases it prints "Analyzing point cloud..." and then freezes so that I have to exit Photoscan using the task manager.  I've used nearly this exact same loop with reconstruction uncertainty with no issue, and when most values for reprojection error are chosen.

If anyone can help me identify why this is getting hung up on analyzing the sparse point cloud for gradual selection, that would be greatly appreciated.

Thanks!

Pages: 1 [2]