Forum

Recent Posts

Pages: 1 ... 7 8 [9] 10
81
General / Re: Error when building UV for object
« Last post by Jernej on July 19, 2021, 09:53:06 AM »
Sent to support because of file size restraints. Hope it helps to solve this issue.

Also, I have tried to texture the object in version 1.7.1 and the problem does not appear there
82
Python and Java API / Re: Python script of a full process
« Last post by SMcMurray1 on July 19, 2021, 08:53:22 AM »
Hi Alexey

I have been trying to modify this script to stop after the alignment and prompt for the import of GCPs then start again once they are selected to then optimise the cameras and continue with the dense cloud, DEM and add an Orthophoto section to the end of it - I cant seem to get it to work though - can you guys add this in for me please my python is not that great !!

Cheers
Steve
83
General / Re: Trouble with UAV & Local Coordinate System Workflow
« Last post by Paulo on July 19, 2021, 06:04:57 AM »
Hi Super Saffer,

I think what you need to do after importing the GCPs in local coodinate system, is open the Reference settings (with tools button) and define the coordinate system as local, uncheck the camera reference option and set marker reference as Local CS as in attached screen copy.
Then deselect all your cameras, clear all reference camera locations (with right click context menu) and mark the GCPS in each photo, Update Transform and you will now have the model referenced in local system.

In example shown, my original project was referenced from cameras in WGS84. I imported 3 GCPS in local CS and defined the various CSs in reference settings. After marking the GCPS in at leat 2 photos each, i update my transform and now the model is referenced in local CS (X, Y in 100 s instead of lat, long....)

Hope this makes sense,

PS. it seems definitely that the GCPs local z is in feet as it is 3 times larger than camera reference altitude....
84
Python and Java API / Re: Python script of a full process
« Last post by SMcMurray1 on July 19, 2021, 05:05:54 AM »
Thanks Alexy - would the following code generate the Orthoimage ?
#build Orthomosaic
chunk.buildOrthomosaic(surface_data=Metashape.DataSource.ModelData,blending_mode=Metashape.BlendingMode.MosaicBlending,projection=chunk.crs)

Any help is appreciated

85
Bug Reports / Lock file not removed after exiting MS project
« Last post by Paulo on July 19, 2021, 04:35:38 AM »
Hello,

it seems to happen very often now when I am in MS project , I do some work and I exit without saving (Discard) then the lock file inside .files folder is not removed.

So in order to edit this project again, I have to physically remove the lock file in .files folder.. It is quite annoying...
86
General / Re: Camera Groups? for multi-camera & multi-mission?
« Last post by CheeseAndJamSandwich on July 19, 2021, 03:07:17 AM »
Gotcha, thanks.

I'll leave them alone.
87
I have logging turned on now, for the redo i'm running, as the last run came back with lots of errors, double surfaces...  Even tho it was i think it was with the same default settings as the run previous version that gave an excellent result.

This time i'm running it low, 20k, 2k, instead of the normal high, 40k, 4k...

I've done a fair big of testing with different settings, but it doesn't seem to change much...  Basically, when it gets to Selecting Pairs, it takes the same enormous amount of time, no matter the settings.

When it competes, i'll attatch it.

But in the mean time, could you describe the processes, stages that MS goes through when it aligns?  And what things affect, help, hinder the align times?
88
General / Trouble with UAV & Local Coordinate System Workflow
« Last post by Super_Saffer on July 19, 2021, 02:46:18 AM »
I'm having a ton of trouble with 2 data sets given to me by a client. It's been quite a while since I've done work like this, and the client has had issues with the data collection. 

The 2 data sets are of the same area, but at different times this year. There was an issue with the 1st data set in that some images did not save properly, so there is a gap in the data. The client want to use the data from the 2nd set to plug the hole in the 1st set. However, the 2nd set was completed with a different drone at a much lower resolution and lower overlap.  The 1st data set is almost 3 x the size of the fist in terms of photos and size. 1500 vs 3000 pics and 8GB vs 22GB.  The data was collected with 2 different model DJI drone.  There are also 15 GCP, which the client laid out and are triangles that 'point' to the mark. These are recorded in a local (m) coordinate system.  It's very time-consuming to find these because Metashape can't find them for me.

Before I can even think of plugging up the hole in the first data set, I need to be able to properly process them both...I think. Here is my workflow.  I cannot get the GCP to line up, after I mark them and update the transform.

1. Import images
2. Align images, remove any images that don't align properly, align again
3. Import reference: Local (m) .... now the client says' its meters anyhow.
4. Metashape creates the markers, and I spend the next 2 hours finding and marking the GCP with the 15 markers given to me.
5. Then the update transform function in the reference window. If I select Local (m) the markers are way above the 'ground' and not in the correct shape.  If I try with USft then it lines up almost fine, but the markers are now off by a few feet horizontally but below the surface vertically. 

How do I get the markers to line up with the GCP that are given in the local (m) datum?

This is where I'm stuck so far.  I know there is some kind of issue with how DJI records X axis/altitude data but I'm not sure how it apples with the scripts given by Agisoft. The data quality is poor, and I can't talk to the data collectors directly, or the people who laid out the GCP.

Any insight would be greatly appreciated.
89
General / Re: Network processing issues
« Last post by Jamin on July 19, 2021, 02:27:34 AM »
Good call, it was not the exact same version. It's working now, thanks!
90
General / Re: Batch process DJI drone altitude(x) data...
« Last post by Super_Saffer on July 19, 2021, 02:23:49 AM »
Hello Super_Saffer,

You can click on Raw button: https://raw.githubusercontent.com/agisoft-llc/metashape-scripts/master/src/add_altitude_to_reference.py

Then use Save As command in your browser to save the code as plain text file and rename its extension to .py.

Thank you!
Pages: 1 ... 7 8 [9] 10