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

Pages: 1 2 [3] 4 5 ... 7
31
Python and Java API / Set chunk.shapes.group transparency via python API
« on: November 20, 2020, 09:18:56 AM »
Is it possible to set the transparency of shape groups via the python API? I see the option if I click on Shape Layer Properties, but can't find it in python.

32
General / What is the deafult primary channel?
« on: November 17, 2020, 09:13:21 PM »
If I have a 4 band image and leave the "primary channel" option set to default, which bands are used in the image alignment?

If I have a 3 band image with the default, does it use all 3, or just a certain one for the image alignment?

Is it possible to set only a specific 2/3/+ bands for image alignment? I know I can set it to use 1 specific one, but I wanted to make sure that I'm not losing the option to include 3 bands if I have a multi-band image.

33
General / Is Metashape the best orthomosaic/geotiff viewer?
« on: October 13, 2020, 10:06:30 PM »
I'm doing some manual annotation of my geotiff orthomosaics.

I've been looking at different geotiff viewers, but I can't seem to find any other one that runs as smoothly for viewing and zooming in/out on the orthomosaic. I'm guessing this is because the Metashape project folder already contains all of the pyramids, while the exported geotiffs do not?

Just curious if anyone has a different tool they like, I have a few annotation tools I read about that are useful within ENVI or ArcMap but because of how SLOW it is to scan the images in those, I find myself preferring to create some custom tools to use within Agisoft instead.

34
On Unix, whenever the "Align Photos" steps starts in the GUI, the window is pulled to the foreground. This is frustrating if I am working on something else while I have set up an automatic process to align many chunks, as it keeps pulling focus into the Metashape Window. Can this be changed in the next update so it doesn't do that?

35
Nope :( I'm on Linux, maybe it's different on that one, but in my case it moves it. The resulting orthomosaics are different so they have different bounds, which is causing the jump.

36
Switching between Workspace and Reference tabs to see the resulting total chunk alignment error is annoying, it would be nice if it was listed alongside the label (# cameras, #points, total error)

37
I haven't found any so far in 3 years. This forum is great though, as tech support is very responsive to questions.

If you do a search there are also a few posts that are focused on processing methods, along with comments from other users. It would actually be really helpful if there was some way to compile all of these.

I have found my own method that seems to work for my dataset, but it has taken a lot of trial and error. The documetns prvoided on this website are quite sparse.

What exactly are you looking to do with the program?

38
When I switch chunks (clicking 'orthomosaic' on one, then on another), it jumps to roughly the location of the newly selected item.

I sometimes create several versions of the same chunk and want to easily compare them. The 'jump' makes it hard to notice if there was a difference or not.

Would prefer it if either by default, or as a setting option, the camera did NOT move when I switch between chunks.

39
General / Cloud shadow adjustments (general question)
« on: April 30, 2020, 01:11:51 AM »
Does anyone know of a good method for removing/blending cloud shadows better?

I don't have much trouble in aligning my photos to make a nice aerial orthomosaic, but I haven't found any good methods for how to blend the shadows so they look less obvious. Especially if I have gone across my area back and forth and a shadow popped up on the second pass, it looks like big stripes down my photo!

I don't think this is Metashape specific, but I thought this user base might have some ideas.

Thanks!

40
Bug Reports / Reset View - zooms in too close
« on: April 30, 2020, 12:49:40 AM »
The 'reset view' button on mesh models zooms in too close, cutting off parts of the model. Would be better if it had a bigger buffer so the entire model fits into the panel.

41
General / Disregard (please delete post)
« on: April 25, 2020, 07:31:27 AM »
Disregard, other issues where found.

42
Python and Java API / Re: External python modules not found
« on: April 25, 2020, 01:09:51 AM »
Hi I figured it out. I needed to include a different python lib for LD_LIBRARY_PATH as well, since the metashape (1.6.2 pro) version I have installed had the HTTPSHandler issue.

Code: [Select]
LD_LIBRARY_PATH=/path/to/metashape-pro/python/lib:/path/to/anaconda3/envs/py35/lib; metashape-pro/python/bin/python3.5 -m pip install python_module_name

this finally worked

43
Python and Java API / Re: External python modules not found
« on: April 17, 2020, 04:58:18 AM »
Hello Hunter,

Can you please execute the following command from the Metashape Pro installation directory:
Code: [Select]
LD_LIBRARY_PATH=`pwd`/python/lib python/bin/python3.5 --version
If it shows Python 3.5.2, please try the installation using the following commands:
Code: [Select]
cd <path_to_metashape-pro>
LD_LIBRARY_PATH=`pwd`/python/lib ./python/bin/python3.5 -m pip install python_module_name

I am having this same issue. I followed these instructions, but now I am stuck at the issue that is mentioned in the link posted at the top for external library install:

Quote
In case Linux installation doesn't work due to any reason (like ImportError: cannot import name 'HTTPSHandler') please install libssl 0.9.8 (as shown below) and repeat pip install process:

wget http://snapshot.debian.org/archive/debian/20110406T213352Z/pool/main/o/openssl098/libssl0.9.8_0.9.8o-7_amd64.deb

sudo dpkg -i libssl0.9.8_0.9.8o-7_amd64.deb

I don't have sudo on my machine though, is there any other good solution?

44
Python and Java API / Re: Get Shape coordinates in python
« on: April 17, 2020, 02:33:00 AM »
Hello ashalota,

If you have the list of vectors (v_list), then you can create a new shape in the following way:

Code: [Select]
    [...]
     shape.type = Metashape.Polygon
    [...]

Just a note, 1.6.2 uses the format : Metashape.Shape.Type.Polygon , the above was not valid.

45
Python and Java API / Re: Get Shape coordinates in python
« on: April 17, 2020, 02:19:05 AM »
With the code you gave me, I receive my coordinates then in chunk.crs (in my case as lat/lon):


Code: [Select]
[Vector([-150.24736455162093, 62.6811634594868, 223.03704190194733])]

Then I do some math on my end to convert it to my UTM zone (so I can do math in meters on it):

Code: [Select]
Vector([640915.0846823752, 6953074.436939923, 223.03704190194733])
I make some changes to the value (in this case creating a bounding coordinate, shown below is one of those points:

Code: [Select]
Vector([640716.2281598446, 6952876.404872894, 224.2336939337642])
Now I want to add that last item back into my chunk as a shape. I'm unclear on what projection math I have to do to put it back into chunk.crs

I have a reference to my Metashape.CoordinateSystem objects:

chunk.crs ==  == <CoordinateSystem 'WGS84 (EPSG::4326)'>
utmCrs == <CoordinateSystem 'WGS 84 / UTM zone 5N (EPSG::32605)'>


----

I think I just figured this part out. For reference, this worked for reprojecting my values (assume my vertices from utm zone 5n are stored in bbox_vertices:

Code: [Select]
bbox_latlon_vertices = [chunk.crs.project(utmCrs.unproject(i)) for i in bbox_vertices]

Pages: 1 2 [3] 4 5 ... 7