Forum

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
General / Intelligent scissors are not Intelligent
« Last post by Steve003 on June 24, 2019, 08:36:17 PM »
Hi,
I am following the pdf on use of tie points so as to mask all photos when having masked one or two using as it suggests intelligent scissors.

There are no videos on you tube of intelligent scissors in use.
I search in the program's help on intelligent scissors but it finds nothing.

I use the tool but it makes straight lines around my curved edge, I expect it to snap to the edge, in an intelligent way.
I go Ctrl  A but have a selection still not following the curved edge.

What is supposed to happen as all they give me is straight line cuts.

Steve
12
Python Scripting / Re: split_in_chunks: Zero Resolution Error (v1.5)
« Last post by harmbrar on June 24, 2019, 08:07:35 PM »
I am using the script from: https://github.com/agisoft-llc/metashape-scripts/blob/master/src/split_in_chunks_dialog.py

Below is the modified bit of the code. I just added a try exception for the build dense cloud and changed the build model expect from run time to exception so the "null image" and "empty surface" errors are skipped.

What I am trying to do is split in to many chunks (5x5) and produce a model.

Code: [Select]
if buildDense:
                    if new_chunk.depth_maps:
                        reuse_depth = True
                        if new_chunk.depth_maps.meta['depth/depth_downscale']:
                            quality = QUALITY[new_chunk.depth_maps.meta['depth/depth_downscale']]
                        if new_chunk.depth_maps.meta['depth/depth_filter_mode']:
                            filtering = FILTERING[new_chunk.depth_maps.meta['depth/depth_filter_mode']]
                        try:
                            new_chunk.buildDepthMaps(quality=quality, filter=filtering, reuse_depth=reuse_depth)
                            new_chunk.buildDenseCloud(max_neighbors=100)  # keep_depth=False
                        except Exception:
                            print("Can't build dense cloud for " + chunk.label)

                    else:
                        reuse_depth = False
                        try:
                            new_chunk.buildDepthMaps(quality=quality,
                                                     filter=Metashape.FilterMode.AggressiveFiltering, reuse_depth=reuse_depth)
                            try:
                                new_chunk.buildDenseCloud(max_neighbors=100)
                            except Exception:
                                print("Can't build dense cloud for " + chunk.label)  # keep_depth=False
                        except RuntimeError:
                            print("Can't build dense cloud for " + chunk.label)

                    if autosave:
                        doc.save()

                if buildMesh:
                    if new_chunk.dense_cloud:
                        try:
                            new_chunk.buildModel(surface=mesh_mode,
                                                 source=Metashape.DataSource.DenseCloudData,
                                                 interpolation=Metashape.Interpolation.EnabledInterpolation,
                                                 face_count=Metashape.FaceCount.HighFaceCount)
                        except Exception:
                            print("Can't build mesh for " + chunk.label)
                    else:
                        try:
                            new_chunk.buildModel(surface=mesh_mode,
                                                 source=Metashape.DataSource.PointCloudData,
                                                 interpolation=Metashape.Interpolation.EnabledInterpolation,
                                                 face_count=Metashape.FaceCount.HighFaceCount)
                        except Exception:
                            print("Can't build mesh for " + chunk.label)
13
Python Scripting / Re: split_in_chunks: Zero Resolution Error (v1.5)
« Last post by Alexey Pasumansky 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?
14
Python Scripting / Re: split_in_chunks: Zero Resolution Error (v1.5)
« Last post by harmbrar on June 24, 2019, 06:47:03 PM »
Hi there,

I'm also running in to this issue when I am trying to build the dense point could, I added the exception in split_in_chunks code and it works no matter how much I am splitting. But now when I am also building a mesh I am getting either a "null image" or "empty surface" error, when I try to skip those I get a incomplete/distorted model.
I am guessing it is happening because I am skipping chunks when making the dense cloud? Is there a solution to get a model even though we are skipping chunks?
15
General / Re: can I have both 1.2.6 and 1.4.5 installed to use both ?
« Last post by Steve003 on June 24, 2019, 05:41:22 PM »
Hi,
image set is that I wetransfered on 4 June, email received from you today saying you will take a look now.

so if I cut and paste the install directory from C drive to another location on C drive I can run 1.2.6 from there and the install of 1.4.5 will go to where that used to be.
Make a shortcut to the altered C drive location to run 1.2.6

something like C:\Photoscan 1.2.6 would suffice. or would it have to be within the Program Files folder as opposed to Program Files (x86) folder ?

Steve
16
General / Re: X Y Z definition in Slave offset for camera rig
« Last post by Alexey Pasumansky 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.
17
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)
18
Hello everyone,

I'm using split_chunks script to process my models. We all know if chunk region is empty we are going to face Zero Resolution error.  I've tried to skip empty chunks but it leads to incorrect mesh generation, like a total disaster. What is the correct way to handle empty chunks so they don't screw final mesh?
19
General / Re: X Y Z definition in Slave offset for camera rig
« Last post by Paulo on June 24, 2019, 04:26:13 PM »
Alexey,

I did enter 0, 0, 0 for reference and accuracy (suppose reference refers to Master blue camera 1) and got very similar results for X, Y , Z offsets of camera 6 w.r.t. camera 1 as in original post (around -0.15 m in Z offset).

My point is that it seems that the definition of X, Y, Z location offsets is different ( X to right wing,  Y to reverse flight direction and Z down) instead of X right wing , Y forward flight and Z up....

Could you confirm , please?
20
Hello Steve,

OK, thanks, I'll check the status of your tickets and the provided data.
Pages: 1 [2] 3 4 ... 10