# 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 - Yoann Courtois

Pages: [1] 2
1
##### Python Scripting / Coordinates system influence on chunk rotation matrix
« on: May 07, 2019, 04:26:02 PM »
Hi everyone,

Within my automated pipeline, I've developed a method that calculate and set the smallest bounding box which included a "project contour" polygon.
The calculation has been separated in 3 steps :
- Set the bounding box center
- Set the bounding box size
- Set the bounding box orientation

Everything works very fine until today ... when I decided to include coordinates system in my pipeline.
Indeed, in "Local Coordinates" ('LOCAL_CS["Local Coordinates",LOCAL_DATUM["Local Datum",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]]]'), everything is OK,
but when I use projected coordinates system (For exemple EPSG::3946 in France), the box orientation doesn't work anymore (Center and size are OK !)...

Here is the following code for bounding box orientation setting (Where vertex_a / vertex_b / vertex_c are the corners of my minimum rotated rectangle that include my polygon) :
Code: [Select]
cos_teta = (vertex_c.x - vertex_a.x) / vertex_a.distance(vertex_c)
sin_teta = (vertex_c.y - vertex_a.y) / vertex_a.distance(vertex_c)

__pseudo_region.rot = [[sin_teta, -cos_teta, 0],
[cos_teta, sin_teta, 0],
[0, 0, 1]]

chunk.region.rot = chunk.transform.matrix.rotation().inv() * __pseudo_region.rot

After some investigation, my pseudo_region hasn't changed, so the problem is coming from the chunk rotation matrix (chunk.transform.matrix.rotation()).
I cannot understand how chunk.crs has inlfuenced the chunk.transform matrix... and have no idea how to fix the problem...

Regards

2
##### General / Bigger mask while reusing depth maps
« on: February 14, 2019, 11:35:28 AM »
Dear all,

I noticed during my last process that if I cancel the dense cloud generation (launch from GUI) after all depth maps are built , those one are not deleted anymore and can be used again.

As a reminder, dense cloud generation (launch from GUI) is composed of two processing steps :
- Depth maps building
- Dense cloud building

My question is, if then I modify the image mask (in order to mask a bigger part of images), is this new mask used when dense cloud generation is relaunched while reusing depth maps ?
With other words, is the mask used only during depth maps building or is it also taken into account during dense cloud building ?

Regards

3
##### Python Scripting / Model faces not linked with model vertices
« on: January 30, 2019, 06:23:25 PM »
Hi !

I'm currently trying to selected 3D model faces using their vertex coordinates, but I'm not able to find any link between faces (Metashape.Model.Face) and vertices (Metashape.Model.Vertex).
Indeed, the first one is included ".vertices", but it's only a tuple of three numbers (which looks to be vertices number or key) and no coordinates.
The second one is included ".coord", but no number (key ?).

Then, model vertices have coordinates but no link with faces, and so faces have no positioning informations.

Could someone help ?

Regards

4
##### Bug Reports / Classification looks broken
« on: December 20, 2018, 06:20:41 PM »
Ground point classification gives really bad results in Metashape (but also in PhotoScan 1.4), whereas it was really better before.
Is this normal ?

Here is a screen shot from a standard survey where we can see really random result.

Regards

5
##### Python Scripting / Merge markers after detection
« on: January 23, 2018, 05:57:25 PM »
Hello !

Would it be possible to merge markers after they've been detected ?

i.e. Does it exist something to create a marker that gather the projections of two (or more) markers that have been automatically detected ?

Indeed, after non-coded target detection (circle), I got several markers really close to each other (less than a centimeter) coming from the detection of an unique object. And at this point I don't know how to gather all the projections into a single marker.

Regards

6
##### General / Hotkey form custom tool
« on: January 15, 2018, 04:46:38 PM »
Hello !

For some times we are developing several homemade tools in order to make our job easier.
Moreover, must of them are now shared on all colleagues computer and automatically read at PhotoScan start.

Nevetheless, it looks there is impossible to affect (and keep) a hotkey for custom tools. Indeed, the hotkey isn't save after software restart.

Somebody may help ?

Regards

7
##### Feature Requests / "Raster transform : Palette" manually configured
« on: October 26, 2017, 04:04:39 PM »
Hi !

Would it be possible to allowed a manual configuration for the palette color of DEM ?
At least it would be nice to be able to set the minimum (blue) and the maximum (red) value. Afterward other kind of settings could be considered, such as those which are available in 3DReshaper.

