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

Pages: [1] 2
1
General / Re: Reduce overlap feature
« on: September 24, 2020, 11:01:18 PM »
Dear all,

I found that this feature is very useful for reducing the number of images in facade inspection. If possible I would like to know the main idea behind this tool.
Thanks, Gil

2
Python and Java API / read camera accuracy from image metadata
« on: March 02, 2020, 12:37:46 PM »
Dear all,

We have a phantom 4 rtk and we would like to know how to read the camera accuracy from the rtk flag. If we import the images from the metashape gui interface we don't have problems. But when we import the images from a python script the accuracy is automatically  set to a 10m.

Thanks

Gil

3
Python and Java API / Re: log file in a standalone script
« on: February 29, 2020, 01:37:38 AM »
Hi Alex,

I'm using Spyder as my python IDE. So it will be great if I could have a log file for the outputs of metashape processes.

Regards, Gil

4
Python and Java API / log file in a standalone script
« on: February 25, 2020, 09:01:26 PM »
Dear all,

It is possible to write the log of MetaShape to a file in a standalone python script?

Thanks, Gil

5
Python and Java API / Re: activate license on standalone python
« on: February 25, 2020, 07:10:46 PM »
Problem solved by setting up agisoft_LICENSE environment variable for my account.
Gil

6
Python and Java API / activate license on standalone python
« on: February 25, 2020, 06:54:49 PM »
Dear all,

I'm trying to activate Metashape in a stanalone python (Spyder environment with Miniconda). I go't the folowing error when I try
Metashape.License().activate(".......")

RuntimeError: Can't write license file

Beaause I don't have an administrator account so I would like to know can I use Metashape on a standalone python environment.

Regards
Gil

7
Python and Java API / Re: How to get Marker coordinates
« on: May 12, 2019, 01:40:34 PM »
Dear all,
I'm trying to get the 3D coordinates of the markers using the above script. Unfortunately i get the following error:
RuntimeError: Vertical datum missing
Any help will be grateful.
Gil

8
Python and Java API / Re: rmse tie point image residual
« on: May 11, 2019, 05:19:57 PM »
I've just done some code
Code: [Select]
# Compute the re-projection error
chunk = doc.chunk
point_cloud = chunk.point_cloud
points = point_cloud.points
error, tie_points = [], []
cam_list, cam_rmse, cam_std, cam_min, cam_max, cam_std = [], [], [], [], [], []
for camera in [cam for cam in doc.chunk.cameras if cam.transform]:
    point_index = 0
    photo_num = 0
    cam_error=[]
    for proj in doc.chunk.point_cloud.projections[camera]:
        track_id = proj.track_id
        while point_index < len(points) and points[point_index].track_id < track_id:
            point_index += 1
        if point_index < len(points) and points[point_index].track_id == track_id:
            if not points[point_index].valid:
                continue
            dist = camera.error(points[point_index].coord, proj.coord).norm() ** 2
            error.append(dist)
            cam_error.append(dist)
            photo_num += 1       
    tie_points.append(photo_num)
    cam_list.append(camera.label)
    cam_rmse.append(round(math.sqrt(sum(error) / len(error)), 3))
    cam_std.append(round(statistics.stdev(error), 3))
    cam_max.append(round(max(error) , 3))
    cam_min.append(round(min(error) , 3))

9
Python and Java API / rmse tie point image residual
« on: May 10, 2019, 07:25:04 PM »
Hi,

I have a question regarding the computation of the rmse tie point image residual (reprojection error per image!). Is there any code that I can reuse to do this computation and save it in a file?
Another question is about the installation and use of the python 3 module. Is there an installation manual? As I would like to use a dedicated IDE to develop my scripts, i suppose that this is the purpose of this wheelfile.

Thanks, Gil

10
General / Re: Setting up a coordinate system ETRS89+GeodPT06
« on: March 29, 2019, 02:56:45 PM »
Hello Alexey,

It works. Thanks. Gil Rito

11
General / Setting up a coordinate system ETRS89+GeodPT06
« on: March 29, 2019, 01:52:33 PM »
I'm trying to setup a new Geographic coordinate system based on the horizontal datum ETRS89 and the vertical datum defined by the GEOPT08.tif which I have downloaded from Agisoft.
However when I'm trying to setup a new coordinate system based I can't see this geoid on the vertical datum list.

12
General / multispectral cameras
« on: July 23, 2018, 05:59:33 PM »
Hi,

Which multispectral cameras are supported by Photoscan?
I'm planning to buy a Sentera AGX710. It will be possible to do the complete processing workflow in Photoscan?

Regards,

Gil

13
General / Re: Phantom 4 pro camera settings for mapping
« on: May 18, 2018, 04:52:39 PM »
Thanks wizprod,

I denote by lower quality the dynamic range of the histogram. The lower quality has a histogram that is either on the left or on the right of the histogram graph. The good images have a well equilibrated histogram. But what I can gain from setting a manual exposure program? And what is best: the aperture priority or the shutter priority?
Another issue is how can I lock the exposure and the focus?
I use drone deploy for executing the aerial missions. In fact, with this app I can use the exposure and focus settings of the dji go app.

Gil

14
General / Phantom 4 pro camera settings for mapping
« on: May 18, 2018, 11:01:33 AM »
Hi all
I'm trying to adjust manually the camera settings for my Phantom 4 pro (P4P) with the DJI Go 4 app.
If  I set the shutter and aperture value to manual mode the photos have lower quality than in the automatic mode.
Another parameter is the auto focus setting.
What are yours configuration setting that you use for mapping in general?
And for 3D modelling (for example an entire heritage building) ? How do you configure the P4P camera?

Thanks,

Gil

15
Python and Java API / Re: compute image overlap map
« on: May 18, 2018, 10:46:10 AM »
Thanks SAV for the script.
Gil

Pages: [1] 2