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 - Alexey Pasumansky

Pages: [1] 2 3 ... 686
1
Hello Steve,

In the version 1.4.5 you can access the Magic Wand Options by clicking on the "down arrow" on the Toolbar with the masking instruments. Actually, on the second screenshot from the video the location of this option is shown properly  as it appears both in the versions 1.4 and 1.5.

The Wand option dialog is also not accessible via Tools menu in the version 1.5.

2
Hello PROBERT1968,

As a workaround you can use the following script to generate the image footprints as a separate shape layer:
https://github.com/agisoft-llc/metashape-scripts/blob/master/src/footprints_to_shapes.py

3
General / Re: Question about Cloud processing
« on: June 25, 2019, 08:04:09 PM »
Hello mac.piccone,

You can Disconnect after the synchronization of the project with the cloud is finished and close Metashape.

Once the project is completed, open the same PSX file in Metashape and the processed results will be synchronized with your local project and you'll be able to view the data on your local machine.

4
General / Re: Alignment fails after georeferencing
« on: June 25, 2019, 05:25:55 PM »
Hello Paul Stachowiak,

Is it possible to provide the project files with the initial alignment and alignment with markers to support@agisoft.com? The source images are not required.

5
General / Re: Intelligent scissors are not Intelligent
« on: June 25, 2019, 05:06:06 PM »
Hello Steve,

It is recommended to use intelligent scissors to draw the mask by the segments: from the starting point follow the masking border and then finish the segment by left-clicking, then repeat from the intermediate point.
The sketch below show the masking workflow with the intelligent scissors. "Click" means that left mouse button is clicked. And CTRL key is being pressed from the starting point will "click 5".

6
Hello Steve,

I think that Rotate Object tool could be inactive  (disabled) in the version 1.2 only if the chunks are aligned with each other - have [R] mark next to their label in the Reference pane. You can use Reset Transform option for the chunk from the Workspace pane context menu and the tool should become active again.

But note that in the version 1.2 you wouldn't be able to apply manual Translation and Scaling to the object.

7
Hello Steve,

According to the provided data the behavior of the Apply Masks to Tie Points is expected. This feature will not create any new masks, it is just meant to avoid any tie points being created beyond the masked areas. And in this small sample project there are no tie points related to the areas that you have masked on two photos, but in the background that wasn't present on the masked images, the tie points could appear and they form the additional sparse cloud elements, for example, related to the floor.

Below I am suggesting possible approaches to the image acquisition / data processing scenarios for the similar cases, where it is necessary to get the complete 3D model of the rather small object (that can be rotated and lifted):

1. Initially working with multiple chunks for the same object, but inside each chunk the object does not move relatively to the background - align the images in each chunk individually, then create rough model (from the lowest quality dense cloud, for example) for the limited area of interest (reduce the bounding box to your object), roughly cut unwanted polygons that are not related to the object. Then use Import Masks -> From Model option. This operation would apply mask to every aligned camera according to the rough mesh model. Repeat for each chunk, then merge chunks and re-align the complete image set from scratch using Apply Masks to Key Points option.
After that build dense cloud or mesh.

2. If you are shooting the object placed on the fixed background (table on the concrete floor), but the object location may vary on the table during the shooting. Then take additional images of the "bare" background - the table without the object on it from a few locations similar to those that would be used for the real object acquisition, but could be from a little bit distant positions in order to cover more area. Include those images to the processing set, but apply the masks for them as a complete image (fully cover the image with the mask - should be quite easy and fast, can be even imported from the completely black image of the same size, using From File option for the Import Masks command). After the masks to the bare background images are applied, run Align Photos operation using Apply Masks to Tie Points option. In this case you should get the tie points detected only on the object's surface. This approach is similar to the one mentioned in the first case of the related tutorial:
https://www.agisoft.com/index.php?id=49

3. Requires more efforts to the image acquisition. Put the object of interest in front of the camera fixed rigidly relatively to the background and rotate the object in front of it (so-called turn-table scenario), then take image from the same camera location of the empty scene. If necessary, repeat the operation for another camera location to capture the object from the different angle of view. But for every camera location take an image of the background. After the shooting session is finished, use Import Masks -> From Background option for each subset of the images, selecting the corresponding photo of the background for them. In this case PhotoScan / Metashape will automatically create the mask for the background, keeping only the object unmasked.
Then process as usual using Apply Masks to Key Points option.
Following this approach it is necessary to avoid considerable shakes of the camera (recommended tripod mount and remote shutter tool), difference in the lighting conditions for the sets with the object and corresponding background photo and also to have the background color rather contrast to the object surface colors to avoid confusion of the automatic masking creation.

Hope it is helpful.

8
The issue looks to be related to the alignment problems, like if there are several subsets of images aligned independently within the same project. 

9
General / Re: Intelligent scissors are not Intelligent
« on: June 24, 2019, 09:46:59 PM »
Hello Steve,

I think the following video is quite similar to the one you have posted in another thread but also gives and idea of Intelligent Scissor masking:
https://youtu.be/-SyYKWFShRA?t=147

Left-click on the first point, hold CTRL, move the cursor along the edge of the object, left-click again quite regularly to avoid "straight lines" drawing.

10
Hello Steve,

Magic wand tolerance options are available in the version 1.4.5 and even in 1.2.6.

Scissors instrument may get confused, if there are considerable contrast changes in scene by the borders of the objects or elements in the background.

You can import the masks from the external source (separate set of black&white images or from the alpha channel i.e. transparency channel), if you prefer external applications for mask drawing and find them more convenient for your needs.

11
Python Scripting / Re: split_in_chunks: Zero Resolution Error (v1.5)
« on: June 24, 2019, 07:50:03 PM »
Hello harmbrar,

Can you post the code block that you are using to build the dense cloud and mesh in the certain chunk-duplicate?

12
General / Re: X Y Z definition in Slave offset for camera rig
« on: June 24, 2019, 05:21:07 PM »
Hello Paul,

Accuracy value in meters define, how accurately the reference values are measured. If the offsets are within a couple of cm, then would rather suggest to input 0.05 m value instead of 5.0 m.

13
Hello godszerg,

You can use try-except approach to skip the chunks with "Zero Resolution". The simple example:

Code: [Select]
try:
    chunk.buildDenseCloud()
except Exception:
    print("Skipping " + chunk.label)

14
Hello Steve,

OK, thanks, I'll check the status of your tickets and the provided data.

15
General / Re: can I have both 1.2.6 and 1.4.5 installed to use both ?
« on: June 24, 2019, 02:57:02 PM »
Hello Steve,

You  can have both versions installed on the same computer, just move the installation directory of the older version to some custom location, before installing a newer one to the default location.

As for the problems that you are observing, it would be helpful, if you can provide an example of the image set that can be properly aligned in the version 1.2, but fails (or produce wrong result) in the versions 1.4, 1.5.

Pages: [1] 2 3 ... 686