Indeed we would like to make the most of this visualization for flat platform accurate leveling, but for the moment we have to spend a lot of time to accurately manually classify points in a small range of altitude so that the color scale in the smallest possible.

Regards

8
##### Feature Requests / Alignment step add-on
« on: October 25, 2017, 10:25:07 AM »
Hi !

With the 1.4 pre-release, I've noticed it's now possible to easily add pictures to a georeferenced chunk and align them without reset the current alignment, which is a great tool.

But, it would be nice if those new tie points would be added to the previous tie point cloud instead of being substitute to it.
Indeed, it would allowed to optimize the model after adding those pictures, which is not possible for now.

Regards

9
##### General / Number of tie points between image groups
« on: October 04, 2017, 01:24:41 PM »
Hi everyone !

Would it be possible, with python scripting or somehow, to get the number of tie points between two predefined groups of pictures ?

Indeed, I would like to assess the robustness of a global alignment of pictures coming from different surveys (typically one drone flight and one terrestrial survey). I can get picture by picture the number of matches (Total, Valid and Filtered), but cannot get the global number between two groups.

I would have the same needs to assess the robustness of an "Align chunk / point based", which could give me back the number of points (and, ideally, there locations) between the two chunks (Total, Valid and Filtered).

Regards

10
##### Feature Requests / Chunk partial adjustment
« on: September 26, 2017, 03:00:14 PM »
Dear PhotoScan Team !

With 1.4 release, I discovered that you implemented, in the Align Photos tool, the option to not reset the current alignment, which is really useful when added more pictures on a georeferenced model.
That's something I just did with python scripting in 1.3

But I had a limit that still remain with your option : After added pictures and aligned them on my build model, I would like to adjust them with the magic wand as usual. But, as there is no tie points on most of my main model anymore, I cannot adjust it without losing most of my main model.

Would it be possible to add an option to adjust only a selection of pictures, or maybe only a camera ?
(The purpose of this process would be indeed satisfied with an adjustment by camera)

Regards

11
##### Feature Requests / Release (Z) from (XY) GCPs coordinates
« on: September 15, 2017, 06:52:55 PM »
Hi !

I would like to know if it could be possible to add this feature at some point.

Indeed, sometimes GCPs have Z-coordinate inaccurate or even missing.
Then, a point could be use as (X,Y) GCP only.

As it's not an daily usage, it could be hide somewhere.
For example after a right clic on a couple of points, we could set them as "none 3D point" and then check or uncheck each coordinate.

Regards

12
##### Bug Reports / Camera type configuration
« on: September 14, 2017, 12:58:31 PM »
Hi !

Since a while I'm notice a problem in the Camera Calibration panel:

Indeed, when working with more than one camera in a single project, and especially when they are different in type (Frame, Fisheye), the type of a camera is sometimes changing when looking at the second camera.

Example:
A project with a fisheye (GoPro) and a frame (EOS 5D) camera:
- The GoPro is configured as fisheye lens and precalibrated.
- But when I clic on the second camera, the GoPro type change to "frame"...
- If I'm not taking care about that, it lost the precalibration and also use a frame calibration type for it...

May you fix this ?

Regards

13
##### Feature Requests / Smooth contours
« on: August 29, 2017, 09:32:01 AM »
Hey !

I transfer a topic from General section because nothing can be done about that in PhotoScan and I think it could be a nice add on !

Hello !

I would like to get smooth contours (+- 5cm) on a model which has high resolution data (Area = 17.5ha with GSD = 1.6cm)...
There is indeed no tools to smooth those contours on a hand, and no possibility to get low resolution DEM on the other one...

Any help would be appreciate again !

Regards

Regards

14
##### General / Smooth contours...
« on: August 28, 2017, 06:41:24 PM »
Hello !

I would like to get smooth contours (+- 5cm) on a model which has high resolution data (Area = 17.5ha with GSD = 1.6cm)...
There is indeed no tools to smooth those contours on a hand, and no possibility to get low resolution DEM on the other one...

Any help would be appreciate again !

Regards

15
##### General / Shapes projection on DEM
« on: August 28, 2017, 06:34:14 PM »
Hey !

I would like to export some 3D vectoriel data from PhotoScan, such as profiles, but I didn't find any possibility to project my shapes onto the DEM.
I mean, when I "measure ..." a polyline shape, I can visualize the profil with high resolution of data but there is no other possibility to export it than only get polyline vertices 3D infos...

Any help would be appreciated !

Regards.

Pages: [1] 2